Date and time types
Date and time types used throughout the protocol.
isoDate
Section titled “isoDate”A date on a calendar in ISO 8601 format `YYYY-MM-DD`.
"2025-01-01"$schema: https://json-schema.org/draft/2020-12/schema$id: isoDate.yamltype: stringformat: dateexamples: - 2025-01-01description: A date on a calendar in ISO 8601 format `YYYY-MM-DD`./** A date on a calendar in ISO 8601 format `YYYY-MM-DD`. */@example(isoDate.fromISO("2025-01-01"))@Versioning.added(Versions.v0_1)scalar isoDate extends plainDate;isoTime
Section titled “isoTime”A time on a clock, without a timezone, in ISO 8601 format `HH:mm:ss`.
"17:00:00"$schema: https://json-schema.org/draft/2020-12/schema$id: isoTime.yamltype: stringformat: timeexamples: - 17:00:00description: A time on a clock, without a timezone, in ISO 8601 format `HH:mm:ss`./** A time on a clock, without a timezone, in ISO 8601 format `HH:mm:ss`. */@example(isoTime.fromISO("17:00:00"))@Versioning.added(Versions.v0_1)scalar isoTime extends plainTime;calendarYear
Section titled “calendarYear”A 4-digit calendar year.
"2025"$schema: https://json-schema.org/draft/2020-12/schema$id: calendarYear.yamltype: stringexamples: - "2025"pattern: ^[0-9]{4}$description: A 4-digit calendar year./** A 4-digit calendar year. */@example("2025")@pattern("^[0-9]{4}$")@Versioning.added(Versions.v0_1)scalar calendarYear extends string;