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

Time object should require at least 1 property #121

Open
joostfarla opened this issue Feb 26, 2024 · 0 comments
Open

Time object should require at least 1 property #121

joostfarla opened this issue Feb 26, 2024 · 0 comments
Assignees

Comments

@joostfarla
Copy link

In the current version of the JSON schema, the value of the time member can be null or an object. This object may contain a date, timestamp and/or interval property, but may also be empty (zero properties). Since that would effectively be the same as a null value, it would be good to require at least one of the object properties using the minProperties keyword.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Review in progress
Development

No branches or pull requests

2 participants