items : Schema | Array<Schema>
items
Schema | Array<Schema>If set to a schema, validation succeeds if each element of the instance validates against it. If set to an array, 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 and jsonschema lint commands to catch keywords set to invalid values
|
---|---|
Kind | Applicator |
Applies To | Array |
Base Dialect | Draft 3 |
Changed In | 2020-12 |
Introduced In | Draft 1 |
Vocabulary | Core |
Specification | https://json-schema.org/draft-03/draft-zyp-json-schema-03.pdf#5.5 |
Metaschema | http://json-schema.org/draft-03/schema# |
Official Tests | draft3/items.json |
Default |
{}
|
Annotation | None |
Affected By | |
Affects |
|
Also See |
|