Skip to content
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

Consider adding required:: for the fields constraint. #124

Open
popematt opened this issue Jun 9, 2023 · 0 comments
Open

Consider adding required:: for the fields constraint. #124

popematt opened this issue Jun 9, 2023 · 0 comments
Labels
enhancement New feature or enhancement for the Ion Schema _specification_ requires new version Something that should be considered for next version of the Ion Schema Specification

Comments

@popematt
Copy link
Contributor

popematt commented Jun 9, 2023

Consider adding a required:: modifier for the fields constraint that makes all fields required by default (instead of optional by default, as is the case right now). The occurs could still be overridden at the field level by specifying, e.g. occurs: optional on a field.

@popematt popematt added enhancement New feature or enhancement for the Ion Schema _specification_ requires new version Something that should be considered for next version of the Ion Schema Specification labels Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement for the Ion Schema _specification_ requires new version Something that should be considered for next version of the Ion Schema Specification
Projects
None yet
Development

No branches or pull requests

1 participant