UnionInternationalCheminsdeFer / OSDM

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

City passes in OSDM #650

Open JorienDT opened 1 month ago

JorienDT commented 1 month ago

Are additional city passes for cities like Zurich and Geneva (SBB) an ancillary or an admission pass?

CGantert345 commented 1 month ago

They are admissions. According to the definition (https://osdm.io/spec/models/) admissions represent a travel right whereas ancillaries don't.

jspetrak commented 4 weeks ago

@CGantert345 @schlpbch I am looking into swagger, and we can express desired regional validity in request OfferSeachCriteria, admissionOfferPart contains textual summary but no structured regional validity data, and admission in bookerOffer doesn't contain anything to recognize the regional validity expect maybe textual label in summary or from the product. Is that correct?

CGantert345 commented 4 weeks ago

Yes, a structured regional validity is only part of the fares. Besides OSDM a structured regional validity can be included in the ticket bar code and the exchanged control data.