-
-
Notifications
You must be signed in to change notification settings - Fork 582
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'json/' changes from b069ac352..5cc9214e8
5cc9214e8 Merge pull request #681 from json-schema-org/gregsdennis/ref-to-ref-to-non-local-target c946d3671 update previous test set to consistently use file extensions; add to draft-next a0097d4d0 Merge pull request #679 from json-schema-org/gregsdennis/ref-to-ref-to-non-local-target 8b69249a1 added tests for checking the entire resource for anchors instead of just the local subschema 8cdfac41e Port new multiple dynamic paths test to draft-next cd441d2e4 A whole new version of multiple dynamic paths e93077e20 Simplify test for dynamic ref with multiple paths git-subtree-dir: json git-subtree-split: 5cc9214e82f1e0a5e9644960b6fe0166afb7b283
- Loading branch information
Showing
14 changed files
with
342 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$id": "http://localhost:1234/draft-next/detached-dynamicref.json", | ||
"$schema": "https://json-schema.org/draft/next/schema", | ||
"$defs": { | ||
"foo": { | ||
"$dynamicRef": "#detached" | ||
}, | ||
"detached": { | ||
"$dynamicAnchor": "detached", | ||
"type": "integer" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$id": "http://localhost:1234/draft-next/detached-ref.json", | ||
"$schema": "https://json-schema.org/draft/next/schema", | ||
"$defs": { | ||
"foo": { | ||
"$ref": "#detached" | ||
}, | ||
"detached": { | ||
"$anchor": "detached", | ||
"type": "integer" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$id": "http://localhost:1234/draft2019-09/detached-ref.json", | ||
"$schema": "https://json-schema.org/draft/2019-09/schema", | ||
"$defs": { | ||
"foo": { | ||
"$ref": "#detached" | ||
}, | ||
"detached": { | ||
"$anchor": "detached", | ||
"type": "integer" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$id": "http://localhost:1234/draft2020-12/detached-dynamicref.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$defs": { | ||
"foo": { | ||
"$dynamicRef": "#detached" | ||
}, | ||
"detached": { | ||
"$dynamicAnchor": "detached", | ||
"type": "integer" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$id": "http://localhost:1234/draft2020-12/detached-ref.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$defs": { | ||
"foo": { | ||
"$ref": "#detached" | ||
}, | ||
"detached": { | ||
"$anchor": "detached", | ||
"type": "integer" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$id": "http://localhost:1234/draft6/detached-ref.json", | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"definitions": { | ||
"foo": { | ||
"$ref": "#detached" | ||
}, | ||
"detached": { | ||
"$id": "#detached", | ||
"type": "integer" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$id": "http://localhost:1234/draft7/detached-ref.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"definitions": { | ||
"foo": { | ||
"$ref": "#detached" | ||
}, | ||
"detached": { | ||
"$id": "#detached", | ||
"type": "integer" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.