openmobilityfoundation / mds-openapi

OpenAPI description for MDS data feeds, managed by the Open Mobility Foundation.
https://openmobilityfnd.stoplight.io/docs/mds-openapi
Other
10 stars 3 forks source link

vehicle_type allowed values #45

Open mihailpw opened 9 months ago

mihailpw commented 9 months ago

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:

Could you please review this moment?

thekaveman commented 9 months ago

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.