UnionInternationalCheminsdeFer / OSDM

Projects related to an open sales & distribution API for public transportation.
https://osdm.io
Apache License 2.0
53 stars 21 forks source link

Distinguish between "Place Address" and "People/Company Address" #449

Closed ralfbayer-db closed 4 months ago

ralfbayer-db commented 7 months ago

The current Address type in OSDM contains the "Place"-Attributes, which makes an ID mandatory. While this is necessary for Place Addresses used in trip searches, it is irrelevant for addresses used in the booking structures (Purchaser, Passenger.PersonDetail, CompanyDetail).

We propose:

As this will be a breaking change, for the meantime document that the ID within the address is purely fictional for addresses used for people or companies.

ralfbayer-db commented 6 months ago
CGantert345 commented 4 months ago

TODO: prepare patch --> Ralf