From fcbdf8883726f502731bb7a86b8c4f5ce1759dbd Mon Sep 17 00:00:00 2001 From: Ben Hutton Date: Thu, 26 Nov 2020 13:15:06 +0000 Subject: [PATCH 1/3] Specify that other keywords may load or inspect instance data in other locations --- jsonschema-core.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 42dc4328..3dd6848d 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -1085,6 +1085,21 @@ undesirable interactions with references in certain circumstances. +
+ + While none of the vocabularies defined as part of this or the associated documents + define a keyword which may target and / or load instance data, it is possible that + other vocabularies may wish to do so. + + + Keywords MAY be defined to use JSON Pointers or Relative JSON Pointers to examine + parts of an instance outside the current scope. + + + Keywords that allow adjusting the location using a Relative JSON Pointer SHOULD + default to using the current location if a default is desireable. + +
From 7323afd6ca6b5896788b441705d3b808b2da86cf Mon Sep 17 00:00:00 2001 From: Ben Hutton Date: Thu, 26 Nov 2020 21:21:28 +0000 Subject: [PATCH 2/3] Update jsonschema-core.xml 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 3dd6848d..b9469a06 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -1088,7 +1088,7 @@
While none of the vocabularies defined as part of this or the associated documents - define a keyword which may target and / or load instance data, it is possible that + define a keyword which may target and/or load instance data, it is possible that other vocabularies may wish to do so. From b6d1f275483d4f5f9b4920071892bd7e5d3280be Mon Sep 17 00:00:00 2001 From: Ben Hutton Date: Sat, 28 Nov 2020 22:41:51 +0000 Subject: [PATCH 3/3] Modify phrasing relating to instance location --- jsonschema-core.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index b9469a06..35b5382a 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -1093,7 +1093,7 @@ Keywords MAY be defined to use JSON Pointers or Relative JSON Pointers to examine - parts of an instance outside the current scope. + parts of an instance outside the current evaluation location. Keywords that allow adjusting the location using a Relative JSON Pointer SHOULD