oop_NFS_Andreas/Plattform/Plattform/Connected Services/AirlineService/AirlineService.xsd

37 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="http://localhost:49949/AirlineService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/AirlineServer.Models" />
<xs:element name="GetFlights">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="startTime" type="xs:dateTime" />
<xs:element minOccurs="0" name="endTime" type="xs:dateTime" />
<xs:element minOccurs="0" name="origin" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="destination" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="numberOfSeats" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetFlightsResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/AirlineServer.Models" minOccurs="0" name="GetFlightsResult" nillable="true" type="q1:ArrayOfArrayOfFlight" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BookFlight">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/AirlineServer.Models" minOccurs="0" name="flight" nillable="true" type="q2:Flight" />
<xs:element minOccurs="0" name="numberOfSeats" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BookFlightResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/AirlineServer.Models" minOccurs="0" name="BookFlightResult" nillable="true" type="q3:Flight" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>