summaryrefslogtreecommitdiff
path: root/json
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2022-08-06 22:06:33 +0300
committerJulian Berman <Julian@GrayVines.com>2022-08-06 22:06:33 +0300
commit658775f6c6228e2aff7a52ac4a20dd85369a304a (patch)
tree254a8bbb22877b6642872aab02bf307ff90ca2c8 /json
parent29949ae686c517652b0694c8a8124dfe32bfd4f1 (diff)
parent9e7387d89098b43062b9cbab177cd15aad965f6a (diff)
downloadjsonschema-658775f6c6228e2aff7a52ac4a20dd85369a304a.tar.gz
Merge commit '9e7387d89098b43062b9cbab177cd15aad965f6a'
* commit '9e7387d89098b43062b9cbab177cd15aad965f6a': Squashed 'json/' changes from 91ecacf60..0015d5242
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"