-
-
Notifications
You must be signed in to change notification settings - Fork 315
Refer to collections of vocabularies as described by meta-schemas as dialects #902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Relevant: I note that while we talk about how json-schema-spec/jsonschema-core.xml Lines 1156 to 1158 in b615488
|
Also relevant json-schema-spec/jsonschema-core.xml Lines 2096 to 2097 in b615488
|
Yup, that's exactly what this is about! We should say "dialect" rather than "feature set", although the phrase "feature set" may be useful in explaining what a dialect is. But obviously it is not sufficient on its own to explain it. I have a spreadsheet of dialect vs vocabulary and I have no idea why I didn't link it when I filed this. https://docs.google.com/spreadsheets/d/18SIXnzyjXTJZgqeo5W-qIEwq-bNKXb5M76Pq_47r2Is/edit?usp=sharing |
I expect this will be one of the later issues to get closed out when most others for the milestone are done. |
I can't quite decide if the PR was enough. |
@Relequestual the important thing was to get the term in there at all, so it's "official". We should definitely look for it in the final pass, but it doesn't have much practical effect if it's missing in a few places. "dialect" is defined because in my experience it's a good word for a concept that didn't have a word, not because it changes any implementations. |
A dialect is a collection of vocabularies plus a set of validation rules for that collection.
A meta-schema that uses
$vocabulary
describes a dialect, and is considered a "dialect meta-schema."https://json-schema.org/draft/2019-09/schema
andhttps://json-
schema.org/draft/2019-09/meta-schema` are dialect meta-schemas.A meta-schema describing a dialect consisting of a single vocabulary and its standard syntax is considered to be a "vocabulary meta-schema" as well as being a "dialect meta-schema."
https://json-schema.org/draft/2019-09/meta/validation
andhttps://json-schema.org/draft/2019-09/meta/hyper-schema
are vocabulary meta-schemas.We should make this clear in the spec as the "dialect" terminology has proven helpful in discussions elsewhere.
The text was updated successfully, but these errors were encountered: