From 2655ac55a6fffb5c738959827d31fda707cf39cd Mon Sep 17 00:00:00 2001 From: Greg Dennis Date: Thu, 19 Nov 2020 17:49:02 +1300 Subject: [PATCH 1/2] resolves #1019 - added language to explicitly specify behavior when a vocab is known --- jsonschema-core.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 95fe91c4..c0cb8621 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -1198,7 +1198,9 @@ vocabularies available for use in schemas described by that meta-schema. It is also used to indicate whether each vocabulary is required or optional, in the sense that an implementation MUST understand the required vocabularies - in order to successfully process the schema. + in order to successfully process the schema. Any vocabulary that is + understood by the implementation MUST be processed in a manner consistent + with the semantic definitions contained within the vocabulary. The value of this keyword MUST be an object. The property names in the @@ -1226,7 +1228,8 @@ the vocabulary MUST refuse to process any schemas that declare this meta-schema with "$schema". If the value is false, implementations that do not recognize the vocabulary SHOULD proceed with processing - such schemas. + such schemas. The value has no impact if the implementation + recognizes the vocabulary. Per , unrecognized From fd40243f6dae1a6aef32c6ebae9e271dffb2bf00 Mon Sep 17 00:00:00 2001 From: Greg Dennis Date: Fri, 20 Nov 2020 07:23:41 +1300 Subject: [PATCH 2/2] Update jsonschema-core.xml Co-authored-by: Ben Hutton --- jsonschema-core.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index c0cb8621..67e05d77 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -1229,7 +1229,7 @@ this meta-schema with "$schema". If the value is false, implementations that do not recognize the vocabulary SHOULD proceed with processing such schemas. The value has no impact if the implementation - recognizes the vocabulary. + understands the vocabulary. Per , unrecognized