OpenTrack · JSON-LD Context

Opentrack Context

JSON-LD context defining the semantic vocabulary for Opentrack from OpenTrack.

43 Classes 137 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/
opentrack: https://opentrack.co/schema#

Classes

ContainerTrackingRequest DomesticRailContainerTrackingRequest ContainerStatus Vessel TruckingCarrier ReceivingFacility OffDockFacility Hold HistoryEvent Location Position Point Terminal Status Account Error ErrorWithFields MasterBill ContainerRoute RouteLeg RouteLocation RouteGeometry RouteProperties TransportMode EventClassifier WebhookRegistrationRequest WebhookRegistrationSuccess Event WebhookList WebhookUpdateRequest MasterBillTrackingAccepted MasterBillTrackingRequest MasterBillStatus WebhookEvent PartnerDataPayload facilityTypeCode modeOfTransportCode equipmentEventTypeCode emptyIndicatorCode shipmentEventTypeCode shipmentDocumentInformationTypeCode eventType Success

Properties

Property Type Container
masterBillNumber string
scacCode string
referenceNumbers
customFields
account reference
timestamp dateTime
containerId string
completionReason string
officialMasterBillNumber string
masterBill reference
tradeType string
steamshipLine string
vessel reference
currentVessel reference
loadingVessel reference
loadingVoyageNumber string
voyageNumber string
vesselName string
vesselImo string
equipmentType string
containerSize string
containerType string
grossWeight decimal
itNumber string
status reference
carrierReleasedDate dateTime
customsReleasedDate dateTime
etaAtTerminal dateTime
etdFromOrigin dateTime
earlyReturnDate dateTime
cutoffDate dateTime
railEarlyReturnDate dateTime
railCutoff dateTime
shippingInstructionCutoff dateTime
lastFreeDay dateTime
lineLastFreeDay dateTime
detentionLastFreeDay dateTime
appointmentDate dateTime
demurrageOwedAtPort decimal
demurrageOwedAtPortDecimal decimal
demurrageIncurred decimal
demurrageIncurredDecimal decimal
origin reference
portOfLoading string
originPort reference
portOfDischarge string
terminalAtPortOfDischarge string
destinationPort reference
destination string
finalDestination reference
currentLocation reference
lastKnownPosition reference
lastKnownPositionDate dateTime
terminalAtDestinationPort reference
terminalAtOriginPort reference
yardLocation string
holds list
history list
timeline list
confirmedOnBoardDate dateTime
vesselArrivedDate dateTime
dischargedDate dateTime
outgatedDate dateTime
deliveredDate dateTime
emptyReturnedDate dateTime
etaAtDestination dateTime
etnAtDestination dateTime
isRailMove boolean
loadStatus string
railCarrier
finalRailStation
lastFreeDayAtRailStation dateTime
demurrageOwedAtRailStation decimal
demurrageIncurredAtRailStation decimal
trackingPage string
truckingCarrier reference
dispatchedTruckingCarrier reference
chassisNumber string
pickupNumber string
sealNumber string
deliveryAppointmentDate dateTime
receivingFacility reference
offDockFacility reference
name string
imo string
mmsi string
countryCode string
operator
scac string
firmsCode string
unlocode string
type string
code string
remarks string
amountDue integer
reportedAt dateTime
resolvedAt dateTime
milestone reference
location reference
timezone string
coordinates reference
latitude decimal
longitude decimal
address string
domain string
region string
message string
fields list
number string
masterBillId string
route list
from reference
to reference
points reference
segment string
modeOfTransport reference
eventClassifierCode reference
geometry
properties reference
state string
country string
city string
index integer
createdAt dateTime
url string
events list
secret string
callbackHeaders
id string
data list
settings
containers list
event string
changes
sentAt string
success string
boolean boolean

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://opentrack.co/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "opentrack": "https://opentrack.co/schema#",
    "ContainerTrackingRequest": "opentrack:ContainerTrackingRequest",
    "masterBillNumber": {
      "@id": "opentrack:masterBillNumber",
      "@type": "xsd:string"
    },
    "scacCode": {
      "@id": "opentrack:scacCode",
      "@type": "xsd:string"
    },
    "referenceNumbers": {
      "@id": "opentrack:referenceNumbers"
    },
    "customFields": {
      "@id": "opentrack:customFields"
    },
    "DomesticRailContainerTrackingRequest": "opentrack:DomesticRailContainerTrackingRequest",
    "ContainerStatus": "opentrack:ContainerStatus",
    "account": {
      "@id": "opentrack:account",
      "@type": "@id"
    },
    "timestamp": {
      "@id": "opentrack:timestamp",
      "@type": "xsd:dateTime"
    },
    "containerId": {
      "@id": "opentrack:containerId",
      "@type": "xsd:string"
    },
    "completionReason": {
      "@id": "opentrack:completionReason",
      "@type": "xsd:string"
    },
    "officialMasterBillNumber": {
      "@id": "opentrack:officialMasterBillNumber",
      "@type": "xsd:string"
    },
    "masterBill": {
      "@id": "opentrack:masterBill",
      "@type": "@id"
    },
    "tradeType": {
      "@id": "opentrack:tradeType",
      "@type": "xsd:string"
    },
    "steamshipLine": {
      "@id": "opentrack:steamshipLine",
      "@type": "xsd:string"
    },
    "vessel": {
      "@id": "opentrack:vessel",
      "@type": "@id"
    },
    "currentVessel": {
      "@id": "opentrack:currentVessel",
      "@type": "@id"
    },
    "loadingVessel": {
      "@id": "opentrack:loadingVessel",
      "@type": "@id"
    },
    "loadingVoyageNumber": {
      "@id": "opentrack:loadingVoyageNumber",
      "@type": "xsd:string"
    },
    "voyageNumber": {
      "@id": "opentrack:voyageNumber",
      "@type": "xsd:string"
    },
    "vesselName": {
      "@id": "opentrack:vesselName",
      "@type": "xsd:string"
    },
    "vesselImo": {
      "@id": "opentrack:vesselImo",
      "@type": "xsd:string"
    },
    "equipmentType": {
      "@id": "opentrack:equipmentType",
      "@type": "xsd:string"
    },
    "containerSize": {
      "@id": "opentrack:containerSize",
      "@type": "xsd:string"
    },
    "containerType": {
      "@id": "opentrack:containerType",
      "@type": "xsd:string"
    },
    "grossWeight": {
      "@id": "opentrack:grossWeight",
      "@type": "xsd:decimal"
    },
    "itNumber": {
      "@id": "opentrack:itNumber",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "opentrack:status",
      "@type": "@id"
    },
    "carrierReleasedDate": {
      "@id": "opentrack:carrierReleasedDate",
      "@type": "xsd:dateTime"
    },
    "customsReleasedDate": {
      "@id": "opentrack:customsReleasedDate",
      "@type": "xsd:dateTime"
    },
    "etaAtTerminal": {
      "@id": "opentrack:etaAtTerminal",
      "@type": "xsd:dateTime"
    },
    "etdFromOrigin": {
      "@id": "opentrack:etdFromOrigin",
      "@type": "xsd:dateTime"
    },
    "earlyReturnDate": {
      "@id": "opentrack:earlyReturnDate",
      "@type": "xsd:dateTime"
    },
    "cutoffDate": {
      "@id": "opentrack:cutoffDate",
      "@type": "xsd:dateTime"
    },
    "railEarlyReturnDate": {
      "@id": "opentrack:railEarlyReturnDate",
      "@type": "xsd:dateTime"
    },
    "railCutoff": {
      "@id": "opentrack:railCutoff",
      "@type": "xsd:dateTime"
    },
    "shippingInstructionCutoff": {
      "@id": "opentrack:shippingInstructionCutoff",
      "@type": "xsd:dateTime"
    },
    "lastFreeDay": {
      "@id": "opentrack:lastFreeDay",
      "@type": "xsd:dateTime"
    },
    "lineLastFreeDay": {
      "@id": "opentrack:lineLastFreeDay",
      "@type": "xsd:dateTime"
    },
    "detentionLastFreeDay": {
      "@id": "opentrack:detentionLastFreeDay",
      "@type": "xsd:dateTime"
    },
    "appointmentDate": {
      "@id": "opentrack:appointmentDate",
      "@type": "xsd:dateTime"
    },
    "demurrageOwedAtPort": {
      "@id": "opentrack:demurrageOwedAtPort",
      "@type": "xsd:decimal"
    },
    "demurrageOwedAtPortDecimal": {
      "@id": "opentrack:demurrageOwedAtPortDecimal",
      "@type": "xsd:decimal"
    },
    "demurrageIncurred": {
      "@id": "opentrack:demurrageIncurred",
      "@type": "xsd:decimal"
    },
    "demurrageIncurredDecimal": {
      "@id": "opentrack:demurrageIncurredDecimal",
      "@type": "xsd:decimal"
    },
    "origin": {
      "@id": "opentrack:origin",
      "@type": "@id"
    },
    "portOfLoading": {
      "@id": "opentrack:portOfLoading",
      "@type": "xsd:string"
    },
    "originPort": {
      "@id": "opentrack:originPort",
      "@type": "@id"
    },
    "portOfDischarge": {
      "@id": "opentrack:portOfDischarge",
      "@type": "xsd:string"
    },
    "terminalAtPortOfDischarge": {
      "@id": "opentrack:terminalAtPortOfDischarge",
      "@type": "xsd:string"
    },
    "destinationPort": {
      "@id": "opentrack:destinationPort",
      "@type": "@id"
    },
    "destination": {
      "@id": "opentrack:destination",
      "@type": "xsd:string"
    },
    "finalDestination": {
      "@id": "opentrack:finalDestination",
      "@type": "@id"
    },
    "currentLocation": {
      "@id": "opentrack:currentLocation",
      "@type": "@id"
    },
    "lastKnownPosition": {
      "@id": "opentrack:lastKnownPosition",
      "@type": "@id"
    },
    "lastKnownPositionDate": {
      "@id": "opentrack:lastKnownPositionDate",
      "@type": "xsd:dateTime"
    },
    "terminalAtDestinationPort": {
      "@id": "opentrack:terminalAtDestinationPort",
      "@type": "@id"
    },
    "terminalAtOriginPort": {
      "@id": "opentrack:terminalAtOriginPort",
      "@type": "@id"
    },
    "yardLocation": {
      "@id": "opentrack:yardLocation",
      "@type": "xsd:string"
    },
    "holds": {
      "@id": "opentrack:holds",
      "@container": "@list"
    },
    "history": {
      "@id": "opentrack:history",
      "@container": "@list"
    },
    "timeline": {
      "@id": "opentrack:timeline",
      "@container": "@list"
    },
    "confirmedOnBoardDate": {
      "@id": "opentrack:confirmedOnBoardDate",
      "@type": "xsd:dateTime"
    },
    "vesselArrivedDate": {
      "@id": "opentrack:vesselArrivedDate",
      "@type": "xsd:dateTime"
    },
    "dischargedDate": {
      "@id": "opentrack:dischargedDate",
      "@type": "xsd:dateTime"
    },
    "outgatedDate": {
      "@id": "opentrack:outgatedDate",
      "@type": "xsd:dateTime"
    },
    "deliveredDate": {
      "@id": "opentrack:deliveredDate",
      "@type": "xsd:dateTime"
    },
    "emptyReturnedDate": {
      "@id": "opentrack:emptyReturnedDate",
      "@type": "xsd:dateTime"
    },
    "etaAtDestination": {
      "@id": "opentrack:etaAtDestination",
      "@type": "xsd:dateTime"
    },
    "etnAtDestination": {
      "@id": "opentrack:etnAtDestination",
      "@type": "xsd:dateTime"
    },
    "isRailMove": {
      "@id": "opentrack:isRailMove",
      "@type": "xsd:boolean"
    },
    "loadStatus": {
      "@id": "opentrack:loadStatus",
      "@type": "xsd:string"
    },
    "railCarrier": {
      "@id": "opentrack:railCarrier"
    },
    "finalRailStation": {
      "@id": "opentrack:finalRailStation"
    },
    "lastFreeDayAtRailStation": {
      "@id": "opentrack:lastFreeDayAtRailStation",
      "@type": "xsd:dateTime"
    },
    "demurrageOwedAtRailStation": {
      "@id": "opentrack:demurrageOwedAtRailStation",
      "@type": "xsd:decimal"
    },
    "demurrageIncurredAtRailStation": {
      "@id": "opentrack:demurrageIncurredAtRailStation",
      "@type": "xsd:decimal"
    },
    "trackingPage": {
      "@id": "opentrack:trackingPage",
      "@type": "xsd:string"
    },
    "truckingCarrier": {
      "@id": "opentrack:truckingCarrier",
      "@type": "@id"
    },
    "dispatchedTruckingCarrier": {
      "@id": "opentrack:dispatchedTruckingCarrier",
      "@type": "@id"
    },
    "chassisNumber": {
      "@id": "opentrack:chassisNumber",
      "@type": "xsd:string"
    },
    "pickupNumber": {
      "@id": "opentrack:pickupNumber",
      "@type": "xsd:string"
    },
    "sealNumber": {
      "@id": "opentrack:sealNumber",
      "@type": "xsd:string"
    },
    "deliveryAppointmentDate": {
      "@id": "opentrack:deliveryAppointmentDate",
      "@type": "xsd:dateTime"
    },
    "receivingFacility": {
      "@id": "opentrack:receivingFacility",
      "@type": "@id"
    },
    "offDockFacility": {
      "@id": "opentrack:offDockFacility",
      "@type": "@id"
    },
    "Vessel": "opentrack:Vessel",
    "name": {
      "@id": "opentrack:name",
      "@type": "xsd:string"
    },
    "imo": {
      "@id": "opentrack:imo",
      "@type": "xsd:string"
    },
    "mmsi": {
      "@id": "opentrack:mmsi",
      "@type": "xsd:string"
    },
    "countryCode": {
      "@id": "opentrack:countryCode",
      "@type": "xsd:string"
    },
    "operator": {
      "@id": "opentrack:operator"
    },
    "TruckingCarrier": "opentrack:TruckingCarrier",
    "scac": {
      "@id": "opentrack:scac",
      "@type": "xsd:string"
    },
    "ReceivingFacility": "opentrack:ReceivingFacility",
    "firmsCode": {
      "@id": "opentrack:firmsCode",
      "@type": "xsd:string"
    },
    "OffDockFacility": "opentrack:OffDockFacility",
    "unlocode": {
      "@id": "opentrack:unlocode",
      "@type": "xsd:string"
    },
    "Hold": "opentrack:Hold",
    "type": {
      "@id": "opentrack:type",
      "@type": "xsd:string"
    },
    "code": {
      "@id": "opentrack:code",
      "@type": "xsd:string"
    },
    "remarks": {
      "@id": "opentrack:remarks",
      "@type": "xsd:string"
    },
    "amountDue": {
      "@id": "opentrack:amountDue",
      "@type": "xsd:integer"
    },
    "reportedAt": {
      "@id": "opentrack:reportedAt",
      "@type": "xsd:dateTime"
    },
    "resolvedAt": {
      "@id": "opentrack:resolvedAt",
      "@type": "xsd:dateTime"
    },
    "HistoryEvent": "opentrack:HistoryEvent",
    "milestone": {
      "@id": "opentrack:milestone",
      "@type": "@id"
    },
    "location": {
      "@id": "opentrack:location",
      "@type": "@id"
    },
    "Location": "opentrack:Location",
    "timezone": {
      "@id": "opentrack:timezone",
      "@type": "xsd:string"
    },
    "coordinates": {
      "@id": "opentrack:coordinates",
      "@type": "@id"
    },
    "Position": "opentrack:Position",
    "Point": "opentrack:Point",
    "latitude": {
      "@id": "opentrack:latitude",
      "@type": "xsd:decimal"
    },
    "longitude": {
      "@id": "opentrack:longitude",
      "@type": "xsd:decimal"
    },
    "Terminal": "opentrack:Terminal",
    "address": {
      "@id": "opentrack:address",
      "@type": "xsd:string"
    },
    "Status": "opentrack:Status",
    "Account": "opentrack:Account",
    "domain": {
      "@id": "opentrack:domain",
      "@type": "xsd:string"
    },
    "region": {
      "@id": "opentrack:region",
      "@type": "xsd:string"
    },
    "Error": "opentrack:Error",
    "message": {
      "@id": "opentrack:message",
      "@type": "xsd:string"
    },
    "ErrorWithFields": "opentrack:ErrorWithFields",
    "fields": {
      "@id": "opentrack:fields",
      "@container": "@list"
    },
    "MasterBill": "opentrack:MasterBill",
    "number": {
      "@id": "opentrack:number",
      "@type": "xsd:string"
    },
    "ContainerRoute": "opentrack:ContainerRoute",
    "masterBillId": {
      "@id": "opentrack:masterBillId",
      "@type": "xsd:string"
    },
    "route": {
      "@id": "opentrack:route",
      "@container": "@list"
    },
    "RouteLeg": "opentrack:RouteLeg",
    "from": {
      "@id": "opentrack:from",
      "@type": "@id"
    },
    "to": {
      "@id": "opentrack:to",
      "@type": "@id"
    },
    "points": {
      "@id": "opentrack:points",
      "@type": "@id"
    },
    "segment": {
      "@id": "opentrack:segment",
      "@type": "xsd:string"
    },
    "modeOfTransport": {
      "@id": "opentrack:modeOfTransport",
      "@type": "@id"
    },
    "eventClassifierCode": {
      "@id": "opentrack:eventClassifierCode",
      "@type": "@id"
    },
    "RouteLocation": "opentrack:RouteLocation",
    "geometry": {
      "@id": "opentrack:geometry"
    },
    "properties": {
      "@id": "opentrack:properties",
      "@type": "@id"
    },
    "RouteGeometry": "opentrack:RouteGeometry",
    "RouteProperties": "opentrack:RouteProperties",
    "state": {
      "@id": "opentrack:state",
      "@type": "xsd:string"
    },
    "country": {
      "@id": "opentrack:country",
      "@type": "xsd:string"
    },
    "city": {
      "@id": "opentrack:city",
      "@type": "xsd:string"
    },
    "index": {
      "@id": "opentrack:index",
      "@type": "xsd:integer"
    },
    "createdAt": {
      "@id": "opentrack:createdAt",
      "@type": "xsd:dateTime"
    },
    "TransportMode": "opentrack:TransportMode",
    "EventClassifier": "opentrack:EventClassifier",
    "WebhookRegistrationRequest": "opentrack:WebhookRegistrationRequest",
    "url": {
      "@id": "opentrack:url",
      "@type": "xsd:string"
    },
    "events": {
      "@id": "opentrack:events",
      "@container": "@list"
    },
    "secret": {
      "@id": "opentrack:secret",
      "@type": "xsd:string"
    },
    "callbackHeaders": {
      "@id": "opentrack:callbackHeaders"
    },
    "WebhookRegistrationSuccess": "opentrack:WebhookRegistrationSuccess",
    "id": {
      "@id": "opentrack:id",
      "@type": "xsd:string"
    },
    "Event": "opentrack:Event",
    "WebhookList": "opentrack:WebhookList",
    "data": {
      "@id": "opentrack:data",
      "@container": "@list"
    },
    "WebhookUpdateRequest": "opentrack:WebhookUpdateRequest",
    "MasterBillTrackingAccepted": "opentrack:MasterBillTrackingAccepted",
    "MasterBillTrackingRequest": "opentrack:MasterBillTrackingRequest",
    "MasterBillStatus": "opentrack:MasterBillStatus",
    "settings": {
      "@id": "opentrack:settings"
    },
    "containers": {
      "@id": "opentrack:containers",
      "@container": "@list"
    },
    "WebhookEvent": "opentrack:WebhookEvent",
    "event": {
      "@id": "opentrack:event",
      "@type": "xsd:string"
    },
    "changes": {
      "@id": "opentrack:changes"
    },
    "sentAt": {
      "@id": "opentrack:sentAt",
      "@type": "xsd:string"
    },
    "PartnerDataPayload": "opentrack:PartnerDataPayload",
    "facilityTypeCode": "opentrack:facilityTypeCode",
    "modeOfTransportCode": "opentrack:modeOfTransportCode",
    "equipmentEventTypeCode": "opentrack:equipmentEventTypeCode",
    "emptyIndicatorCode": "opentrack:emptyIndicatorCode",
    "shipmentEventTypeCode": "opentrack:shipmentEventTypeCode",
    "shipmentDocumentInformationTypeCode": "opentrack:shipmentDocumentInformationTypeCode",
    "eventType": "opentrack:eventType",
    "Success": "opentrack:Success",
    "success": {
      "@id": "opentrack:success",
      "@type": "xsd:string"
    },
    "boolean": {
      "@id": "opentrack:boolean",
      "@type": "xsd:boolean"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "OpenTrack API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects OpenTrack'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-15) from openapi/opentrack-api-openapi.yml, openapi/opentrack-partner-data-ingestion-api-openapi.yml.",
  "dcterms:created": "2026-11-15",
  "dcterms:source": [
    "openapi/opentrack-api-openapi.yml",
    "openapi/opentrack-partner-data-ingestion-api-openapi.yml"
  ]
}