Skip to content

Fix 988 - Inconsistencies with schema uri and empty fragment URIs #997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jsonschema-core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1916,7 +1916,7 @@
<figure>
<artwork>
<![CDATA[
Link: <https://example.com/my-hyper-schema#>; rel="describedby"
Link: <https://example.com/my-hyper-schema>; rel="describedby"
]]>
</artwork>
</figure>
Expand Down Expand Up @@ -1962,7 +1962,7 @@
<artwork>
<![CDATA[
Content-Type: application/schema-instance+json;
schema="https://example.com/my-hyper-schema#"
schema="https://example.com/my-hyper-schema"
]]>
</artwork>
</figure>
Expand Down
6 changes: 3 additions & 3 deletions jsonschema-hyperschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
<section title="Meta-Schemas and Output Schema">
<t>
The current URI for the JSON Hyper-Schema meta-schema is
<eref target="https://json-schema.org/draft/2019-09/hyper-schema#"/>.
<eref target="https://json-schema.org/draft/2019-09/hyper-schema"/>.
</t>
<t>
The current URI for this vocabulary, known as the Hyper-Schema vocabulary, is:
Expand All @@ -299,7 +299,7 @@
Schema, and use of this format can be declared by referencing the normative
link description schema as the schema for the data structure that uses the links.
The URI of the normative link description schema is:
<eref target="https://json-schema.org/draft/2019-09/links#"/>.
<eref target="https://json-schema.org/draft/2019-09/links"/>.
</t>
<t>
JSON Hyper-Schema implementations are free to provide output in any format.
Expand All @@ -310,7 +310,7 @@
It is RECOMMENDED that implementations be capable of producing output
in this format to facilitated testing. The URI of the JSON Schema
describing the recommended output format is
<eref target="https://json-schema.org/draft/2019-09/output/hyper-schema#"/>.
<eref target="https://json-schema.org/draft/2019-09/output/hyper-schema"/>.
</t>
<t>
Updated vocabulary and meta-schema URIs MAY be published between
Expand Down
2 changes: 1 addition & 1 deletion jsonschema-validation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
<section title="Meta-Schema" anchor="meta-schema">
<t>
The current URI for the default JSON Schema meta-schema is
<eref target="http://json-schema.org/draft/2019-09/schema"/>.
<eref target="https://json-schema.org/draft/2019-09/schema"/>.
For schema author convenience, this meta-schema describes all vocabularies
defined in this specification and the JSON Schema Core specification,
as well as two former keywords which are reserved for a transitional period.
Expand Down