@transreport/pauk-ujp-api
    Preparing search index...

    Interface Leg

    One journey segment, including walking or transfers.

    interface Leg {
        alight_station: PlanningStation;
        board_station: PlanningStation;
        calling_points?: CallingPoint[] | null;
        catering?: string[] | null;
        destination_platform?: string | null;
        destination_scheduled_arrival?: string | null;
        destination_station?: PlanningStation | null;
        formation_changes?: FormationChange[] | null;
        mode: string;
        operator?: LegOperator;
        origin_platform?: string | null;
        origin_scheduled_departure?: string | null;
        origin_station?: PlanningStation | null;
        position: number;
        realtime_arrival?: string | null;
        realtime_classification?: string | null;
        realtime_departure?: string | null;
        scheduled_arrival?: string | null;
        scheduled_departure?: string | null;
        service_identifiers?: LegServiceIdentifiers;
    }
    Index
    alight_station: PlanningStation
    board_station: PlanningStation
    calling_points?: CallingPoint[] | null

    Snapshot of stops in travel order, including boarding/alighting. Null means unrequested or unavailable; [] means no stops.

    catering?: string[] | null

    Onboard catering, e.g. trolley, buffet, restaurant, hot_food, first_class_restaurant, first_class_meal; allow new values. Null means unknown; [] means none.

    destination_platform?: string | null

    Alighting platform when known.

    destination_scheduled_arrival?: string | null

    Scheduled arrival at the full service destination.

    destination_station?: PlanningStation | null

    Full service destination; may differ from the alighting station. Null when unknown, including when a dividing train's portion is ambiguous.

    formation_changes?: FormationChange[] | null

    Where the train divides or joins during this leg, returned with calling points. Null means unrequested or unavailable; [] means none.

    mode: string

    Travel mode, e.g. TRAIN, WALK, REPLACEMENT_BUS, UNDERGROUND, TRANSFER; allow new values.

    operator?: LegOperator

    Service operator; may differ from station management.

    origin_platform?: string | null

    Boarding platform when known.

    origin_scheduled_departure?: string | null

    Scheduled departure from the full service origin.

    origin_station?: PlanningStation | null

    Full service origin; may differ from the boarding station. Null when unknown, including when a joining train's portion is ambiguous.

    position: number

    One-based position in the journey.

    1

    realtime_arrival?: string | null

    Predicted alighting arrival; null does not imply on time.

    realtime_classification?: string | null

    National Rail realtime status, e.g. NORMAL, DELAYED, CANCELLED; allow new values.

    realtime_departure?: string | null

    Predicted boarding departure; null does not imply on time.

    scheduled_arrival?: string | null

    Scheduled arrival at alighting, if known.

    scheduled_departure?: string | null

    Scheduled departure at boarding, if known.

    service_identifiers?: LegServiceIdentifiers

    Service identifiers for booking or replanning.