Протокол AV5 для интеграции систем продажи электронных билетов перевозчиков и системы GDS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
2.9 KiB

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3. elementFormDefault="qualified"
  4. attributeFormDefault="qualified">
  5. <xs:import schemaLocation="avs5rs_common.xsd" namespace=""/>
  6. <xs:element name="SetStationInfoRequest">
  7. <xs:complexType>
  8. <xs:sequence>
  9. <xs:element name="stationId" type="IDType" minOccurs="1"/>
  10. <xs:element name="uid" type="UidType" minOccurs="1"/>
  11. </xs:sequence>
  12. </xs:complexType>
  13. </xs:element>
  14. <xs:element name="SetStationInfoResponse">
  15. <xs:complexType>
  16. <xs:complexContent>
  17. <xs:restriction base="AbstractResponse"/>
  18. </xs:complexContent>
  19. </xs:complexType>
  20. </xs:element>
  21. <xs:element name="TransitBookRequest">
  22. <xs:complexType>
  23. <xs:sequence>
  24. <xs:element name="routeKey" type="RouteKey"/>
  25. <xs:element name="dispatchStationUid" type="UidType"/>
  26. <xs:element name="arrivalStationUid" type="UidType"/>
  27. <xs:element name="date" type="xs:date"/>
  28. <xs:element name="seatsCount" type="xs:int"/>
  29. <xs:element name="Agent" type="Agent" minOccurs="1"/>
  30. </xs:sequence>
  31. </xs:complexType>
  32. </xs:element>
  33. <xs:complexType name="TransitTicket">
  34. <xs:sequence>
  35. <xs:element name="ticketId" type="IDType" minOccurs="1"/>
  36. <xs:element name="seatNum" type="xs:int" minOccurs="1"/>
  37. </xs:sequence>
  38. </xs:complexType>
  39. <xs:element name="TransitBookResponse">
  40. <xs:complexType>
  41. <xs:complexContent>
  42. <xs:extension base="AbstractResponse">
  43. <xs:sequence>
  44. <xs:element name="Body">
  45. <xs:complexType>
  46. <xs:sequence>
  47. <xs:element name="TransitTicket" type="TransitTicket" minOccurs="1" maxOccurs="unbounded"/>
  48. </xs:sequence>
  49. </xs:complexType>
  50. </xs:element>
  51. </xs:sequence>
  52. </xs:extension>
  53. </xs:complexContent>
  54. </xs:complexType>
  55. </xs:element>
  56. <xs:element name="TransitConfirmRequest">
  57. <xs:complexType>
  58. <xs:sequence>
  59. <xs:element name="ticketId" type="IDType" minOccurs="1" maxOccurs="unbounded"/>
  60. <xs:element name="Agent" type="Agent" minOccurs="0"/>
  61. </xs:sequence>
  62. </xs:complexType>
  63. </xs:element>
  64. <xs:element name="TransitConfirmResponse">
  65. <xs:complexType>
  66. <xs:complexContent>
  67. <xs:restriction base="AbstractResponse"/>
  68. </xs:complexContent>
  69. </xs:complexType>
  70. </xs:element>
  71. </xs:schema>