<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2007 (http://www.altova.com) by Sanjeev (Mikki Travel) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="cancellationResponse">
		<xs:annotation>
			<xs:documentation>Response to request for booking cancellation</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="responseAuditInfo"/>
				<xs:element name="mikiTourReference" type="xs:string">
					<xs:annotation>
						<xs:documentation>The internal Miki reference of the item for which cancellation was requested</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="isCancelled">
					<xs:annotation>
						<xs:documentation>0=Not cancelled (see errors), 1=Cancelled</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:boolean">
								<xs:attribute name="cancellationReference" type="xs:string" use="optional"/>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element name="cancellationCharge" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Cancellation charge if cancelled after the cancellation deadline</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:double">
								<xs:attribute name="currencyCode" type="xs:string" use="required"/>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element ref="errors" minOccurs="0"/>
			</xs:sequence>
			<xs:attribute name="responseType" type="xs:string" use="required" fixed="cancellationResponse">
				<xs:annotation>
					<xs:documentation>Used to ID the record to the receiving software</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="versionNumber" type="xs:string" use="required" fixed="5.0"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="responseAuditInfo">
		<xs:annotation>
			<xs:documentation>Standard audit information sent with all responses</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="agentCode" type="xs:string">
					<xs:annotation>
						<xs:documentation>Unique reference used to identify the client to Miki</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="responseID" type="xs:integer">
					<xs:annotation>
						<xs:documentation>Miki reference used for audit purposes</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="responseTime" type="xs:dateTime">
					<xs:annotation>
						<xs:documentation>The time that the XML message was sent from Miki's server</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="requestID" type="xs:integer">
					<xs:annotation>
						<xs:documentation>The client's request ID that triggered htis response</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="errors">
		<xs:annotation>
			<xs:documentation>Standard error section</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Multiple errors may be returned</xs:documentation>
				</xs:annotation>
				<xs:element name="error">
					<xs:annotation>
						<xs:documentation>Error content</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="errorCode">
								<xs:annotation>
									<xs:documentation>Miki error code</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:integer"/>
								</xs:simpleType>
							</xs:element>
							<xs:element name="errorText">
								<xs:annotation>
									<xs:documentation>Full description of error</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string"/>
								</xs:simpleType>
							</xs:element>
							<xs:element name="errorSolution">
								<xs:annotation>
									<xs:documentation>Proposed solution to error</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string"/>
								</xs:simpleType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>
