Magidoc

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.

allowDropoffNow

If true, vehicles can be currently returned to this station.

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.

allowPickupNow

If true, vehicles can be currently picked up from this station.

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.

capacity

Nominal capacity (number of racks) of the rental station.

id

ID !
Non-null

Global object ID provided by Relay. This value can be used to refetch this object using node query.

lat

Latitude of the vehicle rental station (WGS 84)

lon

Longitude of the vehicle rental station (WGS 84)

name

Non-null

Name of the vehicle rental station

network

ID of the rental network.

operative

If true, station is on and in service.

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

Non-null

The vehicle rental network information. This is referred as system in the GBFS terminology.

rentalUris

Platform-specific URLs to begin renting a vehicle from this station.

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.

stationId

ID of the vehicle in the format of network:id

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

#

  • Field vehicleRentalStation from Place