Skip to content

Commit f10a9e3

Browse files
authored
Merge pull request #997 from about-code/master
Fix 988 - Inconsistencies with schema uri and empty fragment URIs
2 parents 2747ab4 + b08f1fc commit f10a9e3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

jsonschema-core.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1916,7 +1916,7 @@
19161916
<figure>
19171917
<artwork>
19181918
<![CDATA[
1919-
Link: <https://example.com/my-hyper-schema#>; rel="describedby"
1919+
Link: <https://example.com/my-hyper-schema>; rel="describedby"
19201920
]]>
19211921
</artwork>
19221922
</figure>
@@ -1962,7 +1962,7 @@
19621962
<artwork>
19631963
<![CDATA[
19641964
Content-Type: application/schema-instance+json;
1965-
schema="https://example.com/my-hyper-schema#"
1965+
schema="https://example.com/my-hyper-schema"
19661966
]]>
19671967
</artwork>
19681968
</figure>

jsonschema-hyperschema.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@
282282
<section title="Meta-Schemas and Output Schema">
283283
<t>
284284
The current URI for the JSON Hyper-Schema meta-schema is
285-
<eref target="https://json-schema.org/draft/2019-09/hyper-schema#"/>.
285+
<eref target="https://json-schema.org/draft/2019-09/hyper-schema"/>.
286286
</t>
287287
<t>
288288
The current URI for this vocabulary, known as the Hyper-Schema vocabulary, is:
@@ -299,7 +299,7 @@
299299
Schema, and use of this format can be declared by referencing the normative
300300
link description schema as the schema for the data structure that uses the links.
301301
The URI of the normative link description schema is:
302-
<eref target="https://json-schema.org/draft/2019-09/links#"/>.
302+
<eref target="https://json-schema.org/draft/2019-09/links"/>.
303303
</t>
304304
<t>
305305
JSON Hyper-Schema implementations are free to provide output in any format.
@@ -310,7 +310,7 @@
310310
It is RECOMMENDED that implementations be capable of producing output
311311
in this format to facilitated testing. The URI of the JSON Schema
312312
describing the recommended output format is
313-
<eref target="https://json-schema.org/draft/2019-09/output/hyper-schema#"/>.
313+
<eref target="https://json-schema.org/draft/2019-09/output/hyper-schema"/>.
314314
</t>
315315
<t>
316316
Updated vocabulary and meta-schema URIs MAY be published between

jsonschema-validation.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
<section title="Meta-Schema" anchor="meta-schema">
179179
<t>
180180
The current URI for the default JSON Schema meta-schema is
181-
<eref target="http://json-schema.org/draft/2019-09/schema"/>.
181+
<eref target="https://json-schema.org/draft/2019-09/schema"/>.
182182
For schema author convenience, this meta-schema describes all vocabularies
183183
defined in this specification and the JSON Schema Core specification,
184184
as well as two former keywords which are reserved for a transitional period.

0 commit comments

Comments
 (0)