{
  "@context": {
    "@vocab": "https://smartroutes.io/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "smartroutes": "https://smartroutes.io/schema#",
    "DriverQuestionnaireImageCompressing": "smartroutes:DriverQuestionnaireImageCompressing",
    "driver_questionnaire_image": {
      "@id": "smartroutes:driver_questionnaire_image"
    },
    "PhotoCompressing": "smartroutes:PhotoCompressing",
    "photo": {
      "@id": "smartroutes:photo"
    },
    "ErrorResponse": "smartroutes:ErrorResponse",
    "name": {
      "@id": "smartroutes:name",
      "@type": "xsd:string"
    },
    "statusCode": {
      "@id": "smartroutes:statusCode",
      "@type": "xsd:integer"
    },
    "description": {
      "@id": "smartroutes:description",
      "@type": "xsd:string"
    },
    "details": {
      "@id": "smartroutes:details"
    },
    "OrderStatusOption": "smartroutes:OrderStatusOption",
    "status": {
      "@id": "smartroutes:status",
      "@type": "xsd:string"
    },
    "is_custom": {
      "@id": "smartroutes:is_custom",
      "@type": "xsd:boolean"
    },
    "Customer": "smartroutes:Customer",
    "id": {
      "@id": "smartroutes:id",
      "@type": "xsd:integer"
    },
    "account": {
      "@id": "smartroutes:account",
      "@type": "xsd:string"
    },
    "CustomField": "smartroutes:CustomField",
    "value": {
      "@id": "smartroutes:value"
    },
    "Capacity": "smartroutes:Capacity",
    "type": {
      "@id": "smartroutes:type",
      "@type": "xsd:string"
    },
    "capacity": {
      "@id": "smartroutes:capacity",
      "@type": "xsd:decimal"
    },
    "TimeWindow": "smartroutes:TimeWindow",
    "from": {
      "@id": "smartroutes:from",
      "@type": "xsd:string"
    },
    "to": {
      "@id": "smartroutes:to",
      "@type": "xsd:string"
    },
    "LineItem": "smartroutes:LineItem",
    "product_name": {
      "@id": "smartroutes:product_name",
      "@type": "xsd:string"
    },
    "product_code": {
      "@id": "smartroutes:product_code",
      "@type": "xsd:string"
    },
    "product_quantity": {
      "@id": "smartroutes:product_quantity",
      "@type": "xsd:decimal"
    },
    "quantity_outstanding": {
      "@id": "smartroutes:quantity_outstanding",
      "@type": "xsd:decimal"
    },
    "capacities": {
      "@id": "smartroutes:capacities",
      "@container": "@list"
    },
    "date": {
      "@id": "smartroutes:date",
      "@type": "xsd:date"
    },
    "custom_fields": {
      "@id": "smartroutes:custom_fields",
      "@container": "@list"
    },
    "DriverQuestionnaireSubmission": "smartroutes:DriverQuestionnaireSubmission",
    "order_id": {
      "@id": "smartroutes:order_id",
      "@type": "xsd:integer"
    },
    "order_line_item_id": {
      "@id": "smartroutes:order_line_item_id",
      "@type": "xsd:integer"
    },
    "driver_questionnaire": {
      "@id": "smartroutes:driver_questionnaire"
    },
    "VehicleRef": "smartroutes:VehicleRef",
    "vehicle_id": {
      "@id": "smartroutes:vehicle_id",
      "@type": "xsd:integer"
    },
    "driver": {
      "@id": "smartroutes:driver",
      "@type": "xsd:string"
    },
    "StopBase": "smartroutes:StopBase",
    "route_id": {
      "@id": "smartroutes:route_id",
      "@type": "xsd:integer"
    },
    "address": {
      "@id": "smartroutes:address",
      "@type": "xsd:string"
    },
    "postcode": {
      "@id": "smartroutes:postcode",
      "@type": "xsd:string"
    },
    "phone": {
      "@id": "smartroutes:phone",
      "@type": "xsd:string"
    },
    "lat": {
      "@id": "smartroutes:lat",
      "@type": "xsd:decimal"
    },
    "lng": {
      "@id": "smartroutes:lng",
      "@type": "xsd:decimal"
    },
    "planned_distance": {
      "@id": "smartroutes:planned_distance",
      "@type": "xsd:decimal"
    },
    "arrival_date": {
      "@id": "smartroutes:arrival_date",
      "@type": "xsd:date"
    },
    "departure_date": {
      "@id": "smartroutes:departure_date",
      "@type": "xsd:date"
    },
    "estimated_arrival_time": {
      "@id": "smartroutes:estimated_arrival_time",
      "@type": "xsd:string"
    },
    "estimated_departure_time": {
      "@id": "smartroutes:estimated_departure_time",
      "@type": "xsd:string"
    },
    "actual_completed_ts": {
      "@id": "smartroutes:actual_completed_ts",
      "@type": "xsd:dateTime"
    },
    "actual_completed_lat": {
      "@id": "smartroutes:actual_completed_lat",
      "@type": "xsd:decimal"
    },
    "actual_completed_lng": {
      "@id": "smartroutes:actual_completed_lng",
      "@type": "xsd:decimal"
    },
    "delivery_notes": {
      "@id": "smartroutes:delivery_notes",
      "@type": "xsd:string"
    },
    "driver_notes": {
      "@id": "smartroutes:driver_notes",
      "@type": "xsd:string"
    },
    "driver_external_note": {
      "@id": "smartroutes:driver_external_note",
      "@type": "xsd:string"
    },
    "actual_arrival_time": {
      "@id": "smartroutes:actual_arrival_time",
      "@type": "xsd:string"
    },
    "actual_duration": {
      "@id": "smartroutes:actual_duration",
      "@type": "xsd:string"
    },
    "signature": {
      "@id": "smartroutes:signature",
      "@type": "@id"
    },
    "signature_lat": {
      "@id": "smartroutes:signature_lat",
      "@type": "xsd:decimal"
    },
    "signature_lng": {
      "@id": "smartroutes:signature_lng",
      "@type": "xsd:decimal"
    },
    "signed_by": {
      "@id": "smartroutes:signed_by",
      "@type": "xsd:string"
    },
    "photos": {
      "@id": "smartroutes:photos",
      "@container": "@list"
    },
    "tracking_link": {
      "@id": "smartroutes:tracking_link",
      "@type": "@id"
    },
    "vehicle_assignment": {
      "@id": "smartroutes:vehicle_assignment"
    },
    "directions": {
      "@id": "smartroutes:directions",
      "@container": "@list"
    },
    "driver_questionnaire_submissions": {
      "@id": "smartroutes:driver_questionnaire_submissions",
      "@container": "@list"
    },
    "failed_reason": {
      "@id": "smartroutes:failed_reason"
    },
    "tags": {
      "@id": "smartroutes:tags",
      "@container": "@list"
    },
    "available_days": {
      "@id": "smartroutes:available_days",
      "@container": "@list"
    },
    "emails": {
      "@id": "smartroutes:emails",
      "@container": "@list"
    },
    "driver_phone_calls": {
      "@id": "smartroutes:driver_phone_calls",
      "@container": "@list"
    },
    "Order": "smartroutes:Order",
    "order_number": {
      "@id": "smartroutes:order_number",
      "@type": "xsd:string"
    },
    "priority": {
      "@id": "smartroutes:priority",
      "@type": "xsd:string"
    },
    "parts": {
      "@id": "smartroutes:parts",
      "@type": "xsd:integer"
    },
    "delivery_address": {
      "@id": "smartroutes:delivery_address",
      "@type": "xsd:string"
    },
    "delivery_lat": {
      "@id": "smartroutes:delivery_lat",
      "@type": "xsd:decimal"
    },
    "delivery_lng": {
      "@id": "smartroutes:delivery_lng",
      "@type": "xsd:decimal"
    },
    "delivery_available_days": {
      "@id": "smartroutes:delivery_available_days",
      "@container": "@list"
    },
    "delivery_duration": {
      "@id": "smartroutes:delivery_duration",
      "@type": "xsd:decimal"
    },
    "delivery_date": {
      "@id": "smartroutes:delivery_date",
      "@type": "xsd:date"
    },
    "delivery_contact_name": {
      "@id": "smartroutes:delivery_contact_name",
      "@type": "xsd:string"
    },
    "delivery_contact_number": {
      "@id": "smartroutes:delivery_contact_number",
      "@type": "xsd:string"
    },
    "delivery_contact_email": {
      "@id": "smartroutes:delivery_contact_email",
      "@type": "xsd:string"
    },
    "pickup_address": {
      "@id": "smartroutes:pickup_address",
      "@type": "xsd:string"
    },
    "pickup_duration": {
      "@id": "smartroutes:pickup_duration",
      "@type": "xsd:decimal"
    },
    "pickup_lat": {
      "@id": "smartroutes:pickup_lat",
      "@type": "xsd:decimal"
    },
    "pickup_lng": {
      "@id": "smartroutes:pickup_lng",
      "@type": "xsd:decimal"
    },
    "pickup_notes": {
      "@id": "smartroutes:pickup_notes",
      "@type": "xsd:string"
    },
    "pickup_contact_name": {
      "@id": "smartroutes:pickup_contact_name",
      "@type": "xsd:string"
    },
    "pickup_contact_number": {
      "@id": "smartroutes:pickup_contact_number",
      "@type": "xsd:string"
    },
    "pickup_contact_email": {
      "@id": "smartroutes:pickup_contact_email",
      "@type": "xsd:string"
    },
    "pickup_available_days": {
      "@id": "smartroutes:pickup_available_days",
      "@container": "@list"
    },
    "customer": {
      "@id": "smartroutes:customer",
      "@type": "@id"
    },
    "time_windows": {
      "@id": "smartroutes:time_windows",
      "@container": "@list"
    },
    "skills": {
      "@id": "smartroutes:skills",
      "@container": "@list"
    },
    "attachments": {
      "@id": "smartroutes:attachments",
      "@container": "@list"
    },
    "third_party": {
      "@id": "smartroutes:third_party"
    },
    "order_exchange": {
      "@id": "smartroutes:order_exchange"
    },
    "stops": {
      "@id": "smartroutes:stops",
      "@container": "@list"
    },
    "line_items": {
      "@id": "smartroutes:line_items",
      "@container": "@list"
    },
    "created": {
      "@id": "smartroutes:created",
      "@type": "xsd:dateTime"
    },
    "updated": {
      "@id": "smartroutes:updated",
      "@type": "xsd:dateTime"
    },
    "Route": "smartroutes:Route",
    "plan_id": {
      "@id": "smartroutes:plan_id",
      "@type": "xsd:integer"
    },
    "dispatched": {
      "@id": "smartroutes:dispatched",
      "@type": "xsd:boolean"
    },
    "is_locked": {
      "@id": "smartroutes:is_locked",
      "@type": "xsd:boolean"
    },
    "start_time": {
      "@id": "smartroutes:start_time",
      "@type": "xsd:string"
    },
    "end_time": {
      "@id": "smartroutes:end_time",
      "@type": "xsd:string"
    },
    "started_ts": {
      "@id": "smartroutes:started_ts",
      "@type": "xsd:dateTime"
    },
    "completed_ts": {
      "@id": "smartroutes:completed_ts",
      "@type": "xsd:dateTime"
    },
    "total_time": {
      "@id": "smartroutes:total_time",
      "@type": "xsd:decimal"
    },
    "travel_time": {
      "@id": "smartroutes:travel_time",
      "@type": "xsd:decimal"
    },
    "actual_distance": {
      "@id": "smartroutes:actual_distance",
      "@type": "xsd:decimal"
    },
    "vehicle": {
      "@id": "smartroutes:vehicle",
      "@type": "@id"
    },
    "Plan": "smartroutes:Plan",
    "routes": {
      "@id": "smartroutes:routes",
      "@container": "@list"
    },
    "unserved": {
      "@id": "smartroutes:unserved",
      "@container": "@list"
    },
    "BookingAvailabilityResponse": "smartroutes:BookingAvailabilityResponse",
    "booking": {
      "@id": "smartroutes:booking"
    },
    "OrdersListResponse": "smartroutes:OrdersListResponse",
    "orders": {
      "@id": "smartroutes:orders",
      "@container": "@list"
    },
    "LineItemRef": "smartroutes:LineItemRef",
    "OrderResponse": "smartroutes:OrderResponse",
    "order": {
      "@id": "smartroutes:order",
      "@type": "@id"
    },
    "PlanSequenceResponse": "smartroutes:PlanSequenceResponse",
    "plan": {
      "@id": "smartroutes:plan"
    },
    "PlanOptimisationResponse": "smartroutes:PlanOptimisationResponse",
    "optimisation": {
      "@id": "smartroutes:optimisation"
    },
    "errors": {
      "@id": "smartroutes:errors",
      "@container": "@list"
    },
    "PlanResponse": "smartroutes:PlanResponse",
    "RouteResponse": "smartroutes:RouteResponse",
    "route": {
      "@id": "smartroutes:route",
      "@type": "@id"
    },
    "Vehicle": "smartroutes:Vehicle",
    "active": {
      "@id": "smartroutes:active",
      "@type": "xsd:boolean"
    },
    "availability": {
      "@id": "smartroutes:availability",
      "@type": "xsd:string"
    },
    "start_location": {
      "@id": "smartroutes:start_location",
      "@type": "xsd:string"
    },
    "end_location": {
      "@id": "smartroutes:end_location",
      "@type": "xsd:string"
    },
    "shift": {
      "@id": "smartroutes:shift",
      "@container": "@list"
    },
    "shift_start": {
      "@id": "smartroutes:shift_start",
      "@type": "xsd:string"
    },
    "shift_end": {
      "@id": "smartroutes:shift_end",
      "@type": "xsd:string"
    },
    "start_address": {
      "@id": "smartroutes:start_address",
      "@type": "xsd:string"
    },
    "start_lat": {
      "@id": "smartroutes:start_lat",
      "@type": "xsd:decimal"
    },
    "start_lng": {
      "@id": "smartroutes:start_lng",
      "@type": "xsd:decimal"
    },
    "end_address": {
      "@id": "smartroutes:end_address",
      "@type": "xsd:string"
    },
    "end_lat": {
      "@id": "smartroutes:end_lat",
      "@type": "xsd:decimal"
    },
    "end_lng": {
      "@id": "smartroutes:end_lng",
      "@type": "xsd:decimal"
    },
    "break": {
      "@id": "smartroutes:break",
      "@type": "xsd:boolean"
    },
    "break_start": {
      "@id": "smartroutes:break_start",
      "@type": "xsd:string"
    },
    "break_end": {
      "@id": "smartroutes:break_end",
      "@type": "xsd:string"
    },
    "break_duration": {
      "@id": "smartroutes:break_duration",
      "@type": "xsd:decimal"
    },
    "VehicleResponse": "smartroutes:VehicleResponse",
    "VehiclesListResponse": "smartroutes:VehiclesListResponse",
    "vehicles": {
      "@id": "smartroutes:vehicles",
      "@container": "@list"
    },
    "WebhookEventType": "smartroutes:WebhookEventType",
    "WebhookOrdersStatusPayload": "smartroutes:WebhookOrdersStatusPayload",
    "WebhookPlanIdPayload": "smartroutes:WebhookPlanIdPayload",
    "WebhookRouteIdPayload": "smartroutes:WebhookRouteIdPayload",
    "WebhookOnDeliveryPayload": "smartroutes:WebhookOnDeliveryPayload",
    "eta": {
      "@id": "smartroutes:eta",
      "@type": "xsd:string"
    },
    "time_to_arrival": {
      "@id": "smartroutes:time_to_arrival",
      "@type": "xsd:integer"
    },
    "WebhookWillMissWindowPayload": "smartroutes:WebhookWillMissWindowPayload",
    "mins_late": {
      "@id": "smartroutes:mins_late",
      "@type": "xsd:integer"
    },
    "WebhookDelivery": "smartroutes:WebhookDelivery",
    "data": {
      "@id": "smartroutes:data"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "SmartRoutes API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects SmartRoutes's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-25) from openapi/smartroutes-io-openapi.json.",
  "dcterms:created": "2026-11-25",
  "dcterms:source": [
    "openapi/smartroutes-io-openapi.json"
  ]
}