Skip to content

Commit 2c7d4bc

Browse files
authored
Merge pull request #1034 from Relequestual/Fix/keywords-load-instance-data-855
Keywords may look at instance data
2 parents ee930ad + b6d1f27 commit 2c7d4bc

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

jsonschema-core.xml

+15
Original file line numberDiff line numberDiff line change
@@ -1084,6 +1084,21 @@
10841084
undesirable interactions with references in certain circumstances.
10851085
</t>
10861086
</section>
1087+
<section title="Loading Instance Data">
1088+
<t>
1089+
While none of the vocabularies defined as part of this or the associated documents
1090+
define a keyword which may target and/or load instance data, it is possible that
1091+
other vocabularies may wish to do so.
1092+
</t>
1093+
<t>
1094+
Keywords MAY be defined to use JSON Pointers or Relative JSON Pointers to examine
1095+
parts of an instance outside the current evaluation location.
1096+
</t>
1097+
<t>
1098+
Keywords that allow adjusting the location using a Relative JSON Pointer SHOULD
1099+
default to using the current location if a default is desireable.
1100+
</t>
1101+
</section>
10871102
</section>
10881103
<section title="The JSON Schema Core Vocabulary">
10891104
<t>

0 commit comments

Comments
 (0)