summaryrefslogtreecommitdiff
path: root/json/tests/draft3/ref.json
diff options
context:
space:
mode:
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"
}
]