-
Notifications
You must be signed in to change notification settings - Fork 356
Not proper "oneOf" handling #76
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
Comments
alexmmm
added a commit
to alexmmm/json-schema
that referenced
this issue
May 1, 2014
alexmmm
added a commit
to alexmmm/json-schema
that referenced
this issue
May 2, 2014
(cherry picked from commit 0c39a5b)
hakre
pushed a commit
to hakre/json-schema
that referenced
this issue
Mar 26, 2015
siwinski
pushed a commit
to siwinski/json-schema
that referenced
this issue
Apr 20, 2015
Tested this issue with version: 2.0.0 and it works like supposed.
@bighappyface I think this one can also be closed? |
@jojo1981 thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This schema will pass for:
Because of array_unique() usage in
JsonSchema\Constraints\Constraint::getErrors()
.When the second schema will be checked a list of errors will contain "key" and "test1" errors. During checking will be added another error with "key" required, but array_unique() will erase it, so this schema will pass a criteria in
JsonSchema\Constraints\Underfined::validateOfProperties()
as a result.The text was updated successfully, but these errors were encountered: