-
Notifications
You must be signed in to change notification settings - Fork 14
/
IBIS-IP_TrainSetInformationService_V2.2.xsd
65 lines (65 loc) · 3.21 KB
/
IBIS-IP_TrainSetInformationService_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
<?xml version="1.0" encoding="utf-8"?>
<!-- Mit XMLSpy v2018 sp1 (x64) (http://www.altova.com) von Torsten Franke (IVU Traffic Technologies AG) bearbeitet -->
<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=" "/> -->
<xs:simpleType name="CoachStateEnumeration">
<xs:restriction base="xs:string">
<xs:enumeration value="Master"/>
<xs:enumeration value="Slave"/>
<xs:enumeration value="Neutral"/>
<xs:enumeration value="Unknown"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CoupledSideEnumeration">
<xs:restriction base="xs:string">
<xs:enumeration value="None"/>
<xs:enumeration value="A"/>
<xs:enumeration value="B"/>
<xs:enumeration value="A+B"/>
</xs:restriction>
</xs:simpleType>
<!--==== TrainSetInformationService Operations ====-->
<xs:group name="TrainSetInformationServiceOperations">
<xs:sequence>
<!--=====================================================================-->
<!--=== Operations related to the setup of a TrainCompoterInformation ===-->
<!--=====================================================================-->
<!-- this operation is used by the OBU of the master coach to get information on the trainset participants -->
<xs:element name="TrainSetInformationService.GetTrainSetCompositionResponse" type="TrainSetInformationService.GetTrainSetCompositionResponseStructure"/>
</xs:sequence>
</xs:group>
<!--====================================================================================-->
<!--=== Defition of data structures to request the composition of a TrainSet ===-->
<!--====================================================================================-->
<!--=== GetTrainSetComposition ===-->
<xs:element name="TrainSetInformationService.GetTrainSetCompositionResponse" type="TrainSetInformationService.GetTrainSetCompositionResponseStructure"/>
<xs:complexType name="TrainSetInformationService.GetTrainSetCompositionResponseStructure">
<xs:sequence minOccurs="1">
<xs:element name="SingleCoach" type="SingleCoachInATrainSet" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SingleCoachInATrainSet">
<xs:sequence>
<xs:element name="CoachType" type="IBIS-IP.string" minOccurs="0"/>
<xs:element name="CoachNumber" type="IBIS-IP.string"/>
<xs:element name="FrontCabin" type="IBIS-IP.string">
<xs:annotation>
<xs:documentation>
Usually cabins are either named "A" and "B" or "1" and "2" or "none".
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RearCabin" type="IBIS-IP.string"/>
<xs:element name="CoachPositionInTrainSet" type="IBIS-IP.int">
<xs:annotation>
<xs:documentation>
Counting of coaches in a trainset always starts at 1. The master is always coach 1. The coach connected to the master is coach 2 and so forth.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CoupledSide" type="CoupledSideEnumeration" minOccurs="0"/>
<xs:element name="CoachState" type="CoachStateEnumeration"/>
</xs:sequence>
</xs:complexType>
</xs:schema>