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

    Interface UjpJourney

    interface UjpJourney {
        changes?: number | null;
        destination_station: PlanningStation;
        duration_seconds?: number;
        id: string;
        legs: UjpLeg[];
        origin_station: PlanningStation;
        realtime_arrival?: string | null;
        realtime_classification?: string | null;
        realtime_departure?: string | null;
        scheduled_arrival: string;
        scheduled_departure: string;
    }
    Index
    changes?: number | null

    Train changes; walking and transfer segments do not count separately.

    0

    destination_station: PlanningStation
    duration_seconds?: number

    Scheduled duration in seconds.

    0

    id: string

    Temporary ID unique within this search; not a persisted journey ID.

    legs: UjpLeg[]

    Segments in travel order, including non-rail modes.

    1

    origin_station: PlanningStation
    realtime_arrival?: string | null

    Predicted arrival when available.

    realtime_classification?: string | null

    National Rail realtime status; allow new values.

    realtime_departure?: string | null

    Predicted departure when available.

    scheduled_arrival: string

    Scheduled end of the whole journey.

    scheduled_departure: string

    Scheduled start of the whole journey.