forked from VDVde/VDV301
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IBIS-IP_CustomerInformationService_V2.0.xsd
217 lines (217 loc) · 11.8 KB
/
IBIS-IP_CustomerInformationService_V2.0.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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<?xml version="1.0"?>
<!-- Mit XMLSpy v2012 rel. 2 sp1 (http://www.altova.com) von Dirk Weißer (INIT GmbH) bearbeitet - inkl. CurrentDisplayContent 1:*-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="IBIS-IP_common_V2.0.xsd"/>
<xs:include schemaLocation="IBIS-IP_Enumerations_V2.0.xsd"/>
<!--==== CustomerInformationService Operations ====-->
<xs:group name="CustomerInformationServiceOperations">
<xs:sequence>
<xs:element name="CustomerInformationService.GetAllDataResponse" type="CustomerInformationService.GetAllDataResponseStructure"/>
<xs:element name="CustomerInformationService.GetCurrentAnnouncementResponse" type="CustomerInformationService.GetCurrentAnnouncementResponseStructure"/>
<xs:element name="CustomerInformationService.GetCurrentConnectionInformationResponse" type="CustomerInformationService.GetCurrentConnectionInformationResponseStructure"/>
<xs:element name="CustomerInformationService.GetCurrentDisplayContentResponse" type="CustomerInformationService.GetCurrentDisplayContentResponseStructure"/>
<xs:element name="CustomerInformationService.GetCurrentStopPointResponse" type="CustomerInformationService.GetCurrentStopPointResponseStructure"/>
<xs:element name="CustomerInformationService.GetCurrentStopIndexResponse" type="CustomerInformationService.GetCurrentStopIndexResponseStructure"/>
<xs:element name="CustomerInformationService.GetTripDataResponse" type="CustomerInformationService.GetTripDataResponseStructure"/>
<xs:element name="CustomerInformationService.GetVehicleDataResponse" type="CustomerInformationService.GetVehicleDataResponseStructure"/>
<xs:element name="CustomerInformationService.RetrievePartialStopSequenceRequest" type="CustomerInformationService.RetrievePartialStopSequenceRequestStructure"/>
<xs:element name="CustomerInformationService.RetrievePartialStopSequenceResponse" type="CustomerInformationService.RetrievePartialStopSequenceResponseStructure"/>
</xs:sequence>
</xs:group>
<!--=== ServiceDefinitions ===-->
<!--++ GetAllData ++-->
<xs:element name="CustomerInformationService.GetAllDataResponse" type="CustomerInformationService.GetAllDataResponseStructure"/>
<xs:complexType name="CustomerInformationService.GetAllDataResponseStructure">
<xs:choice>
<xs:element name="AllData" type="CustomerInformationService.AllData"/>
<xs:element name="OperationErrorMessage" type="IBIS-IP.string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="CustomerInformationService.AllData">
<xs:sequence>
<xs:element name="TimeStamp" type="IBIS-IP.dateTime"/>
<xs:element name="VehicleRef" type="IBIS-IP.NMTOKEN"/>
<xs:element name="DefaultLanguage" type="IBIS-IP.language"/>
<xs:element name="TripInformation" type="TripInformationStructure" maxOccurs="2"/>
<xs:element name="CurrentStopIndex" type="IBIS-IP.int">
<xs:annotation>
<xs:documentation>Index of the Stoppoint in the Stopsequence, which is the next Stop</xs:documentation>
</xs:annotation>
</xs:element>
<xs:group ref="VehicleInformationGroup"/>
</xs:sequence>
</xs:complexType>
<!--++ CurrentAnnouncement ++-->
<xs:element name="CustomerInformationService.GetCurrentAnnouncementResponse" type="CustomerInformationService.GetCurrentAnnouncementResponseStructure"/>
<xs:complexType name="CustomerInformationService.GetCurrentAnnouncementResponseStructure">
<xs:choice>
<xs:element name="CurrentAnnouncementData" type="CustomerInformationService.CurrentAnnouncementData"/>
<xs:element name="OperationErrorMessage" type="IBIS-IP.string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="CustomerInformationService.CurrentAnnouncementData">
<xs:sequence>
<xs:element name="TimeStamp" type="IBIS-IP.dateTime"/>
<xs:element name="CurrentAnnouncement" type="AnnouncementStructure"/>
</xs:sequence>
</xs:complexType>
<!--++ CurrentConnection ++-->
<xs:element name="CustomerInformationService.GetCurrentConnectionInformationResponse" type="CustomerInformationService.GetCurrentConnectionInformationResponseStructure"/>
<xs:complexType name="CustomerInformationService.GetCurrentConnectionInformationResponseStructure">
<xs:choice>
<xs:element name="CurrentConnectionData" type="CustomerInformationService.CurrentConnectionInformationData"/>
<xs:element name="OperationErrorMessage" type="IBIS-IP.string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="CustomerInformationService.CurrentConnectionInformationData">
<xs:sequence>
<xs:element name="TimeStamp" type="IBIS-IP.dateTime"/>
<xs:element name="CurrentConnection" type="ConnectionStructure" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<!--++ CurrentDisplayContent ++-->
<xs:element name="CustomerInformationService.GetCurrentDisplayContentResponse" type="CustomerInformationService.GetCurrentDisplayContentResponseStructure"/>
<xs:complexType name="CustomerInformationService.GetCurrentDisplayContentResponseStructure">
<xs:choice>
<xs:element name="CurrentDisplayContentData" type="CustomerInformationService.CurrentDisplayContentData"/>
<xs:element name="OperationErrorMessage" type="IBIS-IP.string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="CustomerInformationService.CurrentDisplayContentData">
<xs:sequence>
<xs:element name="TimeStamp" type="IBIS-IP.dateTime"/>
<xs:element name="CurrentDisplayContent" type="DisplayContentStructure" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<!--++ CurrentStopPoint ++-->
<xs:element name="CustomerInformationService.GetCurrentStopPointResponse" type="CustomerInformationService.GetCurrentStopPointResponseStructure"/>
<xs:complexType name="CustomerInformationService.GetCurrentStopPointResponseStructure">
<xs:choice>
<xs:element name="CurrentStopPointData" type="CustomerInformationService.CurrentStopPointData"/>
<xs:element name="OperationErrorMessage" type="IBIS-IP.string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="CustomerInformationService.CurrentStopPointData">
<xs:sequence>
<xs:element name="TimeStamp" type="IBIS-IP.dateTime"/>
<xs:element name="CurrentStopPoint" type="StopInformationStructure"/>
</xs:sequence>
</xs:complexType>
<!--++ CurrentStopIndex ++-->
<xs:element name="CustomerInformationService.GetCurrentStopIndexResponse" type="CustomerInformationService.GetCurrentStopIndexResponseStructure"/>
<xs:complexType name="CustomerInformationService.GetCurrentStopIndexResponseStructure">
<xs:choice>
<xs:element name="CurrentStopIndexData" type="CustomerInformationService.CurrentStopIndexData"/>
<xs:element name="OperationErrorMessage" type="IBIS-IP.string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="CustomerInformationService.CurrentStopIndexData">
<xs:sequence>
<xs:element name="TimeStamp" type="IBIS-IP.dateTime"/>
<xs:element name="CurrentStopIndex" type="IBIS-IP.int"/>
</xs:sequence>
</xs:complexType>
<!--++ TripData ++-->
<xs:element name="CustomerInformationService.GetTripDataResponse" type="CustomerInformationService.GetTripDataResponseStructure"/>
<xs:complexType name="CustomerInformationService.GetTripDataResponseStructure">
<xs:choice>
<xs:element name="TripData" type="CustomerInformationService.TripData"/>
<xs:element name="OperationErrorMessage" type="IBIS-IP.string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="CustomerInformationService.TripData">
<xs:sequence>
<xs:element name="TimeStamp" type="IBIS-IP.dateTime"/>
<xs:element name="VehicleRef" type="IBIS-IP.NMTOKEN"/>
<xs:element name="DefaultLanguage" type="IBIS-IP.language"/>
<xs:element name="TripInformation" type="TripInformationStructure"/>
<xs:element name="CurrentStopIndex" type="IBIS-IP.int">
<xs:annotation>
<xs:documentation>Index of the Stoppoint in the Stopsequence, which is the next Stop in the first trip</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!--++ VehicleData ++-->
<xs:element name="CustomerInformationService.GetVehicleDataResponse" type="CustomerInformationService.GetVehicleDataResponseStructure"/>
<xs:complexType name="CustomerInformationService.GetVehicleDataResponseStructure">
<xs:choice>
<xs:element name="VehicleData" type="CustomerInformationService.VehicleData"/>
<xs:element name="OperationErrorMessage" type="IBIS-IP.string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="CustomerInformationService.VehicleData">
<xs:sequence>
<xs:element name="TimeStamp" type="IBIS-IP.dateTime"/>
<xs:element name="VehicleRef" type="IBIS-IP.NMTOKEN"/>
<xs:group ref="VehicleInformationGroup"/>
</xs:sequence>
</xs:complexType>
<!--==== RetrievePartialStopSequence ====-->
<xs:element name="CustomerInformationService.RetrievePartialStopSequenceRequest" type="CustomerInformationService.RetrievePartialStopSequenceRequestStructure"/>
<xs:complexType name="CustomerInformationService.RetrievePartialStopSequenceRequestStructure">
<xs:sequence>
<xs:element name="StartingStopIndex" type="IBIS-IP.int"/>
<xs:element name="NumberOfStopPoints" type="IBIS-IP.int"/>
</xs:sequence>
</xs:complexType>
<xs:element name="CustomerInformationService.RetrievePartialStopSequenceResponse" type="CustomerInformationService.RetrievePartialStopSequenceResponseStructure"/>
<xs:complexType name="CustomerInformationService.RetrievePartialStopSequenceResponseStructure">
<xs:choice>
<xs:element name="PartialStopSequenceData" type="CustomerInformationService.PartialStopSequenceData"/>
<xs:element name="OperationErrorMessage" type="IBIS-IP.string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="CustomerInformationService.PartialStopSequenceData">
<xs:sequence>
<xs:element name="TimeStamp" type="IBIS-IP.dateTime"/>
<xs:element name="StopSequence" type="StopSequenceStructure"/>
</xs:sequence>
</xs:complexType>
<!--==== Group Definitions ====-->
<xs:group name="VehicleInformationGroup">
<xs:sequence>
<xs:element name="RouteDeviation" type="RouteDeviationEnumeration">
<xs:annotation>
<xs:documentation>Contains the information about route deviation</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DoorState" type="DoorOpenStateEnumeration" minOccurs="0">
<xs:annotation>
<xs:documentation>Information on DoorState</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="InPanic" type="IBIS-IP.boolean" minOccurs="0">
<xs:annotation>
<xs:documentation>Is the Emergency-Button pressed?</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VehicleStopRequested" type="IBIS-IP.boolean" minOccurs="0">
<xs:annotation>
<xs:documentation>Is the Stop-Button inside the vehicle pressed? </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExitSide" type="ExitSideEnumeration" minOccurs="0">
<xs:annotation>
<xs:documentation>Defines the exit side </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MovingDirectionForward" type="IBIS-IP.boolean" minOccurs="0">
<xs:annotation>
<xs:documentation>Gives information, if the vehicle is moving forward, default value is "true"</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VehicleMode" type="VehicleModeEnumeration" minOccurs="0"/>
<xs:element name="SpeakerActive" type="IBIS-IP.boolean" minOccurs="0">
<xs:annotation>
<xs:documentation>Gives information, if the loud speaker is activated for a passenger announcement</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StopInformationActive" type="IBIS-IP.boolean" minOccurs="0">
<xs:annotation>
<xs:documentation>Gives information, if the stopInformation inside the vehicle is in active or in passiv state (intentionally, e.g. due to "route left)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
</xs:schema>