DCSA Track & Trace Joins Smart Data Models: 3 Candidate Models for Container Shipping Events

Smart Data Models’ Candidates repository now includes a new candidate standard translated from the Digital Container Shipping Association (DCSA): dcsa-track-and-trace, with 3 candidate models for the events of container shipping: shipment, transport and equipment events. The DCSA Track & Trace specification is published under Apache-2.0. Like every candidate, each model comes with a JSON Schema, an NGSI-LD @context and all four example serializations (NGSI-v2 and NGSI-LD, key-values and normalized), each validated against its schema.

About DCSA Track & Trace

DCSA is the association of the major ocean container carriers, and it publishes open digital standards for the industry: booking, electronic bill of lading, vessel schedules, port calls and more. Track & Trace 2.2.0, the standard translated here, defines the events a carrier publishes about a shipment, offered both as a polling API and as subscriptions that push events as they happen.

The models

Model What it reports Attributes Event codes
ShipmentEvent Status of a booking or transport document 16 received, confirmed, issued, surrendered, on hold, released…
TransportEvent Arrival or departure of a vessel, barge, train or truck at a transport call 18 ARRI, DEPA (actual, planned or estimated), with SMDG delay reasons
EquipmentEvent What happens to a container 21 loaded, discharged, gated in/out, stuffed, stripped, inspected…

One consistent example shipment

DCSA publishes no open event data, so the examples are synthetic, and say so. They follow one fictitious shipment: a booking is confirmed, container CSQU3054383 (the sample number of ISO 6346) is loaded laden and sealed at the Port of Rotterdam, and the vessel departs on its export voyage, delayed by weather. The codes are real DCSA, UN/LOCODE and SMDG values; the vessel, voyage and booking are invented.

Translation notes

  • DCSA names, verbatim. Every field keeps its DCSA name (eventClassifierCode, equipmentReference, UNLocationCode…). Each @context maps it to its definition in the DCSA OpenAPI specification.
  • Nested where DCSA nests. The transport call (with its vessel and location), seals and document references keep their full DCSA structure.
  • Ready for geo-queries. Transport and equipment events get an NGSI-LD location (GeoJSON point) built from DCSA’s own coordinates. It is the only addition to the DCSA content.
  • Current fields only. Fields that DCSA has deprecated are left out. One small inconsistency in the specification, the document reference codes, was aligned with DCSA’s own examples and is documented in the metadata.

Try it, and tell us what’s missing

These are Candidates: first, carefully sourced translations that are not yet official Smart Data Models subjects. Before that step, the main open question is overlap with dataModel.MarineTransport (vessels, port calls, bookings and EDIFACT container gate reports) and with the SIMPLE logistics candidates. Natural next steps are DCSA’s Just-in-Time Port Call and Operational Vessel Schedules standards, which bring port operations into the picture.

Browse the models, open an issue, or send a PR:
👉 https://github.com/smart-data-models/Candidates/tree/master/standards/dcsa-track-and-trace

Bookmark the permalink.

Comments are closed.