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:
Alastair Feille 2021-03-21 09:43:58 -05:00 committed by GitHub
parent c4ef7bad22
commit addac6d386
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 48 additions and 10 deletions

View file

@ -18,7 +18,8 @@
"items": {
"type": "integer",
"format": "int"
}
},
"uniqueItems": true
}
}
}

View file

@ -24,7 +24,8 @@
"type": "array",
"items": {
"type": "string"
}
},
"uniqueItems": true
}
}
},

View file

@ -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).",

View file

@ -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).",

View file

@ -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).",