User:RailML Coord Common/Sandbox: Difference between revisions
Jump to navigation
Jump to search
(Replaced content with "{{subst:InheritIdNameConstraints}} {{subst:InheritPositionConstraints}} {{subst:InheritOcpRefConstraints}} * {{Attr|dir}}: {{railMLType|tLaxDirection}}; optional * {{Attr...") Tag: Replaced |
No edit summary |
||
Line 1: | Line 1: | ||
* {{Attr| | *{{constraint|pos|rml|tLengthM|required}}; must be greater than or equal to zero, less than or equal to the track's length <br/> {{Ann| }} | ||
* {{Attr|absPos}}: {{railMLType|tLengthM}}; optional <br/> {{Ann| }} | |||
* {{Attr| | * {{Attr|id}}: {{RailMLType|tGenericID}}, required<br>a string, starting with a letter (a..zA..Z) or an underscore (_), <br>followed by a non-colonized and non-spaced string consisting of letters, digits, points (.), dashes (-) or underscores (_) | ||
* {{Attr|xml:lang}}: {{XsdType|language}}, {{external|https://www.w3.org/TR/xml/#sec-lang-tag|language identification}}, optional | |||
* {{Attr| | |||
* {{Attr|absPosOffset}}: {{railMLType|tLengthM}}; optional | * {{Attr|absPosOffset}}: {{railMLType|tLengthM}}; optional | ||
* {{Attr|ocpStationRef}} {{RailMLType|tGenericRef}}, optional | * {{Attr|ocpStationRef}} {{RailMLType|tGenericRef}}, optional | ||
Line 17: | Line 10: | ||
* {{Attr|controllerRef}} {{RailMLType|tGenericRef}}, optional | * {{Attr|controllerRef}} {{RailMLType|tGenericRef}}, optional | ||
* {{Attr|code}}: {{RailMLType|tGenericName}}, optional | |||
* {{Attr|name}}: {{RailMLType|tGenericName}}, optional | |||
* {{Attr|description}}: {{RailMLType|tElementDescription}}, optional | |||
* {{Attr|dir}}: {{railMLType|tLaxDirection}}; optional | * {{Attr|dir}}: {{railMLType|tLaxDirection}}; optional | ||
* {{attr|sight}}: {{railMLType|tLengthM}} | * {{attr|sight}}: {{railMLType|tLengthM}} | ||
* {{Attr|signalBoxOcpRef}}: {{RailMLType|tGenericRef}}, optional | * {{Attr|signalBoxOcpRef}}: {{RailMLType|tGenericRef}}, optional | ||
Line 24: | Line 19: | ||
* {{Attr|type}}: {{railMLType|tSignalType}}, optional | * {{Attr|type}}: {{railMLType|tSignalType}}, optional | ||
* {{Attr|function}}: {{railMLType|tSignalFunction}}, optional | * {{Attr|function}}: {{railMLType|tSignalFunction}}, optional | ||
* {{Attr|ruleCode}}: {{XsdType|string}} | |||
* {{attr|sigSystem}}: {{xsdType|string}} | * {{attr|sigSystem}}: {{xsdType|string}} | ||
* {{Attr|switchable}} {{XsdType|boolean}}, mandatory | * {{Attr|switchable}} {{XsdType|boolean}}, mandatory |
Revision as of 16:18, 17 January 2022
- pos: tLengthM (xs:decimal, 6 fraction digits, length value measured in meter); required; must be greater than or equal to zero, less than or equal to the track's length
- absPos: xs:decimal, 6 fraction digits, length value measured in meter; optional
- id: xs:ID, required
a string, starting with a letter (a..zA..Z) or an underscore (_),
followed by a non-colonized and non-spaced string consisting of letters, digits, points (.), dashes (-) or underscores (_) - xml:lang: xs:language, language identification, optional
- absPosOffset: xs:decimal, 6 fraction digits, length value measured in meter; optional
- ocpStationRef xs:IDREF, optional
- controllerRef xs:IDREF, optional
- code: xs:string, optional
- name: xs:string, optional
- description: xs:string, optional
- dir: xs:string, generic type for direction statements: enumeration up, down, unknown, none, both; optional
- sight: xs:decimal, 6 fraction digits, length value measured in meter
- signalBoxOcpRef: xs:IDREF, optional
- stationOcpRef: xs:IDREF, optional
- type: union of (restriction of xs: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,}, optional
- function: union of (restriction of xs: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,}, optional
- ruleCode: xs:string
- sigSystem: xs:string
- switchable xs:boolean, mandatory
- maskableRoute xs:boolean, optional
- maskableATC xs:boolean, optional
- virtual: xs:boolean; default: false; optional
- distNearestDangerPoint: xs:decimal, 6 fraction digits, length value measured in meter
- trackDist: xs:decimal, 6 fraction digits, length value measured in meter
- height: xs:decimal, 6 fraction digits, length value measured in meter
- numberOfLamps xs:nonNegativeInteger, optional
- mountedOn: enumeration, optional
- positionAtTrack: Restriction of xs:string (enumeration), optional