Skip to content

Commit dc3468c

Browse files
committed
Ensure the JSON Schema drafts appear in docs.
1 parent 958985b commit dc3468c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

referencing/jsonschema.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ def maybe_in_subresource(
302302
return maybe_in_subresource
303303

304304

305+
#: JSON Schema draft 2020-12
305306
DRAFT202012 = Specification(
306307
name="draft2020-12",
307308
id_of=_dollar_id,
@@ -351,6 +352,7 @@ def maybe_in_subresource(
351352
},
352353
),
353354
)
355+
#: JSON Schema draft 2019-09
354356
DRAFT201909 = Specification(
355357
name="draft2019-09",
356358
id_of=_dollar_id,
@@ -400,6 +402,7 @@ def maybe_in_subresource(
400402
},
401403
),
402404
)
405+
#: JSON Schema draft 7
403406
DRAFT7 = Specification(
404407
name="draft-07",
405408
id_of=_legacy_dollar_id,
@@ -433,6 +436,7 @@ def maybe_in_subresource(
433436
in_subvalues={"definitions", "patternProperties", "properties"},
434437
),
435438
)
439+
#: JSON Schema draft 6
436440
DRAFT6 = Specification(
437441
name="draft-06",
438442
id_of=_legacy_dollar_id,
@@ -460,6 +464,7 @@ def maybe_in_subresource(
460464
in_subvalues={"definitions", "patternProperties", "properties"},
461465
),
462466
)
467+
#: JSON Schema draft 4
463468
DRAFT4 = Specification(
464469
name="draft-04",
465470
id_of=_legacy_id,
@@ -475,6 +480,7 @@ def maybe_in_subresource(
475480
in_subvalues={"definitions", "patternProperties", "properties"},
476481
),
477482
)
483+
#: JSON Schema draft 3
478484
DRAFT3 = Specification(
479485
name="draft-03",
480486
id_of=_legacy_id,

0 commit comments

Comments
 (0)