summaryrefslogtreecommitdiff
path: root/json/tests/draft2019-09/unknownKeyword.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft2019-09/unknownKeyword.json')
-rw-r--r--json/tests/draft2019-09/unknownKeyword.json9
1 files changed, 5 insertions, 4 deletions
diff --git a/json/tests/draft2019-09/unknownKeyword.json b/json/tests/draft2019-09/unknownKeyword.json
index e46657d..f98e87c 100644
--- a/json/tests/draft2019-09/unknownKeyword.json
+++ b/json/tests/draft2019-09/unknownKeyword.json
@@ -3,26 +3,27 @@
"description": "$id inside an unknown keyword is not a real identifier",
"comment": "the implementation must not be confused by an $id in locations we do not know how to parse",
"schema": {
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
"$defs": {
"id_in_unknown0": {
"not": {
"array_of_schemas": [
{
- "$id": "https://localhost:1234/unknownKeyword/my_identifier.json",
+ "$id": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json",
"type": "null"
}
]
}
},
"real_id_in_schema": {
- "$id": "https://localhost:1234/unknownKeyword/my_identifier.json",
+ "$id": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json",
"type": "string"
},
"id_in_unknown1": {
"not": {
"object_of_schemas": {
"foo": {
- "$id": "https://localhost:1234/unknownKeyword/my_identifier.json",
+ "$id": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json",
"type": "integer"
}
}
@@ -32,7 +33,7 @@
"anyOf": [
{ "$ref": "#/$defs/id_in_unknown0" },
{ "$ref": "#/$defs/id_in_unknown1" },
- { "$ref": "https://localhost:1234/unknownKeyword/my_identifier.json" }
+ { "$ref": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json" }
]
},
"tests": [