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 2019-09
Changed In None
Introduced In Draft 4
Vocabulary Applicator
Specification https://json-schema.org/draft/2019-09/draft-handrews-json-schema-02#rfc.section.9.2.1.2
Metaschema https://json-schema.org/draft/2019-09/meta/applicator
Official Tests draft2019-09/anyOf.json
Default As if it was set to the (invalid) value: []
Annotation None
Affected By None
Affects None
Also See