{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://schemas.ruter.no/adt/ota/api/v3.0/pe/dpi/nextstop/dpi-nextstop.json",
  "type": "object",
  "title": "DpiNextstop",
  "description": "Notification that vehicle has a new next stop",
  "required": [
    "eventTimestamp",
    "traceId",
    "stopPlaceId",
    "index"
  ],
  "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"
    },
    "stopPlaceId": {
      "$id": "#/properties/stopPlaceId",
      "type": "string",
      "description": "Stop place id"
    },
    "index": {
      "$id": "#/properties/index",
      "type": "integer",
      "description": "Index of stop place in journey data"
    }
  }
}
