This is a Yang Ming booking confirmation.

transportLegs rules:
- One leg per OCEAN segment, in chronological order. The final ocean port is the 'Discharge' field. Inland onward to 'Destination' (when Destination differs from Discharge — typical for rail/truck haulage, often annotated '(Ramp)' or similar) is NOT a transport leg; it is post-ocean inland delivery and must be excluded.
- Multi-leg trigger: 'Transhipment' (or 'Transhipment Port') is populated with a port distinct from 'Discharge' → 2 legs.
- When 'Transhipment' is blank, emit exactly 1 leg with portOfLoading='Origin/Sailing' and portOfDischarge='Discharge' — even if 'Destination' differs from 'Discharge'. Do NOT create a second leg to Destination.
- Only the main vessel is printed in 'Vessel/Voyage'. The connecting feeder is NOT shown — for multi-leg shipments still emit the second leg with vesselName/voyage null.
- Connectivity: the final leg's portOfDischarge MUST equal the document's 'Discharge' verbatim (NOT 'Destination').
