items : Schema | Array<Schema> | Boolean

items

Schema | Array<Schema> | Boolean

If set to a schema, validation succeeds if each element of the instance validates against it, otherwise validation succeeds if each element of the instance validates against the schema at the same position, if any

Value This keyword must be set to a valid JSON Schema or to a non-empty array, where each item is a valid JSON Schema
Kind Applicator
Applies To Array
Dialect Draft 4
Changed In 2020-12
Introduced In Draft 1
Vocabulary Validation
Specification https://json-schema.org/draft-04/draft-fge-json-schema-validation-00#rfc.section.5.3.1
Metaschema http://json-schema.org/draft-04/schema#
Official Tests draft4/items.json
Default {}
Annotation None
Affected By
Affects
Also See