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

Add JsonSchemaAs impls for all Duration and Timestamp adaptors #685

Merged
merged 2 commits into from
Jan 30, 2024

Commits on Jan 25, 2024

  1. Configuration menu
    Copy the full SHA
    c7ad4f0 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. Add a pattern key for the duration string

    The string representation of the date actually has only a restricted set
    of values that can be used. By using the pattern property we can have
    the json schema itself validate the string.
    
    The regex used here for the pattern is a more lenient version of that
    used to match numbers in JSON.
    swlynch99 committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    cf29573 View commit details
    Browse the repository at this point in the history