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 command to catch keywords set to invalid values
|
---|---|
Kind | Assertion |
Applies To | Array |
Base Dialect | 2019-09 |
Changed In | None |
Introduced In | Draft 2 |
Vocabulary | Validation |
Specification | https://json-schema.org/draft/2019-09/draft-handrews-json-schema-validation-02#rfc.section.6.4.3 |
Metaschema | https://json-schema.org/draft/2019-09/meta/validation |
Official Tests | draft2019-09/uniqueItems.json |
Default |
false
|
Annotation | None |
Affected By | None |
Affects | None |
Also See |
|