Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 161ebf1

Browse files
update other meta-schema iris
1 parent 4275281 commit 161ebf1

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

‎specs/jsonschema-core.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2200,7 +2200,7 @@ and only allows the "data" and "children" properties. An example instance with
22002200

22012201
```jsonschema "Tree schema, extensible"
22022202
{
2203-
"$schema": "https://json-schema.org/draft/next/schema",
2203+
"$schema": "https://json-schema.org/1/2025",
22042204
"$id": "https://example.com/tree",
22052205
"$dynamicAnchor": "node",
22062206
@@ -2219,7 +2219,7 @@ and only allows the "data" and "children" properties. An example instance with
22192219

22202220
```jsonschema "Strict-tree schema, guards against misspelled properties"
22212221
{
2222-
"$schema": "https://json-schema.org/draft/next/schema",
2222+
"$schema": "https://json-schema.org/1/2025",
22232223
"$id": "https://example.com/strict-tree",
22242224
"$dynamicAnchor": "node",
22252225

‎specs/jsonschema-validation.md‎

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ specification.
8888
## Meta-Schema {#meta-schema}
8989

9090
The current IRI for the default JSON Schema dialect meta-schema is
91-
`https://json-schema.org/1/2025`. This IRI encodes the specifications iteration
92-
value and release year. Because all schemas written to conform to a given
93-
version are guaranteed to be compatible with later releases within the same
94-
iteration, the meta-schema IRI `https://json-schema.org/1` is also recognized to
95-
represent the latest release within the indicated iteration.
91+
`https://json-schema.org/1/2025`. This IRI encodes the specifications version
92+
and release year. Because all schemas written to conform to a given version are
93+
guaranteed to be compatible with later releases within the same iteration, the
94+
meta-schema IRI `https://json-schema.org/1` is also recognized to represent the
95+
latest release within the indicated iteration.
9696

9797
The meta-schema describes a dialect consisting of all keywords defined in this
9898
specification and the JSON Schema Core specification. Certain keywords specify
@@ -110,10 +110,6 @@ location. Rather than performing a network request to retrieve the meta-schema,
110110
implementations SHOULD include a copy of the meta-schema and MAY encode it as
111111
required by the language or framework used by the implementation.
112112

113-
## Specification Versioning
114-
115-
The meta-schema IRI format encodes two values that will assist users in determining compatibiility between releases of the JSON Schema specifications.
116-
117113
## Keywords for Structural Validation
118114

119115
Validation keywords in a schema impose requirements for successful validation of

0 commit comments

Comments
(0)

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