Schema Name: OTA_CancelRQ.xsd
Target Namespace: http://www.opentravel.org/OTA/2003/05
Documentation:
All Schema files in the OTA specification are made available according to the terms defined by the OTA License Agreement at http://www.opentravel.org/Specifications/Default.aspx
Collapse XSD Schema Code:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.opentravel.org/OTA/2003/05" targetNamespace="http://www.opentravel.org/OTA/2003/05" elementFormDefault="qualified" version="1.01" id="OTA2008B">
	<xs:include schemaLocation="OTA_CommonTypes.xsd"/>
	<xs:include schemaLocation="OTA_AirCommonTypes.xsd"/>
	<xs:include schemaLocation="OTA_SimpleTypes.xsd"/>
	<xs:annotation>
		<xs:documentation xml:lang="en">All Schema files in the OTA specification are made available according to the terms defined by the OTA License Agreement at http://www.opentravel.org/Specifications/Default.aspx</xs:documentation>
	</xs:annotation>
	<xs:element name="OTA_CancelRQ">
		<xs:annotation>
			<xs:documentation xml:lang="en">
A generic message, available as an action on several OTA services which
requests a server to cancel the booking identified by the UniqueID element.	</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="POS" type="POS_Type" minOccurs="0"/>
				<xs:element name="UniqueID" maxOccurs="5">
					<xs:annotation>
						<xs:documentation xml:lang="en">This allows a user to send more than one UniqueID where there is more than one UniqueID associated to a single reservation (e.g. confirmation number and PNR record locator).</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:complexContent>
							<xs:extension base="UniqueID_Type">
								<xs:attribute name="Reason" type="StringLength1to64" use="optional">
									<xs:annotation>
										<xs:documentation xml:lang="en">The reason for the cancellation.</xs:documentation>
									</xs:annotation>
								</xs:attribute>
							</xs:extension>
						</xs:complexContent>
					</xs:complexType>
				</xs:element>
				<xs:element name="Verification" type="VerificationType" minOccurs="0" maxOccurs="5">
					<xs:annotation>
						<xs:documentation xml:lang="en">This is to be used for verification that the record being canceled is the specific record requested. This is optional and is intended to provide a more secure mechanism to ensure the correct record is being canceled. </xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Segment" minOccurs="0" maxOccurs="99">
					<xs:annotation>
						<xs:documentation xml:lang="en">Used to specify segments to be cancelled.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:attribute name="ItinSegNbr" type="xs:nonNegativeInteger" use="optional">
							<xs:annotation>
								<xs:documentation xml:lang="en">Number identifying the segment item to be cancelled.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="FirstItinSegNbr" type="xs:nonNegativeInteger" use="optional">
							<xs:annotation>
								<xs:documentation xml:lang="en">The beginning number in a range that identifies the first segment  item to be cancelled.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="LastItinSegNbr" type="xs:nonNegativeInteger" use="optional">
							<xs:annotation>
								<xs:documentation xml:lang="en">The last number in a range that identifies the last segment  item to be cancelled.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:element name="CancellationOverrides" minOccurs="0">
					<xs:annotation>
						<xs:documentation xml:lang="en">A collection of cancellation rule overrides.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="CancellationOverride" type="CancelRuleType" minOccurs="0">
								<xs:annotation>
									<xs:documentation xml:lang="en">Used to override a cancellation rule.</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="Reasons" minOccurs="0">
					<xs:annotation>
						<xs:documentation xml:lang="en">A collection of reasons for this cancellation.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Reason" type="FreeTextType" maxOccurs="99">
								<xs:annotation>
									<xs:documentation xml:lang="en">Cancellation reason.</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element ref="TPA_Extensions" minOccurs="0"/>
			</xs:sequence>
			<xs:attributeGroup ref="OTA_PayloadStdAttributes"/>
			<xs:attributeGroup ref="ReqRespVersion"/>
			<xs:attribute name="CancelType" type="TransactionActionType" use="required"/>
			<xs:attribute name="TravelSector" type="OTA_CodeType" use="optional">
				<xs:annotation>
					<xs:documentation xml:lang="en">The travel segment type to be cancelled. Refer to OTA Codelist Travel Sector (TVS).</xs:documentation>
				</xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
</xs:schema>
Collapse Elements: