<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:include schemaLocation="bookingCommonTypes.xsd"/>
	<xs:element name="modifyResponse">
		<xs:annotation>
			<xs:documentation>Service the represent the modified reservation item which has been uniquely identified based on tourReference number.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="responseAuditInfo" type="responseAuditInfo"/>
				<xs:element name="tourReference" type="tourReferenceType">
					<xs:annotation>
						<xs:documentation>The unique reservation reference of the item for which modification was requested</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="status" type="TransactionStatusType">
					<xs:annotation>
						<xs:documentation>Indicates the status of the transaction.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="modifyDetail" minOccurs="0">
					<xs:annotation>
						<xs:documentation>This element contains the modified reservation items and it will be presented only the modification is successful.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:complexContent>
							<xs:extension base="modifyResponseType">
								<xs:sequence>
									<xs:element name="paymentInfo" type="paymentResponseType" minOccurs="0"/>
								</xs:sequence>
							</xs:extension>
						</xs:complexContent>
					</xs:complexType>
				</xs:element>
				<xs:element name="warnings" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Indicates the collections of business level warning messages for requested products.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="warning" type="warningType"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="errors" type="errors" minOccurs="0"/>
			</xs:sequence>
			<xs:attribute name="responseType" type="xs:string" use="required" fixed="modifyResponse">
				<xs:annotation>
					<xs:documentation>Used to ID the record to the receiving software</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="versionNumber" use="optional" fixed="7.0">
				<xs:annotation>
					<xs:documentation>Indicates the version of the request that is being used. </xs:documentation>
				</xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
</xs:schema>
