Skip to content

Add DB Fernverkehr fare example (Clemens Gantert, DB) - #1095

Draft
atibaut wants to merge 1 commit into
v2.1-wip-efipfrom
efip-db-example
Draft

atibaut wants to merge 1 commit into
v2.1-wip-efipfrom
efip-db-example

Conversation

@atibaut

@atibaut atibaut commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Clemens sent me this file this morning because he could not upload it to the repository himself, so I am opening the pull request on his behalf for today's EFIP plenary.

It is the fare data for one DB long-distance route (Fernverkehr), exported from the DB system on 1 October 2026: 58 stations, 5 fare zones, 27 single trip fare products with sales offer packages and prices, and 8 user profiles including companion and disability card rules. I added it exactly as received.

The file does not validate against the v2.1-wip-efip schema yet, so the example check in CI will fail. What I found with xmllint:

  • line 6 has <DataObjects> instead of <dataObjects>, which stops validation right at the start
  • with that corrected there are about 1,090 further errors, nearly all from the export rather than the fare modelling: most objects have no version attribute, a number of objects have no id (SalesOfferPackageElement, GenericParameterAssignment, DistributionAssignment, CompanionProfile, EntitlementRequired), several references have no ref (ScheduledStopPointRef, TypeOfFareStructureElementRef, PricingServiceRef), the abstract TransportOrganisationRef and UsageParameterRef are used directly, and there are a few Value/Key order errors

I would suggest we discuss at the plenary whether Clemens updates the export or we tidy the file as part of the consolidation of the examples, and merge once it validates.

Clemens, please check that the description is right.

Fare data for one DB long-distance route, exported from the DB system
on 1 October 2026 and sent by Clemens Gantert (DB) for the EFIP
plenary of 5 November 2026. The file is added as received.
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

Successfully merging this pull request may close these issues.

1 participant