OperatingRule
A single operating rule defining when and where on-demand services are available.
Constructors
Properties
ID from a service brand defined in service_brands.json. If this field is not provided, the operating rule applies to every service brand defined in service_brands.json.
Time at which the drop off stops being available in to_zone_id defined in this array. Some services differ the end of the pickup time and the end of the drop off time (e.g.: The pickup time ends at 10PM in the origin zone but it is still possible to be dropped off in the destination zone until 10:30PM). If end_dropoff_window is provided, start_pickup_window must be provided.
Time at which the pickup stops being available in from_zone_id defined in this array. If end_pickup_window is provided, start_pickup_window must be provided.
Unique identifier of a fare. Used to determine the price of the on-demand service.
ID from a zone defined in zones.json representing the boarding zone for the current rule.
Time at which the pickup starts being available in from_zone_id defined in this array. If start_pickup_window is provided, either end_pickup_window or end_dropoff_window must also be provided.
ID from a zone defined in zones.json representing the alighting zone for the current rule. from_zone_id and to_zone_id may reference the same zone.
Array of vehicle types used for delivering the on-demand service.