Template:Switch/Dev:SemanticConstraints: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#switch:{{{1}}} | <includeonly>{{#switch:{{{1}}} | ||
|IS:001={{DefSemcon|{{{1}}}|{{{2}}}|text=Starting time stamp (e.g. "from") shall be lower or equal any ending time stamp (e.g. "to") if both are given. Must not overlap with other validity periods within the same enclosing element.|status=approved|proposed=2024-01-15|approved=2024-04-15}} | |IS:001={{DefSemcon|{{{1}}}|{{{2}}}|text=Starting time stamp (e.g. "from") shall be lower or equal any ending time stamp (e.g. "to") if both are given. Must not overlap with other validity periods within the same enclosing element.|status=approved|proposed=2024-01-15|approved=2024-04-15}} | ||
|IS:005={{DefSemcon|{{{1}}}|{{{2}}}|text={{@|height|IS:signalConstruction}} and {{@|positionAtTrack|IS:signalConstruction}} should not be used with {{@|type|IS:signalConstruction}}=virtual.|status=approved|proposed=2021-02-26|forum=https://www.railml.org/forum/index.php?t=msg&th=975&start=0&|approved=2025-02-03}} | |IS:005={{DefSemcon|{{{1}}}|{{{2}}}|text={{@|height|IS:signalConstruction}} and {{@|positionAtTrack|IS:signalConstruction}} should not be used with {{@|type|IS:signalConstruction}}=virtual.|status=approved|proposed=2021-02-26|forum=https://www.railml.org/forum/index.php?t=msg&th=975&start=0&|approved=2025-02-03}} | ||
Line 23: | Line 23: | ||
|TT:007={{DefSemcon|{{{1}}}|{{{2}}}|text=The first(last) {{TT:Tag|baseItineraryPoint}} of each {{TT:Tag|commercialTrainSection}} within a {{TT:Tag|commercialTrainVariant}} must either be the referenced {{TT:Tag|itinerary}}'s first(last) {{TT:Tag|baseItineraryPoint}}, or coincide with another section's last(first) {{TT:Tag|baseItineraryPoint}}.|status=approved|proposed=2023-01-12|approved=2023-03-09|id=TT:007|forum=https://www.railml.org/forum/index.php?t=msg&th=894&start=0&}} | |TT:007={{DefSemcon|{{{1}}}|{{{2}}}|text=The first(last) {{TT:Tag|baseItineraryPoint}} of each {{TT:Tag|commercialTrainSection}} within a {{TT:Tag|commercialTrainVariant}} must either be the referenced {{TT:Tag|itinerary}}'s first(last) {{TT:Tag|baseItineraryPoint}}, or coincide with another section's last(first) {{TT:Tag|baseItineraryPoint}}.|status=approved|proposed=2023-01-12|approved=2023-03-09|id=TT:007|forum=https://www.railml.org/forum/index.php?t=msg&th=894&start=0&}} | ||
|TT:008={{DefSemcon|{{{1}}}|{{{2}}}|text=No two attributes //{{TT:Tag|times}}/{{@|scope}} of the same enclosing {{TT:Tag|baseItineraryPoint}} element shall have the same value.|status=approved|approved=2025-04-07|proposed=2024-11-21|id=TT:008|forum=https://www.railml.org/forum/index.php?t=msg&th=1013&start=0&}} | |TT:008={{DefSemcon|{{{1}}}|{{{2}}}|text=No two attributes //{{TT:Tag|times}}/{{@|scope}} of the same enclosing {{TT:Tag|baseItineraryPoint}} element shall have the same value.|status=approved|approved=2025-04-07|proposed=2024-11-21|id=TT:008|forum=https://www.railml.org/forum/index.php?t=msg&th=1013&start=0&}} | ||
|#default={{fixme}} | |#default={{fixme}} | ||
}} | }} | ||
<noinclude>{{interwiki}}[[category:Template]]</noinclude> | </includeonly><noinclude> | ||
== Usage == | |||
This template is a central place for definitions of semantic constraints. | |||
To define a new semantic constraint, add a line using [[Template:DefSemcon]]. The workflow is explained [[Template:DefSemcon#Workflow|'''here'''}}. | |||
{{interwiki}}[[category:Template]]</noinclude> |
Revision as of 16:38, 19 May 2025
Usage
This template is a central place for definitions of semantic constraints.
To define a new semantic constraint, add a line using Template:DefSemcon. The workflow is explained [[Template:DefSemcon#Workflow|here}}.