Skip to content
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

Fix array items are not validated against additionalItems when items is an array #6

Closed
bugventure opened this issue Nov 2, 2014 · 0 comments
Labels
Milestone

Comments

@bugventure
Copy link
Owner

Given the following conditions for an array schema:

  1. items is an array of item schemas (for positional child item validation);
  2. additionalItems is a non-empty object defining a schema;
  3. The validated array has more items than specified by the items array in the schema;

In this scenario, validation does not take into account additionalItems when validating additional array items.

JSON Schema reference: http://json-schema.org/latest/json-schema-validation.html#anchor131

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant