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

    Interface UjpLeg

    One journey segment, including walking or transfers.

    interface UjpLeg {
        alight_station: PlanningStation;
        board_station: PlanningStation;
        calling_points?: UjpCallingPoint[] | null;
        destination_platform?: string | null;
        destination_scheduled_arrival?: string | null;
        destination_station?: PlanningStation | null;
        mode: string;
        operator?: UjpLegOperator;
        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?: UjpLegServiceIdentifiers;
    }
    Index
    alight_station: PlanningStation
    board_station: PlanningStation
    calling_points?: UjpCallingPoint[] | null

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

    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.

    mode: string

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

    operator?: UjpLegOperator

    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.

    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?: UjpLegServiceIdentifiers

    Service identifiers for booking or replanning.