code: function inferTypeByKeyword (schema) {
    for (const keyword of objectKeywords) {
      if (keyword in schema) return 'object'
    }
    for (const keyword of arrayKeywords) {
      if (keyword in schema) return 'array'
    }
    for (const keyword of stringKeywords) {
      if (keyword in schema) return 'string'
    }
    for (const keyword of numberKeywords) {
      if (keyword in schema) return 'number'
    }
    return schema.type
  }
docs: Infer type based on keyword in order to generate optimized code
  https://json-schema.org/latest/json-schema-validation.html#rfc.section.6