-
-
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.
Merge commit '4ecbea58e0828696f7714abba624e2160518fddd'
* commit '4ecbea58e0828696f7714abba624e2160518fddd': Squashed 'json/' changes from 54440eab4..ba3a90534
- Loading branch information
Showing
85 changed files
with
680 additions
and
22 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,11 @@ | ||
{ | ||
"$id": "http://localhost:1234/draft2019-09/metaschema-no-validation.json", | ||
"$vocabulary": { | ||
"https://json-schema.org/draft/2019-09/vocab/applicator": true, | ||
"https://json-schema.org/draft/2019-09/vocab/core": true | ||
}, | ||
"allOf": [ | ||
{ "$ref": "https://json-schema.org/draft/2019-09/meta/applicator" }, | ||
{ "$ref": "https://json-schema.org/draft/2019-09/meta/core" } | ||
] | ||
} |
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,11 @@ | ||
{ | ||
"$id": "http://localhost:1234/draft2020-12/metaschema-no-validation.json", | ||
"$vocabulary": { | ||
"https://json-schema.org/draft/2020-12/vocab/applicator": true, | ||
"https://json-schema.org/draft/2020-12/vocab/core": true | ||
}, | ||
"allOf": [ | ||
{ "$ref": "https://json-schema.org/draft/2020-12/meta/applicator" }, | ||
{ "$ref": "https://json-schema.org/draft/2020-12/meta/core" } | ||
] | ||
} |
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,20 @@ | ||
{ | ||
"description": "extendible array", | ||
"$id": "http://localhost:1234/extendible-dynamic-ref.json", | ||
"type": "object", | ||
"properties": { | ||
"elements": { | ||
"type": "array", | ||
"items": { | ||
"$dynamicRef": "#elements" | ||
} | ||
} | ||
}, | ||
"required": ["elements"], | ||
"additionalProperties": false, | ||
"$defs": { | ||
"elements": { | ||
"$dynamicAnchor": "elements" | ||
} | ||
} | ||
} |
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,16 @@ | ||
{ | ||
"description": "tree schema, extensible", | ||
"$id": "http://localhost:1234/tree.json", | ||
"$dynamicAnchor": "node", | ||
|
||
"type": "object", | ||
"properties": { | ||
"data": true, | ||
"children": { | ||
"type": "array", | ||
"items": { | ||
"$dynamicRef": "#node" | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,34 @@ | ||
[ | ||
{ | ||
"description": "schema that uses custom metaschema with with no validation vocabulary", | ||
"schema": { | ||
"$id": "https://schema/using/no/validation", | ||
"$schema": "http://localhost:1234/draft2020-12/metaschema-no-validation.json", | ||
"properties": { | ||
"badProperty": false, | ||
"numberProperty": { | ||
"minimum": 10 | ||
} | ||
} | ||
}, | ||
"tests": [ | ||
{ | ||
"description": "applicator vocabulary still works", | ||
"data": { | ||
"badProperty": "this property should not exist" | ||
}, | ||
"valid": false | ||
}, | ||
{ | ||
"description": "no validation: valid number", | ||
"data": 20, | ||
"valid": true | ||
}, | ||
{ | ||
"description": "no validation: invalid number, but it still validates", | ||
"data": 1, | ||
"valid": true | ||
} | ||
] | ||
} | ||
] |
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.