<?xml version="1.0" encoding="utf-8" ?>
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:element name="Response">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Error">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="ErrorCode">
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:enumeration value="00" />
										<xs:enumeration value="01" />
										<xs:enumeration value="02" />
										<xs:enumeration value="03" />
										<xs:enumeration value="04" />
										<xs:enumeration value="05" />
										<xs:enumeration value="06" />
										<xs:enumeration value="07" />
										<xs:enumeration value="08" />
										<xs:enumeration value="09" />
										<xs:enumeration value="10" />
										<xs:enumeration value="11" />
										<xs:enumeration value="12" />
										<xs:enumeration value="13" />
										<xs:enumeration value="14" />
										<xs:enumeration value="15" />
										<xs:enumeration value="16" />
										<xs:enumeration value="17" />
										<xs:enumeration value="18" />
										<xs:enumeration value="19" />
										<xs:enumeration value="20" />
										<xs:enumeration value="21" />
										<xs:enumeration value="22" />
										<xs:enumeration value="23" />
										<xs:enumeration value="24" />
										<xs:enumeration value="25" />
										<xs:enumeration value="26" />
										<xs:enumeration value="27" />
										<xs:enumeration value="28" />
										<xs:enumeration value="29" />
										<xs:enumeration value="30" />
										<xs:enumeration value="31" />
										<xs:enumeration value="32" />
										<xs:enumeration value="33" />
										<xs:enumeration value="34" />
										<xs:enumeration value="35" />
										<xs:enumeration value="36" />
										<xs:enumeration value="37" />
										<xs:enumeration value="38" />
										<xs:enumeration value="39" />
										<xs:enumeration value="40" />
										<xs:enumeration value="41" />
										<xs:enumeration value="42" />
                                        <xs:enumeration value="43" />
                                        <xs:enumeration value="44" />
                                        <xs:enumeration value="45" />
                                        <xs:enumeration value="46" />
                                        <xs:enumeration value="47" />
                                        <xs:enumeration value="48" />
                                        <xs:enumeration value="49" />
                                    </xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="ErrorReason">
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:enumeration value="OK" />
										<xs:enumeration value="Service unavailable. Please contact service support" />
										<xs:enumeration value="Unrecognised request. Please contact your software vendor" />
										<xs:enumeration value="Invalid account details" />
										<xs:enumeration value="Your account has been temporarily de-activated. Please contact service support" />
										<xs:enumeration value="Your account has been barred from using the service" />
										<xs:enumeration value="Your account is not yet validated. Please contact service support" />
										<xs:enumeration value="You have insufficient credit" />
										<xs:enumeration value="Unable to create sub account. Account not configured correctly" />
										<xs:enumeration value="Account username already exists" />
										<xs:enumeration value="Your presentation is badly dimensioned. Please check that the number of columns matches the number of cells" />
										<xs:enumeration value="The ID you supplied was in an incorrect format" />
										<xs:enumeration value="No Presentation found for this ID" />
										<xs:enumeration value="No Question Set found for this ID" />
										<xs:enumeration value="Number of answers does not match number of questions" />
										<xs:enumeration value="Answers do not match questions" />
										<xs:enumeration value="The owner of this Question Set does not has sufficient credit to accept your answers" />
										<xs:enumeration value="One or more of your answers does not match the data type of the question" />
										<xs:enumeration value="No message found for the parameters specified" />
										<xs:enumeration value="Invalid sub account details" />
										<xs:enumeration value="Unable to take credits from sub account" />
										<xs:enumeration value="Account not configured for sub accounts" />
										<xs:enumeration value="One or more of your specified contacts do not match the account" />
										<xs:enumeration value="One or more of your specified groups do not match the account" />
										<xs:enumeration value="You do not have sufficient access to perform the specified group action" />
										<xs:enumeration value="You are not licensed for this version of the software, please contact your software vendor" />
										<xs:enumeration value="Your long SMS message exceeds the maximum number of parts permitted" />
										<xs:enumeration value="The batch you requested does not exist." />
										<xs:enumeration value="You cannot save reports for absolute time periods" />
										<xs:enumeration value="You already have a saved report with the requested name." />
										<xs:enumeration value="The start date for your report was after your end date." />
										<xs:enumeration value="The end date for your report was after the end of today." />
										<xs:enumeration value="Your requested reporting period was over the limit permitted." />
										<xs:enumeration value="Duplicate entry found, no contacts added into your address book." />
										<xs:enumeration value="Request would cause a duplicate group name in account heirachy: no action performed." />
										<xs:enumeration value="One of more of the specified fixed messages do not exist." />
										<xs:enumeration value="No contents found: have you set up your address book and groups correctly?" />
										<xs:enumeration value="The promotional code you supplied was not valid." />
										<xs:enumeration value="The brand you supplied was not valid." />
										<xs:enumeration value="You do not have access to the specified header." />
										<xs:enumeration value="Unrecognised time-zone or ISO Country Code." />
										<xs:enumeration value="New sub-accounts must be in the same 2SMS market as their parent." />
										<xs:enumeration value="A supplied contact was either absent from the group, or was inaccessible with your access level." />
                                        <xs:enumeration value="Some of the account details are invalid." />
                                        <xs:enumeration value="The email or mobile number are not permitted for use with 2SMS. Please contact support." />
                                        <xs:enumeration value="Supplied affiliate either unrecognised or corresponds to an archived / barred account." />
                                        <xs:enumeration value="Your account is not configured to perform this type of sub-account operation." />
                                        <xs:enumeration value="Your account is already configured for sub-account operations." />
                                        <xs:enumeration value="Your chosen affiliate alias already exists. Try again with an alternative." />
                                        <xs:enumeration value="You may not transfer credits to sub-accounts in a different market to your own." />
                                    </xs:restriction>
								</xs:simpleType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="Version" type="xs:string" />
		</xs:complexType>
	</xs:element>
</xs:schema>
