Make HashSet and BTreeSet use the uniqueItems keyword in their schema (#64)
Co-authored-by: Graham Esau <gesau@hotmail.co.uk>
This commit is contained in:
parent
c4ef7bad22
commit
addac6d386
7 changed files with 48 additions and 10 deletions
|
@ -18,7 +18,8 @@
|
|||
"items": {
|
||||
"type": "integer",
|
||||
"format": "int"
|
||||
}
|
||||
},
|
||||
"uniqueItems": true
|
||||
}
|
||||
}
|
||||
}
|
|
@ -24,7 +24,8 @@
|
|||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"uniqueItems": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -315,7 +315,8 @@
|
|||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"properties": {
|
||||
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
|
||||
|
@ -670,7 +671,8 @@
|
|||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"properties": {
|
||||
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
|
||||
|
|
|
@ -255,7 +255,8 @@
|
|||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"properties": {
|
||||
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
|
||||
|
@ -552,7 +553,8 @@
|
|||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"properties": {
|
||||
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
|
||||
|
|
|
@ -315,7 +315,8 @@
|
|||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"properties": {
|
||||
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
|
||||
|
@ -674,7 +675,8 @@
|
|||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"properties": {
|
||||
"description": "The `properties` keyword.\n\nSee [JSON Schema 9.3.2.1. \"properties\"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1).",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue