Skip to content

Commit 7effae0

Browse files
committed
require that $schema cannot contain a fragment
1 parent 2f46f04 commit 7effae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specs/jsonschema-core.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,8 +957,8 @@ resources, unless such a resource itself declares a different dialect by
957957
including the `$schema` keyword with a different value.
958958

959959
The value of this keyword MUST be an
960-
[IRI](https://www.rfc-editor.org/info/rfc3987) (containing a scheme) and this
961-
IRI MUST be normalized.
960+
[IRI](https://www.rfc-editor.org/info/rfc3987) (containing a scheme). This
961+
IRI MUST be normalized and MUST NOT contain a fragment.
962962

963963
If this IRI identifies a retrievable resource, that resource SHOULD be of media
964964
type `application/schema+json`.

0 commit comments

Comments
 (0)