summaryrefslogtreecommitdiff
path: root/json/tests/draft2020-12/id.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft2020-12/id.json')
-rw-r--r--json/tests/draft2020-12/id.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/json/tests/draft2020-12/id.json b/json/tests/draft2020-12/id.json
index 06d1ec2..14a0e9c 100644
--- a/json/tests/draft2020-12/id.json
+++ b/json/tests/draft2020-12/id.json
@@ -213,32 +213,32 @@
"id_in_enum": {
"enum": [
{
- "$id": "https://localhost:1234/my_identifier.json",
+ "$id": "https://localhost:1234/id/my_identifier.json",
"type": "null"
}
]
},
"real_id_in_schema": {
- "$id": "https://localhost:1234/my_identifier.json",
+ "$id": "https://localhost:1234/id/my_identifier.json",
"type": "string"
},
"zzz_id_in_const": {
"const": {
- "$id": "https://localhost:1234/my_identifier.json",
+ "$id": "https://localhost:1234/id/my_identifier.json",
"type": "null"
}
}
},
"anyOf": [
{ "$ref": "#/$defs/id_in_enum" },
- { "$ref": "https://localhost:1234/my_identifier.json" }
+ { "$ref": "https://localhost:1234/id/my_identifier.json" }
]
},
"tests": [
{
"description": "exact match to enum, and type matches",
"data": {
- "$id": "https://localhost:1234/my_identifier.json",
+ "$id": "https://localhost:1234/id/my_identifier.json",
"type": "null"
},
"valid": true