<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Andrea Martinotti (OmniTicket Network Administration) -->
<!-- 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="SEARCHZIPCODEONEXTERNALDBREQ">
		<xs:all>
			<xs:element name="COUNTRY" type="xs:string"/>
			<xs:element name="ZIPCODE" type="xs:string"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="SEARCHZIPCODEONEXTERNALDBRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="ZIPCODELIST" type="ZIPCODELIST" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="ZIPCODE">
		<xs:all>
			<xs:element name="COUNTRY" type="xs:string"/>
			<xs:element name="ZIPCODE" type="xs:string"/>
			<xs:element name="ADDRESS" type="xs:string"/>
			<xs:element name="STATE" type="xs:string"/>
			<xs:element name="CITY" type="xs:string"/>
			<xs:element name="DISTRICT" type="xs:string"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="ZIPCODELIST">
		<xs:sequence>
			<xs:element name="ZIPCODE" type="ZIPCODE" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Object containing the info of each performance</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ACCOUNT">
		<xs:all>
			<xs:element name="EXTENDEDINFOLIST" type="EXTENDEDINFOLIST"/>
			<xs:element name="BASICINFO" type="BASICINFO"/>
			<xs:element name="MONEYCARD" type="xs:float" minOccurs="0"/>
			<xs:element name="SALERESTRICTIONLIST" type="SALERESTICTIONLISTBASE" minOccurs="0"/>
			<xs:element name="NUMBEROFCHILD" type="xs:int"/>
			<xs:element name="PERSONDMGCATEGORYAK" type="xs:string" minOccurs="0"/>
			<xs:element name="INFODETAILLIST" minOccurs="0">
				<xs:annotation>
					<xs:documentation>if the data mask contains a data type of the field is 13 = Detail Mask</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="INFODETAIL" maxOccurs="unbounded">
							<xs:complexType>
								<xs:all>
									<xs:element name="MASKAK" type="xs:string">
										<xs:annotation>
											<xs:documentation>Is the mask AK</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="DATADETAILLIST">
										<xs:complexType>
											<xs:sequence>
												<xs:element name="DATADETAIL" maxOccurs="unbounded">
													<xs:complexType>
														<xs:all>
															<xs:element name="GROUPORDERID" type="xs:integer">
																<xs:annotation>
																	<xs:documentation>is a progressive insertion number </xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="DETAILID" type="xs:integer">
																<xs:annotation>
																	<xs:documentation>Is the detail ID</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="EXTENDEDINFOLIST" type="EXTENDEDINFOLIST"/>
															<xs:element name="PREFERRED" type="xs:boolean">
																<xs:annotation>
																	<xs:documentation>True = is the preferred item</xs:documentation>
																</xs:annotation>
															</xs:element>
														</xs:all>
													</xs:complexType>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="GIFTAID" minOccurs="0">
				<xs:complexType>
					<xs:all>
						<xs:element name="DECLARATIONRANGE">
							<xs:complexType>
								<xs:all>
									<xs:element name="FROM" type="xs:date"/>
									<xs:element name="TO" type="xs:date"/>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:all>
				</xs:complexType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="ACCOUNTCANPAYRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="CANPAY" type="xs:boolean"/>
			<xs:element name="REMAINAMOUNT" type="xs:float"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="ACCOUNTFINANCIAL">
		<xs:sequence>
			<xs:element name="FINANCIAL" minOccurs="0">
				<xs:complexType>
					<xs:all>
						<xs:element name="VALIDPAYMETLIST" minOccurs="0">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="VALIDPAYMENT" maxOccurs="unbounded">
										<xs:complexType>
											<xs:all>
												<xs:element name="ID" type="xs:int"/>
												<xs:element name="CODE" type="xs:string"/>
												<xs:element name="DESC" type="xs:string"/>
											</xs:all>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="CREDITINFO" minOccurs="0">
							<xs:complexType>
								<xs:all>
									<xs:element name="CREDITPERTRANS" type="xs:float"/>
									<xs:element name="TOTALCREDIT" type="xs:float"/>
									<xs:element name="AGREEDDEPOSIT" type="xs:float"/>
									<xs:element name="ITEMPERTRANS" type="xs:int"/>
									<xs:element name="REMAINCREDIT" type="xs:float"/>
									<xs:element name="CREDITDAYS" type="xs:integer"/>
								</xs:all>
							</xs:complexType>
						</xs:element>
						<xs:element name="PRICELISTBASE" type="PRICELISTBASE" minOccurs="0"/>
						<xs:element name="BILLINGINFO" minOccurs="0">
							<xs:complexType>
								<xs:all>
									<xs:element name="BILLINGACCAK" type="xs:string"/>
									<xs:element name="BILLINGACCID" type="xs:int"/>
									<xs:element name="HASPARENT" type="xs:boolean"/>
								</xs:all>
							</xs:complexType>
						</xs:element>
						<xs:element name="ACTIVITYINFO" minOccurs="0">
							<xs:complexType>
								<xs:all>
									<xs:element name="TOTALACTIVITY" type="xs:float"/>
									<xs:element name="TOTALPAID" type="xs:float"/>
									<xs:element name="AMOUNTDUE" type="xs:float"/>
								</xs:all>
							</xs:complexType>
						</xs:element>
						<xs:element name="TAXINFO" minOccurs="0">
							<xs:complexType>
								<xs:all>
									<xs:element name="TAXEXEMPTABLE" type="xs:boolean" minOccurs="0"/>
									<xs:element name="TAXVALIDFROM" type="xs:date" minOccurs="0"/>
									<xs:element name="TAXVALIDTO" type="xs:date" minOccurs="0"/>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:all>
				</xs:complexType>
			</xs:element>
			<xs:element name="ACCOUNT" type="ACCOUNT"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ACCOUNTLOGINREQ">
		<xs:all>
			<xs:element name="DMGCATEGORYLIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="DMGCATEGORY" maxOccurs="unbounded">
							<xs:complexType>
								<xs:all>
									<xs:element name="DMGCATAK" type="xs:string"/>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="FILTERLIST">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="FILTER" maxOccurs="unbounded">
							<xs:complexType>
								<xs:all>
									<xs:element name="OBJTYPE" type="xs:int"/>
									<xs:element name="VALUE" type="xs:string"/>
									<xs:element name="SEARCHTYPE">
										<xs:simpleType>
											<xs:restriction base="xs:int">
												<xs:enumeration value="0"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ACTIVEONLY" type="xs:boolean" minOccurs="0"/>
			<xs:element name="RETURNREQUIREDFIELDWARNING" type="xs:boolean" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="ACCOUNTLOGINRESP">
		<xs:complexContent>
			<xs:extension base="ACCOUNTFINANCIAL">
				<xs:sequence>
					<xs:element name="ERROR" type="ERROR"/>
					<xs:element name="WARNING" minOccurs="0">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="MISSINGREQUIREDFIELD" type="xs:boolean" minOccurs="0">
									<xs:annotation>
										<xs:documentation>Returned if RETURNREQUIREDFIELDWARNING=True</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="ACCOUNTSALEINFO">
		<xs:complexContent>
			<xs:extension base="SALEBASE">
				<xs:sequence>
					<xs:element name="PAYMENTLIST" type="PAYMENTLISTBASE"/>
					<xs:element name="STATUSCODE" type="xs:integer"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="ADDACCOUNTNOTEREQ">
		<xs:all>
			<xs:element name="ACCOUNTAK" type="xs:string"/>
			<xs:element name="NOTE">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="500"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="ADDACCOUNTNOTERESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="ACCOUNTAK" type="xs:string" minOccurs="0"/>
			<xs:element name="NOTE" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="500"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="ADDMEDIATOACCOUNTREQ">
		<xs:sequence>
			<xs:element name="ACCOUNTAK" type="xs:string"/>
			<xs:element name="MEDIAIDENTIFIER" type="xs:string"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ADDMEDIATOACCOUNTRESP">
		<xs:sequence>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="ACCOUNTAK" type="xs:string" minOccurs="0"/>
			<xs:element name="MEDIAIDENTIFIER" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="B2BAGENCYLOGIN_V2REQ">
		<xs:all>
			<xs:element name="USERNAME" type="xs:string"/>
			<xs:element name="PASSWORD" type="xs:string"/>
			<xs:element name="DMGCATCODE" type="xs:string"/>
			<xs:element name="RETURNREQUIREDFIELDWARNING" type="xs:boolean" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="B2BAGENCYLOGIN_V2RESP">
		<xs:complexContent>
			<xs:extension base="ACCOUNTFINANCIAL">
				<xs:sequence>
					<xs:element name="ERROR" type="ERROR"/>
					<xs:element name="WARNING" minOccurs="0">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="MISSINGREQUIREDFIELD" type="xs:boolean" minOccurs="0">
									<xs:annotation>
										<xs:documentation>Returned if RETURNREQUIREDFIELDWARNING=True</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="B2BAGENCYLOGINRESP">
		<xs:complexContent>
			<xs:extension base="ACCOUNTFINANCIAL">
				<xs:sequence>
					<xs:element name="ERROR" type="ERROR"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="CHANGEACCOUNTCATEGORYREQ">
		<xs:all>
			<xs:element name="ACCOUNTAK" type="xs:string"/>
			<xs:element name="DMGCATEGORYAK" type="xs:string"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="CHANGEACCOUNTCATEGORYRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="ACCOUNT" type="BASICINFO" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="CHANGEACCOUNTPASSWORDRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="ACCOUNT" type="BASICINFO" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="CHANGEACCOUNTSTATUSREQ">
		<xs:all>
			<xs:element name="ACCOUNTAK" type="xs:string"/>
			<xs:element name="STATUS" type="xs:integer"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="CHANGEACCOUNTSTATUSRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="ACCOUNT" type="BASICINFO" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="FINDACCOUNTSALEBYDATEREQ">
		<xs:all>
			<xs:element name="DATE" type="BASEDATEFILTER"/>
			<xs:element name="ACCOUNTAK" type="xs:string"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="FINDACCOUNTSALEBYDATERESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="ACCOUNT" type="BASICINFO"/>
			<xs:element name="SALELIST">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="SALE" type="SALEBASE" maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="GETACCOUNTCSVRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="CSV" type="xs:hexBinary" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="HIERARCHYITEMLIST">
		<xs:sequence>
			<xs:element name="HIERARCHYITEM" maxOccurs="unbounded">
				<xs:complexType>
					<xs:all>
						<xs:element name="ACCOUNTAK" type="xs:string"/>
						<xs:element name="DISPLAYNAME" type="xs:string"/>
						<xs:element name="RELATIONTYPE" type="xs:integer">
							<xs:annotation>
								<xs:documentation>Child = 0;
Parent = 1;
Friend = 2;
Family = 4;
No relations = 5;</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="HIERARCHYITEMLIST" type="HIERARCHYITEMLIST" minOccurs="0"/>
						<xs:element name="DMGCATEGORYAK" type="xs:string"/>
						<xs:element name="ACCOUNTTYPE" type="xs:integer">
							<xs:annotation>
								<xs:documentation>  Organization = 1;
  Person  = 2;
  Resource  = 3;
  Primary  = 4;
  Secondary = 5;</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:all>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MANAGEACCOUNTRELATIONSHIPRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="HIERARCHYITEMLIST" type="HIERARCHYITEMLIST" minOccurs="0"/>
			<xs:element name="BASICINFO" type="BASICINFO" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="MERGEACCOUNTREQ">
		<xs:all>
			<xs:element name="MAINACCOUNTAK" type="xs:string"/>
			<xs:element name="MERGEACCOUNTLIST">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="MERGEACCOUNT" maxOccurs="unbounded">
							<xs:complexType>
								<xs:all>
									<xs:element name="ACCOUNTAK" type="xs:string"/>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="MERGEACCOUNTRESP">
		<xs:all>
			<xs:element name="ERROR">
				<xs:complexType>
					<xs:all>
						<xs:element name="CODE" type="xs:integer"/>
						<xs:element name="TYPE">
							<xs:simpleType>
								<xs:restriction base="xs:string"/>
							</xs:simpleType>
						</xs:element>
						<xs:element name="TEXT" type="xs:string"/>
					</xs:all>
				</xs:complexType>
			</xs:element>
			<xs:element name="MERGEERRORLIST">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="MERGEERROR" maxOccurs="unbounded">
							<xs:complexType>
								<xs:all>
									<xs:element name="ACCOUNTAK" type="xs:string"/>
									<xs:element name="ERRORCODE" type="xs:integer"/>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="PRINTACCOUNTPDFRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="PDF" type="xs:hexBinary" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="READACCOUNTBYAKRESP">
		<xs:complexContent>
			<xs:extension base="ACCOUNTFINANCIAL">
				<xs:sequence>
					<xs:element name="MEDIALIST" minOccurs="0">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="MEDIACODE" type="MEDIACODEBASE" maxOccurs="unbounded"/>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
					<xs:element name="ERROR" type="ERROR"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="READACCOUNTBYIDRESP">
		<xs:complexContent>
			<xs:extension base="ACCOUNTFINANCIAL">
				<xs:sequence>
					<xs:element name="ERROR" type="ERROR"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="READACCOUNTHIERARCHYRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="HIERARCHYITEMLIST" type="HIERARCHYITEMLIST" minOccurs="0"/>
			<xs:element name="BASICINFO" type="BASICINFO" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="READACCOUNTHISTORYBYAKRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="TICKETLIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="TICKET" maxOccurs="unbounded">
							<xs:complexType>
								<xs:all>
									<xs:element name="ID" type="xs:integer"/>
									<xs:element name="PRODUCTAK" type="xs:string"/>
									<xs:element name="VOIDTYPE" type="xs:int"/>
									<xs:element name="VOIDTYPEDESC" type="xs:string"/>
									<xs:element name="ACTIVEFROM" type="xs:date"/>
									<xs:element name="ACTIVETO" type="xs:date" minOccurs="0"/>
									<xs:element name="SALE" type="ACCOUNTSALEINFO"/>
									<xs:element name="MEDIACODELIST">
										<xs:complexType>
											<xs:sequence>
												<xs:element name="MEDIACODE" type="MEDIACODEBASE" maxOccurs="unbounded"/>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="SALELIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="SALE" type="ACCOUNTSALEINFO" maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="READACCOUNTSALEHIERARCHYREQ">
		<xs:all>
			<xs:element name="ACCOUNTAK" type="xs:string"/>
			<xs:element name="PERFORMANCEAK" type="xs:string" minOccurs="0"/>
			<xs:element name="MATRIXCELLAK" type="xs:string" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="READACCOUNTSALEHIERARCHYRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="SALEHIERARCHYITEMLIST" type="SALEHIERARCHYITEMLIST" minOccurs="0"/>
			<xs:element name="BASICINFO" type="BASICINFO" minOccurs="0"/>
			<xs:element name="SELLABLE" type="xs:boolean" minOccurs="0"/>
			<xs:element name="REASONCODE" type="xs:int" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="READACCOUNTTICKETSBYAKREQ">
		<xs:sequence>
			<xs:element name="ACCOUNTAK" type="xs:string"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="READACCOUNTTICKETSBYAKRESP">
		<xs:complexContent>
			<xs:extension base="ACCOUNTFINANCIAL">
				<xs:sequence>
					<xs:element name="MEDIALIST" minOccurs="0">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="MEDIACODE" type="MEDIACODEBASE" maxOccurs="unbounded"/>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
					<xs:element name="TICKETLIST">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="TICKET" type="TICKETFULL" minOccurs="0" maxOccurs="unbounded"/>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
					<xs:element name="ERROR" type="ERROR"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="READSALERESTRICTIONRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="SALERESTRICTIONLIST" type="SALERESTICTIONLISTBASE" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="RESETACCOUNTPASSWORDREQ">
		<xs:all>
			<xs:element name="ACCOUNTAK" type="xs:string"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="RESETACCOUNTPASSWORDRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="ACCOUNT" type="BASICINFO" minOccurs="0"/>
			<xs:element name="TEMPORARYPASSWORD" type="xs:string" minOccurs="0"/>
			<xs:element name="EXPIRYMINUTES" type="xs:integer" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Expiry time express in minutes</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="SALEHIERARCHYITEMLIST">
		<xs:sequence>
			<xs:element name="SALEHIERARCHYITEM" maxOccurs="unbounded">
				<xs:complexType>
					<xs:all>
						<xs:element name="ACCOUNTAK" type="xs:string"/>
						<xs:element name="DISPLAYNAME" type="xs:string"/>
						<xs:element name="RELATIONTYPE" type="xs:integer">
							<xs:annotation>
								<xs:documentation>Child = 0;
Parent = 1;
Friend = 2;
Family = 4;
No relations = 5;</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DMGCATEGORYAK" type="xs:string"/>
						<xs:element name="ACCOUNTTYPE" type="xs:integer">
							<xs:annotation>
								<xs:documentation>  Organization = 1;
  Person  = 2;
  Resource  = 3;
  Primary  = 4;
  Secondary = 5;</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="SELLABLE" type="xs:boolean"/>
						<xs:element name="REASONCODE" type="xs:int"/>
					</xs:all>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SALERESTICTIONLISTBASE">
		<xs:sequence>
			<xs:element name="SALERESTRICTION" maxOccurs="unbounded">
				<xs:complexType>
					<xs:all>
						<xs:element name="PRODUCTLIST">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="PRODUCT" maxOccurs="unbounded">
										<xs:complexType>
											<xs:sequence>
												<xs:element name="AK" type="xs:string"/>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="TOTALAVAILABLE" type="xs:integer"/>
						<xs:element name="REMAINQUANTITY" type="xs:integer"/>
						<xs:element name="DESCRIPTION" type="xs:string"/>
					</xs:all>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SAVEACCOUNTREQ">
		<xs:all>
			<xs:element name="FIELDLIST" type="FIELDLIST">
				<xs:annotation>
					<xs:documentation>Object that contains the list of fields to be saved in the account</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ACCOUNTAK" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>AK of the account to be updated</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DMGCATEGORYAK" type="xs:string">
				<xs:annotation>
					<xs:documentation>AK of the category to be saved the account into</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="IMAGELIST" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Object that contains the list of images to be saved in the account</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="IMAGE" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Object that contains the info about each image to be saved</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:all>
									<xs:element name="FILENAME" type="xs:string">
										<xs:annotation>
											<xs:documentation>Name of the image file</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="FILECONTENT" type="xs:string">
										<xs:annotation>
											<xs:documentation>Image</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="OBJTYPE" type="xs:int">
										<xs:annotation>
											<xs:documentation>Object type of the field</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ATTACHMENTLIST" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Object that contains the list of attachments to be saved in the account</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ATTACHMENT" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Object that contains the info about each attachment to be saved</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:all>
									<xs:element name="FILENAME" type="xs:string">
										<xs:annotation>
											<xs:documentation>Name of the attachment file</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="FILECONTENT" type="xs:string">
										<xs:annotation>
											<xs:documentation>Attachment</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="OBJTYPE" type="xs:int">
										<xs:annotation>
											<xs:documentation>Object type of the field</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="STATUS" type="xs:integer" minOccurs="0"/>
			<xs:element name="PARENTACCOUNTAK" type="xs:string" minOccurs="0"/>
			<xs:element name="DETAILLIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="DETAIL" maxOccurs="unbounded">
							<xs:complexType>
								<xs:all>
									<xs:element name="MASKAK" type="xs:string">
										<xs:annotation>
											<xs:documentation>is MaskAK</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="SUBDETAILLIST">
										<xs:complexType>
											<xs:sequence>
												<xs:element name="SUBDETAIL" maxOccurs="unbounded">
													<xs:complexType>
														<xs:all>
															<xs:element name="DETAILID" type="xs:int" minOccurs="0">
																<xs:annotation>
																	<xs:documentation>is mandatory if Operationtype is 1 or 2</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="OPERATIONTYPE" type="xs:int">
																<xs:annotation>
																	<xs:documentation>0 = Insert
1 = Update
2 = Delete</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="FIELDLIST" type="FIELDLIST" minOccurs="0">
																<xs:annotation>
																	<xs:documentation>is mandatory if Operationtype is 0 or 1</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="PREFERRED" type="xs:boolean" minOccurs="0">
																<xs:annotation>
																	<xs:documentation>True = is the preferred item</xs:documentation>
																</xs:annotation>
															</xs:element>
														</xs:all>
													</xs:complexType>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="BILLINGACCOUNTAK" type="xs:string" minOccurs="0"/>
			<xs:element name="DELBILLINGACCOUNT" type="xs:boolean" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="SAVEACCOUNTRESP">
		<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="BASICINFO" type="BASICINFO" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Object that contains info about the generated account</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ERRORLISTOBJTYPE" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Object that contains info about the validtation errors for each object type</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ERRORLIST" maxOccurs="unbounded">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="OBJTYPE" type="xs:int"/>
									<xs:element name="ERRORCODE" type="xs:int"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="SEARCHACCOUNTREQ">
		<xs:all>
			<xs:element name="ACCOUNTAK" type="xs:string" minOccurs="0"/>
			<xs:element name="DMGCATEGORYLIST" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="DMGCATEGORY" maxOccurs="unbounded">
							<xs:complexType>
								<xs:all>
									<xs:element name="DMGCATEGORYAK" type="xs:string"/>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="PARENTACCOUNTAK" type="xs:string" minOccurs="0"/>
			<xs:element name="FILTERLIST">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="FILTER" maxOccurs="unbounded">
							<xs:complexType>
								<xs:all>
									<xs:element name="OBJTYPE" type="xs:int"/>
									<xs:element name="VALUE" type="xs:string"/>
									<xs:element name="SEARCHTYPE">
										<xs:simpleType>
											<xs:restriction base="xs:int">
												<xs:enumeration value="0"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ACTIVEONLY" type="xs:boolean" minOccurs="0"/>
			<xs:element name="PAGEREQ" minOccurs="0">
				<xs:complexType>
					<xs:complexContent>
						<xs:extension base="PAGEREQ">
							<xs:sequence minOccurs="0">
								<xs:element name="SORTFIELD" minOccurs="0">
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:enumeration value="ACCOUNTAK"/>
											<xs:enumeration value="DMGCATAK"/>
											<xs:enumeration value="DISPLAYNAME"/>
											<xs:enumeration value="STATUS"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:element>
							</xs:sequence>
						</xs:extension>
					</xs:complexContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="CREATIONDATE" type="BASEDATEFILTER" minOccurs="0"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="SEARCHACCOUNTRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
			<xs:element name="ACCOUNTCOUNT" type="xs:int"/>
			<xs:element name="ACCOUNTLIST">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ACCOUNT" type="BASICINFO" maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="PAGERESP" type="PAGERESP"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="UNMERGEACCOUNTREQ">
		<xs:all>
			<xs:element name="MAINACCOUNTAK" type="xs:string"/>
			<xs:element name="UNMERGEACCOUNTAK" type="xs:string"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="UNMERGEACCOUNTRESP">
		<xs:all>
			<xs:element name="ERROR">
				<xs:complexType>
					<xs:all>
						<xs:element name="CODE" type="xs:integer"/>
						<xs:element name="TYPE">
							<xs:simpleType>
								<xs:restriction base="xs:string"/>
							</xs:simpleType>
						</xs:element>
						<xs:element name="TEXT" type="xs:string"/>
					</xs:all>
				</xs:complexType>
			</xs:element>
			<xs:element name="MAINACCOUNTAK" type="xs:string"/>
			<xs:element name="UNMERGEACCOUNTAK" type="xs:string"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="MANAGEACCOUNTGIFTAIDREQ">
		<xs:all>
			<xs:element name="ACCOUNTAK" type="xs:string"/>
			<xs:element name="PARAMETERS">
				<xs:complexType>
					<xs:choice>
						<xs:element name="DECLARATIONENDDATE" type="xs:date" minOccurs="0"/>
						<xs:element name="INACTIVE" type="xs:boolean" minOccurs="0"/>
					</xs:choice>
				</xs:complexType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="MANAGEACCOUNTGIFTAIDRESP">
		<xs:all>
			<xs:element name="ERROR" type="ERROR"/>
		</xs:all>
	</xs:complexType>
</xs:schema>
