Skip to content

Commit 4ecbea5

Browse files
committed
Squashed 'json/' changes from 54440eab4..ba3a90534
ba3a90534 Merge pull request #523 from olegshtch/extendible-schema-test-suite 458e7ac1e Add test suite to test dynamic reference and anchor link and their independency of order fe405a119 draft/future -> draft/next in $refs also 3d9d35a2a Merge pull request #522 from json-schema-org/ether/draft-next 11b5076f0 rename draft-future to draft-next 0245dcc94 Merge pull request #521 from olegshtch/add-recursive-ref-test-suite e9fb9cf45 Merge pull request #517 from ChALkeR/chalker/date-time-leap f1b230c69 Add test from Appendix C. Example of recursive schema extension of the draft. bb2e37317 Test date-time with leap second on a wrong hour/minute 8b797cfe6 Merge pull request #520 from json-schema-org/ether/custom-dialect 5d23f3112 Add tests for invalid date-time past leap second 63f8e93c1 Improve leap seconds test in optional/format/date-time 3d00f593d test the use of the $vocabulary keyword in a custom metaschema git-subtree-dir: json git-subtree-split: ba3a9053400dd6237aef9cc63601758b1d266818
1 parent cf88638 commit 4ecbea5

File tree

85 files changed

+680
-22
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+680
-22
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$id": "http://localhost:1234/draft2019-09/metaschema-no-validation.json",
3+
"$vocabulary": {
4+
"https://json-schema.org/draft/2019-09/vocab/applicator": true,
5+
"https://json-schema.org/draft/2019-09/vocab/core": true
6+
},
7+
"allOf": [
8+
{ "$ref": "https://json-schema.org/draft/2019-09/meta/applicator" },
9+
{ "$ref": "https://json-schema.org/draft/2019-09/meta/core" }
10+
]
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$id": "http://localhost:1234/draft2020-12/metaschema-no-validation.json",
3+
"$vocabulary": {
4+
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
5+
"https://json-schema.org/draft/2020-12/vocab/core": true
6+
},
7+
"allOf": [
8+
{ "$ref": "https://json-schema.org/draft/2020-12/meta/applicator" },
9+
{ "$ref": "https://json-schema.org/draft/2020-12/meta/core" }
10+
]
11+
}

remotes/extendible-dynamic-ref.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"description": "extendible array",
3+
"$id": "http://localhost:1234/extendible-dynamic-ref.json",
4+
"type": "object",
5+
"properties": {
6+
"elements": {
7+
"type": "array",
8+
"items": {
9+
"$dynamicRef": "#elements"
10+
}
11+
}
12+
},
13+
"required": ["elements"],
14+
"additionalProperties": false,
15+
"$defs": {
16+
"elements": {
17+
"$dynamicAnchor": "elements"
18+
}
19+
}
20+
}

remotes/tree.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"description": "tree schema, extensible",
3+
"$id": "http://localhost:1234/tree.json",
4+
"$dynamicAnchor": "node",
5+
6+
"type": "object",
7+
"properties": {
8+
"data": true,
9+
"children": {
10+
"type": "array",
11+
"items": {
12+
"$dynamicRef": "#node"
13+
}
14+
}
15+
}
16+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)