-
Notifications
You must be signed in to change notification settings - Fork 356
Add support for minProperties, maxProperties #46
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
Hello. |
justinrainbow
added a commit
that referenced
this issue
Jun 10, 2013
Fix #46. Add support for draft v4 minProperties and maxProperties.
hakre
pushed a commit
to hakre/json-schema
that referenced
this issue
Mar 26, 2015
hakre
pushed a commit
to hakre/json-schema
that referenced
this issue
Mar 26, 2015
Fix jsonrainbow#46. Add support for draft v4 minProperties and maxProperties.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
minProperties
andmaxProperties
are for objects and are mentioned here: https://github.com/json-schema/json-schema/wiki/ChangeLoghttp://json-schema.org/latest/json-schema-validation.html#anchor54
This looks like it would stop this from working (which is good in some cases):
Schema:
input JSON:
Error would be on the
junk_field
being an extra andmaxProperties
being exceeded.The text was updated successfully, but these errors were encountered: