Repository navigation
Roll back uniques that no key covers (into #998) - #1110
Merged
Merged
Conversation
Aurige
approved these changes
Nov 17, 2026
TuThoThai
approved these changes
Nov 17, 2026
TuThoThai
pushed a commit
that referenced
this pull request
Nov 17, 2026
* Remove unique constraints, because we have xsd:key * Updates of metadata For both files: * adding in the metadata the changes made most recently on ref / key constraints * changing status from 1.0 to 2.0 * edit date to 2026 * Roll-back unique constraints NeTEx_publication.xsd: Roll-back for deletion of unique contraints that were not duplicated with key contraints * rolback on publication_timetable NeTEx_publication_timetable.xsd : roll-back on deletion of unique constraints when there is no key constraints * Roll back uniques that no key covers (into #998) (#1110) * should-fail: support per-case schema (timetable) and GitHub annotations * should-fail: duplicate TemplateVehicleJourney (publication) * should-fail: duplicate GroupOfLinkSequences (timetable) * should-fail: duplicate ValidBetween (timetable) * should-fail: duplicate TemplateVehicleJourney (timetable) * should-fail: duplicate SectionInSequence (timetable) * rollback: restore GroupOfLinkSequences unique to v2.0 state (publication) * rollback: restore ValidityCondition unique to v2.0 state (publication) * rollback: restore UsageValidityPeriod unique to v2.0 state (publication) * rollback: restore TemplateVehicleJourney unique to v2.0 state (publication) * rollback: restore GroupOfLinkSequences unique to v2.0 state (timetable) * rollback: restore ValidityCondition unique to v2.0 state (timetable) * rollback: restore SectionInSequence unique to v2.0 state (timetable) * rollback: restore TemplateVehicleJourney unique to v2.0 state (timetable) * should-fail: duplicate CalendarDate (publication) * rollback: restore OperatingDay CalendarDate unique to v2.0 state (publication) * rollback: restore OperatingDay CalendarDate unique to v2.0 state (timetable)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sister PR for #998, to merge into it.
TL;DR: I add tests proving duplicates are no longer rejected (red), then restore the missing constraints (green).
In this PR:
uniquenot covered by akey(verbatim copy from v2.0)