Skip to content

Commit ac20697

Browse files
committed
Exclude LDO schema keywords from applicability
When discovering links for a hyper-schema, it does not make sense to examine the schema keywords within the discovered links. While this was already the case as there are no rules for determining the applicability of those keywords to an instance, that is not obvious so make it explicit.
1 parent 71ba715 commit ac20697

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

jsonschema-hyperschema.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,12 @@
215215
validation specification</xref>. Links that are not valid with the
216216
current instance and/or client input MUST be excluded.
217217
</t>
218+
<t>
219+
Schemas that are found as values within Link Description Objects
220+
are not considered to be applicable to the instance, even when the
221+
link is applicable and valid. They are only applied to various kinds
222+
of input or message payloads as described for each keyword.
223+
</t>
218224
<t>
219225
These links MUST all be presented as a single set, regardless
220226
of the number of subschemas involved. The order of links in the set

0 commit comments

Comments
 (0)