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 |
---|---|
Kind | Assertion |
Applies To | Array |
Dialect | Draft 7 |
Changed In | None |
Introduced In | Draft 2 |
Vocabulary | Validation |
Specification | https://json-schema.org/draft-07/draft-handrews-json-schema-validation-01#rfc.section.6.4.5 |
Metaschema | http://json-schema.org/draft-07/schema# |
Official Tests | draft7/uniqueItems.json |
Default |
false
|
Annotation | None |
Affected By | None |
Affects | None |
Also See |
|