71
71
</abstract >
72
72
<note title =" Note to Readers" >
73
73
<t >
74
- This document a pre-release identified as JSON Schema draft 2020-11 -rc-0 .
74
+ This document a pre-release identified as JSON Schema draft 2020-12 -rc-1 .
75
75
</t >
76
76
<t >
77
77
The issues list for this draft can be found at
1119
1119
</t >
1120
1120
<t >
1121
1121
The current URI for the Core vocabulary is:
1122
- < https://json-schema.org/draft/2020-11 /vocab/core> .
1122
+ < https://json-schema.org/draft/2020-12 /vocab/core> .
1123
1123
</t >
1124
1124
<t >
1125
1125
The current URI for the corresponding meta-schema is:
1126
- <eref target =" https://json-schema.org/draft/2020-11 /meta/core" />.
1126
+ <eref target =" https://json-schema.org/draft/2020-12 /meta/core" />.
1127
1127
</t >
1128
1128
<t >
1129
1129
While the "$" prefix is not formally reserved for the Core vocabulary,
2051
2051
</t >
2052
2052
<t >
2053
2053
The current URI for this vocabulary, known as the Applicator vocabulary, is:
2054
- < https://json-schema.org/draft/2020-11 /vocab/applicator> .
2054
+ < https://json-schema.org/draft/2020-12 /vocab/applicator> .
2055
2055
</t >
2056
2056
<t >
2057
2057
The current URI for the corresponding meta-schema is:
2058
- <eref target =" https://json-schema.org/draft/2020-11 /meta/applicator" />.
2058
+ <eref target =" https://json-schema.org/draft/2020-12 /meta/applicator" />.
2059
2059
</t >
2060
2060
<t >
2061
2061
Updated vocabulary and meta-schema URIs MAY be published between
2502
2502
<t >
2503
2503
The current URI for this vocabulary, known as the Unevaluated Applicator
2504
2504
vocabulary, is:
2505
- < https://json-schema.org/draft/2020-11 /vocab/unevaluated> .
2505
+ < https://json-schema.org/draft/2020-12 /vocab/unevaluated> .
2506
2506
</t >
2507
2507
<t >
2508
2508
The current URI for the corresponding meta-schema is:
2509
- <eref target =" https://json-schema.org/draft/2020-11 /meta/unevaluated" />.
2509
+ <eref target =" https://json-schema.org/draft/2020-12 /meta/unevaluated" />.
2510
2510
</t >
2511
2511
<t >
2512
2512
Updated vocabulary and meta-schema URIs MAY be published between
@@ -2786,7 +2786,7 @@ https://example.com/schemas/common#/$defs/count/minimum
2786
2786
<![CDATA[
2787
2787
{
2788
2788
"$id": "https://example.com/polygon",
2789
- "$schema": "https://json-schema.org/draft/2020-11 /schema",
2789
+ "$schema": "https://json-schema.org/draft/2020-12 /schema",
2790
2790
"$defs": {
2791
2791
"point": {
2792
2792
"type": "object",
@@ -2999,15 +2999,15 @@ https://example.com/schemas/common#/$defs/count/minimum
2999
2999
<t >
3000
3000
Because this output structure can be quite large, a smaller example is given
3001
3001
here for brevity. The URI of the full output structure of the example above is:
3002
- <eref target =" https://json-schema.org/draft/2020-11 /output/verbose-example" />.
3002
+ <eref target =" https://json-schema.org/draft/2020-12 /output/verbose-example" />.
3003
3003
</t >
3004
3004
<figure >
3005
3005
<artwork >
3006
3006
<![CDATA[
3007
3007
// schema
3008
3008
{
3009
3009
"$id": "https://example.com/polygon",
3010
- "$schema": "https://json-schema.org/draft/2020-11 /schema",
3010
+ "$schema": "https://json-schema.org/draft/2020-12 /schema",
3011
3011
"type": "object",
3012
3012
"properties": {
3013
3013
"validProp": true,
@@ -3061,7 +3061,7 @@ https://example.com/schemas/common#/$defs/count/minimum
3061
3061
<t >
3062
3062
For convenience, JSON Schema has been provided to validate output generated
3063
3063
by implementations. Its URI is:
3064
- <eref target =" https://json-schema.org/draft/2020-11 /output/schema" />.
3064
+ <eref target =" https://json-schema.org/draft/2020-12 /output/schema" />.
3065
3065
</t >
3066
3066
</section >
3067
3067
@@ -3235,7 +3235,7 @@ https://example.com/schemas/common#/$defs/count/minimum
3235
3235
<author initials =" B." surname =" Hutton" >
3236
3236
<organization />
3237
3237
</author >
3238
- <date year =" 2020" month =" November " />
3238
+ <date year =" 2020" month =" December " />
3239
3239
</front >
3240
3240
<seriesInfo name =" Internet-Draft" value =" draft-bhutton-json-schema-validation-00" />
3241
3241
</reference >
@@ -3469,7 +3469,7 @@ https://example.com/schemas/common#/$defs/count/minimum
3469
3469
<![CDATA[
3470
3470
// tree schema, extensible
3471
3471
{
3472
- "$schema": "https://json-schema.org/draft/2020-11 /schema",
3472
+ "$schema": "https://json-schema.org/draft/2020-12 /schema",
3473
3473
"$id": "https://example.com/tree",
3474
3474
"$dynamicAnchor": "node",
3475
3475
@@ -3487,7 +3487,7 @@ https://example.com/schemas/common#/$defs/count/minimum
3487
3487
3488
3488
// strict-tree schema, guards against misspelled properties
3489
3489
{
3490
- "$schema": "https://json-schema.org/draft/2020-11 /schema",
3490
+ "$schema": "https://json-schema.org/draft/2020-12 /schema",
3491
3491
"$id": "https://example.com/strict-tree",
3492
3492
"$dynamicAnchor": "node",
3493
3493
@@ -3660,19 +3660,19 @@ https://example.com/schemas/common#/$defs/count/minimum
3660
3660
<artwork >
3661
3661
<![CDATA[
3662
3662
{
3663
- "$schema": "https://json-schema.org/draft/2020-11 /schema",
3663
+ "$schema": "https://json-schema.org/draft/2020-12 /schema",
3664
3664
"$id": "https://example.com/meta/general-use-example",
3665
3665
"$dynamicAnchor": "meta",
3666
3666
"$vocabulary": {
3667
- "https://json-schema.org/draft/2020-11 /vocab/core": true,
3668
- "https://json-schema.org/draft/2020-11 /vocab/applicator": true,
3669
- "https://json-schema.org/draft/2020-11 /vocab/validation": true,
3667
+ "https://json-schema.org/draft/2020-12 /vocab/core": true,
3668
+ "https://json-schema.org/draft/2020-12 /vocab/applicator": true,
3669
+ "https://json-schema.org/draft/2020-12 /vocab/validation": true,
3670
3670
"https://example.com/vocab/example-vocab": true
3671
3671
},
3672
3672
"allOf": [
3673
- {"$ref": "https://json-schema.org/draft/2020-11 /meta/core"},
3674
- {"$ref": "https://json-schema.org/draft/2020-11 /meta/applicator"},
3675
- {"$ref": "https://json-schema.org/draft/2020-11 /meta/validation"},
3673
+ {"$ref": "https://json-schema.org/draft/2020-12 /meta/core"},
3674
+ {"$ref": "https://json-schema.org/draft/2020-12 /meta/applicator"},
3675
+ {"$ref": "https://json-schema.org/draft/2020-12 /meta/validation"},
3676
3676
{"$ref": "https://example.com/meta/example-vocab",
3677
3677
],
3678
3678
"patternProperties": {
@@ -3695,7 +3695,7 @@ https://example.com/schemas/common#/$defs/count/minimum
3695
3695
<artwork >
3696
3696
<![CDATA[
3697
3697
{
3698
- "$schema": "https://json-schema.org/draft/2020-11 /schema",
3698
+ "$schema": "https://json-schema.org/draft/2020-12 /schema",
3699
3699
"$id": "https://example.com/meta/example-vocab",
3700
3700
"$dynamicAnchor": "meta",
3701
3701
"$vocabulary": {
0 commit comments