From 6e12ea846b2367bce2412fe7dff198f1ff25c3fb Mon Sep 17 00:00:00 2001 From: Henry Andrews Date: Sat, 5 Sep 2020 20:37:37 -0700 Subject: [PATCH] Put "dialect" in the spec. This gets the term introduced. I am leaving out hyper-schema for now as we don't plan to update it soon. --- jsonschema-core.xml | 5 ++++- jsonschema-validation.xml | 5 +++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 6288e746..df45d05e 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -146,6 +146,7 @@ To facilitate re-use, keywords can be organized into vocabularies. A vocabulary consists of a list of keywords, together with their syntax and semantics. + A set of vocabularies identified by a meta-schema is known as a dialect. JSON Schema can be extended either by defining additional vocabularies, @@ -173,7 +174,9 @@ Further vocabularies for purposes such as structural validation or - hypermedia annotation are defined in other documents. + hypermedia annotation are defined in other documents. These other + documents each define a dialect collecting the standard sets of + vocabularies needed to write schemas for that document's purpose. diff --git a/jsonschema-validation.xml b/jsonschema-validation.xml index 722c502c..a8026d89 100644 --- a/jsonschema-validation.xml +++ b/jsonschema-validation.xml @@ -177,9 +177,10 @@
- The current URI for the default JSON Schema meta-schema is + The current URI for the default JSON Schema dialect meta-schema is . - For schema author convenience, this meta-schema describes all vocabularies + For schema author convenience, this meta-schema describes a dialect + consisting of all vocabularies defined in this specification and the JSON Schema Core specification, as well as two former keywords which are reserved for a transitional period. Individual vocabulary and vocabulary meta-schema URIs are given for