json-schema-spec
json-schema-spec copied to clipboard
Clarify that the time format shouldn't include leap seconds
Resolves #1637
- Clarify that
date-timeSHOULD allow leap seconds. It's a "SHOULD" because implementations are often constrained by what date validation libraries they have available to them. - Clarify that
timeMUST NOT allow leap seconds.
Note: This will require a follow up to the test suite to remove the leap second tests from v1 only. They can stay in the other releases because I think the spec was ambiguous and those tests are optional anyway.