"unevaluatedItems", "additionalItems", and tuple "items" #292
Labels
missing test
A request to add a test to the suite that is currently not covered elsewhere.
Milestone
unevaluatedItems
should apply to instance items past the end of theitems
tuple the same way asadditionalItems
, except that it works withitems
across a reference orallOf
or whatever.If
additionalItems
is present withitems
, then (because that subschema will only pass if bothitems
andadditionalItems
pass),unevaluatedItems
is always ignored.additionalItems
consumes the whole remainder of the array.unevaluatedItems
with tupleitems
only, same-object: hereunevaluatedItems
with tupleitems
only, through applicator: hereunevaluatedItems
with tupleitems
andadditionalItems
, same object: hereunevaluatedItems
with tupleitems
andadditionalItems
, through applicator: hereunevaluatedItems
ignoresadditionalItems
withoutitems
, same objectunevaluatedItems
ignoresadditionalItems
withoutitems
, through applicatorNote that putting
items
andadditionalItems
in separate applicator subschemas is identical to just havingitems
, as a loneadditionalItems
always has no effect.The text was updated successfully, but these errors were encountered: