You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as per event.occupancy_status, but the strings used are not entirely compatible with api, but should be event.occupancy_status for most reasonable values.
EMPTY
MANY_SEATS_AVAILABLE The vehicle or carriage has a large number of seats available. The amount of free seats out of the total seats available to be considered large enough to fall into this category is determined at the discretion of the producer.
FEW_SEATS_AVAILABLE The vehicle or carriage has a small number of seats available. The amount of free seats out of the total seats available to be considered small enough to fall into this category is determined at the discretion of the producer.
STANDING_ROOM_ONLY The vehicle or carriage can currently accommodate only standing passengers.
CRUSHED_STANDING_ROOM_ONLY The vehicle or carriage can currently accommodate only standing passengers and has limited space for them.
FULL The vehicle is considered full by most measures, but may still be allowing passengers to board.
NOT_ACCEPTING_PASSENGERS The vehicle or carriage is not accepting passengers. The vehicle or carriage usually accepts passengers for boarding.
NO_DATA_AVAILABLE The vehicle or carriage doesn't have any occupancy data available at that time.
NOT_BOARDABLE
The text was updated successfully, but these errors were encountered:
api/apps/sync-vehicles/src/tasks/sync-positions.ts
Lines 33 to 35 in 6b80776
Add two fields based on existing vehicle metadata available in the API
licensePlate: event.license_plate
wheelchairAccessible: event.wheelchair_accessible ? 'wheelchair_accessible' : 'no_value'
Also in
api/apps/sync-vehicles/src/tasks/sync-positions.ts
Line 18 in 6b80776
Add:
occupancyStatus
as per event.occupancy_status, but the strings used are not entirely compatible with api, but should be
event.occupancy_status
for most reasonable values.The text was updated successfully, but these errors were encountered: