Skip to content

RouteTransitLegDetails

Source code in docs_src/capo_geo_routes/types/route_transit_leg_details.py
class RouteTransitLegDetails(TypedDict, closed=True):
    after_travel_steps: "capo_geo_routes.types.route_transit_after_travel_step_list.RouteTransitAfterTravelStepList"
    """<p>Steps of a leg that must be performed after the travel portion of the leg.</p>"""
    agency: NotRequired["capo_geo_routes.types.route_transit_agency.RouteTransitAgency"]
    """<p>Details about the transit agency.</p>"""
    arrival: "capo_geo_routes.types.route_transit_arrival.RouteTransitArrival"
    """<p>Details corresponding to the arrival for the leg.</p>"""
    attributions: "capo_geo_routes.types.route_attribution_list.RouteAttributionList"
    """<p>List of required attributions to display.</p>"""
    before_travel_steps: "capo_geo_routes.types.route_transit_before_travel_step_list.RouteTransitBeforeTravelStepList"
    """<p>Steps of a leg that must be performed before the travel portion of the leg.</p>"""
    booking_web_links: "capo_geo_routes.types.route_web_link_list.RouteWebLinkList"
    """<p>Web links to external ticket booking services for the transit.</p>"""
    departure: "capo_geo_routes.types.route_transit_departure.RouteTransitDeparture"
    """<p>Details corresponding to the departure for the leg.</p>"""
    incidents: (
        "capo_geo_routes.types.route_transit_incident_list.RouteTransitIncidentList"
    )
    """<p>Incidents affecting this leg of the transit route.</p>"""
    intermediate_stops: "capo_geo_routes.types.route_transit_intermediate_stop_list.RouteTransitIntermediateStopList"
    """<p>Intermediate stops between departure and destination of the transit route.</p>"""
    next_departures: "capo_geo_routes.types.route_transit_next_departure_list.RouteTransitNextDepartureList"
    """<p>List of next departures that cover the same section of the route.</p>"""
    notices: "capo_geo_routes.types.route_transit_notice_list.RouteTransitNoticeList"
    """<p>List of notices that indicate issues that occurred during route calculation.</p>"""
    pass_through_waypoints: "capo_geo_routes.types.route_pass_through_waypoint_list.RoutePassThroughWaypointList"
    """<p>Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option. Not populated when the TravelMode is <code>Transit</code> or <code>Intermodal</code>.</p>"""
    spans: "capo_geo_routes.types.route_transit_span_list.RouteTransitSpanList"
    """<p>Spans that were computed for the requested SpanAdditionalFeatures. Not populated when the TravelMode is <code>Transit</code> or <code>Intermodal</code>.</p>"""
    summary: NotRequired[
        "capo_geo_routes.types.route_transit_summary.RouteTransitSummary"
    ]
    """<p>Summary of the transit leg.</p>"""
    transport: "capo_geo_routes.types.route_transit_transport_mode_details.RouteTransitTransportModeDetails"
    """<p>Transport mode details for the transit leg.</p>"""
    travel_steps: "capo_geo_routes.types.route_transit_travel_step_list.RouteTransitTravelStepList"
    """<p>Steps of a leg that must be performed during the travel portion of the leg.</p>"""

after_travel_steps instance-attribute

after_travel_steps: RouteTransitAfterTravelStepList

Steps of a leg that must be performed after the travel portion of the leg.

agency instance-attribute

agency: NotRequired[RouteTransitAgency]

Details about the transit agency.

arrival instance-attribute

Details corresponding to the arrival for the leg.

attributions instance-attribute

attributions: RouteAttributionList

List of required attributions to display.

before_travel_steps instance-attribute

before_travel_steps: RouteTransitBeforeTravelStepList

Steps of a leg that must be performed before the travel portion of the leg.

booking_web_links: RouteWebLinkList

Web links to external ticket booking services for the transit.

departure instance-attribute

Details corresponding to the departure for the leg.

incidents instance-attribute

Incidents affecting this leg of the transit route.

intermediate_stops instance-attribute

Intermediate stops between departure and destination of the transit route.

next_departures instance-attribute

List of next departures that cover the same section of the route.

notices instance-attribute

List of notices that indicate issues that occurred during route calculation.

pass_through_waypoints instance-attribute

pass_through_waypoints: RoutePassThroughWaypointList

Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option. Not populated when the TravelMode is Transit or Intermodal.

spans instance-attribute

Spans that were computed for the requested SpanAdditionalFeatures. Not populated when the TravelMode is Transit or Intermodal.

summary instance-attribute

summary: NotRequired[RouteTransitSummary]

Summary of the transit leg.

transport instance-attribute

Transport mode details for the transit leg.

travel_steps instance-attribute

Steps of a leg that must be performed during the travel portion of the leg.