Skip to content

Commit 21e3042

Browse files
authored
Merge pull request #985 from handrews/dialect
Put "dialect" in the spec.
2 parents d432786 + 6e12ea8 commit 21e3042

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

jsonschema-core.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146
<t>
147147
To facilitate re-use, keywords can be organized into vocabularies. A vocabulary
148148
consists of a list of keywords, together with their syntax and semantics.
149+
A set of vocabularies identified by a meta-schema is known as a dialect.
149150
</t>
150151
<t>
151152
JSON Schema can be extended either by defining additional vocabularies,
@@ -173,7 +174,9 @@
173174
</t>
174175
<t>
175176
Further vocabularies for purposes such as structural validation or
176-
hypermedia annotation are defined in other documents.
177+
hypermedia annotation are defined in other documents. These other
178+
documents each define a dialect collecting the standard sets of
179+
vocabularies needed to write schemas for that document's purpose.
177180
</t>
178181
</section>
179182

jsonschema-validation.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,10 @@
177177

178178
<section title="Meta-Schema" anchor="meta-schema">
179179
<t>
180-
The current URI for the default JSON Schema meta-schema is
180+
The current URI for the default JSON Schema dialect meta-schema is
181181
<eref target="https://json-schema.org/draft/2019-09/schema"/>.
182-
For schema author convenience, this meta-schema describes all vocabularies
182+
For schema author convenience, this meta-schema describes a dialect
183+
consisting of all vocabularies
183184
defined in this specification and the JSON Schema Core specification,
184185
as well as two former keywords which are reserved for a transitional period.
185186
Individual vocabulary and vocabulary meta-schema URIs are given for

0 commit comments

Comments
 (0)