summaryrefslogtreecommitdiff
path: root/json
diff options
context:
space:
mode:
Diffstat (limited to 'json')
-rw-r--r--json/tests/draft6/id.json8
-rw-r--r--json/tests/draft6/ref.json6
-rw-r--r--json/tests/draft7/id.json8
-rw-r--r--json/tests/draft7/ref.json6
4 files changed, 14 insertions, 14 deletions
diff --git a/json/tests/draft6/id.json b/json/tests/draft6/id.json
index 0cbff5a..03d30fc 100644
--- a/json/tests/draft6/id.json
+++ b/json/tests/draft6/id.json
@@ -52,7 +52,7 @@
{
"description": "non-schema object containing a plain-name $id property",
"schema": {
- "$defs": {
+ "definitions": {
"const_not_anchor": {
"const": {
"$id": "#not_a_real_anchor"
@@ -71,7 +71,7 @@
}
},
{
- "$ref": "#/$defs/const_not_anchor"
+ "$ref": "#/definitions/const_not_anchor"
}
]
}
@@ -93,7 +93,7 @@
{
"description": "non-schema object containing an $id property",
"schema": {
- "$defs": {
+ "definitions": {
"const_not_id": {
"const": {
"$id": "not_a_real_id"
@@ -112,7 +112,7 @@
}
},
{
- "$ref": "#/$defs/const_not_id"
+ "$ref": "#/definitions/const_not_id"
}
]
}
diff --git a/json/tests/draft6/ref.json b/json/tests/draft6/ref.json
index 3e72a59..1724f81 100644
--- a/json/tests/draft6/ref.json
+++ b/json/tests/draft6/ref.json
@@ -737,9 +737,9 @@
"schema": {
"$id": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed",
"properties": {
- "foo": {"$ref": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar"}
+ "foo": {"$ref": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar"}
},
- "$defs": {
+ "definitions": {
"bar": {"type": "string"}
}
},
@@ -763,7 +763,7 @@
"properties": {
"foo": {"$ref": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#something"}
},
- "$defs": {
+ "definitions": {
"bar": {
"$id": "#something",
"type": "string"
diff --git a/json/tests/draft7/id.json b/json/tests/draft7/id.json
index b03248b..6be81b8 100644
--- a/json/tests/draft7/id.json
+++ b/json/tests/draft7/id.json
@@ -52,7 +52,7 @@
{
"description": "non-schema object containing a plain-name $id property",
"schema": {
- "$defs": {
+ "definitions": {
"const_not_anchor": {
"const": {
"$id": "#not_a_real_anchor"
@@ -64,7 +64,7 @@
},
"then": true,
"else" : {
- "$ref": "#/$defs/const_not_anchor"
+ "$ref": "#/definitions/const_not_anchor"
}
},
"tests": [
@@ -83,7 +83,7 @@
{
"description": "non-schema object containing an $id property",
"schema": {
- "$defs": {
+ "definitions": {
"const_not_id": {
"const": {
"$id": "not_a_real_id"
@@ -95,7 +95,7 @@
},
"then": true,
"else" : {
- "$ref": "#/$defs/const_not_id"
+ "$ref": "#/definitions/const_not_id"
}
},
"tests": [
diff --git a/json/tests/draft7/ref.json b/json/tests/draft7/ref.json
index dbf0595..ab67f0e 100644
--- a/json/tests/draft7/ref.json
+++ b/json/tests/draft7/ref.json
@@ -773,9 +773,9 @@
"schema": {
"$id": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed",
"properties": {
- "foo": {"$ref": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar"}
+ "foo": {"$ref": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar"}
},
- "$defs": {
+ "definitions": {
"bar": {"type": "string"}
}
},
@@ -799,7 +799,7 @@
"properties": {
"foo": {"$ref": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#something"}
},
- "$defs": {
+ "definitions": {
"bar": {
"$id": "#something",
"type": "string"