Tables Description

No models match your search.

dm_tni
Description:

Business Purpose

The dm_tni mart captures billable transaction/tariff line items ("Transaction & Invoicing" charges) raised against objects (AWBs, ULDs, flights) — the source detail that invoice lines are ultimately generated from.

Core Business Logic & Rules

  • Tariff-driven: Each transaction is priced against a tariff_code/tariff_group, with amounts expressed in both the shed's base currency and the transaction currency.
  • Object linkage: Every transaction is tied to an object_isn/object_type/object_mode, connecting the charge back to the specific AWB, ULD, or flight that incurred it.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

—
header_isn

[ID] The Hermes Serial Number identifying the parent header record.

—
type

[CLASSIFICATION] The type of transaction/charge (e.g., LOCAL CHARGE).

—
tariff_code

[DIMENSION] The tariff code applied to the transaction (e.g., TERMINAL HANDLING (ITF)).

—
tariff_group_isn

[ID] The Hermes Serial Number of the tariff group.

—
tariff_group_identifier

[DIMENSION] The business identifier of the tariff group (e.g., IM300293342342233).

—
tariff_group_type

[CLASSIFICATION] The type of tariff group (e.g., TONNAGE).

—
tariff_group_type_translation

[DIMENSION] The locally-translated label of the tariff group type (e.g., Tonnage Import).

—
description

[DIMENSION] The free-text description of the transaction (e.g., Import Terminal Handling Fee).

—
fixed_charge

[FLAG] Indicates whether the charge is a fixed amount rather than a calculated/variable one.

—
base_amount

[METRIC] The monetary amount expressed in the shed's base currency.

—
currency_amount

[METRIC] The monetary amount expressed in the transaction's own currency.

—
currency

[DIMENSION] The ISO currency code of the transaction (e.g., AUD).

—
currency_rate

[METRIC] The exchange rate applied between the transaction currency and the shed base currency.

—
tax_code_isn

[ID] The Hermes Serial Number of the tax code applied.

—
tax_code_description

[DIMENSION] The description of the tax code applied (e.g., VAT exempt per art. 43.1,44.1 G0).

—
tax_code_percent

[METRIC] The tax rate percentage applied by the tax code.

—
customer_isn

[ID] The Hermes Serial Number of the payee/customer on the transaction.

—
customer_name

[DIMENSION] The name of the payee/customer.

—
customer_type

[CLASSIFICATION] The type of the payee/customer (e.g., agent, AIRLINE).

—
customer_is_cash_payer

[FLAG] Indicates whether the payee is a cash-paying customer.

—
object_carrier

[DIMENSION] The IATA carrier code of the object the record relates to.

—
object_isn

[ID] The Hermes Serial Number of the object (AWB, ULD, flight, etc.) the record relates to.

—
object_type

[CLASSIFICATION] The type of object the record relates to (e.g., AWB, ULD, FLIGHT).

—
object_mode

[CLASSIFICATION] The handling direction of the object: IMPORT or EXPORT.

—
object_name

[DIMENSION] The human-readable name of the object (AWB Number, ULD Number, HAWB Number, etc.).

—
object_date

[DIMENSION] The date associated with the object (flight date for flights, transaction creation date otherwise).

—
object_ready_to_invoice_timestamp

[TIMESTAMP] The timestamp from which the object became eligible to be invoiced.

—
dm_export_service_recovery_detail
Description:

Business Purpose

This mart family (dm_export_service_recovery_* / dm_import_service_recovery_*) tracks shipments moved into Service Recovery — the exception-handling workflow triggered when an AWB's normal warehouse cycle fails (e.g. an unplanned offload). It exposes the header of the recovery event, the checklist/task detail steps taken to resolve it, the affected AWB, and the associated flight.

Core Business Logic & Rules

  • Header / Detail split: One Service Recovery header (service_recovery_header_isn) can have many detail checklist tasks, each tracked against a time-to-failure allowance.
  • Direction: The export and import variants share an identical structure; only the underlying flight/AWB source direction differs.
  • Resolution flags: moved_to_standard_recovery_cycle and removed_from_service_recovery indicate how the exception was ultimately closed out.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

numeric(10,0)
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

text
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

timestamp without time zone
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

numeric(10,0)
service_recovery_header_isn

[ID] The Service Recovery Header Hermes Serial Number, uniquely identifying a single recovery event for an AWB.

numeric(14,0)
detail_isn

[ID] The Detail Hermes Serial Number, identifying an individual checklist task within a Service Recovery header.

numeric(14,0)
task_isn

[ID] The Task Hermes Serial Number.

numeric(14,0)
task_sequence

[DIMENSION] The sequence number of this task within the Service Recovery checklist.

smallint
warehouse_status

[CLASSIFICATION] The warehouse status recorded at the time of the recovery task (e.g., NORMAL).

character varying(10)
task_name

[DIMENSION] The description of the checklist task (e.g., Send Discrepancy message).

character varying(500)
task_completed

[FLAG] Indicates whether the task has been completed.

smallint
task_total_hours_before_failure

[METRIC] The total allocated hours for the task to be completed before it is considered failed.

numeric(5,1)
task_resolved

[FLAG] Indicates whether the task/checklist item has been resolved.

smallint
dm_invoice_line
Description:

Business Purpose

This mart family (dm_invoice_header, dm_invoice_line, dm_invoice_line_split) represents finalized customer invoices generated from billable transactions, including how each line's revenue is split across departments/service types for accounting purposes.

Core Business Logic & Rules

  • Grain: One dm_invoice_header row per invoice; one dm_invoice_line row per charge line on that invoice; one dm_invoice_line_split row per revenue-department allocation of a line.
  • Run tracking: run_isn/run_date/run_type identify the batch invoice run that produced the invoice, useful for reconciling regenerated or re-run invoice batches.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
header_isn

[ID] The Hermes Serial Number identifying the parent header record.

—
isn

[ID] The Invoice Line Hermes Serial Number.

—
line_number

[DIMENSION] The sequential line number of the charge within the invoice.

—
description

[DIMENSION] The description of the invoice line charge (e.g., Warehouse Handling Loose).

—
base_amount

[METRIC] The monetary amount expressed in the shed's base currency.

—
currency_amount

[METRIC] The monetary amount expressed in the transaction's own currency.

—
currency

[DIMENSION] The ISO currency code of the transaction (e.g., AUD).

—
currency_rate

[METRIC] The exchange rate applied between the transaction currency and the shed base currency.

—
currency_rate_date

[TIMESTAMP] The date the currency exchange rate used on the line was sourced from.

—
tax_amount

[METRIC] The monetary tax amount calculated for the line/transaction.

—
tax_code_isn

[ID] The Hermes Serial Number of the tax code applied.

—
tax_code_description

[DIMENSION] The description of the tax code applied (e.g., VAT exempt per art. 43.1,44.1 G0).

—
tax_code_percent

[METRIC] The tax rate percentage applied by the tax code.

—
tariff_group_isn

[ID] The Hermes Serial Number of the tariff group.

—
tariff_group_identifier

[DIMENSION] The business identifier of the tariff group (e.g., IM300293342342233).

—
tariff_group_type

[CLASSIFICATION] The type of tariff group (e.g., TONNAGE).

—
tariff_group_type_translation

[DIMENSION] The locally-translated label of the tariff group type (e.g., Tonnage Import).

—
object_isn

[ID] The Hermes Serial Number of the object (AWB, ULD, flight, etc.) the record relates to.

—
object_mode

[CLASSIFICATION] The handling direction of the object: IMPORT or EXPORT.

—
object_type

[CLASSIFICATION] The type of object the record relates to (e.g., AWB, ULD, FLIGHT).

—
object_name

[DIMENSION] The human-readable name of the object (AWB Number, ULD Number, HAWB Number, etc.).

—
object_carrier

[DIMENSION] The IATA carrier code of the object the record relates to.

—
dm_invoice_line_split
Description:

Business Purpose

This mart family (dm_invoice_header, dm_invoice_line, dm_invoice_line_split) represents finalized customer invoices generated from billable transactions, including how each line's revenue is split across departments/service types for accounting purposes.

Core Business Logic & Rules

  • Grain: One dm_invoice_header row per invoice; one dm_invoice_line row per charge line on that invoice; one dm_invoice_line_split row per revenue-department allocation of a line.
  • Run tracking: run_isn/run_date/run_type identify the batch invoice run that produced the invoice, useful for reconciling regenerated or re-run invoice batches.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

numeric(14,0)
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

text
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

timestamp without time zone
header_isn

[ID] The Hermes Serial Number identifying the parent header record.

numeric(14,0)
line_isn

[ID] The Invoice Line Hermes Serial Number.

numeric(14,0)
department

[DIMENSION] The department a portion of the invoice line's revenue is allocated to.

character varying(50)
service_type

[DIMENSION] The service type code for the revenue split.

text
revenue_code

[DIMENSION] The revenue code for the revenue split (e.g., STOR1).

character varying(50)
percentage

[METRIC] The percentage of the invoice line's value allocated to this revenue split.

numeric(7,4)
base_amount

[METRIC] The monetary amount expressed in the shed's base currency.

numeric
currency_amount

[METRIC] The monetary amount expressed in the transaction's own currency.

numeric
tax_amount

[METRIC] The monetary tax amount calculated for the line/transaction.

numeric
dm_import_service_recovery_flight
Description:

Business Purpose

This mart family (dm_export_service_recovery_* / dm_import_service_recovery_*) tracks shipments moved into Service Recovery — the exception-handling workflow triggered when an AWB's normal warehouse cycle fails (e.g. an unplanned offload). It exposes the header of the recovery event, the checklist/task detail steps taken to resolve it, the affected AWB, and the associated flight.

Core Business Logic & Rules

  • Header / Detail split: One Service Recovery header (service_recovery_header_isn) can have many detail checklist tasks, each tracked against a time-to-failure allowance.
  • Direction: The export and import variants share an identical structure; only the underlying flight/AWB source direction differs.
  • Resolution flags: moved_to_standard_recovery_cycle and removed_from_service_recovery indicate how the exception was ultimately closed out.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

—
service_recovery_header_isn

[ID] The Service Recovery Header Hermes Serial Number, uniquely identifying a single recovery event for an AWB.

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
airline_code

[DIMENSION] The two-character standard IATA code identifying the operating airline (e.g., LH for Lufthansa).

—
flight_number

[DIMENSION] The operational flight number identifier string assigned to the scheduled route.

—
flight_date

[DIMENSION] The targeted operation date of the flight. Restructured to reflect the local calendar date only.

—
destination

[DIMENSION] The 3-letter IATA airport code representing the destination of the flight or shipment.

—
routing_airport1

[DIMENSION] The IATA code for the first leg stopover airport. * Note: This value evaluates to NULL if the journey is a direct, single-leg flight.

—
routing_airport2

[DIMENSION] The IATA code for the second leg stopover airport. * Note: This value evaluates to NULL if the flight does not require a second stopover.

—
routing_airport3

[DIMENSION] The IATA code for the third leg stopover airport. * Note: This value evaluates to NULL if the flight does not require a third stopover.

—
scheduled

[TIMESTAMP] The baseline publication time when the flight was officially scheduled to take off. Format: ISO 8601.

—
departed

[TIMESTAMP] The verified point-in-time recording when the aircraft initiated active departure. Format: ISO 8601.

—
expected

[TIMESTAMP] The dynamic, real-time forecast estimation of when the flight will complete its routing. Format: ISO 8601.

—
vehicle_registration

[DIMENSION] The unique external alphanumeric tail number/registration marking assigned to the physical aircraft (e.g., N581JN).

—
vehicle_type

[CLASSIFICATION] The primary classification mode of the transit vessel. * PASSENGER: Commercial citizen transport flight. * CARGO: Dedicated freight logistics flight. * TRUCK: Used strictly for inter-shed ground transfer routing.

—
vehicle_variant

[DIMENSION] The structural aircraft design variant code specifying the technical fleet asset class (e.g., A380).

—
dm_export_flight_container
Description:

Business Purpose

This mart family (dm_import_flight_container, dm_import_flight_container_content, dm_import_flight_container_content_group, dm_export_flight_container, dm_export_flight_container_content) tracks ULDs (or loose "LOOSE" cargo) built onto a flight, the AWB shipments contained within each ULD, and the piece-level groupings within each shipment — enabling piece/weight reconciliation between what was manifested and what was actually loaded.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

—
delivered_intact

[FLAG] Indicates whether the ULD was delivered intact.

—
flight_date

[DIMENSION] The targeted operation date of the flight. Restructured to reflect the local calendar date only.

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
intact

[FLAG] Indicates whether the ULD was intact.

—
uld_contour_code

[DIMENSION] The contour identifier of the ULD.

—
uld_isn

[ID] The ULD (Unit Load Device / container or pallet) Hermes Serial Number.

—
uld_name

[DIMENSION] The name/identifier of the ULD (e.g., DKH-28072-LH).

—
uld_warehouse

[DIMENSION] The current warehouse location code holding the ULD (e.g., PCF).

—
dm_import_flight_container
Description:

Business Purpose

This mart family (dm_import_flight_container, dm_import_flight_container_content, dm_import_flight_container_content_group, dm_export_flight_container, dm_export_flight_container_content) tracks ULDs (or loose "LOOSE" cargo) built onto a flight, the AWB shipments contained within each ULD, and the piece-level groupings within each shipment — enabling piece/weight reconciliation between what was manifested and what was actually loaded.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
flight_date

[DIMENSION] The targeted operation date of the flight. Restructured to reflect the local calendar date only.

—
uld_isn

[ID] The ULD (Unit Load Device / container or pallet) Hermes Serial Number.

—
uld_name

[DIMENSION] The name/identifier of the ULD (e.g., DKH-28072-LH).

—
intact

[FLAG] Indicates whether the ULD was intact.

—
delivered_intact

[FLAG] Indicates whether the ULD was delivered intact.

—
uld_warehouse

[DIMENSION] The current warehouse location code holding the ULD (e.g., PCF).

—
uld_contour_code

[DIMENSION] The contour identifier of the ULD.

—
dm_export_service_recovery_awb
Description:

Business Purpose

This mart family (dm_export_service_recovery_* / dm_import_service_recovery_*) tracks shipments moved into Service Recovery — the exception-handling workflow triggered when an AWB's normal warehouse cycle fails (e.g. an unplanned offload). It exposes the header of the recovery event, the checklist/task detail steps taken to resolve it, the affected AWB, and the associated flight.

Core Business Logic & Rules

  • Header / Detail split: One Service Recovery header (service_recovery_header_isn) can have many detail checklist tasks, each tracked against a time-to-failure allowance.
  • Direction: The export and import variants share an identical structure; only the underlying flight/AWB source direction differs.
  • Resolution flags: moved_to_standard_recovery_cycle and removed_from_service_recovery indicate how the exception was ultimately closed out.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

numeric(10,0)
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

numeric(10,0)
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

timestamp without time zone
station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

text
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

numeric(10,0)
awb_number

[DIMENSION] The Airwaybill Number (carrier prefix + serial), e.g. 297-74923645.

text
hawb_number

[DIMENSION] The House Airwaybill Number, populated for consolidated shipments moving under a master AWB.

text
origin

[DIMENSION] The 3-letter IATA airport code representing the point of origin for the flight (e.g., LHR for London Heathrow).

character varying(5)
destination

[DIMENSION] The 3-letter IATA airport code representing the destination of the flight or shipment.

character varying(5)
content

[DIMENSION] Free-text description of the shipment's cargo content (e.g., CARPETS, CONSOL).

character varying(50)
agent_isn

[ID] The Nominated Agent Hermes Serial Number.

integer
agent_code

[DIMENSION] The Nominated Agent Hermes Code.

character varying(3)
agent_name

[DIMENSION] The Nominated Agent's name.

character varying(100)
shcs

[DIMENSION] The list of Special Handling Codes (SHCs) attached to the shipment's pieces.

text
dm_import_service_recovery_detail
Description:

Business Purpose

This mart family (dm_export_service_recovery_* / dm_import_service_recovery_*) tracks shipments moved into Service Recovery — the exception-handling workflow triggered when an AWB's normal warehouse cycle fails (e.g. an unplanned offload). It exposes the header of the recovery event, the checklist/task detail steps taken to resolve it, the affected AWB, and the associated flight.

Core Business Logic & Rules

  • Header / Detail split: One Service Recovery header (service_recovery_header_isn) can have many detail checklist tasks, each tracked against a time-to-failure allowance.
  • Direction: The export and import variants share an identical structure; only the underlying flight/AWB source direction differs.
  • Resolution flags: moved_to_standard_recovery_cycle and removed_from_service_recovery indicate how the exception was ultimately closed out.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

numeric(10,0)
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

text
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

timestamp without time zone
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

numeric(10,0)
service_recovery_header_isn

[ID] The Service Recovery Header Hermes Serial Number, uniquely identifying a single recovery event for an AWB.

numeric(14,0)
detail_isn

[ID] The Detail Hermes Serial Number, identifying an individual checklist task within a Service Recovery header.

numeric(14,0)
task_isn

[ID] The Task Hermes Serial Number.

numeric(14,0)
task_sequence

[DIMENSION] The sequence number of this task within the Service Recovery checklist.

smallint
warehouse_status

[CLASSIFICATION] The warehouse status recorded at the time of the recovery task (e.g., NORMAL).

character varying(10)
task_name

[DIMENSION] The description of the checklist task (e.g., Send Discrepancy message).

character varying(500)
task_completed

[FLAG] Indicates whether the task has been completed.

smallint
task_total_hours_before_failure

[METRIC] The total allocated hours for the task to be completed before it is considered failed.

numeric(5,1)
task_resolved

[FLAG] Indicates whether the task/checklist item has been resolved.

smallint
dm_charge_adjustments
Description:

Business Purpose

The dm_charge_adjustments mart is an audit trail of manual changes made to charges on AWBs, flights, and ULDs — who changed what, from what amount to what amount, and why.

Core Business Logic & Rules

  • Audit grain: One row per individual charge amendment event, keyed by row_sk.
  • Traceability: Every adjustment records the acting employee (employee_isn, user_first_name, user_last_name) alongside a free-text history_line remark and change_description.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
row_sk

—

—
employee_isn

[ID] The Hermes Serial Number of the employee who made the adjustment.

—
new_amount

[METRIC] The charge amount after the adjustment.

—
object_isn

[ID] The Hermes Serial Number of the object (AWB, ULD, flight, etc.) the record relates to.

—
old_amount

[METRIC] The charge amount prior to the adjustment.

—
amendment_date_timestamp

[TIMESTAMP] The timestamp when the charge amendment/transaction was created.

—
change_description

[DIMENSION] A description of what was changed (e.g., charge added).

—
charge

[DIMENSION] The name of the charge type affected by the adjustment (e.g., FREIGHT WEIGHT).

—
history_line

[DIMENSION] A free-text remark logged against the adjustment (e.g., charge is fixed).

—
object_name

[DIMENSION] The human-readable name of the object (AWB Number, ULD Number, HAWB Number, etc.).

—
station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

—
object_mode

[CLASSIFICATION] The handling direction of the object: IMPORT or EXPORT.

—
object_type

[CLASSIFICATION] The type of object the record relates to (e.g., AWB, ULD, FLIGHT).

—
user_first_name

[DIMENSION] The first name of the employee who made the adjustment.

—
user_last_name

[DIMENSION] The last name of the employee who made the adjustment.

—
dm_import_object_journey_uld
Description:

Business Purpose

This mart family (dm_export_object_journey_* / dm_import_object_journey_*) provides end-to-end milestone tracking for the three core objects moving through the warehouse: flights, ULDs (containers/pallets), and AWBs. It stitches together every message and handling milestone — from first document receipt through buildup, loading, closing, and delivery — to measure schedule adherence and operational SLA performance across the export/import journey.

Core Business Logic & Rules

  • Object grain: The flight-level model captures one row per flight; the ULD-level model one row per flight/ULD; the AWB-level model one row per flight/ULD/AWB — mirroring the nesting of the source data (flight → ULDs → AWBs).
  • Milestone pairs: Many milestones are tracked as first_*/last_* pairs (e.g. first_piece_received/last_piece_received) to capture the earliest and most recent occurrence across potentially multiple partial events.
  • Message milestones: Fields such as first_fwb_sent, first_ffm_sent, first_ucm_sent, first_luc_sent, last_not_sent record when specific IATA cargo messages (FWB, FHL, FFM, UCM, LUC, NOT, UWS, etc.) were transmitted.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
uld_flight_date

[DIMENSION] The targeted operation date of the flight. Restructured to reflect the local calendar date only.

—
uld_isn

[ID] The ULD (Unit Load Device / container or pallet) Hermes Serial Number.

—
uld_name

[DIMENSION] The name/identifier of the ULD (e.g., DKH-28072-LH).

—
intact

[FLAG] Indicates whether the ULD was intact.

—
delivered_intact

[FLAG] Indicates whether the ULD was delivered intact.

—
flight_first_ffm_received

[TIMESTAMP] The first time an FFM (Freight Manifest) message was received for the flight.

—
flight_arrival

[TIMESTAMP] The timestamp when the flight carrying the ULD arrived.

—
uld_received

[TIMESTAMP] The timestamp when the ULD was physically received.

—
uld_breakdown_start

[TIMESTAMP] The timestamp when breakdown (unpacking) of the ULD started.

—
uld_breakdown_finish

[TIMESTAMP] The timestamp when breakdown (unpacking) of the ULD finished.

—
uld_closed

[TIMESTAMP] The timestamp when the ULD was closed.

—
dm_export_object_journey_flight
Description:

Business Purpose

This mart family (dm_export_object_journey_* / dm_import_object_journey_*) provides end-to-end milestone tracking for the three core objects moving through the warehouse: flights, ULDs (containers/pallets), and AWBs. It stitches together every message and handling milestone — from first document receipt through buildup, loading, closing, and delivery — to measure schedule adherence and operational SLA performance across the export/import journey.

Core Business Logic & Rules

  • Object grain: The flight-level model captures one row per flight; the ULD-level model one row per flight/ULD; the AWB-level model one row per flight/ULD/AWB — mirroring the nesting of the source data (flight → ULDs → AWBs).
  • Milestone pairs: Many milestones are tracked as first_*/last_* pairs (e.g. first_piece_received/last_piece_received) to capture the earliest and most recent occurrence across potentially multiple partial events.
  • Message milestones: Fields such as first_fwb_sent, first_ffm_sent, first_ucm_sent, first_luc_sent, last_not_sent record when specific IATA cargo messages (FWB, FHL, FFM, UCM, LUC, NOT, UWS, etc.) were transmitted.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
airline_code

[DIMENSION] The two-character standard IATA code identifying the operating airline (e.g., LH for Lufthansa).

—
flight_number

[DIMENSION] The operational flight number identifier string assigned to the scheduled route.

—
flight_date

[DIMENSION] The targeted operation date of the flight. Restructured to reflect the local calendar date only.

—
destination

[DIMENSION] The 3-letter IATA airport code representing the destination of the flight or shipment.

—
routing_airport1

[DIMENSION] The IATA code for the first leg stopover airport. * Note: This value evaluates to NULL if the journey is a direct, single-leg flight.

—
routing_airport2

[DIMENSION] The IATA code for the second leg stopover airport. * Note: This value evaluates to NULL if the flight does not require a second stopover.

—
routing_airport3

[DIMENSION] The IATA code for the third leg stopover airport. * Note: This value evaluates to NULL if the flight does not require a third stopover.

—
scheduled

[TIMESTAMP] The baseline publication time when the flight was officially scheduled to take off. Format: ISO 8601.

—
estimated

[TIMESTAMP] The dynamic, real-time forecast estimation of when the flight's journey milestone will complete. Format: ISO 8601.

—
landed

[TIMESTAMP] The exact landing milestone marking the point when the aircraft wheels made contact with the runway. Format: ISO 8601.

—
last_acceptance_gen

[TIMESTAMP] The last general-cargo acceptance timestamp recorded for the flight.

—
last_acceptance_express

[TIMESTAMP] The last express-cargo acceptance timestamp recorded for the flight.

—
vehicle_registration

[DIMENSION] The unique external alphanumeric tail number/registration marking assigned to the physical aircraft (e.g., N581JN).

—
vehicle_type

[CLASSIFICATION] The primary classification mode of the transit vessel. * PASSENGER: Commercial citizen transport flight. * CARGO: Dedicated freight logistics flight. * TRUCK: Used strictly for inter-shed ground transfer routing.

—
vehicle_variant

[DIMENSION] The structural aircraft design variant code specifying the technical fleet asset class (e.g., A380).

—
flight_closed

[FLAG/TIMESTAMP] Indicates whether (or when) the flight's object journey processing was formally closed.

—
flight_buildup_start

[TIMESTAMP] The timestamp of the first piece delivered to the flight, marking the start of buildup.

—
flight_buildup_finish

[TIMESTAMP] The timestamp of the last piece delivered to the flight, marking the end of buildup.

—
flight_first_fbl_received

[TIMESTAMP] The first time an FBL (freight booking list) message was received for the flight.

—
flight_first_manifest

[TIMESTAMP] The first manifest timestamp recorded for the flight.

—
flight_last_manifest

[TIMESTAMP] The last manifest timestamp recorded for the flight.

—
flight_first_closed

[TIMESTAMP] The first closed timestamp recorded for the flight.

—
flight_last_closed

[TIMESTAMP] The last closed timestamp recorded for the flight.

—
last_not_sent

[TIMESTAMP] The last time a NOT (Notification) message was sent for the flight.

—
first_uws_sent

[TIMESTAMP] The first time a UWS message was sent for the flight.

—
last_uws_sent

[TIMESTAMP] The last time a UWS message was sent for the flight.

—
first_ffm_sent

[TIMESTAMP] The first time an FFM (Freight Manifest) message was sent for the flight.

—
first_ucm_sent

[TIMESTAMP] The first time a UCM message was sent for the flight.

—
flight_offloads

[METRIC] The number of times cargo was offloaded from the flight.

—
dm_vct_loose_cargo
Description:

Business Purpose

This mart family (dm_vct, dm_vct_loose_cargo, dm_vct_loose_cargo_group, dm_vct_intact_container, dm_vct_intact_container_content, dm_vct_intact_container_content_group) tracks Vehicle Control Ticket (VCT) activity — trucks/vehicles checking in at warehouse dock doors, and the cargo (loose or in intact ULDs) they carry.

Core Business Logic & Rules

  • Grain: dm_vct is one row per vehicle visit. Loose cargo and intact-container content each fan out to their own child mart, which in turn fans out to a piece-grouping child mart, mirroring the source's nested looseCargo/containerManifest → groups structure.
  • Door workflow milestones: activated → arrived → called_to_door → arrived_at_door → left_door trace the vehicle's progress through the dock scheduling process.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
vct_isn

[ID] The VCT (Vehicle Control Ticket) Hermes Serial Number, uniquely identifying this vehicle visit.

—
awb_number

[DIMENSION] The Airwaybill Number (carrier prefix + serial), e.g. 297-74923645.

—
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

—
awb_transaction_object_isn

[ID] The Airwaybill's Hermes Charge/Transaction Object Serial Number.

—
origin

[DIMENSION] The 3-letter IATA airport code representing the point of origin for the flight (e.g., LHR for London Heathrow).

—
destination

[DIMENSION] The 3-letter IATA airport code representing the destination of the flight or shipment.

—
content

[DIMENSION] Free-text description of the shipment's cargo content (e.g., CARPETS, CONSOL).

—
warehouse

[DIMENSION] The current warehouse location code holding the ULD (e.g., PCF).

—
agent_isn

[ID] The Nominated Agent Hermes Serial Number.

—
agent_code

[DIMENSION] The Nominated Agent Hermes Code.

—
agent_name

[DIMENSION] The Nominated Agent's name.

—
weight_check

[FLAG] Indicates whether a weight check is/was required for this shipment.

—
volume_check

[FLAG] Indicates whether a volume check is/was required for this shipment.

—
shcs

[DIMENSION] The list of Special Handling Codes (SHCs) attached to the shipment's pieces.

—
expected_pieces

[METRIC] The number of pieces expected per the manifest/booking, for comparison against the actual pieces count.

—
expected_weight

[METRIC] The weight expected per the manifest/booking, for comparison against the actual weight.

—
pieces

[METRIC] The actual number of pieces recorded for the shipment/grouping.

—
weight

[METRIC] The actual weight recorded for the shipment/grouping.

—
dm_import_flight_container_content_group
Description:

Business Purpose

This mart family (dm_import_flight_container, dm_import_flight_container_content, dm_import_flight_container_content_group, dm_export_flight_container, dm_export_flight_container_content) tracks ULDs (or loose "LOOSE" cargo) built onto a flight, the AWB shipments contained within each ULD, and the piece-level groupings within each shipment — enabling piece/weight reconciliation between what was manifested and what was actually loaded.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
uld_isn

[ID] The ULD (Unit Load Device / container or pallet) Hermes Serial Number.

—
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

—
group_isn

[ID] The Hermes Serial Number of the piece group/barcode this record belongs to.

—
received_timestamp

[TIMESTAMP] The timestamp when the group/piece was received.

—
hawb_isn

[ID] The Hermes Serial Number of the House/Master/Split object this group belongs to.

—
hawb_number

[DIMENSION] The House Airwaybill Number, populated for consolidated shipments moving under a master AWB.

—
hawb_part

[DIMENSION] The House Airwaybill part number. NULL when the group is not a component of an HAWB part.

—
pieces

[METRIC] The actual number of pieces recorded for the shipment/grouping.

—
weight

[METRIC] The actual weight recorded for the shipment/grouping.

—
dm_uld_stock_control_container
Description:

Business Purpose

The dm_uld_stock_control_container mart tracks the physical stock and condition of ULDs (containers/pallets) currently on-site, including their warehouse rack location and any recorded damage — used for ULD inventory/stock control.

Core Business Logic & Rules

  • Grain: One row per ULD, joined out to its current warehouse location and any associated damage record.
  • Filter: Only physical containers/pallets (P/C, excluding BULK/loose) that are not marked deleted are included.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
uld_isn

[ID] The ULD (Unit Load Device / container or pallet) Hermes Serial Number.

—
group_isn

[ID] The Hermes Serial Number of the location-tracking group record for the ULD's current position.

—
group_physical_isn

[ID] The Hermes Serial Number of the ULD's physical location record.

—
group_logical_isn

[ID] The Hermes Serial Number of the logical (rack/zone) location linked to the ULD's physical location.

—
uld_type

[DIMENSION] The contour identifier of the ULD.

—
uld_serial_number

[DIMENSION] The serial number portion of the ULD's identifier.

—
uld_owner

[DIMENSION] The IATA code of the airline/company that owns the ULD.

—
uld_managing_air_line

[DIMENSION] The IATA code of the airline currently managing/responsible for the ULD.

—
uld_pallet_container

[CLASSIFICATION] The ULD type. P for pallet, C for container.

—
uld_recording_date

[TIMESTAMP] The date the ULD's stock record was last recorded/captured.

—
uld_condition

[CLASSIFICATION] The physical condition of the ULD (e.g. serviceable, damaged).

—
uld_group_isn

[ID] The Hermes Group Serial Number the ULD belongs to.

—
uld_status

[CLASSIFICATION] The current status of the ULD (e.g., RELEASED).

—
uld_intact_uld

[FLAG] Indicates whether the ULD was intact.

—
uld_damage_isn

[ID] The Hermes Serial Number of the damage record associated with the ULD, if any.

—
group_rack_row

[DIMENSION] The logical rack row of the object's warehouse location.

—
group_rack_location

[DIMENSION] The logical rack location of the object's warehouse position.

—
group_rack_height

[DIMENSION] The logical rack height of the object's warehouse position.

—
group_locs_deleted

[FLAG] Indicates whether the underlying location record has been marked deleted. Always false in this mart, since deleted location records are filtered out upstream.

—
group_ssll_type

[CLASSIFICATION] The type of the logical location linked to the ULD (e.g. rack zone).

—
dm_vct_loose_cargo_group
Description:

Business Purpose

This mart family (dm_vct, dm_vct_loose_cargo, dm_vct_loose_cargo_group, dm_vct_intact_container, dm_vct_intact_container_content, dm_vct_intact_container_content_group) tracks Vehicle Control Ticket (VCT) activity — trucks/vehicles checking in at warehouse dock doors, and the cargo (loose or in intact ULDs) they carry.

Core Business Logic & Rules

  • Grain: dm_vct is one row per vehicle visit. Loose cargo and intact-container content each fan out to their own child mart, which in turn fans out to a piece-grouping child mart, mirroring the source's nested looseCargo/containerManifest → groups structure.
  • Door workflow milestones: activated → arrived → called_to_door → arrived_at_door → left_door trace the vehicle's progress through the dock scheduling process.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
vct_isn

[ID] The VCT (Vehicle Control Ticket) Hermes Serial Number, uniquely identifying this vehicle visit.

—
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

—
group_isn

[ID] The Hermes Serial Number of the piece group/barcode this record belongs to.

—
pieces

[METRIC] The actual number of pieces recorded for the shipment/grouping.

—
weight

[METRIC] The actual weight recorded for the shipment/grouping.

—
exchange_timestamp

[TIMESTAMP] The timestamp at which the group crossed a defined handling threshold (e.g., scan/exchange point).

—
dm_export_flight
Description:

Business Purpose

This mart serves as the primary dataset for tracking flight operations, timing milestones, and fleet utilization. It abstracts underlying flight tracking infrastructure to provide clean metrics regarding schedule adherence, delays, and leg routing.

Core Business Logic & Rules

  • Multi-leg Flight Routing: Multi-leg journeys populate up to three sequential routing airports (routing_airport_1 through 3). If a flight is direct, these routing attributes remain null.
  • Timestamp Standardization: All milestones reflect localized operation times structured under ISO 8601 formatting.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
airline_code

[DIMENSION] The two-character standard IATA code identifying the operating airline (e.g., LH for Lufthansa).

—
flight_number

[DIMENSION] The operational flight number identifier string assigned to the scheduled route.

—
flight_date

[DIMENSION] The targeted operation date of the flight. Restructured to reflect the local calendar date only.

—
scheduled

[TIMESTAMP] The baseline publication time when the flight was officially scheduled to take off. Format: ISO 8601.

—
estimated

[TIMESTAMP] The dynamic, real-time forecast estimation of when the flight's journey milestone will complete. Format: ISO 8601.

—
actual

[TIMESTAMP] The actual date and time the flight milestone occurred. Format: ISO 8601.

—
destination

[DIMENSION] The 3-letter IATA airport code representing the destination of the flight or shipment.

—
routing_airport1

[DIMENSION] The IATA code for the first leg stopover airport. * Note: This value evaluates to NULL if the journey is a direct, single-leg flight.

—
routing_airport2

[DIMENSION] The IATA code for the second leg stopover airport. * Note: This value evaluates to NULL if the flight does not require a second stopover.

—
routing_airport3

[DIMENSION] The IATA code for the third leg stopover airport. * Note: This value evaluates to NULL if the flight does not require a third stopover.

—
vehicle_registration

[DIMENSION] The unique external alphanumeric tail number/registration marking assigned to the physical aircraft (e.g., N581JN).

—
vehicle_type

[CLASSIFICATION] The primary classification mode of the transit vessel. * PASSENGER: Commercial citizen transport flight. * CARGO: Dedicated freight logistics flight. * TRUCK: Used strictly for inter-shed ground transfer routing.

—
vehicle_variant

[DIMENSION] The structural aircraft design variant code specifying the technical fleet asset class (e.g., A380).

—
flight_closed

[FLAG/TIMESTAMP] Indicates whether (or when) the flight's object journey processing was formally closed.

—
dm_object_history_uld
Description:

No description provided.

Columns

ColumnDescriptionData Type
No column descriptions documented.
dm_export_service_recovery_header
Description:

Business Purpose

This mart family (dm_export_service_recovery_* / dm_import_service_recovery_*) tracks shipments moved into Service Recovery — the exception-handling workflow triggered when an AWB's normal warehouse cycle fails (e.g. an unplanned offload). It exposes the header of the recovery event, the checklist/task detail steps taken to resolve it, the affected AWB, and the associated flight.

Core Business Logic & Rules

  • Header / Detail split: One Service Recovery header (service_recovery_header_isn) can have many detail checklist tasks, each tracked against a time-to-failure allowance.
  • Direction: The export and import variants share an identical structure; only the underlying flight/AWB source direction differs.
  • Resolution flags: moved_to_standard_recovery_cycle and removed_from_service_recovery indicate how the exception was ultimately closed out.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

numeric(10,0)
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

text
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

timestamp without time zone
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

numeric(10,0)
service_recovery_header_isn

[ID] The Service Recovery Header Hermes Serial Number, uniquely identifying a single recovery event for an AWB.

numeric(14,0)
service_recovery_reason

[DIMENSION] The task description explaining why the shipment/flight was moved into Service Recovery (e.g., Unplanned Offload).

character varying(500)
moved_to_service_recovery_time

[TIMESTAMP] The point in time when the record was moved into Service Recovery. Format: ISO 8601.

timestamp without time zone
deleted

[FLAG] Indicates whether the Service Recovery record has been deleted.

smallint
moved_to_standard_recovery_cycle

[FLAG] Indicates whether the record was moved back into the standard (non-exception) recovery cycle.

smallint
removed_from_service_recovery

[FLAG] Indicates whether the record has been removed from Service Recovery.

smallint
dm_invoice_payment
Description:

Business Purpose

The dm_invoice_payment mart records individual payments made against invoices — cashier, method, amount, and reference detail, along with the end-of-shift report each payment was reconciled into.

Core Business Logic & Rules

  • Grain: One row per payment made against an invoice; an invoice (dm_invoice_header) can have multiple payments.
  • Payer vs. payee: paying_customer_isn records who physically made the payment, which is not necessarily the invoice's billed customer (dm_invoice_header.customer_isn).

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

numeric(14,0)
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

text
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

timestamp without time zone
header_isn

[ID] The Hermes Serial Number identifying the parent header record.

numeric(14,0)
cashier_number

[DIMENSION] The identifier of the cashier who processed the payment.

numeric(14,0)
paying_customer_isn

[ID] The Hermes Serial Number of the customer who made the payment. May differ from the invoice's billed customer (e.g. a third-party payer).

integer
payment_amount

[METRIC] The amount paid, expressed in the payment currency.

numeric(18,6)
payment_currency

[DIMENSION] The ISO currency code of the transaction (e.g., AUD).

character varying(3)
payment_date_time

[TIMESTAMP] The date/time the payment was recorded.

timestamp without time zone
payment_method

[CLASSIFICATION] The method used to make the payment (e.g. CASH, BANK TFR, BANK DEP).

character varying(50)
payment_reference

[DIMENSION] A free-text reference for the payment (e.g. a cheque or transaction number).

character varying(50)
payment_remarks

[DIMENSION] Free-text remarks entered against the payment.

character varying(255)
payment_transaction_fee

[METRIC] The transaction fee charged on the payment (e.g. card processing fee).

numeric(18,6)
shift_report_number

[ID] The Hermes Serial Number of the end-of-shift report the payment was reconciled into.

numeric(14,0)
shift_report_print_date

[TIMESTAMP] The date/time the end-of-shift report was printed.

timestamp without time zone
dm_import_object_journey_awb
Description:

Business Purpose

This mart family (dm_export_object_journey_* / dm_import_object_journey_*) provides end-to-end milestone tracking for the three core objects moving through the warehouse: flights, ULDs (containers/pallets), and AWBs. It stitches together every message and handling milestone — from first document receipt through buildup, loading, closing, and delivery — to measure schedule adherence and operational SLA performance across the export/import journey.

Core Business Logic & Rules

  • Object grain: The flight-level model captures one row per flight; the ULD-level model one row per flight/ULD; the AWB-level model one row per flight/ULD/AWB — mirroring the nesting of the source data (flight → ULDs → AWBs).
  • Milestone pairs: Many milestones are tracked as first_*/last_* pairs (e.g. first_piece_received/last_piece_received) to capture the earliest and most recent occurrence across potentially multiple partial events.
  • Message milestones: Fields such as first_fwb_sent, first_ffm_sent, first_ucm_sent, first_luc_sent, last_not_sent record when specific IATA cargo messages (FWB, FHL, FFM, UCM, LUC, NOT, UWS, etc.) were transmitted.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
flight_station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
agent_code

[DIMENSION] The Nominated Agent Hermes Code.

—
agent_isn

[ID] The Nominated Agent Hermes Serial Number.

—
agent_name

[DIMENSION] The Nominated Agent's name.

—
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

—
awb_number

[DIMENSION] The Airwaybill Number (carrier prefix + serial), e.g. 297-74923645.

—
awb_status0

[TIMESTAMP] The timestamp when the AWB's status 0 was set.

—
awb_status1

[TIMESTAMP] The timestamp when the AWB's status 1 was set.

—
awb_status2

[TIMESTAMP] The timestamp when the AWB's status 2 was set.

—
awb_status3

[TIMESTAMP] The timestamp when the AWB's status 3 was set.

—
awb_status4

[TIMESTAMP] The timestamp when the AWB's status 4 was set.

—
awb_status5

[TIMESTAMP] The timestamp when the AWB's status 5 was set.

—
awb_transaction_object_isn

[ID] The Airwaybill's Hermes Charge/Transaction Object Serial Number.

—
awb_transit_export_isn

[ID] The Airwaybill's Export Transit Serial Number. NULL for non-transit shipments.

—
content

[DIMENSION] Free-text description of the shipment's cargo content (e.g., CARPETS, CONSOL).

—
delivery_type

[CLASSIFICATION] The type of shipment delivery. * LOCAL: Delivered locally at the station. * TRANSFER: Transferred to another flight/carrier. * TRANSIT: Passing through in transit. * UNKNOWN: Delivery type could not be determined.

—
destination

[DIMENSION] The 3-letter IATA airport code representing the destination of the flight or shipment.

—
awb_confirmed

[TIMESTAMP] The timestamp when the AWB booking was confirmed.

—
first_arr_sent

[TIMESTAMP] The first time an ARR (Arrival) message was sent for the AWB.

—
first_fiw_sent

[TIMESTAMP] The first time an FIW message was sent for the AWB.

—
first_awd_sent

[TIMESTAMP] The first time an AWD message was sent for the AWB.

—
first_awr_sent

[TIMESTAMP] The first time an AWR message was sent for the AWB.

—
first_nfd_sent

[TIMESTAMP] The first time an NFD message was sent for the AWB.

—
first_dlv_sent

[TIMESTAMP] The first time a DLV (Delivery) message was sent for the AWB.

—
first_tfd_sent

[TIMESTAMP] The first time a TFD message was sent for the AWB.

—
first_fhl_received

[TIMESTAMP] The first time an FHL (Freight House List) message was received for the AWB.

—
first_rcf_sent

[TIMESTAMP] The first time an RCF (Received from Flight) message was sent for the AWB.

—
last_rcf_sent

[TIMESTAMP] The last time an RCF (Received from Flight) message was sent for the AWB.

—
first_fwb_received

[TIMESTAMP] The first time an FWB (Freight Waybill) message was received for the AWB.

—
first_noa_sent

[TIMESTAMP] The first time a NOA (Notice of Arrival) message was sent for the AWB.

—
first_piece_received

[TIMESTAMP] The timestamp of the first piece of the shipment received.

—
last_piece_received

[TIMESTAMP] The timestamp of the last piece of the shipment received.

—
first_piece_delivered

[TIMESTAMP] The timestamp of the first piece of the shipment delivered.

—
last_piece_delivered

[TIMESTAMP] The timestamp of the last piece of the shipment delivered.

—
live_until

[TIMESTAMP] The deadline timestamp until which the AWB remains "live" (active) for build purposes.

—
origin

[DIMENSION] The 3-letter IATA airport code representing the point of origin for the flight (e.g., LHR for London Heathrow).

—
shcs

[DIMENSION] The list of Special Handling Codes (SHCs) attached to the shipment's pieces.

—
uld_isn

[ID] The ULD (Unit Load Device / container or pallet) Hermes Serial Number.

—
awb_flight_date

[DIMENSION] The targeted operation date of the flight. Restructured to reflect the local calendar date only.

—
arrived

[TIMESTAMP] The milestone recording when the aircraft successfully arrived at the destination gate. * System Warning: This attribute is legacy metadata and is not actively used or populated across all legacy versions of Hermes tracking systems.

—
dm_vct_intact_container_content
Description:

Business Purpose

This mart family (dm_vct, dm_vct_loose_cargo, dm_vct_loose_cargo_group, dm_vct_intact_container, dm_vct_intact_container_content, dm_vct_intact_container_content_group) tracks Vehicle Control Ticket (VCT) activity — trucks/vehicles checking in at warehouse dock doors, and the cargo (loose or in intact ULDs) they carry.

Core Business Logic & Rules

  • Grain: dm_vct is one row per vehicle visit. Loose cargo and intact-container content each fan out to their own child mart, which in turn fans out to a piece-grouping child mart, mirroring the source's nested looseCargo/containerManifest → groups structure.
  • Door workflow milestones: activated → arrived → called_to_door → arrived_at_door → left_door trace the vehicle's progress through the dock scheduling process.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
vct_isn

[ID] The VCT (Vehicle Control Ticket) Hermes Serial Number, uniquely identifying this vehicle visit.

—
uld_isn

[ID] The ULD (Unit Load Device / container or pallet) Hermes Serial Number.

—
awb_number

[DIMENSION] The Airwaybill Number (carrier prefix + serial), e.g. 297-74923645.

—
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

—
awb_transaction_object_isn

[ID] The Airwaybill's Hermes Charge/Transaction Object Serial Number.

—
origin

[DIMENSION] The 3-letter IATA airport code representing the point of origin for the flight (e.g., LHR for London Heathrow).

—
destination

[DIMENSION] The 3-letter IATA airport code representing the destination of the flight or shipment.

—
content

[DIMENSION] Free-text description of the shipment's cargo content (e.g., CARPETS, CONSOL).

—
warehouse

[DIMENSION] The current warehouse location code holding the ULD (e.g., PCF).

—
agent_isn

[ID] The Nominated Agent Hermes Serial Number.

—
agent_code

[DIMENSION] The Nominated Agent Hermes Code.

—
agent_name

[DIMENSION] The Nominated Agent's name.

—
shcs

[DIMENSION] The list of Special Handling Codes (SHCs) attached to the shipment's pieces.

—
pieces

[METRIC] The actual number of pieces recorded for the shipment/grouping.

—
weight

[METRIC] The actual weight recorded for the shipment/grouping.

—
dm_uld_equipment_use_container
Description:

Business Purpose

This mart family (dm_uld_equipment_use_flight, dm_uld_equipment_use_container, dm_uld_equipment_use_container_equipment) tracks ULDs built onto a flight and the equipment fitted to each ULD's contour (e.g. straps, nets, or other accessories recorded against the ULD type), used to reconcile what equipment was actually loaded against the ULD's contour requirements.

Core Business Logic & Rules

  • Grain: The flight-level model captures one row per flight; the container-level model one row per flight/ULD; the equipment-level model one row per flight/ULD/equipment group+code — mirroring the nesting flight → ULDs → equipment items.
  • Equipment values: Each equipment item's raw value is typed as NUMERIC or alpha/text (equipment_unit_type); numeric items also expose a parsed equipment_units quantity alongside the raw equipment_units_raw string.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
uld_isn

[ID] The ULD (Unit Load Device / container or pallet) Hermes Serial Number.

—
uld_name

[DIMENSION] The name/identifier of the ULD (e.g., DKH-28072-LH).

—
intact

[FLAG] Indicates whether the ULD was intact.

—
delivered_intact

[FLAG] Indicates whether the ULD was delivered intact.

—
dm_vct_intact_container
Description:

Business Purpose

This mart family (dm_vct, dm_vct_loose_cargo, dm_vct_loose_cargo_group, dm_vct_intact_container, dm_vct_intact_container_content, dm_vct_intact_container_content_group) tracks Vehicle Control Ticket (VCT) activity — trucks/vehicles checking in at warehouse dock doors, and the cargo (loose or in intact ULDs) they carry.

Core Business Logic & Rules

  • Grain: dm_vct is one row per vehicle visit. Loose cargo and intact-container content each fan out to their own child mart, which in turn fans out to a piece-grouping child mart, mirroring the source's nested looseCargo/containerManifest → groups structure.
  • Door workflow milestones: activated → arrived → called_to_door → arrived_at_door → left_door trace the vehicle's progress through the dock scheduling process.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
vct_isn

[ID] The VCT (Vehicle Control Ticket) Hermes Serial Number, uniquely identifying this vehicle visit.

—
uld_isn

[ID] The ULD (Unit Load Device / container or pallet) Hermes Serial Number.

—
uld_number

[DIMENSION] The human-readable ULD identifier/registration (e.g., AKE-33224-LH).

—
expected_weight

[METRIC] The weight expected per the manifest/booking, for comparison against the actual weight.

—
weight_check

[FLAG] Indicates whether a weight check is/was required for this shipment.

—
volume_check

[FLAG] Indicates whether a volume check is/was required for this shipment.

—
weight

[METRIC] The actual weight recorded for the shipment/grouping.

—
dm_uld_equipment_use_container_equipment
Description:

Business Purpose

This mart family (dm_uld_equipment_use_flight, dm_uld_equipment_use_container, dm_uld_equipment_use_container_equipment) tracks ULDs built onto a flight and the equipment fitted to each ULD's contour (e.g. straps, nets, or other accessories recorded against the ULD type), used to reconcile what equipment was actually loaded against the ULD's contour requirements.

Core Business Logic & Rules

  • Grain: The flight-level model captures one row per flight; the container-level model one row per flight/ULD; the equipment-level model one row per flight/ULD/equipment group+code — mirroring the nesting flight → ULDs → equipment items.
  • Equipment values: Each equipment item's raw value is typed as NUMERIC or alpha/text (equipment_unit_type); numeric items also expose a parsed equipment_units quantity alongside the raw equipment_units_raw string.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
uld_isn

[ID] The ULD (Unit Load Device / container or pallet) Hermes Serial Number.

—
equipment_group

[CLASSIFICATION] The equipment category code fitted to the ULD's contour (e.g. straps, nets).

—
equipment_code

[DIMENSION] The specific equipment item code within the equipment group.

—
equipment_name

[DIMENSION] The human-readable, translated name of the equipment item.

—
equipment_unit_type

[CLASSIFICATION] The value type of the equipment reading: NUMERIC or an alpha/text value.

—
equipment_units

[METRIC] The parsed numeric quantity/measurement of the equipment item. Only populated when equipment_unit_type is NUMERIC and the raw value is parseable as a decimal.

—
equipment_units_raw

[DIMENSION] The raw, unparsed value recorded for the equipment item.

—
dm_import_service_recovery_header
Description:

Business Purpose

This mart family (dm_export_service_recovery_* / dm_import_service_recovery_*) tracks shipments moved into Service Recovery — the exception-handling workflow triggered when an AWB's normal warehouse cycle fails (e.g. an unplanned offload). It exposes the header of the recovery event, the checklist/task detail steps taken to resolve it, the affected AWB, and the associated flight.

Core Business Logic & Rules

  • Header / Detail split: One Service Recovery header (service_recovery_header_isn) can have many detail checklist tasks, each tracked against a time-to-failure allowance.
  • Direction: The export and import variants share an identical structure; only the underlying flight/AWB source direction differs.
  • Resolution flags: moved_to_standard_recovery_cycle and removed_from_service_recovery indicate how the exception was ultimately closed out.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

numeric(10,0)
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

text
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

timestamp without time zone
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

numeric(10,0)
service_recovery_header_isn

[ID] The Service Recovery Header Hermes Serial Number, uniquely identifying a single recovery event for an AWB.

numeric(14,0)
service_recovery_reason

[DIMENSION] The task description explaining why the shipment/flight was moved into Service Recovery (e.g., Unplanned Offload).

character varying(500)
moved_to_service_recovery_time

[TIMESTAMP] The point in time when the record was moved into Service Recovery. Format: ISO 8601.

timestamp without time zone
deleted

[FLAG] Indicates whether the Service Recovery record has been deleted.

smallint
moved_to_standard_recovery_cycle

[FLAG] Indicates whether the record was moved back into the standard (non-exception) recovery cycle.

smallint
removed_from_service_recovery

[FLAG] Indicates whether the record has been removed from Service Recovery.

smallint
dm_object_history_awb
Description:

Business Purpose

The dm_object_history_awb mart provides a location-by-location movement history for AWB piece groups through the warehouse, combining export and import AWBs into a single event log — one row per time a piece group was scanned into a physical location.

Core Business Logic & Rules

  • Grain: One row per object/group/location/location_in_timestamp/object_type combination — i.e. one row per location "check-in" event for a piece group.
  • Export ∪ Import: The mart unions the export and import object history sources; object_type (EXPORT/IMPORT) distinguishes which side each row came from.

Columns

ColumnDescriptionData Type
station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

—
object_isn

[ID] The Hermes Serial Number of the object (AWB, ULD, flight, etc.) the record relates to.

—
group_isn

[ID] The Hermes Serial Number of the piece group/barcode this record belongs to.

—
event_type

[CLASSIFICATION] The type of warehouse location event recorded for the piece group (e.g. scan-in, breakdown, load).

—
object_type

[CLASSIFICATION] The handling direction of the object: IMPORT or EXPORT.

—
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

—
awb_accounts_isn

[ID] The Hermes Serial Number of the AWB's accounting/charge record.

—
awb_prefix

[DIMENSION] The 3-digit carrier prefix portion of the AWB number.

—
awb_serial_number

[DIMENSION] The serial number portion of the AWB number.

—
awb_hawb_number

[DIMENSION] The House Airwaybill Number, populated for consolidated shipments moving under a master AWB.

—
awb_origin

[DIMENSION] The 3-letter IATA airport code representing the point of origin for the flight (e.g., LHR for London Heathrow).

—
awb_destination

[DIMENSION] The 3-letter IATA airport code representing the destination of the flight or shipment.

—
awb_commodity

[DIMENSION] Free-text description of the shipment's cargo content (e.g., CARPETS, CONSOL).

—
awb_group_pieces

[METRIC] The actual number of pieces recorded for the shipment/grouping.

—
awb_group_weight

[METRIC] The actual weight recorded for the shipment/grouping.

—
awb_special_handling_codes

[DIMENSION] The list of Special Handling Codes (SHCs) attached to the shipment's pieces.

—
location_isn

[ID] The Hermes Serial Number of the physical warehouse location the piece group was scanned into.

—
location_warehouse

[DIMENSION] The current warehouse location code holding the ULD (e.g., PCF).

—
location_rack_row

[DIMENSION] The logical rack row of the object's warehouse location.

—
location_rack_location

[DIMENSION] The logical rack location of the object's warehouse position.

—
location_rack_height

[DIMENSION] The logical rack height of the object's warehouse position.

—
location_name

[DIMENSION] The descriptive name/label of the physical warehouse location.

—
group_instance_isn

[ID] The Hermes Serial Number of the piece group instance. Carries the same value as group_isn, retained separately for traceability back to the source group-log record.

—
group_location

[ID] The Hermes Serial Number of the location this group-log event occurred at. Carries the same value as location_isn, retained separately for traceability back to the source group-log record.

—
location_shc

[DIMENSION] The Special Handling Code recorded against the piece group at the primary group level. Distinct from the full SHC list in awb_special_handling_codes.

—
location_in_timestamp

[TIMESTAMP] The date/time the piece group was scanned into this location.

—
next_event_timestamp

[TIMESTAMP] The timestamp of this piece group's next location event, used to derive dwell time at the current location. NULL for the group's most recent event.

—
reference_type

[CLASSIFICATION] The type of external reference linked to this location event (e.g. the flight or ULD the group was moved to/from), when applicable.

—
reference_isn

[ID] The Hermes Serial Number of the referenced object (per reference_type) linked to this location event, when applicable.

—
dm_export_object_journey_awb
Description:

Business Purpose

This mart family (dm_export_object_journey_* / dm_import_object_journey_*) provides end-to-end milestone tracking for the three core objects moving through the warehouse: flights, ULDs (containers/pallets), and AWBs. It stitches together every message and handling milestone — from first document receipt through buildup, loading, closing, and delivery — to measure schedule adherence and operational SLA performance across the export/import journey.

Core Business Logic & Rules

  • Object grain: The flight-level model captures one row per flight; the ULD-level model one row per flight/ULD; the AWB-level model one row per flight/ULD/AWB — mirroring the nesting of the source data (flight → ULDs → AWBs).
  • Milestone pairs: Many milestones are tracked as first_*/last_* pairs (e.g. first_piece_received/last_piece_received) to capture the earliest and most recent occurrence across potentially multiple partial events.
  • Message milestones: Fields such as first_fwb_sent, first_ffm_sent, first_ucm_sent, first_luc_sent, last_not_sent record when specific IATA cargo messages (FWB, FHL, FFM, UCM, LUC, NOT, UWS, etc.) were transmitted.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
uld_isn

[ID] The ULD (Unit Load Device / container or pallet) Hermes Serial Number.

—
awb_number

[DIMENSION] The Airwaybill Number (carrier prefix + serial), e.g. 297-74923645.

—
awb_flight_date

[DIMENSION] The targeted operation date of the flight. Restructured to reflect the local calendar date only.

—
live_until

[TIMESTAMP] The deadline timestamp until which the AWB remains "live" (active) for build purposes.

—
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

—
awb_transaction_object_isn

[ID] The Airwaybill's Hermes Charge/Transaction Object Serial Number.

—
awb_transit_import_isns

[ID] The Airwaybill's Import Transit Serial Number. NULL for non-transit shipments.

—
origin

[DIMENSION] The 3-letter IATA airport code representing the point of origin for the flight (e.g., LHR for London Heathrow).

—
delivery_type

[CLASSIFICATION] The type of shipment delivery. * LOCAL: Delivered locally at the station. * TRANSFER: Transferred to another flight/carrier. * TRANSIT: Passing through in transit. * UNKNOWN: Delivery type could not be determined.

—
destination

[DIMENSION] The 3-letter IATA airport code representing the destination of the flight or shipment.

—
content

[DIMENSION] Free-text description of the shipment's cargo content (e.g., CARPETS, CONSOL).

—
agent_isn

[ID] The Nominated Agent Hermes Serial Number.

—
agent_code

[DIMENSION] The Nominated Agent Hermes Code.

—
agent_name

[DIMENSION] The Nominated Agent's name.

—
shcs

[DIMENSION] The list of Special Handling Codes (SHCs) attached to the shipment's pieces.

—
first_fwb_received

[TIMESTAMP] The first time an FWB (Freight Waybill) message was received for the AWB.

—
first_fhl_received

[TIMESTAMP] The first time an FHL (Freight House List) message was received for the AWB.

—
awb_confirmed

[TIMESTAMP] The timestamp when the AWB booking was confirmed.

—
first_fwb_sent

[TIMESTAMP] The first time an FWB message was sent for the AWB.

—
first_fhl_sent

[TIMESTAMP] The first time an FHL message was sent for the AWB.

—
first_piece_received

[TIMESTAMP] The timestamp of the first piece of the shipment received.

—
last_piece_received

[TIMESTAMP] The timestamp of the last piece of the shipment received.

—
first_foh_sent

[TIMESTAMP] The first time an FOH message was sent for the AWB.

—
first_rcs_sent

[TIMESTAMP] The first time an RCS (Ready for Carriage) message was sent for the AWB.

—
documents_in_pouch

[TIMESTAMP] The timestamp when the shipment's documents were placed in the pouch.

—
first_pre_sent

[TIMESTAMP] The first time a PRE message was sent for the AWB.

—
first_man_sent

[TIMESTAMP] The first time a MAN (Manifest) message was sent for the AWB.

—
first_piece_delivered

[TIMESTAMP] The timestamp of the first piece of the shipment delivered.

—
last_piece_delivered

[TIMESTAMP] The timestamp of the last piece of the shipment delivered.

—
first_fow_sent

[TIMESTAMP] The first time an FOW message was sent for the AWB.

—
first_dep_sent

[TIMESTAMP] The first time a DEP (Departure) message was sent for the AWB.

—
awb_status0

[TIMESTAMP] The timestamp when the AWB's status 0 was set.

—
awb_status1

[TIMESTAMP] The timestamp when the AWB's status 1 was set.

—
awb_status2

[TIMESTAMP] The timestamp when the AWB's status 2 was set.

—
awb_status3

[TIMESTAMP] The timestamp when the AWB's status 3 was set.

—
awb_status4

[TIMESTAMP] The timestamp when the AWB's status 4 was set.

—
awb_status5

[TIMESTAMP] The timestamp when the AWB's status 5 was set.

—
dm_import_flight
Description:

Business Purpose

This mart serves as the primary dataset for tracking flight operations, timing milestones, and fleet utilization. It abstracts underlying flight tracking infrastructure to provide clean metrics regarding schedule adherence, delays, and leg routing.

Core Business Logic & Rules

  • Multi-leg Flight Routing: Multi-leg journeys populate up to three sequential routing airports (routing_airport_1 through 3). If a flight is direct, these routing attributes remain null.
  • Timestamp Standardization: All milestones reflect localized operation times structured under ISO 8601 formatting.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
airline_code

[DIMENSION] The two-character standard IATA code identifying the operating airline (e.g., LH for Lufthansa).

—
flight_number

[DIMENSION] The operational flight number identifier string assigned to the scheduled route.

—
flight_date

[DIMENSION] The targeted operation date of the flight. Restructured to reflect the local calendar date only.

—
origin

[DIMENSION] The 3-letter IATA airport code representing the point of origin for the flight (e.g., LHR for London Heathrow).

—
routing_airport_1

[DIMENSION] The IATA code for the first leg stopover airport. * Note: This value evaluates to NULL if the journey is a direct, single-leg flight.

—
routing_airport_2

[DIMENSION] The IATA code for the second leg stopover airport. * Note: This value evaluates to NULL if the flight does not require a second stopover.

—
routing_airport_3

[DIMENSION] The IATA code for the third leg stopover airport. * Note: This value evaluates to NULL if the flight does not require a third stopover.

—
scheduled

[TIMESTAMP] The baseline publication time when the flight was officially scheduled to take off. Format: ISO 8601.

—
expected

[TIMESTAMP] The dynamic, real-time forecast estimation of when the flight will complete its routing. Format: ISO 8601.

—
landed

[TIMESTAMP] The exact landing milestone marking the point when the aircraft wheels made contact with the runway. Format: ISO 8601.

—
arrived

[TIMESTAMP] The milestone recording when the aircraft successfully arrived at the destination gate. * System Warning: This attribute is legacy metadata and is not actively used or populated across all legacy versions of Hermes tracking systems.

—
closed

[TIMESTAMP] The operational timestamp noting when logging and manifest processing for the flight was formally closed. Format: ISO 8601.

—
vehicle_registration

[DIMENSION] The unique external alphanumeric tail number/registration marking assigned to the physical aircraft (e.g., N581JN).

—
vehicle_type

[CLASSIFICATION] The primary classification mode of the transit vessel. * PASSENGER: Commercial citizen transport flight. * CARGO: Dedicated freight logistics flight. * TRUCK: Used strictly for inter-shed ground transfer routing.

—
vehicle_variant

[DIMENSION] The structural aircraft design variant code specifying the technical fleet asset class (e.g., A380).

—
dm_import_service_recovery_awb
Description:

Business Purpose

This mart family (dm_export_service_recovery_* / dm_import_service_recovery_*) tracks shipments moved into Service Recovery — the exception-handling workflow triggered when an AWB's normal warehouse cycle fails (e.g. an unplanned offload). It exposes the header of the recovery event, the checklist/task detail steps taken to resolve it, the affected AWB, and the associated flight.

Core Business Logic & Rules

  • Header / Detail split: One Service Recovery header (service_recovery_header_isn) can have many detail checklist tasks, each tracked against a time-to-failure allowance.
  • Direction: The export and import variants share an identical structure; only the underlying flight/AWB source direction differs.
  • Resolution flags: moved_to_standard_recovery_cycle and removed_from_service_recovery indicate how the exception was ultimately closed out.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

numeric(10,0)
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

numeric(10,0)
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

timestamp without time zone
station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

text
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

numeric(10,0)
awb_number

[DIMENSION] The Airwaybill Number (carrier prefix + serial), e.g. 297-74923645.

text
hawb_number

[DIMENSION] The House Airwaybill Number, populated for consolidated shipments moving under a master AWB.

text
origin

[DIMENSION] The 3-letter IATA airport code representing the point of origin for the flight (e.g., LHR for London Heathrow).

character varying(5)
destination

[DIMENSION] The 3-letter IATA airport code representing the destination of the flight or shipment.

character varying(5)
content

[DIMENSION] Free-text description of the shipment's cargo content (e.g., CARPETS, CONSOL).

character varying(50)
agent_isn

[ID] The Nominated Agent Hermes Serial Number.

integer
agent_code

[DIMENSION] The Nominated Agent Hermes Code.

text
agent_name

[DIMENSION] The Nominated Agent's name.

text
shcs

[DIMENSION] The list of Special Handling Codes (SHCs) attached to the shipment's pieces.

text
dm_vct
Description:

Business Purpose

This mart family (dm_vct, dm_vct_loose_cargo, dm_vct_loose_cargo_group, dm_vct_intact_container, dm_vct_intact_container_content, dm_vct_intact_container_content_group) tracks Vehicle Control Ticket (VCT) activity — trucks/vehicles checking in at warehouse dock doors, and the cargo (loose or in intact ULDs) they carry.

Core Business Logic & Rules

  • Grain: dm_vct is one row per vehicle visit. Loose cargo and intact-container content each fan out to their own child mart, which in turn fans out to a piece-grouping child mart, mirroring the source's nested looseCargo/containerManifest → groups structure.
  • Door workflow milestones: activated → arrived → called_to_door → arrived_at_door → left_door trace the vehicle's progress through the dock scheduling process.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

numeric(14,0)
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

numeric(14,0)
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

timestamp without time zone
station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

text
vct_isn

[ID] The VCT (Vehicle Control Ticket) Hermes Serial Number, uniquely identifying this vehicle visit.

numeric(14,0)
vct_master_isn

[ID] The VCT Master Hermes Serial Number. Can be NULL.

numeric(14,0)
vct_type

[CLASSIFICATION] The type of VCT record (e.g., IMPORT).

character varying(50)
driver_id

[DIMENSION] The identifier of the driver bringing/collecting the vehicle.

character varying(50)
driver_name

[DIMENSION] The name of the driver.

character varying(50)
vehicle_registration

[DIMENSION] The unique external alphanumeric tail number/registration marking assigned to the physical aircraft (e.g., N581JN).

character varying(60)
vehicle_complete

[FLAG] Indicates whether the vehicle's loading/unloading is complete.

smallint
vehicle_company

[DIMENSION] The trucking/haulage company operating the vehicle.

character varying(100)
registration_country

[DIMENSION] The country in which the truck is registered.

character varying(2)
door_type

[CLASSIFICATION] The type of dock door operation (e.g., BACKLOAD).

character varying(50)
warehouse

[DIMENSION] The current warehouse location code holding the ULD (e.g., PCF).

character varying(50)
cfs_number

[ID] The Container Freight Station (CFS) number associated with the vehicle visit.

integer
activated

[TIMESTAMP] The timestamp when the VCT record was activated (vehicle visit was created/scheduled).

timestamp without time zone
arrived

[TIMESTAMP] The milestone recording when the aircraft successfully arrived at the destination gate. * System Warning: This attribute is legacy metadata and is not actively used or populated across all legacy versions of Hermes tracking systems.

timestamp without time zone
arrived_at_door

[TIMESTAMP] The timestamp when the vehicle physically arrived at its assigned dock door.

timestamp without time zone
left_door

[TIMESTAMP] The timestamp when the vehicle left the dock door.

timestamp without time zone
rack_row

[DIMENSION] The logical rack row of the assigned door.

character varying(3)
rack_location

[DIMENSION] The logical rack location of the assigned door.

smallint
rack_height

[DIMENSION] The logical rack height of the assigned door.

smallint
door_number

[DIMENSION] The identifier/name of the dock door used (e.g., Landside Door 2 Main Building).

character varying(1000)
dm_export_flight_container_content
Description:

Business Purpose

This mart family (dm_import_flight_container, dm_import_flight_container_content, dm_import_flight_container_content_group, dm_export_flight_container, dm_export_flight_container_content) tracks ULDs (or loose "LOOSE" cargo) built onto a flight, the AWB shipments contained within each ULD, and the piece-level groupings within each shipment — enabling piece/weight reconciliation between what was manifested and what was actually loaded.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
flight_date

[DIMENSION] The targeted operation date of the flight. Restructured to reflect the local calendar date only.

—
uld_isn

[ID] The ULD (Unit Load Device / container or pallet) Hermes Serial Number.

—
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

—
awb_number

[DIMENSION] The Airwaybill Number (carrier prefix + serial), e.g. 297-74923645.

—
station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

—
live_until

[TIMESTAMP] The deadline timestamp until which the AWB remains "live" (active) for build purposes.

—
awb_transaction_object_isn

[ID] The Airwaybill's Hermes Charge/Transaction Object Serial Number.

—
origin

[DIMENSION] The 3-letter IATA airport code representing the point of origin for the flight (e.g., LHR for London Heathrow).

—
destination

[DIMENSION] The 3-letter IATA airport code representing the destination of the flight or shipment.

—
content

[DIMENSION] Free-text description of the shipment's cargo content (e.g., CARPETS, CONSOL).

—
warehouse

[DIMENSION] The current warehouse location code holding the ULD (e.g., PCF).

—
delivery_type

[CLASSIFICATION] The type of shipment delivery. * LOCAL: Delivered locally at the station. * TRANSFER: Transferred to another flight/carrier. * TRANSIT: Passing through in transit. * UNKNOWN: Delivery type could not be determined.

—
agent_isn

[ID] The Nominated Agent Hermes Serial Number.

—
agent_code

[DIMENSION] The Nominated Agent Hermes Code.

—
agent_name

[DIMENSION] The Nominated Agent's name.

—
pieces

[METRIC] The actual number of pieces recorded for the shipment/grouping.

—
weight

[METRIC] The actual weight recorded for the shipment/grouping.

—
expected_pieces

[METRIC] The number of pieces expected per the manifest/booking, for comparison against the actual pieces count.

—
expected_weight

[METRIC] The weight expected per the manifest/booking, for comparison against the actual weight.

—
shcs

[DIMENSION] The list of Special Handling Codes (SHCs) attached to the shipment's pieces.

—
chargeable_weight

[METRIC] The actual chargeable weight (the greater of actual and volumetric weight) used for billing.

—
expected_chargeable_weight

[METRIC] The chargeable weight expected per the manifest/booking.

—
awb_transit_export_isn

[ID] The Airwaybill's Export Transit Serial Number. NULL for non-transit shipments.

—
dm_vct_intact_container_content_group
Description:

Business Purpose

This mart family (dm_vct, dm_vct_loose_cargo, dm_vct_loose_cargo_group, dm_vct_intact_container, dm_vct_intact_container_content, dm_vct_intact_container_content_group) tracks Vehicle Control Ticket (VCT) activity — trucks/vehicles checking in at warehouse dock doors, and the cargo (loose or in intact ULDs) they carry.

Core Business Logic & Rules

  • Grain: dm_vct is one row per vehicle visit. Loose cargo and intact-container content each fan out to their own child mart, which in turn fans out to a piece-grouping child mart, mirroring the source's nested looseCargo/containerManifest → groups structure.
  • Door workflow milestones: activated → arrived → called_to_door → arrived_at_door → left_door trace the vehicle's progress through the dock scheduling process.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
vct_isn

[ID] The VCT (Vehicle Control Ticket) Hermes Serial Number, uniquely identifying this vehicle visit.

—
uld_isn

[ID] The ULD (Unit Load Device / container or pallet) Hermes Serial Number.

—
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

—
group_isn

[ID] The Hermes Serial Number of the piece group/barcode this record belongs to.

—
pieces

[METRIC] The actual number of pieces recorded for the shipment/grouping.

—
weight

[METRIC] The actual weight recorded for the shipment/grouping.

—
exchange_timestamp

[TIMESTAMP] The timestamp at which the group crossed a defined handling threshold (e.g., scan/exchange point).

—
dm_uld_equipment_use_flight
Description:

Business Purpose

This mart family (dm_uld_equipment_use_flight, dm_uld_equipment_use_container, dm_uld_equipment_use_container_equipment) tracks ULDs built onto a flight and the equipment fitted to each ULD's contour (e.g. straps, nets, or other accessories recorded against the ULD type), used to reconcile what equipment was actually loaded against the ULD's contour requirements.

Core Business Logic & Rules

  • Grain: The flight-level model captures one row per flight; the container-level model one row per flight/ULD; the equipment-level model one row per flight/ULD/equipment group+code — mirroring the nesting flight → ULDs → equipment items.
  • Equipment values: Each equipment item's raw value is typed as NUMERIC or alpha/text (equipment_unit_type); numeric items also expose a parsed equipment_units quantity alongside the raw equipment_units_raw string.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
airline_code

[DIMENSION] The two-character standard IATA code identifying the operating airline (e.g., LH for Lufthansa).

—
flight_number

[DIMENSION] The operational flight number identifier string assigned to the scheduled route.

—
flight_date

[DIMENSION] The targeted operation date of the flight. Restructured to reflect the local calendar date only.

—
destination

[DIMENSION] The 3-letter IATA airport code representing the destination of the flight or shipment.

—
routing_airport_1

[DIMENSION] The IATA code for the first leg stopover airport. * Note: This value evaluates to NULL if the journey is a direct, single-leg flight.

—
routing_airport_2

[DIMENSION] The IATA code for the second leg stopover airport. * Note: This value evaluates to NULL if the flight does not require a second stopover.

—
routing_airport_3

[DIMENSION] The IATA code for the third leg stopover airport. * Note: This value evaluates to NULL if the flight does not require a third stopover.

—
scheduled

[TIMESTAMP] The baseline publication time when the flight was officially scheduled to take off. Format: ISO 8601.

—
estimated

[TIMESTAMP] The dynamic, real-time forecast estimation of when the flight's journey milestone will complete. Format: ISO 8601.

—
actual

[TIMESTAMP] The actual date and time the flight milestone occurred. Format: ISO 8601.

—
vehicle_registration

[DIMENSION] The unique external alphanumeric tail number/registration marking assigned to the physical aircraft (e.g., N581JN).

—
vehicle_type

[CLASSIFICATION] The primary classification mode of the transit vessel. * PASSENGER: Commercial citizen transport flight. * CARGO: Dedicated freight logistics flight. * TRUCK: Used strictly for inter-shed ground transfer routing.

—
vehicle_variant

[DIMENSION] The structural aircraft design variant code specifying the technical fleet asset class (e.g., A380).

—
flight_closed

[FLAG/TIMESTAMP] Indicates whether (or when) the flight's object journey processing was formally closed.

—
dm_export_object_journey_uld
Description:

Business Purpose

This mart family (dm_export_object_journey_* / dm_import_object_journey_*) provides end-to-end milestone tracking for the three core objects moving through the warehouse: flights, ULDs (containers/pallets), and AWBs. It stitches together every message and handling milestone — from first document receipt through buildup, loading, closing, and delivery — to measure schedule adherence and operational SLA performance across the export/import journey.

Core Business Logic & Rules

  • Object grain: The flight-level model captures one row per flight; the ULD-level model one row per flight/ULD; the AWB-level model one row per flight/ULD/AWB — mirroring the nesting of the source data (flight → ULDs → AWBs).
  • Milestone pairs: Many milestones are tracked as first_*/last_* pairs (e.g. first_piece_received/last_piece_received) to capture the earliest and most recent occurrence across potentially multiple partial events.
  • Message milestones: Fields such as first_fwb_sent, first_ffm_sent, first_ucm_sent, first_luc_sent, last_not_sent record when specific IATA cargo messages (FWB, FHL, FFM, UCM, LUC, NOT, UWS, etc.) were transmitted.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
uld_flight_date

[DIMENSION] The targeted operation date of the flight. Restructured to reflect the local calendar date only.

—
uld_isn

[ID] The ULD (Unit Load Device / container or pallet) Hermes Serial Number.

—
uld_name

[DIMENSION] The name/identifier of the ULD (e.g., DKH-28072-LH).

—
intact

[FLAG] Indicates whether the ULD was intact.

—
delivered_intact

[FLAG] Indicates whether the ULD was delivered intact.

—
uld_buildup_start

[TIMESTAMP] The timestamp of the first piece delivered to the ULD, marking the start of its buildup.

—
uld_buildup_finish

[TIMESTAMP] The timestamp of the last piece delivered to the ULD, marking the end of its buildup.

—
uld_loaded

[TIMESTAMP] The timestamp when the ULD was loaded onto the flight.

—
uld_closed

[TIMESTAMP] The timestamp when the ULD was closed.

—
first_luc_sent

[TIMESTAMP] The first time a LUC message was sent for the ULD.

—
dm_import_flight_container_content
Description:

Business Purpose

This mart family (dm_import_flight_container, dm_import_flight_container_content, dm_import_flight_container_content_group, dm_export_flight_container, dm_export_flight_container_content) tracks ULDs (or loose "LOOSE" cargo) built onto a flight, the AWB shipments contained within each ULD, and the piece-level groupings within each shipment — enabling piece/weight reconciliation between what was manifested and what was actually loaded.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
flight_date

[DIMENSION] The targeted operation date of the flight. Restructured to reflect the local calendar date only.

—
uld_isn

[ID] The ULD (Unit Load Device / container or pallet) Hermes Serial Number.

—
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

—
awb_number

[DIMENSION] The Airwaybill Number (carrier prefix + serial), e.g. 297-74923645.

—
station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

—
live_until

[TIMESTAMP] The deadline timestamp until which the AWB remains "live" (active) for build purposes.

—
awb_transaction_object_isn

[ID] The Airwaybill's Hermes Charge/Transaction Object Serial Number.

—
awb_transit_export_isn

[ID] The Airwaybill's Export Transit Serial Number. NULL for non-transit shipments.

—
origin

[DIMENSION] The 3-letter IATA airport code representing the point of origin for the flight (e.g., LHR for London Heathrow).

—
destination

[DIMENSION] The 3-letter IATA airport code representing the destination of the flight or shipment.

—
content

[DIMENSION] Free-text description of the shipment's cargo content (e.g., CARPETS, CONSOL).

—
warehouse

[DIMENSION] The current warehouse location code holding the ULD (e.g., PCF).

—
delivery_type

[CLASSIFICATION] The type of shipment delivery. * LOCAL: Delivered locally at the station. * TRANSFER: Transferred to another flight/carrier. * TRANSIT: Passing through in transit. * UNKNOWN: Delivery type could not be determined.

—
agent_isn

[ID] The Nominated Agent Hermes Serial Number.

—
agent_code

[DIMENSION] The Nominated Agent Hermes Code.

—
agent_name

[DIMENSION] The Nominated Agent's name.

—
shcs

[DIMENSION] The list of Special Handling Codes (SHCs) attached to the shipment's pieces.

—
expected_pieces

[METRIC] The number of pieces expected per the manifest/booking, for comparison against the actual pieces count.

—
expected_weight

[METRIC] The weight expected per the manifest/booking, for comparison against the actual weight.

—
chargeable_weight

[METRIC] The actual chargeable weight (the greater of actual and volumetric weight) used for billing.

—
expected_chargeable_weight

[METRIC] The chargeable weight expected per the manifest/booking.

—
pieces

[METRIC] The actual number of pieces recorded for the shipment/grouping.

—
weight

[METRIC] The actual weight recorded for the shipment/grouping.

—
dm_import_object_journey_flight
Description:

Business Purpose

This mart family (dm_export_object_journey_* / dm_import_object_journey_*) provides end-to-end milestone tracking for the three core objects moving through the warehouse: flights, ULDs (containers/pallets), and AWBs. It stitches together every message and handling milestone — from first document receipt through buildup, loading, closing, and delivery — to measure schedule adherence and operational SLA performance across the export/import journey.

Core Business Logic & Rules

  • Object grain: The flight-level model captures one row per flight; the ULD-level model one row per flight/ULD; the AWB-level model one row per flight/ULD/AWB — mirroring the nesting of the source data (flight → ULDs → AWBs).
  • Milestone pairs: Many milestones are tracked as first_*/last_* pairs (e.g. first_piece_received/last_piece_received) to capture the earliest and most recent occurrence across potentially multiple partial events.
  • Message milestones: Fields such as first_fwb_sent, first_ffm_sent, first_ucm_sent, first_luc_sent, last_not_sent record when specific IATA cargo messages (FWB, FHL, FFM, UCM, LUC, NOT, UWS, etc.) were transmitted.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
airline_code

[DIMENSION] The two-character standard IATA code identifying the operating airline (e.g., LH for Lufthansa).

—
flight_number

[DIMENSION] The operational flight number identifier string assigned to the scheduled route.

—
flight_date

[DIMENSION] The targeted operation date of the flight. Restructured to reflect the local calendar date only.

—
station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

—
origin

[DIMENSION] The 3-letter IATA airport code representing the point of origin for the flight (e.g., LHR for London Heathrow).

—
routing_airport1

[DIMENSION] The IATA code for the first leg stopover airport. * Note: This value evaluates to NULL if the journey is a direct, single-leg flight.

—
routing_airport2

[DIMENSION] The IATA code for the second leg stopover airport. * Note: This value evaluates to NULL if the flight does not require a second stopover.

—
routing_airport3

[DIMENSION] The IATA code for the third leg stopover airport. * Note: This value evaluates to NULL if the flight does not require a third stopover.

—
scheduled

[TIMESTAMP] The baseline publication time when the flight was officially scheduled to take off. Format: ISO 8601.

—
departed

[TIMESTAMP] The verified point-in-time recording when the aircraft initiated active departure. Format: ISO 8601.

—
expected

[TIMESTAMP] The dynamic, real-time forecast estimation of when the flight will complete its routing. Format: ISO 8601.

—
landed

[TIMESTAMP] The exact landing milestone marking the point when the aircraft wheels made contact with the runway. Format: ISO 8601.

—
arrived

[TIMESTAMP] The milestone recording when the aircraft successfully arrived at the destination gate. * System Warning: This attribute is legacy metadata and is not actively used or populated across all legacy versions of Hermes tracking systems.

—
closed

[TIMESTAMP] The operational timestamp noting when logging and manifest processing for the flight was formally closed. Format: ISO 8601.

—
vehicle_registration

[DIMENSION] The unique external alphanumeric tail number/registration marking assigned to the physical aircraft (e.g., N581JN).

—
vehicle_type

[CLASSIFICATION] The primary classification mode of the transit vessel. * PASSENGER: Commercial citizen transport flight. * CARGO: Dedicated freight logistics flight. * TRUCK: Used strictly for inter-shed ground transfer routing.

—
vehicle_variant

[DIMENSION] The structural aircraft design variant code specifying the technical fleet asset class (e.g., A380).

—
flight_first_ffm_received

[TIMESTAMP] The first time an FFM (Freight Manifest) message was received for the flight.

—
flight_first_cpm_received

[TIMESTAMP] The first time a CPM (Container/Pallet Manifest) message was received for the flight.

—
flight_documents_received

[TIMESTAMP] The timestamp when the flight's shipment documents were received.

—
flight_first_uld_received

[TIMESTAMP] The first time a ULD physically arrived/was received for the flight.

—
flight_breakdown_start

[TIMESTAMP] The timestamp when breakdown (unpacking) of the flight's cargo started.

—
flight_breakdown_finish

[TIMESTAMP] The timestamp when breakdown (unpacking) of the flight's cargo finished.

—
dm_invoice_header
Description:

Business Purpose

This mart family (dm_invoice_header, dm_invoice_line, dm_invoice_line_split) represents finalized customer invoices generated from billable transactions, including how each line's revenue is split across departments/service types for accounting purposes.

Core Business Logic & Rules

  • Grain: One dm_invoice_header row per invoice; one dm_invoice_line row per charge line on that invoice; one dm_invoice_line_split row per revenue-department allocation of a line.
  • Run tracking: run_isn/run_date/run_type identify the batch invoice run that produced the invoice, useful for reconciling regenerated or re-run invoice batches.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

numeric(14,0)
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

numeric(14,0)
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

timestamp without time zone
isn

[ID] The Invoice Hermes Serial Number.

numeric(14,0)
number

[DIMENSION] The customer-facing invoice number (e.g., A100000031).

character varying(30)
station_code

[DIMENSION] The station code from which the underlying data was captured/reported (e.g., LUX, SYD).

text
type

[CLASSIFICATION] The type of invoice (e.g., ADVICE).

character varying(50)
document_type

[CLASSIFICATION] The invoice's document type (e.g., Cash Invoice).

text
sub_type

[CLASSIFICATION] The invoice subtype, where applicable.

character varying(50)
date

[TIMESTAMP] The date the invoice was raised.

timestamp without time zone
due_date

[TIMESTAMP] The date payment for the invoice is due.

timestamp without time zone
printed_date

[TIMESTAMP] The date/time the invoice was printed.

timestamp without time zone
finalized

[FLAG] Indicates whether the invoice has been finalized.

text
booked

[FLAG] Indicates whether the invoice has been booked to accounts.

text
total_amount

[METRIC] The total invoice amount, including tax.

numeric(18,6)
total_tax_amount

[METRIC] The total VAT/tax amount on the invoice.

numeric(18,6)
run_isn

[ID] The Hermes Serial Number of the batch invoice run that produced this invoice.

numeric(14,0)
run_date

[TIMESTAMP] The date/time the invoice run was executed.

timestamp without time zone
run_type

[CLASSIFICATION] The type of the invoice run (e.g., ADVICE).

character varying(50)
customer_isn

[ID] The Hermes Serial Number of the payee/customer on the transaction.

integer
customer_name

[DIMENSION] The name of the payee/customer.

character varying(100)
customer_type

[CLASSIFICATION] The type of the payee/customer (e.g., agent, AIRLINE).

character varying(50)
customer_account_number

[DIMENSION] The payee's customer account number (e.g., C10001).

character varying(30)
dm_export_service_recovery_flight
Description:

Business Purpose

This mart family (dm_export_service_recovery_* / dm_import_service_recovery_*) tracks shipments moved into Service Recovery — the exception-handling workflow triggered when an AWB's normal warehouse cycle fails (e.g. an unplanned offload). It exposes the header of the recovery event, the checklist/task detail steps taken to resolve it, the affected AWB, and the associated flight.

Core Business Logic & Rules

  • Header / Detail split: One Service Recovery header (service_recovery_header_isn) can have many detail checklist tasks, each tracked against a time-to-failure allowance.
  • Direction: The export and import variants share an identical structure; only the underlying flight/AWB source direction differs.
  • Resolution flags: moved_to_standard_recovery_cycle and removed_from_service_recovery indicate how the exception was ultimately closed out.

Columns

ColumnDescriptionData Type
partition_key

[ID] Technical ETL column used to partition the mart's storage/processing. Derived from the record's primary business key.

—
row_key

[ID] Technical ETL column holding the unique row identifier used for upsert/merge deduplication.

—
timestamp

[TIMESTAMP] Technical ETL column recording when this row was produced by the dbt run (run_started_at).

—
awb_isn

[ID] The Airwaybill Hermes Serial Number. A unique system identifier for the shipment record.

—
service_recovery_header_isn

[ID] The Service Recovery Header Hermes Serial Number, uniquely identifying a single recovery event for an AWB.

—
flight_isn

[ID] The Flight Hermes Serial Number. A unique system identifier assigned to this specific flight instance.

—
airline_code

[DIMENSION] The two-character standard IATA code identifying the operating airline (e.g., LH for Lufthansa).

—
flight_number

[DIMENSION] The operational flight number identifier string assigned to the scheduled route.

—
flight_date

[DIMENSION] The targeted operation date of the flight. Restructured to reflect the local calendar date only.

—
destination

[DIMENSION] The 3-letter IATA airport code representing the destination of the flight or shipment.

—
routing_airport1

[DIMENSION] The IATA code for the first leg stopover airport. * Note: This value evaluates to NULL if the journey is a direct, single-leg flight.

—
routing_airport2

[DIMENSION] The IATA code for the second leg stopover airport. * Note: This value evaluates to NULL if the flight does not require a second stopover.

—
routing_airport3

[DIMENSION] The IATA code for the third leg stopover airport. * Note: This value evaluates to NULL if the flight does not require a third stopover.

—
scheduled

[TIMESTAMP] The baseline publication time when the flight was officially scheduled to take off. Format: ISO 8601.

—
departed

[TIMESTAMP] The verified point-in-time recording when the aircraft initiated active departure. Format: ISO 8601.

—
expected

[TIMESTAMP] The dynamic, real-time forecast estimation of when the flight will complete its routing. Format: ISO 8601.

—
vehicle_registration

[DIMENSION] The unique external alphanumeric tail number/registration marking assigned to the physical aircraft (e.g., N581JN).

—
vehicle_type

[CLASSIFICATION] The primary classification mode of the transit vessel. * PASSENGER: Commercial citizen transport flight. * CARGO: Dedicated freight logistics flight. * TRUCK: Used strictly for inter-shed ground transfer routing.

—
vehicle_variant

[DIMENSION] The structural aircraft design variant code specifying the technical fleet asset class (e.g., A380).

—