Skip to content

Commit 4510522

Browse files
committed
Remove confusing use of "absolute" URI.
The value of "$schema" is not required to be an absolute URI as defined by RFC 3986 (with a scheme, but no fragment). It just needs to be a URI and not a relative reference. This is particularly important as the meta-schemas include an empty fragment in their id URIs, which would be illegal if RFC 3986 section 4.3 Absolute URIs were required.
1 parent f36d132 commit 4510522

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jsonschema-core.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@
286286
</t>
287287
<t>
288288
The root schema of a JSON Schema document SHOULD use this keyword.
289-
The value of this keyword MUST be a <xref target="RFC3986">URI</xref> (an "absolute" URI),
290-
and this URI MUST be normalized.
289+
The value of this keyword MUST be a <xref target="RFC3986">URI</xref>
290+
(not a relative reference) and this URI MUST be normalized.
291291
The current schema MUST be valid against the meta-schema identified by this URI.
292292
</t>
293293
<t>

0 commit comments

Comments
 (0)