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
Hint: Use the jsonschema metaschema command to catch keywords set to invalid values
|
---|---|
Kind | Applicator |
Applies To | Array |
Base Dialect | Draft 6 |
Changed In | 2020-12 |
Introduced In | Draft 1 |
Vocabulary | Validation |
Specification | https://json-schema.org/draft-06/draft-wright-json-schema-validation-01#rfc.section.6.9 |
Metaschema | http://json-schema.org/draft-06/schema# |
Official Tests | draft6/items.json |
Default |
{}
|
Annotation | None |
Affected By |
|
Affects |
|
Also See |
|