Skip to content

Commit eb356d5

Browse files
committed
Clarify the name "prefixItems" and its interactions
1 parent 07df647 commit eb356d5

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

0 commit comments

Comments
 (0)