Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vehicle_type allowed values #45

Open
mihailpw opened this issue Mar 1, 2024 · 1 comment
Open

vehicle_type allowed values #45

mihailpw opened this issue Mar 1, 2024 · 1 comment

Comments

@mihailpw
Copy link

mihailpw commented Mar 1, 2024

Currently, vehicle_type is described here and shared between all the modes.
My question is should it be one list of allowed values ​​for all modes? I assume allowed values should be separated per each mode.

Seems like it should be separated to each mode, like:

  • bicycle is related to micromobility
  • bus - passenger-services (?)
  • cargo_bicycle - micromobility
  • car - car-share
  • delivery_robot - delivery-robots
  • moped - micromobility
  • motorcycle - micromobility (?)
  • scooter_standing - micromobility
  • scooter_seated - micromobility
  • truck - car-share
  • other - ...

Could you please review this moment?

@thekaveman
Copy link
Collaborator

From my reading of the spec on Vehicles, vehicle_type does not vary per mode (unlike, say, vehicle_attributes, which does vary per mode).

The vehicle_type data type is also reused across a number of areas of the OpenAPI spec, including for things like requirements which as defined in the spec could contain any number of vehicle types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants