Skip to content
Discussion options

You must be logged in to vote

In our GBFS implementation of the vehicle_status.json file, we set the vehicles[].is_reserved to true if the vehicle is currently in a rental, false otherwise (without regarding any futur reservations).

is_reserved is used to indicate that a parked vehicle is unavailable for use because of a pending reservation. For example, someone has reserved a vehicle for rental but has not picked it up yet. These are not vehicles that are currently part of an active rental. To protect user privacy, vehicles in active rental should never appear in the feed. This feature originated in bike sharing so it may be less applicable to car sharing. Some bike sharing systems allows users to remotely reserve …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ValentinCitiz
Comment options

@mplsmitch
Comment options

@ValentinCitiz
Comment options

Answer selected by ValentinCitiz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants