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 6
Changed In None
Introduced In Draft 4
Vocabulary Validation
Specification https://json-schema.org/draft-06/draft-wright-json-schema-validation-01#rfc.section.6.27
Metaschema http://json-schema.org/draft-06/schema#
Official Tests draft6/anyOf.json
Default As if it was set to the (invalid) value: []
Annotation None
Affected By None
Affects None
Also See