forked from VDVde/VDV301
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIBIS-IP_TicketValidationService_V2.2.xsd
105 lines (98 loc) · 5.64 KB
/
IBIS-IP_TicketValidationService_V2.2.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="IBIS-IP_common_V2.2.xsd"/>
<xs:include schemaLocation="IBIS-IP_Enumerations_V2.2.xsd"/>
<!--==== TicketValidationService ====-->
<xs:element name="TicketValidationService.GetCurrentTariffStopResponse" type="TicketValidationService.GetCurrentTariffStopResponseStructure"/>
<xs:element name="TicketValidationService.GetRazziaResponse" type="TicketValidationService.GetRazziaResponseStructure"/>
<xs:element name="TicketValidationService.GetCurrentLineResponse" type="TicketValidationService.GetCurrentLineResponseStructure"/>
<xs:element name="TicketValidationService.GetVehicleDataResponse" type="TicketValidationService.GetVehicleDataResponseStructure"/>
<xs:element name="TicketValidationService.RetrieveTripDataRequest" type="TicketValidationService.RetrieveTripDataRequestStructure"/>
<xs:element name="TicketValidationService.RetrieveTripDataResponse" type="TicketValidationService.RetrieveTripDataResponseStructure"/>
<xs:group name="TicketValidationServiceOperations">
<xs:sequence>
<xs:element name="TicketValidationService.GetCurrentTariffStopResponse" type="TicketValidationService.GetCurrentTariffStopResponseStructure"/>
<xs:element name="TicketValidationService.GetRazziaResponse" type="TicketValidationService.GetRazziaResponseStructure"/>
<xs:element name="TicketValidationService.GetCurrentLineResponse" type="TicketValidationService.GetCurrentLineResponseStructure"/>
<xs:element name="TicketValidationService.GetVehicleDataResponse" type="TicketValidationService.GetVehicleDataResponseStructure"/>
<xs:element name="TicketValidationService.RetrieveTripDataRequest" type="TicketValidationService.RetrieveTripDataRequestStructure"/>
<xs:element name="TicketValidationService.RetrieveTripDataResponse" type="TicketValidationService.RetrieveTripDataResponseStructure"/>
</xs:sequence>
</xs:group>
<!--++ CurrentTariffStop ++-->
<xs:complexType name="TicketValidationService.GetCurrentTariffStopResponseStructure">
<xs:choice>
<xs:element name="CurrentTariffStopData" type="TicketValidationService.CurrentTariffStopDataStructure"/>
<xs:element name="OperationErrorMessage" type="IBIS-IP.string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="TicketValidationService.CurrentTariffStopDataStructure">
<xs:sequence>
<xs:element name="TimeStamp" type="IBIS-IP.dateTime"/>
<xs:element name="CurrentTariffStop" type="StopInformationStructure"/>
<xs:element name="CurrentTripRef" type="IBIS-IP.NMTOKEN" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<!--++ Razzia ++-->
<xs:complexType name="TicketValidationService.GetRazziaResponseStructure">
<xs:choice>
<xs:element name="RazziaData" type="TicketValidationService.RazziaResponseDataStructure"/>
<xs:element name="OperationErrorMessage" type="IBIS-IP.string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="TicketValidationService.RazziaResponseDataStructure">
<xs:sequence>
<xs:element name="TimeStamp" type="IBIS-IP.dateTime"/>
<xs:element name="RazziaState" type="TicketRazziaInformationEnumeration"/>
</xs:sequence>
</xs:complexType>
<!--++ CurrentLine ++-->
<xs:complexType name="TicketValidationService.GetCurrentLineResponseStructure">
<xs:choice>
<xs:element name="CurrentLineData" type="TicketValidationService.CurrentLineDataStructure"/>
<xs:element name="OperationErrorMessage" type="IBIS-IP.string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="TicketValidationService.CurrentLineDataStructure">
<xs:sequence>
<xs:element name="TimeStamp" type="IBIS-IP.dateTime"/>
<xs:element name="CurrentLine" type="LineInformationStructure"/>
</xs:sequence>
</xs:complexType>
<!--++ VehicleData ++-->
<xs:complexType name="TicketValidationService.GetVehicleDataResponseStructure">
<xs:choice>
<xs:element name="VehicleData" type="TicketValidationService.VehicleDataStructure"/>
<xs:element name="OperationErrorMessage" type="IBIS-IP.string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="TicketValidationService.VehicleDataStructure">
<xs:sequence>
<xs:element name="TimeStamp" type="IBIS-IP.dateTime"/>
<xs:element name="VehicleRef" type="IBIS-IP.NMTOKEN"/>
<xs:element name="RouteDeviation" type="RouteDeviationEnumeration" minOccurs="0"/>
<xs:element name="DoorOpenState" type="DoorOpenStateEnumeration" minOccurs="0"/>
<xs:element name="MovingDirectionForward" type="IBIS-IP.boolean" minOccurs="0"/>
<xs:element name="VehicleMode" type="VehicleModeEnumeration" minOccurs="0"/>
<xs:element name="DriverNumber" type="IBIS-IP.string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<!--++ RetrieveTripData ++-->
<xs:complexType name="TicketValidationService.RetrieveTripDataRequestStructure">
<xs:sequence>
<xs:element name="TripRef" type="IBIS-IP.NMTOKEN"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TicketValidationService.RetrieveTripDataResponseStructure">
<xs:choice>
<xs:element name="TripData" type="TicketValidationService.TripDataStructure"/>
<xs:element name="OperationErrorMessage" type="IBIS-IP.string"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="TicketValidationService.TripDataStructure">
<xs:sequence>
<xs:element name="TimeStamp" type="IBIS-IP.dateTime"/>
<xs:element name="TripInformation" type="TripInformationStructure"/>
</xs:sequence>
</xs:complexType>
</xs:schema>