Skip to content

Clarify prefixItems wording about array length #1289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 4, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions jsonschema-core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2350,9 +2350,9 @@
<t>
Validation succeeds if each element of the instance validates
against the schema at the same position, if any. This keyword
does not constrain the length of the array. If the array is longer
than this keyword's value, this keyword validates only the
prefix of matching length.
does not constrain the length of the array. Only array positions
present in both the keyword's value and the instance value are
affected by this keyword.
</t>
<t>
This keyword produces an annotation value which is the largest
Expand Down