Skip to content

update schema identifiers to "draft/next" everywhere #1148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions jsonschema-core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1122,11 +1122,11 @@
</t>
<t>
The current IRI for the Core vocabulary is:
&lt;https://json-schema.org/draft/2020-12/vocab/core&gt;.
&lt;https://json-schema.org/draft/next/vocab/core&gt;.
</t>
<t>
The current IRI for the corresponding meta-schema is:
<eref target="https://json-schema.org/draft/2020-12/meta/core"/>.
<eref target="https://json-schema.org/draft/next/meta/core"/>.
</t>
<t>
While the "$" prefix is not formally reserved for the Core vocabulary,
Expand Down Expand Up @@ -2063,11 +2063,11 @@
</t>
<t>
The current IRI for this vocabulary, known as the Applicator vocabulary, is:
&lt;https://json-schema.org/draft/2020-12/vocab/applicator&gt;.
&lt;https://json-schema.org/draft/next/vocab/applicator&gt;.
</t>
<t>
The current IRI for the corresponding meta-schema is:
<eref target="https://json-schema.org/draft/2020-12/meta/applicator"/>.
<eref target="https://json-schema.org/draft/next/meta/applicator"/>.
</t>
<t>
Updated vocabulary and meta-schema IRIs MAY be published between
Expand Down Expand Up @@ -2509,11 +2509,11 @@
<t>
The current IRI for this vocabulary, known as the Unevaluated Applicator
vocabulary, is:
&lt;https://json-schema.org/draft/2020-12/vocab/unevaluated&gt;.
&lt;https://json-schema.org/draft/next/vocab/unevaluated&gt;.
</t>
<t>
The current URI for the corresponding meta-schema is:
<eref target="https://json-schema.org/draft/2020-12/meta/unevaluated"/>.
<eref target="https://json-schema.org/draft/next/meta/unevaluated"/>.
</t>
<t>
Updated vocabulary and meta-schema URIs MAY be published between
Expand Down Expand Up @@ -2810,7 +2810,7 @@ https://example.com/schemas/common#/$defs/count/minimum
<![CDATA[
{
"$id": "https://example.com/polygon",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "https://json-schema.org/draft/next/schema",
"$defs": {
"point": {
"type": "object",
Expand Down Expand Up @@ -3023,15 +3023,15 @@ https://example.com/schemas/common#/$defs/count/minimum
<t>
Because this output structure can be quite large, a smaller example is given
here for brevity. The IRI of the full output structure of the example above is:
<eref target="https://json-schema.org/draft/2020-12/output/verbose-example"/>.
<eref target="https://json-schema.org/draft/next/output/verbose-example"/>.
</t>
<figure>
<artwork>
<![CDATA[
// schema
{
"$id": "https://example.com/polygon",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "https://json-schema.org/draft/next/schema",
"type": "object",
"properties": {
"validProp": true,
Expand Down Expand Up @@ -3085,7 +3085,7 @@ https://example.com/schemas/common#/$defs/count/minimum
<t>
For convenience, JSON Schema has been provided to validate output generated
by implementations. Its IRI is:
<eref target="https://json-schema.org/draft/2020-12/output/schema"/>.
<eref target="https://json-schema.org/draft/next/output/schema"/>.
</t>
</section>

Expand Down Expand Up @@ -3494,7 +3494,7 @@ https://example.com/schemas/common#/$defs/count/minimum
<![CDATA[
// tree schema, extensible
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://example.com/tree",
"$dynamicAnchor": "node",

Expand All @@ -3512,7 +3512,7 @@ https://example.com/schemas/common#/$defs/count/minimum

// strict-tree schema, guards against misspelled properties
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://example.com/strict-tree",
"$dynamicAnchor": "node",

Expand Down Expand Up @@ -3685,19 +3685,19 @@ https://example.com/schemas/common#/$defs/count/minimum
<artwork>
<![CDATA[
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://example.com/meta/general-use-example",
"$dynamicAnchor": "meta",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/core": true,
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
"https://json-schema.org/draft/2020-12/vocab/validation": true,
"https://json-schema.org/draft/next/vocab/core": true,
"https://json-schema.org/draft/next/vocab/applicator": true,
"https://json-schema.org/draft/next/vocab/validation": true,
"https://example.com/vocab/example-vocab": true
},
"allOf": [
{"$ref": "https://json-schema.org/draft/2020-12/meta/core"},
{"$ref": "https://json-schema.org/draft/2020-12/meta/applicator"},
{"$ref": "https://json-schema.org/draft/2020-12/meta/validation"},
{"$ref": "https://json-schema.org/draft/next/meta/core"},
{"$ref": "https://json-schema.org/draft/next/meta/applicator"},
{"$ref": "https://json-schema.org/draft/next/meta/validation"},
{"$ref": "https://example.com/meta/example-vocab",
],
"patternProperties": {
Expand All @@ -3720,7 +3720,7 @@ https://example.com/schemas/common#/$defs/count/minimum
<artwork>
<![CDATA[
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://example.com/meta/example-vocab",
"$dynamicAnchor": "meta",
"$vocabulary": {
Expand Down
22 changes: 11 additions & 11 deletions jsonschema-validation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
<section title="Meta-Schema" anchor="meta-schema">
<t>
The current URI for the default JSON Schema dialect meta-schema is
<eref target="https://json-schema.org/draft/2020-12/schema"/>.
<eref target="https://json-schema.org/draft/next/schema"/>.
For schema author convenience, this meta-schema describes a dialect
consisting of all vocabularies
defined in this specification and the JSON Schema Core specification,
Expand Down Expand Up @@ -206,11 +206,11 @@
</t>
<t>
The current URI for this vocabulary, known as the Validation vocabulary, is:
&lt;https://json-schema.org/draft/2020-12/vocab/validation&gt;.
&lt;https://json-schema.org/draft/next/vocab/validation&gt;.
</t>
<t>
The current URI for the corresponding meta-schema is:
<eref target="https://json-schema.org/draft/2020-12/meta/validation"/>.
<eref target="https://json-schema.org/draft/next/meta/validation"/>.
</t>

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

<t>
The current URI for this vocabulary, known as the Format-Annotation vocabulary, is:
&lt;https://json-schema.org/draft/2020-12/vocab/format-annotation&gt;. The current
&lt;https://json-schema.org/draft/next/vocab/format-annotation&gt;. The current
URI for the corresponding meta-schema is:
<eref target="https://json-schema.org/draft/2020-12/meta/format-annotation"/>.
<eref target="https://json-schema.org/draft/next/meta/format-annotation"/>.
Implementing support for this vocabulary is REQUIRED.
</t>
<t>
In addition to the Format-Annotation vocabulary, a secondary vocabulary is available
for custom meta-schemas that defines "format" as an assertion. The URI for the
Format-Assertion vocabulary, is:
&lt;https://json-schema.org/draft/2020-12/vocab/format-assertion&gt;. The current
&lt;https://json-schema.org/draft/next/vocab/format-assertion&gt;. The current
URI for the corresponding meta-schema is:
<eref target="https://json-schema.org/draft/2020-12/meta/format-assertion"/>.
<eref target="https://json-schema.org/draft/next/meta/format-assertion"/>.
Implementing support for the Format-Assertion vocabulary is OPTIONAL.
</t>
<t>
Expand Down Expand Up @@ -918,11 +918,11 @@
</t>
<t>
The current URI for this vocabulary, known as the Content vocabulary, is:
&lt;https://json-schema.org/draft/2020-12/vocab/content&gt;.
&lt;https://json-schema.org/draft/next/vocab/content&gt;.
</t>
<t>
The current URI for the corresponding meta-schema is:
<eref target="https://json-schema.org/draft/2020-12/meta/content"/>.
<eref target="https://json-schema.org/draft/next/meta/content"/>.
</t>
</section>

Expand Down Expand Up @@ -1118,11 +1118,11 @@
</t>
<t>
The current URI for this vocabulary, known as the Meta-Data vocabulary, is:
&lt;https://json-schema.org/draft/2020-12/vocab/meta-data&gt;.
&lt;https://json-schema.org/draft/next/vocab/meta-data&gt;.
</t>
<t>
The current URI for the corresponding meta-schema is:
<eref target="https://json-schema.org/draft/2020-12/meta/meta-data"/>.
<eref target="https://json-schema.org/draft/next/meta/meta-data"/>.
</t>

<section title='"title" and "description"'>
Expand Down
6 changes: 3 additions & 3 deletions meta/applicator.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://json-schema.org/draft/2020-12/meta/applicator",
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://json-schema.org/draft/next/meta/applicator",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/applicator": true
"https://json-schema.org/draft/next/vocab/applicator": true
},
"$dynamicAnchor": "meta",

Expand Down
6 changes: 3 additions & 3 deletions meta/content.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://json-schema.org/draft/2020-12/meta/content",
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://json-schema.org/draft/next/meta/content",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/content": true
"https://json-schema.org/draft/next/vocab/content": true
},
"$dynamicAnchor": "meta",

Expand Down
6 changes: 3 additions & 3 deletions meta/core.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://json-schema.org/draft/2020-12/meta/core",
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://json-schema.org/draft/next/meta/core",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/core": true
"https://json-schema.org/draft/next/vocab/core": true
},
"$dynamicAnchor": "meta",

Expand Down
6 changes: 3 additions & 3 deletions meta/format-annotation.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://json-schema.org/draft/2020-12/meta/format-annotation",
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://json-schema.org/draft/next/meta/format-annotation",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true
"https://json-schema.org/draft/next/vocab/format-annotation": true
},
"$dynamicAnchor": "meta",

Expand Down
6 changes: 3 additions & 3 deletions meta/format-assertion.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://json-schema.org/draft/2020-12/meta/format-assertion",
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://json-schema.org/draft/next/meta/format-assertion",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/format-assertion": true
"https://json-schema.org/draft/next/vocab/format-assertion": true
},
"$dynamicAnchor": "meta",

Expand Down
6 changes: 3 additions & 3 deletions meta/meta-data.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://json-schema.org/draft/2020-12/meta/meta-data",
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://json-schema.org/draft/next/meta/meta-data",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/meta-data": true
"https://json-schema.org/draft/next/vocab/meta-data": true
},
"$dynamicAnchor": "meta",

Expand Down
6 changes: 3 additions & 3 deletions meta/unevaluated.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://json-schema.org/draft/2020-12/meta/unevaluated",
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://json-schema.org/draft/next/meta/unevaluated",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/unevaluated": true
"https://json-schema.org/draft/next/vocab/unevaluated": true
},
"$dynamicAnchor": "meta",

Expand Down
6 changes: 3 additions & 3 deletions meta/validation.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://json-schema.org/draft/2020-12/meta/validation",
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://json-schema.org/draft/next/meta/validation",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/validation": true
"https://json-schema.org/draft/next/vocab/validation": true
},
"$dynamicAnchor": "meta",

Expand Down
4 changes: 2 additions & 2 deletions output/schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://json-schema.org/draft/2020-12/output/schema",
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://json-schema.org/draft/next/output/schema",
"description": "A schema that validates the minimum requirements for validation output",

"anyOf": [
Expand Down
18 changes: 9 additions & 9 deletions schema.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://json-schema.org/draft/2020-12/schema",
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://json-schema.org/draft/next/schema",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/core": true,
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
"https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
"https://json-schema.org/draft/2020-12/vocab/validation": true,
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
"https://json-schema.org/draft/2020-12/vocab/content": true
"https://json-schema.org/draft/next/vocab/core": true,
"https://json-schema.org/draft/next/vocab/applicator": true,
"https://json-schema.org/draft/next/vocab/unevaluated": true,
"https://json-schema.org/draft/next/vocab/validation": true,
"https://json-schema.org/draft/next/vocab/meta-data": true,
"https://json-schema.org/draft/next/vocab/format-annotation": true,
"https://json-schema.org/draft/next/vocab/content": true
},
"$dynamicAnchor": "meta",

Expand Down