-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathTrias_Utility.xsd
157 lines (157 loc) · 5.87 KB
/
Trias_Utility.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.vdv.de/trias" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.vdv.de/trias" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:annotation>
<xs:documentation>========================================= General ================================================</xs:documentation>
</xs:annotation>
<xs:simpleType name="PercentType">
<xs:annotation>
<xs:documentation>Percent value as integer, limited to max value 100.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:nonNegativeInteger">
<xs:maxInclusive value="100"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="OpenPercentType">
<xs:annotation>
<xs:documentation>Percent value as integer, no upper limit.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:nonNegativeInteger"/>
</xs:simpleType>
<xs:simpleType name="PriorityType">
<xs:annotation>
<xs:documentation>Data type for priority values, from 1 (highest) to 5 (lowest).</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:nonNegativeInteger">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="5"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="BitStringType">
<xs:annotation>
<xs:documentation>String that consists of only zeros and ones.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[01]*"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DistanceType">
<xs:annotation>
<xs:documentation>Data type for distances, in meters.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:nonNegativeInteger"/>
</xs:simpleType>
<xs:simpleType name="LengthType">
<xs:annotation>
<xs:documentation>Data type for lengths, in meters.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:nonNegativeInteger"/>
</xs:simpleType>
<xs:simpleType name="SpeedType">
<xs:annotation>
<xs:documentation>Data type for speed, in meter per second.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:nonNegativeInteger"/>
</xs:simpleType>
<xs:simpleType name="PhoneNumberType">
<xs:annotation>
<xs:documentation>Type definition for phone numbers</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
<xs:simpleType name="EMailAddressType">
<xs:annotation>
<xs:documentation>Type definition for e-mail addresses.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
<xs:complexType name="InternationalTextStructure">
<xs:annotation>
<xs:documentation>Text with id and language code.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Text" type="xs:normalizedString">
<xs:annotation>
<xs:documentation>Text content.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TextId" type="xs:NMTOKEN" minOccurs="0">
<xs:annotation>
<xs:documentation>Id of this text. May be used for matching to pre-recorded audio files.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Language" type="xs:language" minOccurs="0">
<xs:annotation>
<xs:documentation>Language in which Text is formulated.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="WebLinkStructure">
<xs:annotation>
<xs:documentation>URL with label.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Label" type="InternationalTextStructure" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Label for link description.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Url" type="xs:anyURI">
<xs:annotation>
<xs:documentation>URL to resource on web.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:annotation>
<xs:documentation>========================================= Coordinates ==============================================</xs:documentation>
</xs:annotation>
<xs:simpleType name="LongitudeType">
<xs:annotation>
<xs:documentation>Longitude from Greenwich.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:decimal"/>
</xs:simpleType>
<xs:simpleType name="LatitudeType">
<xs:annotation>
<xs:documentation>Latitude from equator.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:decimal"/>
</xs:simpleType>
<xs:simpleType name="AltitudeType">
<xs:annotation>
<xs:documentation>Altitude metres from sea level.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:decimal"/>
</xs:simpleType>
<xs:complexType name="GeoPositionStructure">
<xs:annotation>
<xs:documentation>Expressed as WGS84</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Longitude" type="LongitudeType">
<xs:annotation>
<xs:documentation>Longitude from Greenwich Meridian. -180 (West) to +180 (East).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Latitude" type="LatitudeType">
<xs:annotation>
<xs:documentation>Latitude from equator. -90 (South) to +90 (North).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Altitude" type="AltitudeType" minOccurs="0">
<xs:annotation>
<xs:documentation>Altitude metres from sea level.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="AbsoluteBearingType">
<xs:annotation>
<xs:documentation>The absolute compass bearing in degrees.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:nonNegativeInteger">
<xs:maxExclusive value="360"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>