From 7effae004f7da740c8364e63f6d74375c3ba5370 Mon Sep 17 00:00:00 2001 From: Greg Dennis Date: 2025年9月21日 17:22:39 +1200 Subject: [PATCH] require that $schema cannot contain a fragment --- specs/jsonschema-core.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/jsonschema-core.md b/specs/jsonschema-core.md index 510300b8..c3e260cf 100644 --- a/specs/jsonschema-core.md +++ b/specs/jsonschema-core.md @@ -957,8 +957,8 @@ resources, unless such a resource itself declares a different dialect by including the `$schema` keyword with a different value. The value of this keyword MUST be an -[IRI](https://www.rfc-editor.org/info/rfc3987) (containing a scheme) and this -IRI MUST be normalized. +[IRI](https://www.rfc-editor.org/info/rfc3987) (containing a scheme). This +IRI MUST be normalized and MUST NOT contain a fragment. If this IRI identifies a retrievable resource, that resource SHOULD be of media type `application/schema+json`.

AltStyle によって変換されたページ (->オリジナル) /