Repository navigation
Conversation
Replaces #974
|
Before merging, this PR will need examples provided by Entur team. The addition of examples can be done directly in the feature branch |
|
I will add an example this week, I think |
Move the +v2.1 annotations inside their xsd:enumeration elements; as siblings inside xsd:restriction they made the schema fail to compile. Add example showing the new replacement submodes on Line level (metroReplacementBus) and ServiceJourney level (tramReplacementBus, railReplacementTaxi). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Wrapped the |
ue71603
left a comment
There was a problem hiding this comment.
we have to do the documentation right
Co-authored-by: Matthias Günter <matthias.guenter@sbb.ch>
Co-authored-by: Matthias Günter <matthias.guenter@sbb.ch>
TuThoThai
left a comment
There was a problem hiding this comment.
@hfjelstad, please see some comments in the XML example
@ue71603, how about making documentation really right? 😉
| @@ -0,0 +1,61 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
There was a problem hiding this comment.
I would say that the example is not comprehensive enough.
For the Line, especially with a replacement, you would have more details (e.g., BrandingRef, Routes, NoticeAssignment)
For the ServiceJourney that is a taxi replacement, you would expect at least the PassengerCapacity
Also, I would have imagined that the example carries the nominal example (without replacement) and the replacement details to be self-explanatory
There was a problem hiding this comment.
So basically you would like to have a whole replacement situation modeled? if the service journey / line that was replaced?
I would accep the change without it and do the whole replacement example as an issue for 30
There was a problem hiding this comment.
That would be a huge overkill in complexity just to provide an example of how to send a railReplacementTaxi, which is the simple change to the request. For other use cases you refer to, @TuThoThai, should have their own guidelines and examples.
There was a problem hiding this comment.
@ue71603 and @BredeD, we add a good chat with the SIRI group yesterday saying that replacements / deviations are one of the best use-case for working on the articulation between NeTEx and SIRI.
The current change request on submodes is not crucial for v2.1, or at least I did not find any practical use-case supporting the request. So, we have 2 options here:
- either an example of a pre-production / production file supporting the need for immediate change (in that case, I expect better than an almost empty file)
- either we park this change for v3.0 with an entire rework of modes / submodes as it was advocated originally by @JohanEntur
| @@ -0,0 +1,61 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
There was a problem hiding this comment.
So basically you would like to have a whole replacement situation modeled? if the service journey / line that was replaced?
I would accep the change without it and do the whole replacement example as an issue for 30
|
As of the plenary of 19 November 2026, the agreement is:
|
|
Business description: why Entur requests these submodes |
Replaces #974 with the addition of documentation in the XSD to identify added values to enumeration