Skip to content

Commit 5cc5d1c

Browse files
committed
Clarify the name "prefixItems" and its interactions
1 parent bce742b commit 5cc5d1c

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
@@ -2332,13 +2332,17 @@
23322332
</t>
23332333
<t>
23342334
Validation succeeds if each element of the instance validates
2335-
against the schema at the same position, if any.
2335+
against the schema at the same position, if any. This keyword
2336+
does not constrain the length of the array. If the array is longer
2337+
than this keyword's value, this keyword validates only the
2338+
prefix of matching length.
23362339
</t>
23372340
<t>
23382341
This keyword produces an annotation value which is the largest
23392342
index to which this keyword applied a subschema. The value
23402343
MAY be a boolean true if a subschema was applied to every
23412344
index of the instance, such as is produced by the "items" keyword.
2345+
This annotation affects the behavior of "items" and "unevaluatedItems".
23422346
</t>
23432347
<t>
23442348
Omitting this keyword has the same assertion behavior as

0 commit comments

Comments
 (0)