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

xsd:date and json format date incompatabilities #25

Open
JDziurlaj opened this issue Aug 1, 2024 · 0 comments
Open

xsd:date and json format date incompatabilities #25

JDziurlaj opened this issue Aug 1, 2024 · 0 comments

Comments

@JDziurlaj
Copy link
Collaborator

Organization Name: The Turnout

Organization Type: 2

Document: All models using xsd:date

Comment (Include rationale for comment): xsd:date supports an optional time zone offset, while JSON Schema's date format does not include this feature. For example, 2024-06-21Z and 2024-06-21+12:35 are valid according XSD Spec, but not according to JSON Schema draft-07, section 7.3.1 which references the full-date production of RFC3339.

Suggested Change: xsd:date lexical space is canonical, JSON Schema must match


Organization Type: 1 = Federal, 2 = Industry, 3 = Academia, 4 = Self, 5 = Other

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

No branches or pull requests

1 participant