From 159169fde1ab3aad56d4238960facfb828c9cc40 Mon Sep 17 00:00:00 2001 From: Greg Dennis Date: Sat, 14 Nov 2020 22:23:45 +1300 Subject: [PATCH 1/3] resolves #910 - add paragraph describing independence of sibling subschemas --- jsonschema-core.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 058f954e..d7b42a77 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -2212,6 +2212,13 @@ or modifying the subschema results in various ways. + + Subschemas of these keywords evaluate the instance completely independently + such that the results of one subschema MUST NOT impact the results of sibling + subschemas. The consequence of this is that the subschemas may be applied in + any order. + +
These keywords correspond to logical operators for combining or modifying From 13be1b21b70137ed6f9e884fa15bb6ff491f717d Mon Sep 17 00:00:00 2001 From: Greg Dennis Date: Fri, 20 Nov 2020 07:23:10 +1300 Subject: [PATCH 2/3] 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 d7b42a77..1a30c714 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -2214,7 +2214,7 @@ Subschemas of these keywords evaluate the instance completely independently - such that the results of one subschema MUST NOT impact the results of sibling + such that the results of one such subschema MUST NOT impact the results of sibling subschemas. The consequence of this is that the subschemas may be applied in any order. From c260f98d09ad9bef3ba6fcf7156a15b8327d42c7 Mon Sep 17 00:00:00 2001 From: Greg Dennis Date: Fri, 20 Nov 2020 07:23:19 +1300 Subject: [PATCH 3/3] 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 1a30c714..0279a7da 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -2215,7 +2215,7 @@ Subschemas of these keywords evaluate the instance completely independently such that the results of one such subschema MUST NOT impact the results of sibling - subschemas. The consequence of this is that the subschemas may be applied in + subschemas. Therefore subschemas may be applied in any order.