VehicleRentalStation Object
Vehicle rental station represents a location where users can rent bicycles etc. for a fee.
Fields
#
allowDropoff
If true, vehicles can be returned to this station if the station has spaces available or allows overloading.
allowOverloading
If true, vehicles can be returned even if spacesAvailable is zero or vehicles > capacity.
allowPickup
If true, vehicles can be picked up from this station if the station has vehicles available.
availableSpaces
Number of free spaces currently available on the rental station, grouped by vehicle type.
availableVehicles
Number of vehicles currently available on the rental station, grouped by vehicle type.
id
Global object ID provided by Relay. This value can be used to refetch this object using node query.
realtime
If true, values of vehiclesAvailable
and spacesAvailable
are updated from a
real-time source. If false, values of vehiclesAvailable
and spacesAvailable
are always the total capacity divided by two.
rentalNetwork
The vehicle rental network information. This is referred as system in the GBFS terminology.
spacesAvailable
Number of free spaces currently available on the rental station.
Note that this value being 0 does not necessarily indicate that vehicles cannot be returned
to this station, as for example it might be possible to leave the vehicle in the vicinity of
the rental station, even if the vehicle racks don't have any spaces available.
See field allowDropoffNow
to know if is currently possible to return a vehicle.
vehiclesAvailable
Number of vehicles currently available on the rental station.
See field allowPickupNow
to know if is currently possible to pick up a vehicle.
Interfaces
#
Also implements Node , PlaceInterface .
Usages
#
References
#
- Part of union RentalPlace
- Field vehicleRentalStation from Place
- Field vehicleRentalStation from QueryType
VehicleRentalNetwork
VehicleRentalUris