StopTime

data class StopTime(val tripId: String, val arrivalTime: ServiceTime? = null, val departureTime: ServiceTime? = null, val stopId: String, val locationGroupId: String? = null, val locationId: String? = null, val stopSequence: Int, val stopHeadsign: String? = null, val startPickupDropOffWindow: ServiceTime? = null, val endPickupDropOffWindow: ServiceTime? = null, val pickupType: PickupDropoff? = null, val dropOffType: PickupDropoff? = null, val continuousPickup: ContinuousPickupDropOff? = null, val continuousDropOff: ContinuousPickupDropOff? = null, val shapeDistTraveled: Double? = null, val timepoint: Timepoint? = null, val pickupBookingRuleId: String? = null, val dropOffBookingRuleId: String? = null)(source)

Times that a vehicle arrives at and departs from stops for each trip.

This class represents a record in the stop_times.txt file.

Constructors

Link copied to clipboard
constructor(tripId: String, arrivalTime: ServiceTime? = null, departureTime: ServiceTime? = null, stopId: String, locationGroupId: String? = null, locationId: String? = null, stopSequence: Int, stopHeadsign: String? = null, startPickupDropOffWindow: ServiceTime? = null, endPickupDropOffWindow: ServiceTime? = null, pickupType: PickupDropoff? = null, dropOffType: PickupDropoff? = null, continuousPickup: ContinuousPickupDropOff? = null, continuousDropOff: ContinuousPickupDropOff? = null, shapeDistTraveled: Double? = null, timepoint: Timepoint? = null, pickupBookingRuleId: String? = null, dropOffBookingRuleId: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "arrival_time")
val arrivalTime: ServiceTime?

Arrival time at a specific stop for a specific trip on a route.

Link copied to clipboard
@SerialName(value = "continuous_drop_off")
val continuousDropOff: ContinuousPickupDropOff?

Indicates continuous drop off behavior.

Link copied to clipboard
@SerialName(value = "continuous_pickup")
val continuousPickup: ContinuousPickupDropOff?

Indicates continuous pickup behavior.

Link copied to clipboard
@SerialName(value = "departure_time")
val departureTime: ServiceTime?

Departure time from a specific stop for a specific trip on a route.

Link copied to clipboard
@SerialName(value = "drop_off_booking_rule_id")
val dropOffBookingRuleId: String?

Identifies the alighting booking rule at this stop time.

Link copied to clipboard
@SerialName(value = "drop_off_type")
val dropOffType: PickupDropoff?

Indicates drop off method.

Link copied to clipboard
@SerialName(value = "end_pickup_drop_off_window")
val endPickupDropOffWindow: ServiceTime?

Time that on-demand service ends in a GeoJSON location, location group, or stop.

Link copied to clipboard
@SerialName(value = "location_group_id")
val locationGroupId: String?

Identifies the serviced location group that indicates groups of stops where riders may request pickup or drop off.

Link copied to clipboard
@SerialName(value = "location_id")
val locationId: String?

Identifies the GeoJSON location that corresponds to serviced zone where riders may request pickup or drop off.

Link copied to clipboard
@SerialName(value = "pickup_booking_rule_id")
val pickupBookingRuleId: String?

Identifies the boarding booking rule at this stop time.

Link copied to clipboard
@SerialName(value = "pickup_type")
val pickupType: PickupDropoff?

Indicates pickup method.

Link copied to clipboard
@SerialName(value = "shape_dist_traveled")
val shapeDistTraveled: Double?

Distance traveled along the shape from the first stop to the stop in this record.

Link copied to clipboard
@SerialName(value = "start_pickup_drop_off_window")
val startPickupDropOffWindow: ServiceTime?

Time that on-demand service becomes available in a GeoJSON location, location group, or stop.

Link copied to clipboard
@SerialName(value = "stop_headsign")
val stopHeadsign: String?

Text that appears on signage identifying the trip's destination to riders.

Link copied to clipboard
@SerialName(value = "stop_id")
val stopId: String

Identifies the serviced stop.

Link copied to clipboard
@SerialName(value = "stop_sequence")
val stopSequence: Int

Order of stops for a particular trip.

Link copied to clipboard
@SerialName(value = "timepoint")
val timepoint: Timepoint?

Indicates whether a rider can board or alight at this stop.

Link copied to clipboard
@SerialName(value = "trip_id")
val tripId: String

Identifies a trip.