Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit 9bd14f6

Browse files
committed
Update schema links from 04 to 06
1 parent 66d05d2 commit 9bd14f6

File tree

2 files changed

+5
-29
lines changed

2 files changed

+5
-29
lines changed

source/reference/schema.rst

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -21,36 +21,12 @@ Advanced
2121
--------
2222

2323
If you need to declare that your schema was written against a specific
24-
version of the JSON Schema standard, and not just the latest version,
25-
you can use one of these predefined values:
26-
27-
- ``http://json-schema.org/schema#``
28-
29-
JSON Schema written against the current version of the
30-
specification.
31-
32-
- ``http://json-schema.org/hyper-schema#``
33-
34-
JSON Schema hyperschema written against the current version of the
35-
specification.
24+
version of the JSON Schema standard, you can include the draft name in the path, for example:
3625

26+
- ``http://json-schema.org/draft-06/schema#``
3727
- ``http://json-schema.org/draft-04/schema#``
3828

39-
JSON Schema written against this version.
40-
41-
- ``http://json-schema.org/draft-04/hyper-schema#``
42-
43-
JSON Schema hyperschema written against this version.
44-
45-
- ``http://json-schema.org/draft-03/schema#``
46-
47-
JSON Schema written against JSON Schema, draft v3
48-
49-
- ``http://json-schema.org/draft-03/hyper-schema#``
50-
51-
JSON Schema hyperschema written against JSON Schema, draft v3
52-
5329
Additionally, if you have extended the JSON Schema language to include
5430
your own custom keywords for validating values, you can use a custom
5531
URI for ``$schema``. It must not be one of the predefined values
56-
above.
32+
above, and should probably include a domain name you own.

source/structuring.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ schema for a customer:
104104
.. schema_example::
105105

106106
{
107-
"$schema": "http://json-schema.org/draft-04/schema#",
107+
"$schema": "http://json-schema.org/draft-06/schema#",
108108

109109
"definitions": {
110110
"address": {
@@ -220,7 +220,7 @@ Tying this all together,
220220
.. schema_example::
221221

222222
{
223-
"$schema": "http://json-schema.org/draft-04/schema#",
223+
"$schema": "http://json-schema.org/draft-06/schema#",
224224

225225
"definitions": {
226226
"address": {

0 commit comments

Comments
 (0)