Template:Switch/Dev:SemanticConstraints: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
|TT:001={{DefSemcon|{{{1}}}|{{{2}}}|text=The {{Attr|next}} attribute shall reference an {{TT:Tag|operationalTrainSectionPart}} that is not referenced by any other {{Attr|next}}-reference. In other words: Within the chain of {{TT:Tag|operationalTrainSectionPart}}s linked by the attribute {{attr|next}}, there can be no element that has more than one predecessor. The {{@|next}} reference must establish a one to one relationship between two {{TT:Tag|operationalTrainSectionPart}}s. |status=approved|proposed=2022-09-15|approved=2022-10-13|id=TT:001}} | |TT:001={{DefSemcon|{{{1}}}|{{{2}}}|text=The {{Attr|next}} attribute shall reference an {{TT:Tag|operationalTrainSectionPart}} that is not referenced by any other {{Attr|next}}-reference. In other words: Within the chain of {{TT:Tag|operationalTrainSectionPart}}s linked by the attribute {{attr|next}}, there can be no element that has more than one predecessor. The {{@|next}} reference must establish a one to one relationship between two {{TT:Tag|operationalTrainSectionPart}}s. |status=approved|proposed=2022-09-15|approved=2022-10-13|id=TT:001}} | ||
|TT:002={{DefSemcon|{{{1}}}|{{{2}}}|text=When calculating which {{TT:Tag|operationalTrainVariant}} of an {{TT:Tag|operationalTrain}} is valid on a particular day always a maximum of one '''active''' {{TT:Tag|operationalTrainVariant}} shall be the result. If the result is more than one {{TT:Tag|operationalTrainVariant}}, all except one shall be marked as {{TT:Tag|isCancelled}} or {{TT:Tag|isOnRequest}}. Please see the invalid code below.|status=approved|proposed=2023-01-12|approved=2023-04-06|id=TT:002}} | |TT:002={{DefSemcon|{{{1}}}|{{{2}}}|text=When calculating which {{TT:Tag|operationalTrainVariant}} of an {{TT:Tag|operationalTrain}} is valid on a particular day always a maximum of one '''active''' {{TT:Tag|operationalTrainVariant}} shall be the result. If the result is more than one {{TT:Tag|operationalTrainVariant}}, all except one shall be marked as {{TT:Tag|isCancelled}} or {{TT:Tag|isOnRequest}}. Please see the invalid code below.|status=approved|proposed=2023-01-12|approved=2023-04-06|id=TT:002}} | ||
|TT:003={{DefSemcon|{{{1}}}|{{{2}}}|text=When calculating which {{TT:Tag|commercialTrainVariant}} of a {{TT:Tag|commercialTrain}} is valid on a particular day always a maximum of one '''active''' {{TT:Tag|commercialTrainVariant}} shall be the result. If the result is more than one {{TT:Tag|commercialTrainVariant}}, all except one shall be marked as {{TT:Tag|isCancelled}} or {{TT:Tag|isOnRequest}}.|status=approved|proposed=2023-01-12|approved=2023-04-06}} | |||
|#default={{fixme}} | |#default={{fixme}} | ||
}} | }} | ||
<noinclude>{{interwiki}}[[category:Template]]</noinclude> | <noinclude>{{interwiki}}[[category:Template]]</noinclude> |
Revision as of 15:52, 19 May 2025
FIXME