Temporal Field¶
A temporal field collects a date, time, or datetime. In YAML its type is temporal-field.
| Key | Value | Presence | Meaning |
|---|---|---|---|
datatype |
xsd:date, xsd:time, or xsd:dateTime |
required | The temporal kind. |
granularity |
year, month, day, hour, minute, second, or decimalSecond |
required | The finest unit recorded. |
inputTimeFormat |
12h or 24h |
conditional | Clock format; applies when granularity is finer than day. |
inputTimeZone |
boolean | optional | Whether a time zone is recorded. |
default |
string | optional | Default value. |
- key: visit-time
type: temporal-field
name: Visit Time
datatype: xsd:dateTime
granularity: minute
inputTimeFormat: 24h
inputTimeZone: true