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

✨ Proposal: date-time format to accept those in RFC 9557 #1572

Open
tisonkun opened this issue Jan 14, 2025 · 0 comments
Open

✨ Proposal: date-time format to accept those in RFC 9557 #1572

tisonkun opened this issue Jan 14, 2025 · 0 comments
Labels
proposal Initial discussion of a new idea. A project will be created once a proposal document is created.

Comments

@tisonkun
Copy link

Describe the inspiration for your proposal

Currently, the "date-time" format with string type only accepts timestamp strings in RFC 3339 format. RFC 9557 is an update to RFC 3339. We may accept timestamp strings in RFC 9557 format also.

Describe the proposal

As trivial as in the inspiration. Refer to https://www.rfc-editor.org/rfc/rfc9557.html.

Describe alternatives you've considered

No response

Additional context

I encountered this issue while implementing GREsau/schemars#364, where I tried to integrate an RFC 9557 implementation with JSON Schema definitions.

@tisonkun tisonkun added the proposal Initial discussion of a new idea. A project will be created once a proposal document is created. label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Initial discussion of a new idea. A project will be created once a proposal document is created.
Projects
None yet
Development

No branches or pull requests

1 participant