Represents a place where a rental vehicle can be rented from, or dropped off at. Currently, there are two implementing classes, VehicleRentalStation which represents a physical station, and VehicleRentalVehicle, which represents a free floating vehicle, which is not bound to a station.
name | data type | constraints | description |
---|---|---|---|
longitude | number | required | |
realTimeData | boolean | required | Whether this station has real-time data available currently. If no real-time data, users should take bikesAvailable/spacesAvailable with a pinch of salt, as they are always the total capacity divided by two. |
network | string | Get the id of the vehicle rental system | |
carStation | boolean | required | Should the search be continued with CAR mode after renting a vehicle |
latitude | number | required | |
allowPickup | boolean | required | Can a vehicle be rented here |
allowOverloading | boolean | required | Does the place allow overloading (ignore available spaces) |
arrivingInRentalVehicleAtDestinationAllowed | boolean | required | Is it possible to arrive at the destination with a rented bicycle, without dropping it off |
name | I18NString | Get the name of the place | |
capacity | number | Number of total docking points installed at this station, both available and unavailable. | |
floatingVehicle | boolean | required | Is the vehicle to be rented free-floating |
allowDropoff | boolean | required | Does the place allow dropping off vehicles |
id | FeedScopedId | Get the id for the place, which is globally unique | |
rentalUris | VehicleRentalStationUris | Deep links for this rental station or individual vehicle | |
spacesAvailable | number | required | How many parking spaces are currently available for dropping off a vehicle at the station, 0 for floating vehicles |
stationId | string | Get the system-internal id for the place | |
vehiclesAvailable | number | required | How many vehicles are currently available for rental at the station |
Example
{ "longitude" : 12345.0, "realTimeData" : true, "network" : "...", "carStation" : true, "latitude" : 12345.0, "allowPickup" : true, "allowOverloading" : true, "arrivingInRentalVehicleAtDestinationAllowed" : true, "name" : { }, "capacity" : 12345, "floatingVehicle" : true, "allowDropoff" : true, "id" : { "feedId" : "...", "id" : "..." }, "rentalUris" : { "android" : "...", "ios" : "...", "web" : "..." }, "spacesAvailable" : 12345, "stationId" : "...", "vehiclesAvailable" : 12345 }