Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4920b36

Browse files
karenetheridgejdesrosiers
authored andcommitted
update schema identifiers to "draft/next" everywhere, so implementations can start testing with them (#1148)
1 parent db15f3d commit 4920b36

12 files changed

+67
-67
lines changed

‎jsonschema-core.xml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,11 +1142,11 @@
11421142
</t>
11431143
<t>
11441144
The current IRI for the Core vocabulary is:
1145-
&lt;https://json-schema.org/draft/2020-12/vocab/core&gt;.
1145+
&lt;https://json-schema.org/draft/next/vocab/core&gt;.
11461146
</t>
11471147
<t>
11481148
The current IRI for the corresponding meta-schema is:
1149-
<eref target="https://json-schema.org/draft/2020-12/meta/core"/>.
1149+
<eref target="https://json-schema.org/draft/next/meta/core"/>.
11501150
</t>
11511151
<t>
11521152
While the "$" prefix is not formally reserved for the Core vocabulary,
@@ -2104,11 +2104,11 @@
21042104
</t>
21052105
<t>
21062106
The current IRI for this vocabulary, known as the Applicator vocabulary, is:
2107-
&lt;https://json-schema.org/draft/2020-12/vocab/applicator&gt;.
2107+
&lt;https://json-schema.org/draft/next/vocab/applicator&gt;.
21082108
</t>
21092109
<t>
21102110
The current IRI for the corresponding meta-schema is:
2111-
<eref target="https://json-schema.org/draft/2020-12/meta/applicator"/>.
2111+
<eref target="https://json-schema.org/draft/next/meta/applicator"/>.
21122112
</t>
21132113
<section title="Keyword Independence">
21142114
<t>
@@ -2569,11 +2569,11 @@
25692569
<t>
25702570
The current IRI for this vocabulary, known as the Unevaluated Applicator
25712571
vocabulary, is:
2572-
&lt;https://json-schema.org/draft/2020-12/vocab/unevaluated&gt;.
2572+
&lt;https://json-schema.org/draft/next/vocab/unevaluated&gt;.
25732573
</t>
25742574
<t>
25752575
The current IRI for the corresponding meta-schema is:
2576-
<eref target="https://json-schema.org/draft/2020-12/meta/unevaluated"/>.
2576+
<eref target="https://json-schema.org/draft/next/meta/unevaluated"/>.
25772577
</t>
25782578

25792579
<section title="Keyword Independence">
@@ -2865,7 +2865,7 @@ https://example.com/schemas/common#/$defs/count/minimum
28652865
<![CDATA[
28662866
{
28672867
"$id": "https://example.com/polygon",
2868-
"$schema": "https://json-schema.org/draft/2020-12/schema",
2868+
"$schema": "https://json-schema.org/draft/next/schema",
28692869
"$defs": {
28702870
"point": {
28712871
"type": "object",
@@ -3078,15 +3078,15 @@ https://example.com/schemas/common#/$defs/count/minimum
30783078
<t>
30793079
Because this output structure can be quite large, a smaller example is given
30803080
here for brevity. The IRI of the full output structure of the example above is:
3081-
<eref target="https://json-schema.org/draft/2020-12/output/verbose-example"/>.
3081+
<eref target="https://json-schema.org/draft/next/output/verbose-example"/>.
30823082
</t>
30833083
<figure>
30843084
<artwork>
30853085
<![CDATA[
30863086
// schema
30873087
{
30883088
"$id": "https://example.com/polygon",
3089-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3089+
"$schema": "https://json-schema.org/draft/next/schema",
30903090
"type": "object",
30913091
"properties": {
30923092
"validProp": true,
@@ -3140,7 +3140,7 @@ https://example.com/schemas/common#/$defs/count/minimum
31403140
<t>
31413141
For convenience, JSON Schema has been provided to validate output generated
31423142
by implementations. Its IRI is:
3143-
<eref target="https://json-schema.org/draft/2020-12/output/schema"/>.
3143+
<eref target="https://json-schema.org/draft/next/output/schema"/>.
31443144
</t>
31453145
</section>
31463146

@@ -3534,7 +3534,7 @@ https://example.com/schemas/common#/$defs/count/minimum
35343534
<![CDATA[
35353535
// tree schema, extensible
35363536
{
3537-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3537+
"$schema": "https://json-schema.org/draft/next/schema",
35383538
"$id": "https://example.com/tree",
35393539
"$dynamicAnchor": "node",
35403540
@@ -3552,7 +3552,7 @@ https://example.com/schemas/common#/$defs/count/minimum
35523552
35533553
// strict-tree schema, guards against misspelled properties
35543554
{
3555-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3555+
"$schema": "https://json-schema.org/draft/next/schema",
35563556
"$id": "https://example.com/strict-tree",
35573557
"$dynamicAnchor": "node",
35583558
@@ -3725,20 +3725,20 @@ https://example.com/schemas/common#/$defs/count/minimum
37253725
<artwork>
37263726
<![CDATA[
37273727
{
3728-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3728+
"$schema": "https://json-schema.org/draft/next/schema",
37293729
"$id": "https://example.com/meta/general-use-example",
37303730
"$dynamicAnchor": "meta",
37313731
"$vocabulary": {
3732-
"https://json-schema.org/draft/2020-12/vocab/core": true,
3733-
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
3734-
"https://json-schema.org/draft/2020-12/vocab/validation": true,
3732+
"https://json-schema.org/draft/next/vocab/core": true,
3733+
"https://json-schema.org/draft/next/vocab/applicator": true,
3734+
"https://json-schema.org/draft/next/vocab/validation": true,
37353735
"https://example.com/vocab/example-vocab": true
37363736
},
37373737
"allOf": [
3738-
{"$ref": "https://json-schema.org/draft/2020-12/meta/core"},
3739-
{"$ref": "https://json-schema.org/draft/2020-12/meta/applicator"},
3740-
{"$ref": "https://json-schema.org/draft/2020-12/meta/validation"},
3741-
{"$ref": "https://example.com/meta/example-vocab"}
3738+
{"$ref": "https://json-schema.org/draft/next/meta/core"},
3739+
{"$ref": "https://json-schema.org/draft/next/meta/applicator"},
3740+
{"$ref": "https://json-schema.org/draft/next/meta/validation"},
3741+
{"$ref": "https://example.com/meta/example-vocab",
37423742
],
37433743
"patternProperties": {
37443744
"^unevaluated": false
@@ -3760,7 +3760,7 @@ https://example.com/schemas/common#/$defs/count/minimum
37603760
<artwork>
37613761
<![CDATA[
37623762
{
3763-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3763+
"$schema": "https://json-schema.org/draft/next/schema",
37643764
"$id": "https://example.com/meta/example-vocab",
37653765
"$dynamicAnchor": "meta",
37663766
"$vocabulary": {

‎jsonschema-validation.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
<section title="Meta-Schema" anchor="meta-schema">
179179
<t>
180180
The current IRI for the default JSON Schema dialect meta-schema is
181-
<eref target="https://json-schema.org/draft/2020-12/schema"/>.
181+
<eref target="https://json-schema.org/draft/next/schema"/>.
182182
For schema author convenience, this meta-schema describes a dialect
183183
consisting of all vocabularies
184184
defined in this specification and the JSON Schema Core specification,
@@ -207,11 +207,11 @@
207207
</t>
208208
<t>
209209
The current IRI for this vocabulary, known as the Validation vocabulary, is:
210-
&lt;https://json-schema.org/draft/2020-12/vocab/validation&gt;.
210+
&lt;https://json-schema.org/draft/next/vocab/validation&gt;.
211211
</t>
212212
<t>
213213
The current IRI for the corresponding meta-schema is:
214-
<eref target="https://json-schema.org/draft/2020-12/meta/validation"/>.
214+
<eref target="https://json-schema.org/draft/next/meta/validation"/>.
215215
</t>
216216

217217
<section title="Validation Keywords for Any Instance Type" anchor="general">
@@ -548,18 +548,18 @@
548548

549549
<t>
550550
The current IRI for this vocabulary, known as the Format-Annotation vocabulary, is:
551-
&lt;https://json-schema.org/draft/2020-12/vocab/format-annotation&gt;. The current
551+
&lt;https://json-schema.org/draft/next/vocab/format-annotation&gt;. The current
552552
IRI for the corresponding meta-schema is:
553-
<eref target="https://json-schema.org/draft/2020-12/meta/format-annotation"/>.
553+
<eref target="https://json-schema.org/draft/next/meta/format-annotation"/>.
554554
Implementing support for this vocabulary is REQUIRED.
555555
</t>
556556
<t>
557557
In addition to the Format-Annotation vocabulary, a secondary vocabulary is available
558558
for custom meta-schemas that defines "format" as an assertion. The IRI for the
559559
Format-Assertion vocabulary, is:
560-
&lt;https://json-schema.org/draft/2020-12/vocab/format-assertion&gt;. The current
560+
&lt;https://json-schema.org/draft/next/vocab/format-assertion&gt;. The current
561561
IRI for the corresponding meta-schema is:
562-
<eref target="https://json-schema.org/draft/2020-12/meta/format-assertion"/>.
562+
<eref target="https://json-schema.org/draft/next/meta/format-assertion"/>.
563563
Implementing support for the Format-Assertion vocabulary is OPTIONAL.
564564
</t>
565565
<t>
@@ -924,11 +924,11 @@
924924
</t>
925925
<t>
926926
The current IRI for this vocabulary, known as the Content vocabulary, is:
927-
&lt;https://json-schema.org/draft/2020-12/vocab/content&gt;.
927+
&lt;https://json-schema.org/draft/next/vocab/content&gt;.
928928
</t>
929929
<t>
930930
The current IRI for the corresponding meta-schema is:
931-
<eref target="https://json-schema.org/draft/2020-12/meta/content"/>.
931+
<eref target="https://json-schema.org/draft/next/meta/content"/>.
932932
</t>
933933
</section>
934934

@@ -1131,11 +1131,11 @@
11311131
</t>
11321132
<t>
11331133
The current IRI for this vocabulary, known as the Meta-Data vocabulary, is:
1134-
&lt;https://json-schema.org/draft/2020-12/vocab/meta-data&gt;.
1134+
&lt;https://json-schema.org/draft/next/vocab/meta-data&gt;.
11351135
</t>
11361136
<t>
11371137
The current IRI for the corresponding meta-schema is:
1138-
<eref target="https://json-schema.org/draft/2020-12/meta/meta-data"/>.
1138+
<eref target="https://json-schema.org/draft/next/meta/meta-data"/>.
11391139
</t>
11401140

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

‎meta/applicator.json

Lines changed: 3 additions & 3 deletions
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 3 additions & 3 deletions
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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /