Browse Source

fix

master
Nikolay Ushmodin 2 years ago
parent
commit
608768dc49
3 changed files with 35 additions and 8 deletions
  1. 3
    1
      avs5rs_dispatcher.xsd
  2. 31
    0
      avs5rs_sale.xsd
  3. 1
    7
      avs5rs_transit.xsd

+ 3
- 1
avs5rs_dispatcher.xsd View File

@@ -50,9 +50,11 @@
<xs:element name="UpdateTicketRequest">
<xs:complexType>
<c:sequence>
<xs:element name="tripId" type="IDType" minOccurs="1"/>
<xs:element name="RouteKey" type="RouteKey" minOccurs="1"/>
<xs:element name="date" type="xs:date" minOccurs="1"/>
<xs:element name="ticketId" type="IDType" minOccurs="1"/>
<xs:element name="passengerGone" type="xs:boolean" minOccurs="0"/>
<xs:element name="isGone" type="xs:boolean" minOccurs="0"/>
</c:sequence>
</xs:complexType>
</xs:element>

+ 31
- 0
avs5rs_sale.xsd View File

@@ -602,4 +602,35 @@
</xs:complexContent>
</xs:complexType>
</xs:element>

<xs:element name="GetFreeSeatsRequest">
<xs:complexType>
<xs:choice>
<xs:sequence>
<xs:element name="tripId" type="IDType" minOccurs="1"/>
<xs:element name="dispatchStationId" type="IDType" minOccurs="1"/>
<xs:element name="arrivalStationId" type="IDType" minOccurs="1"/>
</xs:sequence>
</xs:choice>
</xs:complexType>
</xs:element>

<xs:element name="GetFreeSeatsResponse">
<xs:complexType>
<xs:complexContent>
<xs:extension base="AbstractResponse">
<xs:sequence>
<xs:element name="Body">
<xs:complexType>
<xs:choice>
<xs:element name="Seat" type="Seat" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>

</xs:schema>

+ 1
- 7
avs5rs_transit.xsd View File

@@ -253,11 +253,6 @@
<xs:element name="dispatchStationUid" type="UidType"/>
<xs:element name="arrivalStationUid" type="UidType"/>
</xs:sequence>
<xs:sequence>
<xs:element name="tripId" type="IDType" minOccurs="1"/>
<xs:element name="dispatchStationId" type="IDType" minOccurs="1"/>
<xs:element name="arrivalStationId" type="IDType" minOccurs="1"/>
</xs:sequence>
</xs:choice>
</xs:complexType>
</xs:element>
@@ -270,7 +265,6 @@
<xs:element name="Body">
<xs:complexType>
<xs:choice>
<xs:element name="Seat" type="Seat" maxOccurs="unbounded"/>
<xs:element name="TransitSeat" type="TransitSeat" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
@@ -306,7 +300,7 @@
<xs:element name="seatNum" type="xs:int" minOccurs="1"/>
<xs:element name="Agent" type="Agent"/>
<xs:element name="price" type="xs:decimal"/>
<xs:element name="passengerGone" type="xs:boolean"/>
<xs:element name="isGone" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>


Loading…
Cancel
Save