-
-
Notifications
You must be signed in to change notification settings - Fork 315
Keywords minContains/maxContains #441
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
Removed the [proposal] prefix as I've been removing all of them since we have control over the labels now. Proposals are labeled with "Enhancement". |
This proposal seems pretty reasonable to me. Any objections? I'm going to tentatively put it in the draft-08 milestone. Anyone who feels like submitting a PR is welcome to, otherwise I'll get around to it eventually. |
It seems that
|
I feel |
It does seem odd though that
|
These keywords will complement the existing keyword
contains
to define minimum and/or maximum number of items that are valid against the schema incontains
keyword (in the same schema object).Example:
Meta-schema:
"minContains": 0
would allow limiting the maximum number of matching elements without requiring one matching element.The text was updated successfully, but these errors were encountered: