From 9187f10cb6e6e1400807a2731c299d92fc740723 Mon Sep 17 00:00:00 2001 From: Greg Dennis Date: Fri, 28 Oct 2022 10:41:26 +1300 Subject: [PATCH 1/4] refine 'match' language for properties and patternProperties --- jsonschema-core.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 5a078dc4..656ae63b 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -2404,7 +2404,7 @@ The annotation result of this keyword is the set of instance - property names matched by this keyword. + property names which are present in both this keyword and the instance. This annotation affects the behavior of "additionalProperties" (in this vocabulary) and "unevaluatedProperties" in the Unevaluated vocabulary. @@ -2430,7 +2430,7 @@ The annotation result of this keyword is the set of instance - property names matched by this keyword. + property names matched by at least one key in this keyword. This annotation affects the behavior of "additionalProperties" (in this vocabulary) and "unevaluatedProperties" (in the Unevaluated vocabulary). From 550817f9abf574580f27a15858fd6146c53c9530 Mon Sep 17 00:00:00 2001 From: Greg Dennis Date: Fri, 28 Oct 2022 10:45:18 +1300 Subject: [PATCH 2/4] remove redundancy in `properties` annotation definition --- jsonschema-core.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 656ae63b..9793aab1 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -2404,7 +2404,7 @@ The annotation result of this keyword is the set of instance - property names which are present in both this keyword and the instance. + property names which are also present in this keyword. This annotation affects the behavior of "additionalProperties" (in this vocabulary) and "unevaluatedProperties" in the Unevaluated vocabulary. From 751390284c186df70351a2d7b9c5ca6c8dc8fc24 Mon Sep 17 00:00:00 2001 From: Greg Dennis Date: Mon, 7 Nov 2022 08:53:49 +1300 Subject: [PATCH 3/4] Incorporate suggested change Co-authored-by: Karen Etheridge --- jsonschema-core.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 9793aab1..f24077f9 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -2430,7 +2430,7 @@ The annotation result of this keyword is the set of instance - property names matched by at least one key in this keyword. + property names matched by at least one property under this keyword. This annotation affects the behavior of "additionalProperties" (in this vocabulary) and "unevaluatedProperties" (in the Unevaluated vocabulary). From ee931a06c3795d2f073325031819aab79c20fc03 Mon Sep 17 00:00:00 2001 From: Greg Dennis Date: Mon, 7 Nov 2022 08:54:09 +1300 Subject: [PATCH 4/4] Incoporate suggested change Co-authored-by: Karen Etheridge --- jsonschema-core.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index f24077f9..f4397b08 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -2404,7 +2404,7 @@ The annotation result of this keyword is the set of instance - property names which are also present in this keyword. + property names which are also present under this keyword. This annotation affects the behavior of "additionalProperties" (in this vocabulary) and "unevaluatedProperties" in the Unevaluated vocabulary.