Template:RailMLType: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
(Added tDerailKind)
(27 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#switch: {{{1}}}
{{#switch: {{{1}}}
| tAccelerationMeterPerSquareSec = {{XsdType|decimal}}, 3 fraction digits, acceleration value measured in m/s2
| tAccelerationMeterPerSquareSec = {{XsdType|decimal}}, 3 fraction digits, acceleration value measured in {{unit|m/s²}}
| tAngleDegFullCircle = {{XsdType|decimal}}, 6 digits and 3 fraction digit within the range of '''-180''' and '''+180''', angle value measured in degree
| tAngleDegFullCircle = {{XsdType|decimal}}, 6 digits and 3 fraction digit within the range of '''-180''' and '''+180''', angle value measured in {{unit|degree}}
| tAngleDegQuadrant = {{XsdType|decimal}}, 6 digits and 3 fraction digit with minimum value greater '''0''' and maximum less or equal '''90''', angle value measured in degree
| tAngleDegQuadrant = {{XsdType|decimal}}, 6 digits and 3 fraction digit with minimum value greater '''0''' and maximum less or equal '''90''', angle value measured in {{unit|degree}}
| tAreaSquareMeter = {{XsdType|decimal}}, 3 fraction digits, square area value measured in m2
| tAreaSquareMeter = {{XsdType|decimal}}, 3 fraction digits, square area value measured in {{unit|m²}}
| tBrakePercentage = {{XsdType|integer}}, within the range of '''6''' and '''225''', brake percentage as value of braking performance in relation to vehicle weight  
| tBrakePercentage = {{XsdType|integer}}, within the range of '''6''' and '''225''', brake {{unit|percentage}} as value of braking performance in relation to vehicle weight
| tCoordinateList = Restriction of tDoubleList, a coordinate list consisting of two or three coordinates.
| tCounter = {{XsdType|nonNegativeInteger}}
| tCounter = {{XsdType|nonNegativeInteger}}
| tCurrentAmpere = {{XsdType|decimal}}, 1 fraction digit, current value measured in Ampere
| tCourse = Restriction of {{xsdType|string}}; can be "straight"/"left"/"right" or [[Dev:usingAny|''any'']]
| tEffortNewton = {{XsdType|decimal}}, 0 fraction digits, effort value measured in Newton  
| tCurrentAmpere = {{XsdType|decimal}}, 1 fraction digit, current value measured in {{unit|Ampere}}
| tDurationList = a list of time intervals, each given as an {{xsdType|duration}}, separated by white space
| tEffortNewton = {{XsdType|decimal}}, 0 fraction digits, effort value measured in {{unit|Newton}}
| tElementDescription = {{XsdType|string}}
| tElementDescription = {{XsdType|string}}
| tEnergyKiloWattHours = {{XsdType|decimal}}, 3 fraction digits, energy value measured in kWh
| tEnergyKiloWattHours = {{XsdType|decimal}}, 3 fraction digits, energy value measured in {{unit|kWh}}
| tFluxVoltSecond = {{XsdType|decimal}}, 6 fraction digit, electrical flux value measured in Volt seconds
| tFluxVoltSecond = {{XsdType|decimal}}, 6 fraction digit, electrical flux value measured in {{unit|Volt second}}s
| tForceNewton = {{XsdType|decimal}}, 0 fraction digits, force value measured in Newton  
| tForceNewton = {{XsdType|decimal}}, 0 fraction digits, force value measured in {{unit|Newton}}
| tForceCoefficentNewton = {{XsdType|decimal}}, 6 fraction digits, force value measured in Newton  
| tForceCoefficentNewton = {{XsdType|decimal}}, 6 fraction digits, force value measured in {{unit|Newton}}
| tFrequencyHertz = {{XsdType|decimal}}, 3 fraction digits with minimum value '''0''', frequency value measured in Hertz
| tFrequencyHertz = {{XsdType|decimal}}, 3 fraction digits with minimum value '''0''', frequency value measured in {{unit|Hertz}}
| tGenericID = {{XsdType|ID}}
| tGenericID = {{XsdType|1=ID}}
| tGenericName = {{XsdType|string}}
| tGenericName = {{XsdType|string}}
| tGenericRef = {{XsdType|IDREF}}
| tGenericRef = {{XsdType|IDREF}}
| tGradientPromille = {{XsdType|decimal}}, 3 fraction digits, gradient (slope) value measured in per mille
| tGradientPromille = {{XsdType|decimal}}, 3 fraction digits, gradient (slope) value measured in {{unit|per mille}}
| tInductanceHenry = {{XsdType|decimal}}, 6 fraction digit, electrical inductance value measured in Henry
| tInductanceHenry = {{XsdType|decimal}}, 6 fraction digit, electrical inductance value measured in {{unit|Henry}}
| tLength = {{XsdType|decimal}}, 6 fraction digits, applies as basic type for inheritance, should not be used directly because of missing unit of measure
| tLength = {{XsdType|decimal}}, 6 fraction digits, applies as basic type for inheritance, should not be used directly because of missing unit of measure
| tLengthMM = {{XsdType|decimal}}, 6 fraction digits, length value measured in millimeter
| tLengthMM = {{XsdType|decimal}}, 6 fraction digits, length value measured in {{unit|millimeter}}
| tLengthM = {{XsdType|decimal}}, 6 fraction digits, length value measured in meter
| tLengthM = {{XsdType|decimal}}, 6 fraction digits, length value measured in {{unit|meter}}
| tLengthKM = {{XsdType|decimal}}, 6 fraction digits, length value measured in kilometer
| tLengthKM = {{XsdType|decimal}}, 6 fraction digits, length value measured in {{unit|kilometer}}
| tOneToZero = {{XsdType|decimal}}, range between '''0''' and '''1''' (inclusive borders), maximum 6 fraction digits
| tOneToZero = {{XsdType|decimal}}, range between '''0''' and '''1''' (inclusive borders), maximum 6 fraction digits
| tPassengersPerSecond = {{XsdType|decimal}}, 3 fraction digits with minimum value '''0'''
| tPassengersPerSecond = {{XsdType|decimal}}, 3 fraction digits with minimum value '''0'''
| tPositiveCounter = {{XsdType|positiveInteger}}
| tPositiveCounter = {{XsdType|positiveInteger}}
| tPowerWatt = {{XsdType|decimal}}, 0 fraction digits, power value measured in Watt
| tPowerWatt = {{XsdType|decimal}}, 0 fraction digits, power value measured in {{unit|Watt}}
| tRadiusM = {{XsdType|decimal}}, 6 fraction digits, radius value measured in meter
| tRadiusM = {{XsdType|decimal}}, 6 fraction digits, radius value measured in {{unit|meter}}
| tResistanceOhm = {{XsdType|decimal}}, 3 fraction digit, electrical resistance value measured in Ohms
| tResistanceOhm = {{XsdType|decimal}}, 3 fraction digit, electrical resistance value measured in {{unit|Ohm}}s
| tRotationalFrequencyRevolutionsPerMinute = {{XsdType|positiveInteger}}, rotational frequency value measured in number of revolutions per minute
| tRotationalFrequencyRevolutionsPerMinute = {{XsdType|positiveInteger}}, rotational frequency value measured in number of {{unit|revolutions per minute}}
| tSpeedDegreesPerSecond = {{XsdType|decimal}}, 3 fraction digits with minimum value '''0''', angle rotation speed value measured in degrees per second
| tSpeedDegreesPerSecond = {{XsdType|decimal}}, 3 fraction digits with minimum value '''0''', angle rotation speed value measured in {{unit|degrees per second}}
| tSpeedKmPerHour = {{XsdType|decimal}}, 5 digits and 1 fraction digit with minimum value '''0''', speed value measured in km/h
| tSpeedMPerSec={{XsdType|decimal}}, 5 digits and 1 fraction digit with minimum value '''0''', generic type for speed/velocity values measured in {{unit|meter per second}}
| tVoltageVolt = {{XsdType|decimal}}, 1 fraction digit, voltage value measured in Volt
| tSpeedKmPerHour = {{XsdType|decimal}}, 5 digits and 1 fraction digit with minimum value '''0''', speed value measured in {{unit|km/h}}
| tWeightTons = {{XsdType|decimal}}, 3 fraction digits, weight value measured in metric tons
| tVoltageVolt = {{XsdType|decimal}}, 1 fraction digit, voltage value measured in {{unit|Volt}}
| tWeightKG=generic {{XsdType|decimal}}, 3 fraction digits, type for weight/load values measured in {{unit|kilogram}}
| tWeightTons = {{XsdType|decimal}}, 3 fraction digits, weight value measured in {{unit|metric ton}}s
| tVersionNumber = {{XsdType|string}}
| tVersionNumber = {{XsdType|string}}
| tVolumeCubicMeter = {{XsdType|decimal}}, 3 fraction digits, cubical volume value measured in m3
| tVolumeCubicMeter = {{XsdType|decimal}}, 3 fraction digits, cubical volume value measured in {{unit|m³}}
| tVolumeLitre = {{XsdType|decimal}}, 3 fraction digits, cubical volume value measured in 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''
| tRampType = {{xsdType|string}}, generic type for car ramp types: enumeration ''flat'', ''metal bridge'', ''other:[any]''
| tLaxDirection = {{xsdType|string}}, generic type for direction statements: enumeration up, down, unknown, none, both
| tLaxDirection = {{xsdType|string}}, generic type for direction statements: enumeration up, down, unknown, none, both
| tDelimitedDirection ={{xsdType|string}}, generic type for more constrained direction statements: enumeration up, down, unknown; derived from tLaxDirection
| tDelimitedDirection ={{xsdType|string}}, generic type for more constrained direction statements: enumeration up, down, unknown; derived from tLaxDirection
| tExtendedDirection ={{xsdType|string}}, generic type for more constrained direction statements: enumeration up, down, unknown, none; derived from tLaxDirection
| tStrictDirection ={{xsdType|string}}, generic type for more constrained direction statements: enumeration up, down; derived from tLaxDirection
| tMileageDirection = {{xsdType|string}}, generic type for mileage direction statements; enumeration rising, falling
| tMileageDirection = {{xsdType|string}}, generic type for mileage direction statements; enumeration rising, falling
| tMeterloadTonsPerMeter={{xsdType|decimal}}, generic type for load per meter values measured in ton per meter; fractionDigits 3; derived from tMeterLoad
| tMeterloadTonsPerMeter={{xsdType|decimal}}, generic type for load per meter values measured in {{unit|ton per meter}}; fractionDigits 3; derived from tMeterLoad
| 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 50: 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|sting}}; 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'')
| tTapTsiObjectType = restriction of {{xsdType|sting}}; provides a possibility for differentiantion between the objects: Train, Path, Case Reference and Path Request
| tTapTsiObjectType = restriction of {{xsdType|string}}; provides a possibility for differentiantion between the objects: Train, Path, Case Reference and Path Request
| tTrainType = restriction of {{xsdType|sting}}; {{enum|operational}} or {{enum|commercial}}
| tTrainType = restriction of {{xsdType|string}}; {{enum|operational}} or {{enum|commercial}}
| tTrainScope = restriction of {{xsdType|sting}}
|tOcpCenterSide
| tTrainScope = restriction of {{xsdType|string}}
| tOcpEvent = restriction of {{xsdType|string}}: {{enum|scheduledArrival}}, {{enum|expectedArrival}}, {{enum|scheduledDeparture}} or {{enum|expectedDeparture}}
| tCompanyCode = restriction of {{xsdType|integer}}; company code according TAP TSI B.8 and UIC IRS/leaflet 920-1:2006
| tCompanyCode = restriction of {{xsdType|integer}}; company code according TAP TSI B.8 and UIC IRS/leaflet 920-1:2006
| tTapTsiCore = restriction of {{xsdType|string}}; it is the main part of identifier and is determent by the company that creates  it
| tTapTsiCore = restriction of {{xsdType|string}}; it is the main part of identifier and is determent by the company that creates  it
Line 60: Line 74:
| tTapTsiTimetableYear = restriction of {{xsdType|integer}}; refers to the timetable period in which the business will be carried out
| tTapTsiTimetableYear = restriction of {{xsdType|integer}}; refers to the timetable period in which the business will be carried out
| tEtcsTrainCategory=restriction of {{xsdType|integer}}; minInclusive 0; maxInclusive 15; the international train category number as specified on page 38 in ERA_ERTMS_040001 "Assignment of values to ETCS variables" v1.9 from 10/07/12
| tEtcsTrainCategory=restriction of {{xsdType|integer}}; minInclusive 0; maxInclusive 15; the international train category number as specified on page 38 in ERA_ERTMS_040001 "Assignment of values to ETCS variables" v1.9 from 10/07/12
| tRelationPriority = restriction of {{xsdType|integer}}
| 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:
:*{{enum|split}}: Technical process for uncouple formations / train parts - intended for self-propelling train parts
:*{{enum|join}}: Technical process for couple formations / train parts - intended for self-propelling train parts
:*{{enum|reversing-one_driver}}: Technical process for reversing the train direction with one driver who needs to go from one cab to the other
:*{{enum|reversing-two_driver}}: Technical process for reversing train direction with two dirvers, thus without need to go from one cab to the other
:*{{enum|tOtherEnumerationValue}}
|tMaxTrainCurrentValidFor={{xsdType|string}}; either ''train'' or ''pantograph''
|tMaxTrainCurrentValidFor={{xsdType|string}}; either ''train'' or ''pantograph''
|tPassengerInfoTarget={{xsdType|string}}; either ''station'' or ''train''
|tMaxTrainCurrentType={{xsdType|string}}; either ''driving'' or ''standstill''
|tMaxTrainCurrentType={{xsdType|string}}; either ''driving'' or ''standstill''
|tMission=union of (restriction of {{xsdType|string}}, tOtherEnumerationValue), where tOtherEnumerationValue is 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,})
|tMission=union of (restriction of {{xsdType|string}}, tOtherEnumerationValue), where tOtherEnumerationValue is 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,})
|tHexString=an arbitrary string consisting of hex digits from 0 to 9, a to f; not allowing white space, letters; no length restriction
|tHexString=an arbitrary string consisting of hex digits from 0 to 9, a to f; not allowing white space, letters; no length restriction
|tTrainProtectionMonitoring={{xsdType|string}} with one of the following values: (none/ intermittent/continuous)
|tControllerType={{xsdType|string}} with one of the following values:
|tControllerType={{xsdType|string}} with one of the following values:
:*{{enum|none}}
:*{{enum|none}}
Line 83: Line 107:
:*{{enum|electrical}}
:*{{enum|electrical}}
:*{{enum|electronic}}
:*{{enum|electronic}}
|tTrainRelation
|tOcpOperationalType
|tOcpTrafficType
|tElectrificationType
|tSimultaneousEntry
|tOcpRelationType
|tInfrastructureStatus=union of (restriction of {{xsdType|string}}, [[dev:usingAny|tOtherEnumerationValue]])
|tPlaceReservation
|tPlaceReservation
|tPlaceCategory
|tPlaceCategory
Line 108: 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 14:38, 3 May 2022

FIXME