Skip to content

LocalDateTime and "date-time" #517

@mbechto

Description

@mbechto

Currently, a LocalDateTime field in a POJO will generate a schema field with "format": "date-time".

Looking at the JSON Schema spec (section 7.3.1), "date-time" seems to denote a timestamp after RFC 3339, section 5.6, which must include a "time-offset" so either "Z" or a numerical offset.

If that is true, "date-time" is not an applicable format for LocalDateTime, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions