Skip to content

Error in description of actual DateTime properties in version 3.0.0 and 4.0.0 #311

@larsolofsson

Description

@larsolofsson

An actual DateTime property should not contain a time interval.
Description to be change to

          description: |-
            It MUST be local date-time expressed in ISO8601 (preferably without explicit time-zone).

Existing example

        actualLoadingDateTime:
          type: string
          minLength: 4
          description: |-
            It MUST be local date-time expressed in ISO8601 (preferably without explicit time-zone), excluding duration alone, but including intervals such as the following:
            - 2023-08-16T13:00/2023-08-18T13:00
            - 2023-08-16/2023-08-18
            - 2023-08-16T13:00/P2D
            - P2D/2023-08-18T13:00

Should it be changed to OpenAPI date-time format as defined by date-time - RFC3339

        actualLoadingDateTime:
          type: string
          format: date-time
          description: |-
            It MUST be local date-time expressed in ISO8601 (preferably without explicit time-zone)

Metadata

Metadata

Assignees

No one assigned

    Labels

    MUST BE DISCUSSEDMust be discussed during the next CWG meeting

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions