{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://schemas.ruter.no/adt/ota/api/v3.0/pe/dpi/externaldisplay/dpi-externaldisplay.json",
  "type": "object",
  "title": "DpiExternaldisplay",
  "description": "Notification that the external displays should show new destination information",
  "required": [
    "eventTimestamp",
    "traceId",
    "destination"
  ],
  "additionalProperties": true,
  "properties": {
    "eventTimestamp": {
      "$id": "#/properties/eventTimestamp",
      "type": "string",
      "description": "As specified in the [ADT documentation.](https://adt.transhub.io)",
      "format": "date-time"
    },
    "traceId": {
      "$id": "#/properties/traceId",
      "type": "string",
      "description": "A unique identifier - UUID"
    },
    "publicCode": {
      "$id": "#/properties/publicCode",
      "type": "string",
      "description": "Publically-known number of the line"
    },
    "destination": {
      "$id": "#/properties/destination",
      "type": "string",
      "description": "Destination of the bus"
    },
    "alternativeMessage": {
      "$id": "#/properties/alternativeMessage",
      "type": "string",
      "description": "Alternative message to be displayed on second line of display"
    }
  }
}
