Skip to content

Commit

Permalink
Ensure the JSON Schema drafts appear in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Feb 27, 2023
1 parent 958985b commit dc3468c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions referencing/jsonschema.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ def maybe_in_subresource(
return maybe_in_subresource


#: JSON Schema draft 2020-12
DRAFT202012 = Specification(
name="draft2020-12",
id_of=_dollar_id,
Expand Down Expand Up @@ -351,6 +352,7 @@ def maybe_in_subresource(
},
),
)
#: JSON Schema draft 2019-09
DRAFT201909 = Specification(
name="draft2019-09",
id_of=_dollar_id,
Expand Down Expand Up @@ -400,6 +402,7 @@ def maybe_in_subresource(
},
),
)
#: JSON Schema draft 7
DRAFT7 = Specification(
name="draft-07",
id_of=_legacy_dollar_id,
Expand Down Expand Up @@ -433,6 +436,7 @@ def maybe_in_subresource(
in_subvalues={"definitions", "patternProperties", "properties"},
),
)
#: JSON Schema draft 6
DRAFT6 = Specification(
name="draft-06",
id_of=_legacy_dollar_id,
Expand Down Expand Up @@ -460,6 +464,7 @@ def maybe_in_subresource(
in_subvalues={"definitions", "patternProperties", "properties"},
),
)
#: JSON Schema draft 4
DRAFT4 = Specification(
name="draft-04",
id_of=_legacy_id,
Expand All @@ -475,6 +480,7 @@ def maybe_in_subresource(
in_subvalues={"definitions", "patternProperties", "properties"},
),
)
#: JSON Schema draft 3
DRAFT3 = Specification(
name="draft-03",
id_of=_legacy_id,
Expand Down

0 comments on commit dc3468c

Please sign in to comment.