Skip to content

Commit 4a8cf4f

Browse files
authoredNov 22, 2020
Merge pull request #1024 from Relequestual/dialect
Clearly define a dialect. Fixes #1015

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
 

‎jsonschema-core.xml

+7-4
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@
9898
This specification defines JSON Schema core terminology and mechanisms, including
9999
pointing to another JSON Schema by reference,
100100
dereferencing a JSON Schema reference,
101-
specifying the vocabulary being used,
101+
specifying the dialect being used,
102+
specifying a dialect's vocabulary requirements,
102103
and defining the expected output.
103104
</t>
104105
<t>
@@ -141,9 +142,10 @@
141142
some sort of condition.
142143
</t>
143144
<t>
144-
To facilitate re-use, keywords can be organized into vocabularies. A vocabulary
145+
To facilitate re-use, keywords can be organized into vocabularies. A vocabulary
145146
consists of a list of keywords, together with their syntax and semantics.
146-
A set of vocabularies identified by a meta-schema is known as a dialect.
147+
A dialect is defined as a set of vocabularies and their required support
148+
identified in a meta-schema.
147149
</t>
148150
<t>
149151
JSON Schema can be extended either by defining additional vocabularies,
@@ -1193,7 +1195,8 @@
11931195
vocabularies available for use in schemas described by that meta-schema.
11941196
It is also used to indicate whether each vocabulary is required or optional,
11951197
in the sense that an implementation MUST understand the required vocabularies
1196-
in order to successfully process the schema.
1198+
in order to successfully process the schema. Together, this information forms
1199+
a dialect.
11971200
</t>
11981201
<t>
11991202
The value of this keyword MUST be an object. The property names in the

0 commit comments

Comments
 (0)
Please sign in to comment.