|
|
|
@ -224,6 +224,56 @@
|
|
|
|
|
</xs:sequence>
|
|
|
|
|
</xs:complexType>
|
|
|
|
|
|
|
|
|
|
<xs:complexType name="BusType">
|
|
|
|
|
<xs:sequence>
|
|
|
|
|
<!--Госномер автобуса-->
|
|
|
|
|
<xs:element name="lpn" type="SimpleStringType" minOccurs="0"/>
|
|
|
|
|
<!--Шаблон. Например 65 Мест Мягкий. или Автобус 46 мест ( Баг: 92, Стоя: 0 )-->
|
|
|
|
|
<xs:element name="template" type="SimpleStringType" minOccurs="0"/>
|
|
|
|
|
<!-- Модель. Например FIAT FORD HYUNDAI -->
|
|
|
|
|
<xs:element name="model" type="SimpleStringType" minOccurs="0"/>
|
|
|
|
|
<!-- Тип -->
|
|
|
|
|
<xs:element name="type" minOccurs="0">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
|
<xs:restriction base="xs:string">
|
|
|
|
|
<!-- До 5 тон -->
|
|
|
|
|
<xs:enumeration value="M1"/>
|
|
|
|
|
<!-- От 5 тон -->
|
|
|
|
|
<xs:enumeration value="M2"/>
|
|
|
|
|
<!-- Тип не указан. Сидения мигкие -->
|
|
|
|
|
<xs:enumeration value="SOFT"/>
|
|
|
|
|
<!-- Тип не указан. Сидения твердые -->
|
|
|
|
|
<xs:enumeration value="HARD"/>
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<!-- кол-во сидячих мест -->
|
|
|
|
|
<xs:element name="maxSeats" type="xs:int"/>
|
|
|
|
|
</xs:sequence>
|
|
|
|
|
</xs:complexType>
|
|
|
|
|
|
|
|
|
|
<xs:complexType name="DriverType">
|
|
|
|
|
<xs:sequence>
|
|
|
|
|
<xs:element name="firstName" type="xs:string" minOccurs="1"/>
|
|
|
|
|
<xs:element name="lastName" type="xs:string" minOccurs="1"/>
|
|
|
|
|
<xs:element name="middleName" type="xs:string" minOccurs="0"/>
|
|
|
|
|
<xs:element name="docNum" type="xs:string" minOccurs="0"/>
|
|
|
|
|
<xs:element name="docSeries" type="xs:string" minOccurs="0"/>
|
|
|
|
|
<xs:element name="docTypeId" type="IDType" minOccurs="1"/>
|
|
|
|
|
<xs:element name="birthday" type="xs:date" minOccurs="0"/>
|
|
|
|
|
<xs:element name="citizenshipISO2" minOccurs="0">
|
|
|
|
|
<xs:simpleType>
|
|
|
|
|
<xs:restriction base="xs:string">
|
|
|
|
|
<xs:length value="2"/>
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="gender" type="GenderType" minOccurs="0"/>
|
|
|
|
|
<xs:element name="phone" type="xs:string" minOccurs="0"/>
|
|
|
|
|
<xs:element name="appointment" type="xs:string" minOccurs="0"/>
|
|
|
|
|
</xs:sequence>
|
|
|
|
|
</xs:complexType>
|
|
|
|
|
|
|
|
|
|
<xs:complexType name="Passenger">
|
|
|
|
|
<xs:sequence>
|
|
|
|
|
<xs:element name="firstName" type="xs:string" minOccurs="1"/>
|
|
|
|
@ -323,9 +373,9 @@
|
|
|
|
|
</xs:restriction>
|
|
|
|
|
</xs:simpleType>
|
|
|
|
|
</xs:element>
|
|
|
|
|
<xs:element name="maxSeats" type="xs:int"/>
|
|
|
|
|
<xs:element name="freeSeats" type="xs:int"/>
|
|
|
|
|
<xs:element name="Carrier" type="CarrierType" minOccurs="0"/>
|
|
|
|
|
<xs:element name="Bus" type="BusType" minOccurs="0"/>
|
|
|
|
|
<xs:element name="Driver" type="DriverType" minOccurs="0"/>
|
|
|
|
|
</xs:sequence>
|
|
|
|
|
</xs:complexType>
|
|
|
|
|
</xs:element>
|
|
|
|
|