items : Schema | Array<Schema>
items
Schema | Array<Schema>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 7 |
Changed In | 2020-12 |
Introduced In | Draft 1 |
Vocabulary | Validation |
Specification | https://json-schema.org/draft-07/draft-handrews-json-schema-validation-01#rfc.section.6.4.1 |
Metaschema | http://json-schema.org/draft-07/schema# |
Official Tests | draft7/items.json |
Default |
{}
|
Annotation | None |
Affected By |
|
Affects |
|
Also See |
|