@@ -67,7 +67,7 @@ support for them.
67
67
68
68
### Solution
69
69
70
- Two new concepts, vocabularies and dialects, will be introduced into the Core
70
+ This proposal introduces vocabularies as a new concept to be added to the Core
71
71
specification.
72
72
73
73
A vocabulary is identified by an absolute URI and is used to define a set of
@@ -95,8 +95,9 @@ said to "include" that vocabulary.
95
95
}
96
96
```
97
97
98
- A dialect is the set of vocabularies listed by a meta-schema. It is ephemeral
99
- and carries no identifier.
98
+ Whereas in the current specification, a dialect is merely the set of keywords
99
+ used by a schema, with this proposal a dialect is defined by the set of
100
+ vocabularies listed by a meta-schema. It is ephemeral and carries no identifier.
100
101
101
102
_ ** NOTE** It is possible for two meta-schemas, which would have different ` $id `
102
103
values, to share a common dialect if they both declare the same set of
@@ -195,13 +196,6 @@ unknown keywords presents a problem for schemas that use keywords from optional
195
196
vocabularies. (This is the topic of the discussion at
196
197
https://github.com/orgs/json-schema-org/discussions/342 .)
197
198
198
- In short, if a schema uses a keyword from an unknown _ optional_ vocabulary, the
199
- implementation cannot proceed because unknown keywords are explicitly
200
- disallowed. However, not being able to proceed with evaluation is the behavior
201
- prescribed for _ required_ vocabularies. Thus, if the behaviors for required and
202
- optional vocabularies is the same, then the boolean value is moot, which
203
- highlights that the structure of ` $vocabulary ` needs to be reconsidered.
204
-
205
199
#### Machine Readability
206
200
207
201
The vocabulary URI is an opaque value. There is no data that an implementation
0 commit comments