Template:RailMLType: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
(Added tDerailKind)
(7 intermediate revisions by one other user not shown)
Line 42: Line 42:
| tVolumeCubicMeter = {{XsdType|decimal}}, 3 fraction digits, cubical volume value measured in {{unit|m³}}
| tVolumeCubicMeter = {{XsdType|decimal}}, 3 fraction digits, cubical volume value measured in {{unit|m³}}
| tVolumeLitre = {{XsdType|decimal}}, 3 fraction digits, cubical volume value measured in {{unit|litre}}
| tVolumeLitre = {{XsdType|decimal}}, 3 fraction digits, cubical volume value measured in {{unit|litre}}
| tInfluence = Combination of enumeration of {{xsdType|string}} values "increasing" OR "decreasing" and [[dev:tOtherEnumerationValue|tOtherEnumerationValue]].
| tAnnotationType = {{xsdType|string}}, generic type for annotation types: enumeration ''text'', ''symbol'', ''image''
| tAnnotationType = {{xsdType|string}}, generic type for annotation types: enumeration ''text'', ''symbol'', ''image''
| tRampType = {{xsdType|string}}, generic type for car ramp types: enumeration ''flat'', ''metal bridge'', ''other:[any]''
| tRampType = {{xsdType|string}}, generic type for car ramp types: enumeration ''flat'', ''metal bridge'', ''other:[any]''
Line 52: Line 53:
| tTrainProtectionMedium={{xsdType|string}}
| tTrainProtectionMedium={{xsdType|string}}
| tTrainProtectionMonitoring={{xsdType|string}}
| tTrainProtectionMonitoring={{xsdType|string}}
| tSide={{xsdType|string}}; left or right side, regarding the relative direction of the track from trackBegin to trackEnd
| tSide=Restriction of {{xsdType|string}} (enumeration)
| tTimeZone={{xsdType|string}}; timezone as defined in the tz database, e.g. "America/New_York"
| tTimeZone={{xsdType|string}}; timezone as defined in the tz database, e.g. "America/New_York"
| tInterlockingTypes={{xsdType|string}}; classification of an interlocking system by kind of implementation (none, mechanical, electro-mechanical, electrical, electronical)
| tInterlockingTypes={{xsdType|string}}; classification of an interlocking system by kind of implementation (none, mechanical, electro-mechanical, electrical, electronical)
Line 59: Line 60:
| tDigitString={{xsdType|string}}; an arbitrary string consisting of digits from 0 to 9; not allowing white space, letters; no length restriction
| tDigitString={{xsdType|string}}; an arbitrary string consisting of digits from 0 to 9; not allowing white space, letters; no length restriction
| tServiceType = union of (restriction of {{xsdType|string}}, tOtherEnumerationValue); list of common service types
| tServiceType = union of (restriction of {{xsdType|string}}, tOtherEnumerationValue); list of common service types
| tInformationAreaEvent = union of (restriction of {{xsdType|string}}, tOtherEnumerationValue); {{enum|entering}}/{{enum|leaving}}/{{anyvalue}}
| tSimpleOcpEvents = union of (restriction of {{xsdType|string}}, tOtherEnumerationValue); {{enum|arrival}}/{{enum|departure}}
| tOcpTTType = restriction of {{xsdType|sting}}; ''stop'', ''pass'', ''begin'' {{depr|2.2}}, ''end'' {{depr|2.2}}<!--{{missing information|topic=version of deprication|user=[[User:Ferri Leberl|Ferri Leberl]] ([[User talk:Ferri Leberl|talk]]) 14:42, 1 March 2017 (CET)}}-->
| tOcpTTType = restriction of {{xsdType|sting}}; ''stop'', ''pass'', ''begin'' {{depr|2.2}}, ''end'' {{depr|2.2}}<!--{{missing information|topic=version of deprication|user=[[User:Ferri Leberl|Ferri Leberl]] ([[User talk:Ferri Leberl|talk]]) 14:42, 1 March 2017 (CET)}}-->
| tTrainAlignment = restriction of {{xsdType|string}}; generic type for the alignment of a train relative to some objective in the used context (''head'', ''center'', ''rear'')
| tTrainAlignment = restriction of {{xsdType|string}}; generic type for the alignment of a train relative to some objective in the used context (''head'', ''center'', ''rear'')
Line 74: Line 77:
| tTapTsiStartDate = restriction of {{xsdType|date}}; the start of the date/time in effect
| tTapTsiStartDate = restriction of {{xsdType|date}}; the start of the date/time in effect
| tOnOff = restriction of {{xsdType|string}} (both, on, off)
| tOnOff = restriction of {{xsdType|string}} (both, on, off)
| tRailMLVersion=restriction of {{xsdType|string}} (Version Number is some official release number, rather than any internal numbering from an version control system. Allows two part or three part version numbers, 1.0 up to 99.99, or 1.0.1 up to 99.99.99. Allows additional SVN release numbers for testing unofficial releases: 1.1r4 or 2.0r271. Pattern: <nowiki>[1-9][0-9]?\.([0-9]|[1-9][0-9])(\.[1-9][0-9]?)?(r[1-9][0-9]?[0-9]?)?</nowiki>
| tRailMLVersion=restriction of {{xsdType|string}} (Version Number is some official release number, rather than any internal numbering from an version control system. Allows two part or three part version numbers, 1.0 up to 99.99, or 1.0.1 up to 99.99.99. Allows additional commit numbers for testing unofficial releases: 1.1r4 or 2.0r271. Pattern: <nowiki>[1-9][0-9]?\.([0-9]|[1-9][0-9])(\.[1-9][0-9]?)?(r[1-9][0-9]?[0-9]?)?</nowiki>
| tCode=restriction of {{xsdType|string}} with pattern ''<nowiki>(\w|[-]){2,}</nowiki>''; an arbitrary string with at minimum two characters, whitespace and punctuation not allowed
| tCode=restriction of {{xsdType|string}} with pattern ''<nowiki>(\w|[-]){2,}</nowiki>''; an arbitrary string with at minimum two characters, whitespace and punctuation not allowed
| tGenCode=restriction of {{xsdType|string}} with pattern ''<nowiki>(\w|\S){1,}</nowiki>''; an arbitrary string with at minimum one character including punctuation, whitespace are not allowed
| tGenCode=restriction of {{xsdType|string}} with pattern ''<nowiki>(\w|\S){1,}</nowiki>''; an arbitrary string with at minimum one character including punctuation, whitespace are not allowed
|tSignalFunction
|tSignalFunction
| tDetectorMedium
|tSignalType=union of (restriction of {{xsdType|string}}, tOtherEnumerationValue), where the latter is defined as:''an arbitrary string starting with 'other:' followed by at minimum two characters, white space not allowed for extending railML enumeration lists; pattern: other:\w{2,}''
|tSignalType=union of (restriction of {{xsdType|string}}, tOtherEnumerationValue), where the latter is defined as:''an arbitrary string starting with 'other:' followed by at minimum two characters, white space not allowed for extending railML enumeration lists; pattern: other:\w{2,}''
|tTechnicalStopActivityTypes=union of (restriction of xs:string, rail:tOtherEnumerationValue); possible values are:
|tTechnicalStopActivityTypes=union of (restriction of xs:string, rail:tOtherEnumerationValue); possible values are:
Line 135: Line 139:
| tTrainMovements = union of (restriction of {{xsdType|string}}, tOtherEnumerationValue); tOtherEnumerationValue is an arbitrary string starting with 'other:' followed by at minimum two characters, white space not allowed for extending railML enumeration lists
| tTrainMovements = union of (restriction of {{xsdType|string}}, tOtherEnumerationValue); tOtherEnumerationValue is an arbitrary string starting with 'other:' followed by at minimum two characters, white space not allowed for extending railML enumeration lists
| tOtherEnumerationValue = an arbitrary string starting with 'other:' followed by at minimum two characters, white space not allowed for extending railML enumeration lists; pattern: other:\w{2,}
| tOtherEnumerationValue = an arbitrary string starting with 'other:' followed by at minimum two characters, white space not allowed for extending railML enumeration lists; pattern: other:\w{2,}
| tDerailKind = restriction of {{xsdType|string}}
|  
|  
| FIXME
| FIXME
}}<noinclude>[[Category:ConstraintsTemplate]]</noinclude>
}}<noinclude>[[Category:ConstraintsTemplate]]</noinclude>

Revision as of 15:38, 3 May 2022

FIXME