-
-
Notifications
You must be signed in to change notification settings - Fork 878
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
minContains: 0 broken, requires at least one element. #1819
Labels
Comments
surprised it's not caught by JSON Schema test-suite |
epoberezkin
added a commit
that referenced
this issue
Nov 16, 2021
also at first I thought it was a regression in 8.7 from fixing some JSON Schema Test Suite tests, but it looks like it was there before... Which means it's not particularly widely used. Anyway, good catch, thanks @Zubnix |
epoberezkin
added a commit
that referenced
this issue
Nov 16, 2021
fixed in 8.8.1 |
This works for me if I use 2020 spec, but not 2019 spec. Is this intended? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Ajv are you using? Does the issue happen if you use the latest version?
8.8.0. Yes
Example code
The text was updated successfully, but these errors were encountered: