Skip to content

Commit a06f315

Browse files
update schema identifiers to "draft/next" everywhere, so implementations can start testing with them (#1148)
1 parent 685d84e commit a06f315

12 files changed

+66
-66
lines changed

jsonschema-core.xml

+20-20
Original file line numberDiff line numberDiff line change
@@ -1122,11 +1122,11 @@
11221122
</t>
11231123
<t>
11241124
The current IRI for the Core vocabulary is:
1125-
&lt;https://json-schema.org/draft/2020-12/vocab/core&gt;.
1125+
&lt;https://json-schema.org/draft/next/vocab/core&gt;.
11261126
</t>
11271127
<t>
11281128
The current IRI for the corresponding meta-schema is:
1129-
<eref target="https://json-schema.org/draft/2020-12/meta/core"/>.
1129+
<eref target="https://json-schema.org/draft/next/meta/core"/>.
11301130
</t>
11311131
<t>
11321132
While the "$" prefix is not formally reserved for the Core vocabulary,
@@ -2063,11 +2063,11 @@
20632063
</t>
20642064
<t>
20652065
The current IRI for this vocabulary, known as the Applicator vocabulary, is:
2066-
&lt;https://json-schema.org/draft/2020-12/vocab/applicator&gt;.
2066+
&lt;https://json-schema.org/draft/next/vocab/applicator&gt;.
20672067
</t>
20682068
<t>
20692069
The current IRI for the corresponding meta-schema is:
2070-
<eref target="https://json-schema.org/draft/2020-12/meta/applicator"/>.
2070+
<eref target="https://json-schema.org/draft/next/meta/applicator"/>.
20712071
</t>
20722072
<t>
20732073
Updated vocabulary and meta-schema IRIs MAY be published between
@@ -2509,11 +2509,11 @@
25092509
<t>
25102510
The current IRI for this vocabulary, known as the Unevaluated Applicator
25112511
vocabulary, is:
2512-
&lt;https://json-schema.org/draft/2020-12/vocab/unevaluated&gt;.
2512+
&lt;https://json-schema.org/draft/next/vocab/unevaluated&gt;.
25132513
</t>
25142514
<t>
25152515
The current URI for the corresponding meta-schema is:
2516-
<eref target="https://json-schema.org/draft/2020-12/meta/unevaluated"/>.
2516+
<eref target="https://json-schema.org/draft/next/meta/unevaluated"/>.
25172517
</t>
25182518
<t>
25192519
Updated vocabulary and meta-schema URIs MAY be published between
@@ -2810,7 +2810,7 @@ https://example.com/schemas/common#/$defs/count/minimum
28102810
<![CDATA[
28112811
{
28122812
"$id": "https://example.com/polygon",
2813-
"$schema": "https://json-schema.org/draft/2020-12/schema",
2813+
"$schema": "https://json-schema.org/draft/next/schema",
28142814
"$defs": {
28152815
"point": {
28162816
"type": "object",
@@ -3023,15 +3023,15 @@ https://example.com/schemas/common#/$defs/count/minimum
30233023
<t>
30243024
Because this output structure can be quite large, a smaller example is given
30253025
here for brevity. The IRI of the full output structure of the example above is:
3026-
<eref target="https://json-schema.org/draft/2020-12/output/verbose-example"/>.
3026+
<eref target="https://json-schema.org/draft/next/output/verbose-example"/>.
30273027
</t>
30283028
<figure>
30293029
<artwork>
30303030
<![CDATA[
30313031
// schema
30323032
{
30333033
"$id": "https://example.com/polygon",
3034-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3034+
"$schema": "https://json-schema.org/draft/next/schema",
30353035
"type": "object",
30363036
"properties": {
30373037
"validProp": true,
@@ -3085,7 +3085,7 @@ https://example.com/schemas/common#/$defs/count/minimum
30853085
<t>
30863086
For convenience, JSON Schema has been provided to validate output generated
30873087
by implementations. Its IRI is:
3088-
<eref target="https://json-schema.org/draft/2020-12/output/schema"/>.
3088+
<eref target="https://json-schema.org/draft/next/output/schema"/>.
30893089
</t>
30903090
</section>
30913091

@@ -3494,7 +3494,7 @@ https://example.com/schemas/common#/$defs/count/minimum
34943494
<![CDATA[
34953495
// tree schema, extensible
34963496
{
3497-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3497+
"$schema": "https://json-schema.org/draft/next/schema",
34983498
"$id": "https://example.com/tree",
34993499
"$dynamicAnchor": "node",
35003500
@@ -3512,7 +3512,7 @@ https://example.com/schemas/common#/$defs/count/minimum
35123512
35133513
// strict-tree schema, guards against misspelled properties
35143514
{
3515-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3515+
"$schema": "https://json-schema.org/draft/next/schema",
35163516
"$id": "https://example.com/strict-tree",
35173517
"$dynamicAnchor": "node",
35183518
@@ -3685,19 +3685,19 @@ https://example.com/schemas/common#/$defs/count/minimum
36853685
<artwork>
36863686
<![CDATA[
36873687
{
3688-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3688+
"$schema": "https://json-schema.org/draft/next/schema",
36893689
"$id": "https://example.com/meta/general-use-example",
36903690
"$dynamicAnchor": "meta",
36913691
"$vocabulary": {
3692-
"https://json-schema.org/draft/2020-12/vocab/core": true,
3693-
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
3694-
"https://json-schema.org/draft/2020-12/vocab/validation": true,
3692+
"https://json-schema.org/draft/next/vocab/core": true,
3693+
"https://json-schema.org/draft/next/vocab/applicator": true,
3694+
"https://json-schema.org/draft/next/vocab/validation": true,
36953695
"https://example.com/vocab/example-vocab": true
36963696
},
36973697
"allOf": [
3698-
{"$ref": "https://json-schema.org/draft/2020-12/meta/core"},
3699-
{"$ref": "https://json-schema.org/draft/2020-12/meta/applicator"},
3700-
{"$ref": "https://json-schema.org/draft/2020-12/meta/validation"},
3698+
{"$ref": "https://json-schema.org/draft/next/meta/core"},
3699+
{"$ref": "https://json-schema.org/draft/next/meta/applicator"},
3700+
{"$ref": "https://json-schema.org/draft/next/meta/validation"},
37013701
{"$ref": "https://example.com/meta/example-vocab",
37023702
],
37033703
"patternProperties": {
@@ -3720,7 +3720,7 @@ https://example.com/schemas/common#/$defs/count/minimum
37203720
<artwork>
37213721
<![CDATA[
37223722
{
3723-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3723+
"$schema": "https://json-schema.org/draft/next/schema",
37243724
"$id": "https://example.com/meta/example-vocab",
37253725
"$dynamicAnchor": "meta",
37263726
"$vocabulary": {

jsonschema-validation.xml

+11-11
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
<section title="Meta-Schema" anchor="meta-schema">
178178
<t>
179179
The current URI for the default JSON Schema dialect meta-schema is
180-
<eref target="https://json-schema.org/draft/2020-12/schema"/>.
180+
<eref target="https://json-schema.org/draft/next/schema"/>.
181181
For schema author convenience, this meta-schema describes a dialect
182182
consisting of all vocabularies
183183
defined in this specification and the JSON Schema Core specification,
@@ -206,11 +206,11 @@
206206
</t>
207207
<t>
208208
The current URI for this vocabulary, known as the Validation vocabulary, is:
209-
&lt;https://json-schema.org/draft/2020-12/vocab/validation&gt;.
209+
&lt;https://json-schema.org/draft/next/vocab/validation&gt;.
210210
</t>
211211
<t>
212212
The current URI for the corresponding meta-schema is:
213-
<eref target="https://json-schema.org/draft/2020-12/meta/validation"/>.
213+
<eref target="https://json-schema.org/draft/next/meta/validation"/>.
214214
</t>
215215

216216
<section title="Validation Keywords for Any Instance Type" anchor="general">
@@ -546,18 +546,18 @@
546546

547547
<t>
548548
The current URI for this vocabulary, known as the Format-Annotation vocabulary, is:
549-
&lt;https://json-schema.org/draft/2020-12/vocab/format-annotation&gt;. The current
549+
&lt;https://json-schema.org/draft/next/vocab/format-annotation&gt;. The current
550550
URI for the corresponding meta-schema is:
551-
<eref target="https://json-schema.org/draft/2020-12/meta/format-annotation"/>.
551+
<eref target="https://json-schema.org/draft/next/meta/format-annotation"/>.
552552
Implementing support for this vocabulary is REQUIRED.
553553
</t>
554554
<t>
555555
In addition to the Format-Annotation vocabulary, a secondary vocabulary is available
556556
for custom meta-schemas that defines "format" as an assertion. The URI for the
557557
Format-Assertion vocabulary, is:
558-
&lt;https://json-schema.org/draft/2020-12/vocab/format-assertion&gt;. The current
558+
&lt;https://json-schema.org/draft/next/vocab/format-assertion&gt;. The current
559559
URI for the corresponding meta-schema is:
560-
<eref target="https://json-schema.org/draft/2020-12/meta/format-assertion"/>.
560+
<eref target="https://json-schema.org/draft/next/meta/format-assertion"/>.
561561
Implementing support for the Format-Assertion vocabulary is OPTIONAL.
562562
</t>
563563
<t>
@@ -918,11 +918,11 @@
918918
</t>
919919
<t>
920920
The current URI for this vocabulary, known as the Content vocabulary, is:
921-
&lt;https://json-schema.org/draft/2020-12/vocab/content&gt;.
921+
&lt;https://json-schema.org/draft/next/vocab/content&gt;.
922922
</t>
923923
<t>
924924
The current URI for the corresponding meta-schema is:
925-
<eref target="https://json-schema.org/draft/2020-12/meta/content"/>.
925+
<eref target="https://json-schema.org/draft/next/meta/content"/>.
926926
</t>
927927
</section>
928928

@@ -1118,11 +1118,11 @@
11181118
</t>
11191119
<t>
11201120
The current URI for this vocabulary, known as the Meta-Data vocabulary, is:
1121-
&lt;https://json-schema.org/draft/2020-12/vocab/meta-data&gt;.
1121+
&lt;https://json-schema.org/draft/next/vocab/meta-data&gt;.
11221122
</t>
11231123
<t>
11241124
The current URI for the corresponding meta-schema is:
1125-
<eref target="https://json-schema.org/draft/2020-12/meta/meta-data"/>.
1125+
<eref target="https://json-schema.org/draft/next/meta/meta-data"/>.
11261126
</t>
11271127

11281128
<section title='"title" and "description"'>

meta/applicator.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://json-schema.org/draft/2020-12/meta/applicator",
2+
"$schema": "https://json-schema.org/draft/next/schema",
3+
"$id": "https://json-schema.org/draft/next/meta/applicator",
44
"$vocabulary": {
5-
"https://json-schema.org/draft/2020-12/vocab/applicator": true
5+
"https://json-schema.org/draft/next/vocab/applicator": true
66
},
77
"$dynamicAnchor": "meta",
88

meta/content.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://json-schema.org/draft/2020-12/meta/content",
2+
"$schema": "https://json-schema.org/draft/next/schema",
3+
"$id": "https://json-schema.org/draft/next/meta/content",
44
"$vocabulary": {
5-
"https://json-schema.org/draft/2020-12/vocab/content": true
5+
"https://json-schema.org/draft/next/vocab/content": true
66
},
77
"$dynamicAnchor": "meta",
88

meta/core.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://json-schema.org/draft/2020-12/meta/core",
2+
"$schema": "https://json-schema.org/draft/next/schema",
3+
"$id": "https://json-schema.org/draft/next/meta/core",
44
"$vocabulary": {
5-
"https://json-schema.org/draft/2020-12/vocab/core": true
5+
"https://json-schema.org/draft/next/vocab/core": true
66
},
77
"$dynamicAnchor": "meta",
88

meta/format-annotation.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://json-schema.org/draft/2020-12/meta/format-annotation",
2+
"$schema": "https://json-schema.org/draft/next/schema",
3+
"$id": "https://json-schema.org/draft/next/meta/format-annotation",
44
"$vocabulary": {
5-
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true
5+
"https://json-schema.org/draft/next/vocab/format-annotation": true
66
},
77
"$dynamicAnchor": "meta",
88

meta/format-assertion.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://json-schema.org/draft/2020-12/meta/format-assertion",
2+
"$schema": "https://json-schema.org/draft/next/schema",
3+
"$id": "https://json-schema.org/draft/next/meta/format-assertion",
44
"$vocabulary": {
5-
"https://json-schema.org/draft/2020-12/vocab/format-assertion": true
5+
"https://json-schema.org/draft/next/vocab/format-assertion": true
66
},
77
"$dynamicAnchor": "meta",
88

meta/meta-data.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://json-schema.org/draft/2020-12/meta/meta-data",
2+
"$schema": "https://json-schema.org/draft/next/schema",
3+
"$id": "https://json-schema.org/draft/next/meta/meta-data",
44
"$vocabulary": {
5-
"https://json-schema.org/draft/2020-12/vocab/meta-data": true
5+
"https://json-schema.org/draft/next/vocab/meta-data": true
66
},
77
"$dynamicAnchor": "meta",
88

meta/unevaluated.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://json-schema.org/draft/2020-12/meta/unevaluated",
2+
"$schema": "https://json-schema.org/draft/next/schema",
3+
"$id": "https://json-schema.org/draft/next/meta/unevaluated",
44
"$vocabulary": {
5-
"https://json-schema.org/draft/2020-12/vocab/unevaluated": true
5+
"https://json-schema.org/draft/next/vocab/unevaluated": true
66
},
77
"$dynamicAnchor": "meta",
88

meta/validation.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://json-schema.org/draft/2020-12/meta/validation",
2+
"$schema": "https://json-schema.org/draft/next/schema",
3+
"$id": "https://json-schema.org/draft/next/meta/validation",
44
"$vocabulary": {
5-
"https://json-schema.org/draft/2020-12/vocab/validation": true
5+
"https://json-schema.org/draft/next/vocab/validation": true
66
},
77
"$dynamicAnchor": "meta",
88

output/schema.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://json-schema.org/draft/2020-12/output/schema",
2+
"$schema": "https://json-schema.org/draft/next/schema",
3+
"$id": "https://json-schema.org/draft/next/output/schema",
44
"description": "A schema that validates the minimum requirements for validation output",
55

66
"anyOf": [

schema.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://json-schema.org/draft/2020-12/schema",
2+
"$schema": "https://json-schema.org/draft/next/schema",
3+
"$id": "https://json-schema.org/draft/next/schema",
44
"$vocabulary": {
5-
"https://json-schema.org/draft/2020-12/vocab/core": true,
6-
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
7-
"https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
8-
"https://json-schema.org/draft/2020-12/vocab/validation": true,
9-
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
10-
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
11-
"https://json-schema.org/draft/2020-12/vocab/content": true
5+
"https://json-schema.org/draft/next/vocab/core": true,
6+
"https://json-schema.org/draft/next/vocab/applicator": true,
7+
"https://json-schema.org/draft/next/vocab/unevaluated": true,
8+
"https://json-schema.org/draft/next/vocab/validation": true,
9+
"https://json-schema.org/draft/next/vocab/meta-data": true,
10+
"https://json-schema.org/draft/next/vocab/format-annotation": true,
11+
"https://json-schema.org/draft/next/vocab/content": true
1212
},
1313
"$dynamicAnchor": "meta",
1414

0 commit comments

Comments
 (0)