uniqueItems : Boolean
uniqueItems
BooleanIf this keyword is set to the boolean value true, the instance validates successfully if all of its elements are unique.
| Value |
This keyword must be set to a boolean value
Hint: Use the jsonschema metaschema and jsonschema lint commands to catch keywords set to invalid values
|
|---|---|
| Kind | Assertion |
| Applies To | Array |
| Base Dialect | Draft 3 |
| Changed In | None |
| Introduced In | Draft 2 |
| Vocabulary | Core |
| Specification | https://json-schema.org/draft-03/draft-zyp-json-schema-03.pdf#5.15 |
| Metaschema | http://json-schema.org/draft-03/schema# |
| Official Tests | draft3/uniqueItems.json |
| Default |
false
|
| Annotation | None |
| Affected By | None |
| 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!