{
  "$id": "https://schemas.ruter.no/adt/ota/api/v3.0/operational/assignment/status/assignment-status.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "AssignmentStatus",
  "description": "Assignment status for the vehicle as recorded by Ruter",
  "type": "object",
  "required": [
    "traceId",
    "eventTimestamp"
  ],
  "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"
    },
    "state": {
      "$id": "#/properties/state",
      "description": "The Ruter recorded state of the vehicle assignment",
      "$ref": "../common/assignment-state.json"
    }
  }
}
