Talk:TT:operationalTrainSection: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
mNo edit summary
(Reformulated coverage constraint, range constraint obsolete.)
 
Line 1: Line 1:
= Semantic Constraints Proposals =
= Semantic Constraints Proposals =


== Well-Defined Ranges ==
See [https://www.railml.org/forum/index.php?t=msg&th=894 forum topic].
 
:If the '''operationalTrainSection''' has a '''range''' element, the '''baseItineraryPoint'''s referenced therein must belong to the '''itinerary''' referenced by the parent '''operationalTrainVariant''''s '''itineraryRef'''.
 
I made this one up.
It may be better suitable on the '''range''' page.
[[User:David Lichti|David Lichti]] ([[User talk:David Lichti|talk]]) 15:09, 17 January 2023 (CET)


== Disjoint Sections ==
== Disjoint Sections ==


:The itinerary sections of an '''operationalTrainVariant''', defined by the '''operationalTrainSection'''s and their respective '''range'''s, must be pairwise disjoint except for their first/last '''baseItineraryPoint'''s.
:The itinerary sections of an '''operationalTrainVariant''', defined by the '''operationalTrainSection'''s and their respective '''range'''s, must be pairwise disjoint, except for their respective first and last '''baseItineraryPoint'''s.
[[User:David Lichti|David Lichti]] ([[User talk:David Lichti|talk]]) 15:09, 17 January 2023 (CET)
[[User:David Lichti|David Lichti]] ([[User talk:David Lichti|talk]]) 08:36, 30 January 2023 (CET)


== Itinerary Coverage ==
== Itinerary Coverage ==


:The union of all itinerary sections defined by the '''operationalTrainSection'''s and their respective '''range'''s must cover the entire '''itinerary''' referenced by the parent '''operationalTrainVariant''''s '''itineraryRef'''.
:The first(last) '''baseItineraryPoint''' of each '''operationalTrainSection''' within an '''operationalTrainVariant''' must either be the referenced '''itinerary''''s first(last) base point, or coincide with another section's last(first) base point.
[[User:David Lichti|David Lichti]] ([[User talk:David Lichti|talk]]) 15:09, 17 January 2023 (CET)
[[User:David Lichti|David Lichti]] ([[User talk:David Lichti|talk]]) 08:36, 30 January 2023 (CET)

Latest revision as of 09:36, 30 January 2023

Semantic Constraints Proposals

See forum topic.

Disjoint Sections

The itinerary sections of an operationalTrainVariant, defined by the operationalTrainSections and their respective ranges, must be pairwise disjoint, except for their respective first and last baseItineraryPoints.

David Lichti (talk) 08:36, 30 January 2023 (CET)

Itinerary Coverage

The first(last) baseItineraryPoint of each operationalTrainSection within an operationalTrainVariant must either be the referenced itinerary's first(last) base point, or coincide with another section's last(first) base point.

David Lichti (talk) 08:36, 30 January 2023 (CET)