{
  "$id": "https://schemas.ruter.no/adt/ota/api/v2.1/driver-interaction/destination-display-override.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "DestinationDisplayOverride",
  "type": "object",
  "required": [
    "number"
  ],
  "description": "Describes a request from MADT or other GUI to manually override the information shown on the destination display. It is up to the presenting system to decide how and for how long the override will apply. A rule could be until next journey begins or a new override_attempt/destination_display is received. The topic could be blanked (provided with a zero-byte payload) to indicate that any overriding information is no longer valid and that the destination display can return to normal",
  "additionalProperties": true,
  "properties": {
    "atDateTime": {
      "$id": "#/properties/atDateTime",
      "type": "string",
      "description": "The time of the Override attempt. Event timestamp must be ISO 8601 UTC",
      "format": "date-time"
    },
    "number": {
      "$id": "#/properties/number",
      "type": "number",
      "description": "Numeric value representing the destination sign information to display."
    },
    "lineDesignation": {
      "$id": "#/properties/lineDesignation",
      "type": "string",
      "description": "Displayed public line number or line code."
    },
    "name": {
      "$id": "#/properties/name",
      "type": "string",
      "description": "The name of the (primary) destination or a free text."
    },
    "alternativeText": {
      "$id": "#/properties/alternativeText",
      "type": "string",
      "description": "The name of the secondary destination or an alternative (free) text."
    }
  }
}
