{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Scalar component used to represent a time quantity either as ISO 8601 (e.g., 2004-04-18T12:03:04.6Z) or as a duration relative to a time of reference",
  "type": "object",
  "allOf": [
    {
      "$ref": "./AbstractSimpleComponent.json"
    },
    {
      "properties": {
        "type": {
          "const": "Time"
        },
        "referenceTime": {
          "description": "Specifies the origin of the temporal reference frame as an ISO8601 date (used to specify time after an epoch that is to say in a custom frame)",
          "type": "string",
          "format": "date-time"
        },
        "localFrame": {
          "description": "Temporal frame of reference whose origin is located by the value of this component",
          "type": "string",
          "format": "uri"
        },
        "uom": {
          "description": "Temporal unit of measure used to express the value of this data component",
          "$ref": "basicTypes.json#/$defs/UnitReference"
        },
        "constraint": {
          "$ref": "basicTypes.json#/$defs/AllowedTimes"
        },
        "nilValues": {
          "$ref": "basicTypes.json#/$defs/NilValuesTime"
        },
        "value": {
          "$ref": "basicTypes.json#/$defs/DateTimeNumberOrSpecial"
        }
      },
      "required": [
        "type",
        "definition",
        "label",
        "uom"
      ]
    }
  ]
}