anyOf : Array<Schema>

anyOf

Array<Schema>

An instance validates successfully against this keyword if it validates successfully against at least one schema defined by this keyword’s value.

Value This keyword must be set to a non-empty array, where each item is a valid JSON Schema
Kind Applicator
Applies To Any
Dialect Draft 7
Changed In None
Introduced In Draft 4
Vocabulary Validation
Specification https://json-schema.org/draft-07/draft-handrews-json-schema-validation-01#rfc.section.6.7.2
Metaschema http://json-schema.org/draft-07/schema#
Official Tests draft7/anyOf.json
Default As if it was set to the (invalid) value: []
Annotation None
Affected By None
Affects None
Also See