Type: W3CISO8601

W3C variant/subset of IS08601 for specifying date(times). Supported are - YYYY (eg 1997) - YYYY-MM (eg 1997-07) - YYYY-MM-DD (eg 1997-07-16) - YYYY-MM-DDThh:mmTZD (eg 1997-07-16T19:20+01:00) - YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:30+01:00) - YYYY-MM-DDThh:mm:ss.sTZD (eg 1997-07-16T19:20:30.45+01:00) where TZD is the time zone designator (Z or +hh:mm or -hh:mm)

URI: https://www.w3.org/TR/NOTE-datetime

  • base: str

  • uri: https://www.w3.org/TR/NOTE-datetime

  • typeof: string

  • pattern: ^(\d{4})|(\d{4}-[01]\d)|(\d{4}-[01]\d-[0-3]\d)|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$

See Also

Identifier and Mapping Information

Schema Source

  • from schema: https://concepts.datalad.org/s/distribution/unreleased