Skip to content

Commit 8c6ab0e

Browse files
committed
Add clarification about "adjacent keywords"
1 parent 3f1b1c4 commit 8c6ab0e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

jsonschema-core.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@
304304
<t>
305305
A JSON Schema MUST be an object or a boolean.
306306
</t>
307+
<t>
308+
Keywords within the same schema object are referred to as adjacent keywords.
309+
</t>
307310
<section title="JSON Schema Objects and Keywords">
308311
<t>
309312
Object properties that are applied to the instance are called keywords,
@@ -674,7 +677,8 @@
674677
<section title="Keyword Interactions">
675678
<t>
676679
Keyword behavior MAY be defined in terms of the annotation results
677-
of <xref target="root">subschemas</xref> and/or adjacent keywords.
680+
of <xref target="root">subschemas</xref> and/or adjacent keywords
681+
(keywords within the same schema object) and their subschemas.
678682
Such keywords MUST NOT result in a circular dependency.
679683
Keywords MAY modify their behavior based on the presence or absence
680684
of another keyword in the same

0 commit comments

Comments
 (0)