The cargowise schema turns source evidence into current business records and explicit
relationships.
Use Reporting for normal reports, Power BI, exports, and reusable SQL. Use
cargowise when a complex consultation needs a root, detail, or relationship that reporting does
not expose.
When to use CargoWise
The schema includes consols, bookings, operational shipment details, documents, air waybill data,
and other structures outside the smaller reporting contract.
Direct CargoWise queries must select the active generation and preserve each table’s grain and
ownership rules. Internal table shapes can change as projection support grows.
Business records
The schema has four roots: shipments, consols, bookings, and one-off quotes. Detail tables can
belong to one supported root. Bridge tables keep relationships proven by CargoWise data.
The model does not create relationships from matching names, dates, routes, or amounts.
Generations
Unknown data
Unknown XML evidence remains in source_data. Scalar values can still appear through
reporting.source_fields. Structured data stays in the source layer until the CargoWise and
reporting contracts support it.
Next, read Reporting for the smaller model used by normal reports.