We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@jviotti also pointed out the metaschemas diverge on this change.
> Actually it's a bit more subtle. While the spec indeed says SHOULD in some cases, the meta-schemas often still enforce this: > • Draft 4: https://json-schema.org/draft-04/schema#. It has minItems: 1 > • Draft 6: https://json-schema.org/draft-06/schema#. It has minItems: 1 > • Draft 7: https://json-schema.org/draft-07/schema#. It has minItems: 1 > • 2019-09: https://json-schema.org/draft/2019-09/meta/validation. Allows any number of items > • 2020-12: https://json-schema.org/draft/2020-12/meta/validation. Allows any number of items >
minItems: 1
Slack Message
The text was updated successfully, but these errors were encountered:
This has already been addressed in the upcoming release. We require at least one item in enum.
enum
Sorry, something went wrong.
No branches or pull requests
@jviotti also pointed out the metaschemas diverge on this change.
> Actually it's a bit more subtle. While the spec indeed says SHOULD in some cases, the meta-schemas often still enforce this:
> • Draft 4: https://json-schema.org/draft-04/schema#. It has
minItems: 1
> • Draft 6: https://json-schema.org/draft-06/schema#. It has
minItems: 1
> • Draft 7: https://json-schema.org/draft-07/schema#. It has
minItems: 1
> • 2019-09: https://json-schema.org/draft/2019-09/meta/validation. Allows any number of items
> • 2020-12: https://json-schema.org/draft/2020-12/meta/validation. Allows any number of items
>
Slack Message
The text was updated successfully, but these errors were encountered: