Onfleet · JSON-LD Context

Onfleet Context

JSON-LD context defining the semantic vocabulary for Onfleet from Onfleet.

28 Classes 18 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
onfleet: https://onfleet.com/ns/
geo: http://www.opengis.net/ont/geosparql#

Classes

Task Organization RoutePlan Team Vehicle id name phone email address addressLocality addressRegion postalCode addressCountry streetAddress longitude latitude shortId pickupTask eta state metadata notes quantity serviceTime vehicleType trigger triggerName

Properties

Property Type Container
Worker reference
Recipient reference
Destination reference
Order reference
location geo:Point
completeAfter schema:DateTime
completeBefore schema:DateTime
trackingURL reference
dependencies reference
worker reference
destination reference
recipients set
vehicle reference
team reference
organization reference
tasks set
startTime schema:DateTime
endTime schema:DateTime

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "onfleet": "https://onfleet.com/ns/",
    "geo": "http://www.opengis.net/ont/geosparql#",
    "Task": "onfleet:Task",
    "Worker": {"@id": "schema:Person", "@type": "@id"},
    "Recipient": {"@id": "schema:Person", "@type": "@id"},
    "Destination": {"@id": "schema:Place", "@type": "@id"},
    "Organization": "schema:Organization",
    "RoutePlan": "onfleet:RoutePlan",
    "Order": {"@id": "schema:Order", "@type": "@id"},
    "Team": "onfleet:Team",
    "Vehicle": "schema:Vehicle",
    "id": "@id",
    "name": "schema:name",
    "phone": "schema:telephone",
    "email": "schema:email",
    "address": "schema:address",
    "addressLocality": "schema:addressLocality",
    "addressRegion": "schema:addressRegion",
    "postalCode": "schema:postalCode",
    "addressCountry": "schema:addressCountry",
    "streetAddress": "schema:streetAddress",
    "location": {"@id": "schema:geo", "@type": "geo:Point"},
    "longitude": "schema:longitude",
    "latitude": "schema:latitude",
    "shortId": "onfleet:shortId",
    "pickupTask": "onfleet:pickupTask",
    "completeAfter": {"@id": "schema:validFrom", "@type": "schema:DateTime"},
    "completeBefore": {"@id": "schema:validThrough", "@type": "schema:DateTime"},
    "trackingURL": {"@id": "schema:url", "@type": "@id"},
    "eta": "onfleet:estimatedTimeOfArrival",
    "dependencies": {"@id": "onfleet:dependsOn", "@type": "@id"},
    "worker": {"@id": "onfleet:assignedTo", "@type": "@id"},
    "destination": {"@id": "schema:destination", "@type": "@id"},
    "recipients": {"@id": "schema:recipient", "@container": "@set"},
    "vehicle": {"@id": "schema:vehicle", "@type": "@id"},
    "team": {"@id": "schema:memberOf", "@type": "@id"},
    "organization": {"@id": "schema:memberOf", "@type": "@id"},
    "state": "onfleet:state",
    "metadata": "onfleet:metadata",
    "notes": "schema:description",
    "quantity": "onfleet:quantity",
    "serviceTime": "onfleet:serviceTimeSeconds",
    "vehicleType": "schema:vehicleEngine",
    "tasks": {"@id": "onfleet:tasks", "@container": "@set"},
    "startTime": {"@id": "schema:startTime", "@type": "schema:DateTime"},
    "endTime": {"@id": "schema:endTime", "@type": "schema:DateTime"},
    "trigger": "onfleet:triggerId",
    "triggerName": "onfleet:triggerName"
  }
}