87
87
<eref target =" https://github.com/json-schema-org/json-schema-spec/issues" />.
88
88
</t >
89
89
<t >
90
- For additional information, see <eref target =" http ://json-schema.org/" />.
90
+ For additional information, see <eref target =" https ://json-schema.org/" />.
91
91
</t >
92
92
<t >
93
93
To provide feedback, use this issue tracker, the communication methods listed on the
1036
1036
</t >
1037
1037
<t >
1038
1038
The current URI for the Core vocabulary is:
1039
- <eref target =" https://json-schema.org/draft/2019-04 /vocab/core" />.
1039
+ <eref target =" https://json-schema.org/draft/2019-08 /vocab/core" />.
1040
1040
</t >
1041
1041
<t >
1042
1042
The current URI for the corresponding meta-schema is:
1043
- <eref target =" https://json-schema.org/draft/2019-04 /meta/core" />.
1043
+ <eref target =" https://json-schema.org/draft/2019-08 /meta/core" />.
1044
1044
</t >
1045
1045
<t >
1046
1046
Updated vocabulary and meta-schema URIs MAY be published between
1066
1066
<artwork >
1067
1067
<![CDATA[
1068
1068
{
1069
- "$schema": "https://json-schema.org/draft/2019-04 /core-app-example#",
1070
- "$id": "https://json-schema.org/draft/2019-04 /core-app-example",
1069
+ "$schema": "https://json-schema.org/draft/2019-08 /core-app-example#",
1070
+ "$id": "https://json-schema.org/draft/2019-08 /core-app-example",
1071
1071
"$recursiveAnchor": true,
1072
1072
"$vocabulary": {
1073
- "https://json-schema.org/draft/2019-04 /vocab/core": true,
1074
- "https://json-schema.org/draft/2019-04 /vocab/applicator": true
1073
+ "https://json-schema.org/draft/2019-08 /vocab/core": true,
1074
+ "https://json-schema.org/draft/2019-08 /vocab/applicator": true
1075
1075
},
1076
1076
"allOf": [
1077
- {"$ref": "https://json-schema.org/draft/2019-04 /meta/core"},
1078
- {"$ref": "https://json-schema.org/draft/2019-04 /meta/applicator"}
1077
+ {"$ref": "https://json-schema.org/draft/2019-08 /meta/core"},
1078
+ {"$ref": "https://json-schema.org/draft/2019-08 /meta/applicator"}
1079
1079
],
1080
1080
"patternProperties": {
1081
1081
"^unevaluated.*$": false
1211
1211
<artwork >
1212
1212
<![CDATA[
1213
1213
{
1214
- "$id": "http ://example.com/root.json",
1214
+ "$id": "https ://example.com/root.json",
1215
1215
"$defs": {
1216
1216
"A": { "$id": "#foo" },
1217
1217
"B": {
1239
1239
<list style =" hanging" >
1240
1240
<t hangText =" # (document root)" >
1241
1241
<list >
1242
- <t >http ://example.com/root.json</t >
1243
- <t >http ://example.com/root.json#</t >
1242
+ <t >https ://example.com/root.json</t >
1243
+ <t >https ://example.com/root.json#</t >
1244
1244
</list >
1245
1245
</t >
1246
1246
<t hangText =" #/$defs/A" >
1247
1247
<list >
1248
- <t >http ://example.com/root.json#foo</t >
1249
- <t >http ://example.com/root.json#/$defs/A</t >
1248
+ <t >https ://example.com/root.json#foo</t >
1249
+ <t >https ://example.com/root.json#/$defs/A</t >
1250
1250
</list >
1251
1251
</t >
1252
1252
<t hangText =" #/$defs/B" >
1253
1253
<list >
1254
- <t >http ://example.com/other.json</t >
1255
- <t >http ://example.com/other.json#</t >
1256
- <t >http ://example.com/root.json#/$defs/B</t >
1254
+ <t >https ://example.com/other.json</t >
1255
+ <t >https ://example.com/other.json#</t >
1256
+ <t >https ://example.com/root.json#/$defs/B</t >
1257
1257
</list >
1258
1258
</t >
1259
1259
<t hangText =" #/$defs/B/$defs/X" >
1260
1260
<list >
1261
- <t >http ://example.com/other.json#bar</t >
1262
- <t >http ://example.com/other.json#/$defs/X</t >
1263
- <t >http ://example.com/root.json#/$defs/B/$defs/X</t >
1261
+ <t >https ://example.com/other.json#bar</t >
1262
+ <t >https ://example.com/other.json#/$defs/X</t >
1263
+ <t >https ://example.com/root.json#/$defs/B/$defs/X</t >
1264
1264
</list >
1265
1265
</t >
1266
1266
<t hangText =" #/$defs/B/$defs/Y" >
1267
1267
<list >
1268
- <t >http ://example.com/t/inner.json</t >
1269
- <t >http ://example.com/t/inner.json#</t >
1270
- <t >http ://example.com/other.json#/$defs/Y</t >
1271
- <t >http ://example.com/root.json#/$defs/B/$defs/Y</t >
1268
+ <t >https ://example.com/t/inner.json</t >
1269
+ <t >https ://example.com/t/inner.json#</t >
1270
+ <t >https ://example.com/other.json#/$defs/Y</t >
1271
+ <t >https ://example.com/root.json#/$defs/B/$defs/Y</t >
1272
1272
</list >
1273
1273
</t >
1274
1274
<t hangText =" #/$defs/C" >
1275
1275
<list >
1276
1276
<t >urn:uuid:ee564b8a-7a87-4125-8c96-e9f123d6766f</t >
1277
1277
<t >urn:uuid:ee564b8a-7a87-4125-8c96-e9f123d6766f#</t >
1278
- <t >http ://example.com/root.json#/$defs/C</t >
1278
+ <t >https ://example.com/root.json#/$defs/C</t >
1279
1279
</list >
1280
1280
</t >
1281
1281
</list >
1342
1342
<artwork >
1343
1343
<![CDATA[
1344
1344
{
1345
- "$schema": "http ://json-schema.org/draft/2019-04 /schema#",
1345
+ "$schema": "https ://json-schema.org/draft/2019-08 /schema#",
1346
1346
"$id": "https://example.com/original",
1347
1347
1348
1348
"properties": {
1356
1356
}
1357
1357
1358
1358
{
1359
- "$schema": "http ://json-schema.org/draft/2019-04 /schema#",
1359
+ "$schema": "https ://json-schema.org/draft/2019-08 /schema#",
1360
1360
"$id": "https://example.com/extension",
1361
1361
1362
1362
"$ref": "original",
1455
1455
<artwork >
1456
1456
<![CDATA[
1457
1457
{
1458
- "$schema": "http ://json-schema.org/draft/2019-04 /schema#",
1458
+ "$schema": "https ://json-schema.org/draft/2019-08 /schema#",
1459
1459
"$id": "https://example.com/original",
1460
1460
"$recursiveAnchor": true,
1461
1461
1470
1470
}
1471
1471
1472
1472
{
1473
- "$schema": "http ://json-schema.org/draft/2019-04 /schema#",
1473
+ "$schema": "https ://json-schema.org/draft/2019-08 /schema#",
1474
1474
"$id": "https://example.com/extension",
1475
1475
"$recursiveAnchor": true,
1476
1476
1611
1611
<artwork >
1612
1612
<![CDATA[
1613
1613
{
1614
- "$id": "http ://example.net/root.json",
1614
+ "$id": "https ://example.net/root.json",
1615
1615
"items": {
1616
1616
"type": "array",
1617
1617
"items": { "$ref": "#item" }
1630
1630
<t >
1631
1631
When an implementation encounters the < #/$defs/single> schema,
1632
1632
it resolves the "$id" URI reference against the current base URI to form
1633
- < http ://example.net/root.json#item> .
1633
+ < https ://example.net/root.json#item> .
1634
1634
</t >
1635
1635
<t >
1636
1636
When an implementation then looks inside the < #/items> schema, it
1637
1637
encounters the < #item> reference, and resolves this to
1638
- < http ://example.net/root.json#item> , which it has seen defined in
1638
+ < https ://example.net/root.json#item> , which it has seen defined in
1639
1639
this same document and can therefore use automatically.
1640
1640
</t >
1641
1641
<t >
1642
1642
When an implementation encounters the reference to "other.json", it resolves
1643
- this to < http ://example.net/other.json> , which is not defined in this
1643
+ this to < https ://example.net/other.json> , which is not defined in this
1644
1644
document. If a schema with that identifier has otherwise been supplied to
1645
1645
the implementation, it can also be used automatically.
1646
1646
<cref >
1912
1912
</t >
1913
1913
<t >
1914
1914
The current URI for this vocabulary, known as the Applicator vocabulary, is:
1915
- <eref target =" https://json-schema.org/draft/2019-04 /vocab/applicator" />.
1915
+ <eref target =" https://json-schema.org/draft/2019-08 /vocab/applicator" />.
1916
1916
</t >
1917
1917
<t >
1918
1918
The current URI for the corresponding meta-schema is:
1919
- <eref target =" https://json-schema.org/draft/2019-04 /meta/applicator" />.
1919
+ <eref target =" https://json-schema.org/draft/2019-08 /meta/applicator" />.
1920
1920
</t >
1921
1921
<t >
1922
1922
Updated vocabulary and meta-schema URIs MAY be published between
2511
2511
<figure >
2512
2512
<artwork >
2513
2513
<![CDATA[
2514
- http ://json-schema.org/draft/2019-04 /schema#/$defs/nonNegativeInteger/minimum
2514
+ https ://json-schema.org/draft/2019-08 /schema#/$defs/nonNegativeInteger/minimum
2515
2515
]]>
2516
2516
</artwork >
2517
2517
</figure >
@@ -2586,8 +2586,8 @@ http://json-schema.org/draft/2019-04/schema#/$defs/nonNegativeInteger/minimum
2586
2586
<artwork >
2587
2587
<![CDATA[
2588
2588
{
2589
- "$id": "http ://example.com/polygon#",
2590
- "$schema": "http ://json-schema.org/draft/2019-04 /schema#",
2589
+ "$id": "https ://example.com/polygon#",
2590
+ "$schema": "https ://json-schema.org/draft/2019-08 /schema#",
2591
2591
"$defs": {
2592
2592
"point": {
2593
2593
"type": "object",
@@ -2682,21 +2682,21 @@ http://json-schema.org/draft/2019-04/schema#/$defs/nonNegativeInteger/minimum
2682
2682
{
2683
2683
"keywordLocation": "#/items/$ref",
2684
2684
"absoluteKeywordLocation":
2685
- "http ://example.com/polygon#/$defs/point",
2685
+ "https ://example.com/polygon#/$defs/point",
2686
2686
"instanceLocation": "#/1",
2687
2687
"error": "A subschema had errors."
2688
2688
},
2689
2689
{
2690
2690
"keywordLocation": "#/items/$ref/required",
2691
2691
"absoluteKeywordLocation":
2692
- "http ://example.com/polygon#/$defs/point/required",
2692
+ "https ://example.com/polygon#/$defs/point/required",
2693
2693
"instanceLocation": "#/1",
2694
2694
"error": "Required property 'y' not found."
2695
2695
},
2696
2696
{
2697
2697
"keywordLocation": "#/items/$ref/additionalProperties",
2698
2698
"absoluteKeywordLocation":
2699
- "http ://example.com/polygon#/$defs/point/additionalProperties",
2699
+ "https ://example.com/polygon#/$defs/point/additionalProperties",
2700
2700
"instanceLocation": "#/1/z",
2701
2701
"error": "Additional property 'z' found but was invalid."
2702
2702
},
@@ -2749,22 +2749,22 @@ http://json-schema.org/draft/2019-04/schema#/$defs/nonNegativeInteger/minimum
2749
2749
"valid": false,
2750
2750
"keywordLocation": "#/items/$ref",
2751
2751
"absoluteKeywordLocation":
2752
- "http ://example.com/polygon#/$defs/point",
2752
+ "https ://example.com/polygon#/$defs/point",
2753
2753
"instanceLocation": "#/1",
2754
2754
"errors": [
2755
2755
{
2756
2756
"valid": false,
2757
2757
"keywordLocation": "#/items/$ref/required",
2758
2758
"absoluteKeywordLocation":
2759
- "http ://example.com/polygon#/$defs/point/required",
2759
+ "https ://example.com/polygon#/$defs/point/required",
2760
2760
"instanceLocation": "#/1",
2761
2761
"error": "Required property 'y' not found."
2762
2762
},
2763
2763
{
2764
2764
"valid": false,
2765
2765
"keywordLocation": "#/items/$ref/additionalProperties",
2766
2766
"absoluteKeywordLocation":
2767
- "http ://example.com/polygon#/$defs/point/additionalProperties",
2767
+ "https ://example.com/polygon#/$defs/point/additionalProperties",
2768
2768
"instanceLocation": "#/1/z",
2769
2769
"error": "Additional property 'z' found but was invalid."
2770
2770
}
@@ -2800,15 +2800,15 @@ http://json-schema.org/draft/2019-04/schema#/$defs/nonNegativeInteger/minimum
2800
2800
<t >
2801
2801
Because this output structure can be quite large, a smaller example is given
2802
2802
here for brevity. The URI of the full output structure of the example above is:
2803
- <eref target =" https://json-schema.org/draft/2019-04 /output/verbose-example" />.
2803
+ <eref target =" https://json-schema.org/draft/2019-08 /output/verbose-example" />.
2804
2804
</t >
2805
2805
<figure >
2806
2806
<artwork >
2807
2807
<![CDATA[
2808
2808
// schema
2809
2809
{
2810
- "$id": "http ://example.com/polygon#",
2811
- "$schema": "http ://json-schema.org/draft/2019-04 /schema#",
2810
+ "$id": "https ://example.com/polygon#",
2811
+ "$schema": "https ://json-schema.org/draft/2019-08 /schema#",
2812
2812
"type": "object",
2813
2813
"properties": {
2814
2814
"validProp": true,
@@ -2862,7 +2862,7 @@ http://json-schema.org/draft/2019-04/schema#/$defs/nonNegativeInteger/minimum
2862
2862
<t >
2863
2863
For convenience, JSON Schema has been provided to validate output generated
2864
2864
by implementations. Its URI is:
2865
- <eref target =" https://json-schema.org/draft/2019-04 /output/schema" />.
2865
+ <eref target =" https://json-schema.org/draft/2019-08 /output/schema" />.
2866
2866
</t >
2867
2867
</section >
2868
2868
@@ -2894,7 +2894,7 @@ http://json-schema.org/draft/2019-04/schema#/$defs/nonNegativeInteger/minimum
2894
2894
<figure >
2895
2895
<artwork >
2896
2896
<![CDATA[
2897
- Link: <http ://example.com/my-hyper-schema#>; rel="describedby"
2897
+ Link: <https ://example.com/my-hyper-schema#>; rel="describedby"
2898
2898
]]>
2899
2899
</artwork >
2900
2900
</figure >
@@ -2940,7 +2940,7 @@ Link: <http://example.com/my-hyper-schema#>; rel="describedby"
2940
2940
<artwork >
2941
2941
<![CDATA[
2942
2942
Content-Type: application/json;
2943
- schema="http ://example.com/my-hyper-schema#"
2943
+ schema="https ://example.com/my-hyper-schema#"
2944
2944
]]>
2945
2945
</artwork >
2946
2946
</figure >
@@ -2954,7 +2954,7 @@ Content-Type: application/json;
2954
2954
<artwork >
2955
2955
<![CDATA[
2956
2956
Content-Type: application/json;
2957
- schema="http ://example.com/alice http ://example.com/bob"
2957
+ schema="https ://example.com/alice https ://example.com/bob"
2958
2958
]]>
2959
2959
</artwork >
2960
2960
</figure >
@@ -2967,9 +2967,9 @@ Content-Type: application/json;
2967
2967
<artwork >
2968
2968
<![CDATA[
2969
2969
Accept: application/json;
2970
- schema="http ://example.com/qiang http ://example.com/li",
2970
+ schema="https ://example.com/qiang https ://example.com/li",
2971
2971
application/json;
2972
- schema="http ://example.com/kumar"
2972
+ schema="https ://example.com/kumar"
2973
2973
]]>
2974
2974
</artwork >
2975
2975
</figure >
0 commit comments