<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2015 (x64) (http://www.altova.com) by Fabrizio Pedrazzi (OmniTicket Network / VGS Systems Engineering) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:include schemaLocation="../xsd/APICommon.xsd"/>
	<xs:complexType name="ITEM">
		<xs:all>
			<xs:element name="PRODUCT" type="MATRIXCELL">
				<xs:annotation>
					<xs:documentation>Object that contains the details about products</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PRICE" type="PRICEBASE">
				<xs:annotation>
					<xs:documentation>Object that contains the details about price</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ORDERTICKETLIST">
				<xs:annotation>
					<xs:documentation>Object that contains the list of tickets</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ORDERTICKET" maxOccurs="unbounded">
							<xs:complexType>
								<xs:complexContent>
									<xs:extension base="TICKETBASE">
										<xs:sequence>
											<xs:element name="SERIAL" type="xs:integer"/>
											<xs:element name="ISUSED" type="xs:boolean"/>
											<xs:element name="SIAEDETAILS" minOccurs="0">
												<xs:complexType>
													<xs:all>
														<xs:element name="CODICECARTA" type="xs:string"/>
														<xs:element name="SIGILLO" type="xs:string"/>
														<xs:element name="PROGRESSIVO" type="xs:integer"/>
														<xs:element name="DATAORAEMISSIONE" type="xs:dateTime"/>
														<xs:element name="PREZZO" type="xs:float"/>
														<xs:element name="CODICERICHIEDENTE" type="xs:string"/>
														<xs:element name="CODICEABBONAMENTO" type="xs:string"/>
														<xs:element name="PROGRESSIVOABBONAMENTO" type="xs:integer"/>
														<xs:element name="DATALIMITEVALIDITA" type="xs:dateTime"/>
														<xs:element name="NUMEROEVENTIABILITATI" type="xs:integer"/>
														<xs:element name="CODICERIDUZIONE" type="xs:string"/>
														<xs:element name="DESCRIZIONERIDUZIONE" type="xs:string"/>
													</xs:all>
												</xs:complexType>
											</xs:element>
											<xs:element name="EXTENDEDINFO" type="TCKEXTENDEDINFO" minOccurs="0"/>
										</xs:sequence>
									</xs:extension>
								</xs:complexContent>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="INFO" type="ITEMBASE">
				<xs:annotation>
					<xs:documentation>Object that contains additional item info</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ITEMPERFORMANCELIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ITEMPERFORMANCE" maxOccurs="unbounded">
							<xs:complexType>
								<xs:complexContent>
									<xs:extension base="PERFORMANCEFULL"/>
								</xs:complexContent>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="PACKAGECODE" type="xs:string" minOccurs="0"/>
			<xs:element name="PACKAGESERIAL" type="xs:string" minOccurs="0"/>
			<xs:element name="SEATLIST" type="SEATINFOLIST" minOccurs="0"/>
			<xs:element name="ITEMACCOUNTLIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ITEMACCOUNT" type="ACCOUNTSAVEBASE" maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="PROMOTIONAPPLIEDLIST" type="PROMOTIONAPPLIEDLIST" minOccurs="0"/>
			<xs:element name="GIFTAID" minOccurs="0">
				<xs:complexType>
					<xs:all>
						<xs:element name="STATUS" type="xs:integer"/>
						<xs:element name="AMOUNT" type="xs:float"/>
					</xs:all>
				</xs:complexType>
			</xs:element>
			<xs:element name="ITEMEXTENDEDINFOLIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ITEMEXTENDEDINFO" type="TCKEXTENDEDINFO" maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="ITEM2">
		<xs:all>
			<xs:element name="PRODUCT" type="MATRIXCELL">
				<xs:annotation>
					<xs:documentation>Object that contains the details about products</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PRICE" type="PRICEBASE">
				<xs:annotation>
					<xs:documentation>Object that contains the details about price</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ORDERTICKETLIST">
				<xs:annotation>
					<xs:documentation>Object that contains the list of tickets</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ORDERTICKET" maxOccurs="unbounded">
							<xs:complexType>
								<xs:complexContent>
									<xs:extension base="TICKETBASE">
										<xs:sequence>
											<xs:element name="SERIAL" type="xs:integer"/>
											<xs:element name="ISUSED" type="xs:boolean"/>
											<xs:element name="SIAEDETAILS" minOccurs="0">
												<xs:complexType>
													<xs:all>
														<xs:element name="CODICECARTA" type="xs:string"/>
														<xs:element name="SIGILLO" type="xs:string"/>
														<xs:element name="PROGRESSIVO" type="xs:integer"/>
														<xs:element name="DATAORAEMISSIONE" type="xs:dateTime"/>
														<xs:element name="PREZZO" type="xs:float"/>
														<xs:element name="CODICERICHIEDENTE" type="xs:string"/>
														<xs:element name="CODICEABBONAMENTO" type="xs:string"/>
														<xs:element name="PROGRESSIVOABBONAMENTO" type="xs:integer"/>
														<xs:element name="DATALIMITEVALIDITA" type="xs:dateTime"/>
														<xs:element name="NUMEROEVENTIABILITATI" type="xs:integer"/>
														<xs:element name="CODICERIDUZIONE" type="xs:string"/>
														<xs:element name="DESCRIZIONERIDUZIONE" type="xs:string"/>
													</xs:all>
												</xs:complexType>
											</xs:element>
											<xs:element name="EXTENDEDINFO" type="TCKEXTENDEDINFO" minOccurs="0"/>
										</xs:sequence>
									</xs:extension>
								</xs:complexContent>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="INFO" type="ITEMBASE">
				<xs:annotation>
					<xs:documentation>Object that contains additional item info</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ITEMPERFORMANCELIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ITEMPERFORMANCE" maxOccurs="unbounded">
							<xs:complexType>
								<xs:complexContent>
									<xs:extension base="PERFORMANCEFULL"/>
								</xs:complexContent>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="PACKAGECODE" type="xs:string" minOccurs="0"/>
			<xs:element name="PACKAGESERIAL" type="xs:string" minOccurs="0"/>
			<xs:element name="SEATLIST" type="SEATINFOLIST" minOccurs="0"/>
			<xs:element name="ITEMACCOUNTLIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ITEMACCOUNT" type="ACCOUNTSAVEBASE" maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="PROMOTIONAPPLIEDLIST" type="PROMOTIONAPPLIEDLIST" minOccurs="0"/>
			<xs:element name="GIFTAID" minOccurs="0">
				<xs:complexType>
					<xs:all>
						<xs:element name="STATUS" type="xs:integer"/>
						<xs:element name="AMOUNT" type="xs:float"/>
					</xs:all>
				</xs:complexType>
			</xs:element>
			<xs:element name="ITEMEXTENDEDINFOLIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ITEMEXTENDEDINFO" type="TCKEXTENDEDINFO" maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="GROUPINGCODE" type="xs:integer" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="READORBYAKRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR">
				<xs:annotation>
					<xs:documentation>Object that contains info about the result of the operation</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SALE" type="ORDER" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Object that contains info about the order</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ITEMLIST" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Object that contains the list of items</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ITEM" type="ITEM" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Object that contains the info about the order items</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ORDERDELIVERYITEMLIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ORDERDELIVERYITEM" maxOccurs="unbounded">
							<xs:complexType>
								<xs:all>
									<xs:element name="DELIVERYAK" type="xs:string"/>
									<xs:element name="PRICE" type="PRICEBASE">
										<xs:annotation>
											<xs:documentation>Object that contains the details about price</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="ACCOUNT" type="BASICINFO" minOccurs="0"/>
									<xs:element name="EXTENDEDINFO" type="TCKEXTENDEDINFO" minOccurs="0"/>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ORDERDONATIONITEMLIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ORDERDONATIONITEM" maxOccurs="unbounded">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="DONATIONAK" type="xs:string"/>
									<xs:element name="PRICETYPE" type="xs:int"/>
									<xs:element name="PRICE" type="PRICEBASE"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="READORBYAK_V2RESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR">
				<xs:annotation>
					<xs:documentation>Object that contains info about the result of the operation</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SALE" type="ORDER" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Object that contains info about the order</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ITEMLIST" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Object that contains the list of items</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ITEM" type="ITEM2" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Object that contains the info about the order items</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ORDERDELIVERYITEMLIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ORDERDELIVERYITEM" maxOccurs="unbounded">
							<xs:complexType>
								<xs:all>
									<xs:element name="DELIVERYAK" type="xs:string"/>
									<xs:element name="PRICE" type="PRICEBASE">
										<xs:annotation>
											<xs:documentation>Object that contains the details about price</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="ACCOUNT" type="BASICINFO" minOccurs="0"/>
									<xs:element name="EXTENDEDINFO" type="TCKEXTENDEDINFO" minOccurs="0"/>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ORDERDONATIONITEMLIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ORDERDONATIONITEM" maxOccurs="unbounded">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="DONATIONAK" type="xs:string"/>
									<xs:element name="PRICETYPE" type="xs:int"/>
									<xs:element name="PRICE" type="PRICEBASE"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="READORBYAK_V3RESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR">
				<xs:annotation>
					<xs:documentation>Object that contains info about the result of the operation</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SALE" type="ORDERACCOUNT" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Object that contains info about the order</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ITEMLIST" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Object that contains the list of items</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ITEM" type="ITEM2" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Object that contains the info about the order items</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ORDERDELIVERYITEMLIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ORDERDELIVERYITEM" maxOccurs="unbounded">
							<xs:complexType>
								<xs:all>
									<xs:element name="DELIVERYAK" type="xs:string"/>
									<xs:element name="PRICE" type="PRICEBASE">
										<xs:annotation>
											<xs:documentation>Object that contains the details about price</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="ACCOUNT" type="BASICINFO" minOccurs="0"/>
									<xs:element name="EXTENDEDINFO" type="TCKEXTENDEDINFO" minOccurs="0"/>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ORDERDONATIONITEMLIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ORDERDONATIONITEM" maxOccurs="unbounded">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="DONATIONAK" type="xs:string"/>
									<xs:element name="PRICETYPE" type="xs:int"/>
									<xs:element name="PRICE" type="PRICEBASE"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="FINDSALEBYEXTERNALMEDIARESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR">
				<xs:annotation>
					<xs:documentation>Object that contains info about the result of the operation</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SALE" type="ORDER" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Object that contains info about the order</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ITEMLIST" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Object that contains the list of items</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ITEM" type="ITEM" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Object that contains the info about the order items</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:all>
	</xs:complexType>
</xs:schema>
