smart-data-models / dataModel.Transportation

Transportation Data Model
37 stars 35 forks source link

Update the enum list of vehicleType attribute #4

Closed jaimeventura closed 4 years ago

jaimeventura commented 4 years ago

According to the datamodel's documentation, the vehicleType attribute allows values defined by VehicleTypeEnum a DATEX 2 version 2.3.

But not all the vehicle types in DATEX 2 version 2.3 are allowed on vehicleType attribute. Only a subset is allowed. This is even enforced in the schema.json. For instance twoWheeledVehicle (a simple scooter, i believe) is not there.

So, im asking to update this. I volunteer to work on this and issue a pull request, if there's an agreement in the update of such list.

albertoabellagarcia commented 4 years ago

I do think so it is required to meet this documentation, please could you do a PR with this change? Thanks