SmartRoutes · JSON-LD Context

Smartroutes Io Context

JSON-LD context defining the semantic vocabulary for Smartroutes Io from SmartRoutes.

33 Classes 133 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
smartroutes: https://smartroutes.io/schema#

Classes

DriverQuestionnaireImageCompressing PhotoCompressing ErrorResponse OrderStatusOption Customer CustomField Capacity TimeWindow LineItem DriverQuestionnaireSubmission VehicleRef StopBase Order Route Plan BookingAvailabilityResponse OrdersListResponse LineItemRef OrderResponse PlanSequenceResponse PlanOptimisationResponse PlanResponse RouteResponse Vehicle VehicleResponse VehiclesListResponse WebhookEventType WebhookOrdersStatusPayload WebhookPlanIdPayload WebhookRouteIdPayload WebhookOnDeliveryPayload WebhookWillMissWindowPayload WebhookDelivery

Properties

Property Type Container
driver_questionnaire_image
photo
name string
statusCode integer
description string
details
status string
is_custom boolean
id integer
account string
value
type string
capacity decimal
from string
to string
product_name string
product_code string
product_quantity decimal
quantity_outstanding decimal
capacities list
date date
custom_fields list
order_id integer
order_line_item_id integer
driver_questionnaire
vehicle_id integer
driver string
route_id integer
address string
postcode string
phone string
lat decimal
lng decimal
planned_distance decimal
arrival_date date
departure_date date
estimated_arrival_time string
estimated_departure_time string
actual_completed_ts dateTime
actual_completed_lat decimal
actual_completed_lng decimal
delivery_notes string
driver_notes string
driver_external_note string
actual_arrival_time string
actual_duration string
signature reference
signature_lat decimal
signature_lng decimal
signed_by string
photos list
tracking_link reference
vehicle_assignment
directions list
driver_questionnaire_submissions list
failed_reason
tags list
available_days list
emails list
driver_phone_calls list
order_number string
priority string
parts integer
delivery_address string
delivery_lat decimal
delivery_lng decimal
delivery_available_days list
delivery_duration decimal
delivery_date date
delivery_contact_name string
delivery_contact_number string
delivery_contact_email string
pickup_address string
pickup_duration decimal
pickup_lat decimal
pickup_lng decimal
pickup_notes string
pickup_contact_name string
pickup_contact_number string
pickup_contact_email string
pickup_available_days list
customer reference
time_windows list
skills list
attachments list
third_party
order_exchange
stops list
line_items list
created dateTime
updated dateTime
plan_id integer
dispatched boolean
is_locked boolean
start_time string
end_time string
started_ts dateTime
completed_ts dateTime
total_time decimal
travel_time decimal
actual_distance decimal
vehicle reference
routes list
unserved list
booking
orders list
order reference
plan
optimisation
errors list
route reference
active boolean
availability string
start_location string
end_location string
shift list
shift_start string
shift_end string
start_address string
start_lat decimal
start_lng decimal
end_address string
end_lat decimal
end_lng decimal
break boolean
break_start string
break_end string
break_duration decimal
vehicles list
eta string
time_to_arrival integer
mins_late integer
data

JSON-LD Document

Raw ↑
{
  "@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"
  ]
}