summaryrefslogtreecommitdiff
path: root/json/tests/draft3/ref.json
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2021-06-29 09:59:08 +0200
committerJulian Berman <Julian@GrayVines.com>2021-06-29 09:59:08 +0200
commit03ec4a1ac23f61052c8718d8a9a443092022204a (patch)
tree6d04f862915862e7282d70ca850e1e3807aa76f6 /json/tests/draft3/ref.json
parent0287da9b483b957e7d6ff385ec8ccb6de506c091 (diff)
parent02434de22eb0fb4eb60744c5f38c4895b5d4dd02 (diff)
downloadjsonschema-03ec4a1ac23f61052c8718d8a9a443092022204a.tar.gz
Merge commit '02434de22eb0fb4eb60744c5f38c4895b5d4dd02'
* commit '02434de22eb0fb4eb60744c5f38c4895b5d4dd02': Squashed 'json/' changes from 1326f36e..17fa9589
Diffstat (limited to 'json/tests/draft3/ref.json')
-rw-r--r--json/tests/draft3/ref.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/json/tests/draft3/ref.json b/json/tests/draft3/ref.json
index 760b771..46dd82d 100644
--- a/json/tests/draft3/ref.json
+++ b/json/tests/draft3/ref.json
@@ -201,24 +201,24 @@
]
},
{
- "description": "$ref prevents a sibling $id from changing the base uri",
+ "description": "$ref prevents a sibling id from changing the base uri",
"schema": {
- "$id": "http://localhost:1234/sibling_id/base/",
+ "id": "http://localhost:1234/sibling_id/base/",
"definitions": {
"foo": {
- "$id": "http://localhost:1234/sibling_id/foo.json",
+ "id": "http://localhost:1234/sibling_id/foo.json",
"minimum": 2
},
"base_foo": {
"$comment": "this canonical uri is http://localhost:1234/sibling_id/base/foo.json",
- "$id": "foo.json",
+ "id": "foo.json",
"minimum": 5
}
},
"allOf": [
{
"$comment": "$ref resolves to http://localhost:1234/sibling_id/base/foo.json, not ttp://localhost:1234/sibling_id/foo.json",
- "$id": "http://localhost:1234/sibling_id/",
+ "id": "http://localhost:1234/sibling_id/",
"$ref": "foo.json"
}
]