additionalItems : Schema | Boolean
additionalItems
Schema | BooleanIf items is set to an array of schemas, validation succeeds if each element of the instance not covered by it validates against this schema. If set to a boolean, no additional items are allowed in the array instance.
| Value |
This keyword must be set to 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 | None |
| Introduced In | Draft 3 |
| Vocabulary | Core |
| Specification | https://json-schema.org/draft-03/draft-zyp-json-schema-03.pdf#5.6 |
| Metaschema | http://json-schema.org/draft-03/schema# |
| Official Tests | draft3/additionalItems.json |
| Default |
{}
|
| Annotation | None |
| Affected By | |
| Affects | None |
| Also See |
|
We are looking for contributors to help us fully expand the documentation to cover this dialect. If that sounds like you, send a pull request on GitHub!