Skip to content

Always record and require format for time #491

Description

@braingram

The current time schema does not require a format.


This prevents schemas from requiring a specific format via a structure like:

allOf:
  - tag: tag:stsci.edu:asdf/time/time-1.*
  - properties:
      format:
        enum: [iso]

Making the format required also removes the guesswork required by all implementations to determine what a value means (and instead implementations can just use the provided format).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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