Skip to content

Commit 4de0966

Browse files
authored
Merge pull request #558 from yakimun/replace-definitions-with-defs
Replace definitions with $defs for 2019 and later drafts
2 parents 0b777ff + aad0f35 commit 4de0966

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

remotes/locationIndependentIdentifier.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"definitions": {
2+
"$defs": {
33
"refToInteger": {
44
"$ref": "#foo"
55
},

tests/draft-next/refRemote.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
{
191191
"description": "Location-independent identifier in remote ref",
192192
"schema": {
193-
"$ref": "http://localhost:1234/locationIndependentIdentifier.json#/definitions/refToInteger"
193+
"$ref": "http://localhost:1234/locationIndependentIdentifier.json#/$defs/refToInteger"
194194
},
195195
"tests": [
196196
{

tests/draft2019-09/refRemote.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
{
191191
"description": "Location-independent identifier in remote ref",
192192
"schema": {
193-
"$ref": "http://localhost:1234/locationIndependentIdentifier.json#/definitions/refToInteger"
193+
"$ref": "http://localhost:1234/locationIndependentIdentifier.json#/$defs/refToInteger"
194194
},
195195
"tests": [
196196
{

tests/draft2020-12/refRemote.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
{
191191
"description": "Location-independent identifier in remote ref",
192192
"schema": {
193-
"$ref": "http://localhost:1234/locationIndependentIdentifier.json#/definitions/refToInteger"
193+
"$ref": "http://localhost:1234/locationIndependentIdentifier.json#/$defs/refToInteger"
194194
},
195195
"tests": [
196196
{

0 commit comments

Comments
 (0)