type-test.xsd

来自「开源的axis2框架的源码。用于开发WEBSERVER」· XSD 代码 · 共 1,631 行 · 第 1/4 页

XSD
1,631
字号
				</attribute>			
			</extension>
		</complexContent>
	</complexType>
	<!--MeterIdentifier Specialisation Ends -->
	<complexType name="MsgID">
		<annotation>
			<documentation> Sequential identifier that allows each client request message to be
				uniquely identified. </documentation>
		</annotation>
		<attribute use="required" name="dateTime" type="i0:MsgIDDateTime"/>
		<attribute use="required" name="uniqueNumber" type="i0:MsgIDUniqueNumber"/>
	</complexType>
	<!--Pay Type Specialisations -->
	<complexType name="PayType" abstract="true">
		<annotation>
			<documentation> Indicates the mechanism used to pay. It is extended to allow for
				different types of payment mechanisms. </documentation>
		</annotation>
	</complexType>
	<complexType name="Cash">
		<complexContent>
			<extension base="i0:PayType">
				<sequence>
					<element minOccurs="1" maxOccurs="1" name="tenderAmt" type="i0:Currency">
						<annotation>
							<documentation> The cash amount tendered. </documentation>
						</annotation>
					</element>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="Cheque">
		<complexContent>
			<extension base="i0:PayType">
				<sequence>
					<element minOccurs="1" maxOccurs="1" name="cheqAmt" type="i0:Currency"/>
					<element minOccurs="1" maxOccurs="1" name="accHolderName" type="i0:PersonName"/>
					<element minOccurs="1" maxOccurs="1" name="AccHolderIDNo" type="i0:IDNo"/>
					<element minOccurs="1" maxOccurs="1" name="accNo" type="i0:AccountNo"/>
					<element minOccurs="1" maxOccurs="1" name="bankName" type="i0:OrganisationName"/>
					<element minOccurs="1" maxOccurs="1" name="branchCode" type="i0:BranchCode"/>
					<element minOccurs="1" maxOccurs="1" name="cheqNo" type="i0:ChequeNo"/>
					<element minOccurs="1" maxOccurs="1" name="cheqType" type="i0:ChequeType"/>
					<element minOccurs="0" maxOccurs="1" name="micr" type="i0:MICR"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="Card" abstract="true">
		<complexContent>
			<extension base="i0:PayType">
				<sequence>
					<element minOccurs="1" maxOccurs="1" name="cardAmt" type="i0:Currency"/>
					<element minOccurs="1" maxOccurs="1" name="accHolderName" type="i0:PersonName"/>
					<element minOccurs="1" maxOccurs="1" name="pan" type="i0:AccountNo">
						<annotation>
							<documentation> The primary account number. </documentation>
						</annotation>
					</element>
					<element minOccurs="1" maxOccurs="1" name="expDate" type="i0:BankCardExpiry"/>
					<element minOccurs="1" maxOccurs="1" name="cvNum" type="i0:BankCardCVNum"/>
					<element minOccurs="1" maxOccurs="1" name="clearingHouse"
						type="i0:OrganisationName">
						<annotation>
							<documentation> The name of the card association, e.g. VISA, MasterCard,
								etc </documentation>
						</annotation>
					</element>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="CreditCard">
		<complexContent>
			<extension base="i0:Card"/>
		</complexContent>
	</complexType>
	<complexType name="DebitCard">
		<complexContent>
			<extension base="i0:Card"/>
		</complexContent>
	</complexType>
	<complexType name="Unknown">
		<annotation>
			<documentation> Refers to a payment type that may not be known at the time of the
				request. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:PayType"/>
		</complexContent>
	</complexType>
	<!--Resource Specialisations-->
	<complexType name="Resource" abstract="true">
		<annotation>
			<documentation> The type of prepaid resource being requested. </documentation>
		</annotation>
	</complexType>
	<complexType name="Electricity">
		<complexContent>
			<extension base="i0:Resource"/>
		</complexContent>
	</complexType>
	<complexType name="Water">
		<complexContent>
			<extension base="i0:Resource"/>
		</complexContent>
	</complexType>
	<complexType name="Gas">
		<complexContent>
			<extension base="i0:Resource"/>
		</complexContent>
	</complexType>
	<complexType name="ConnectionTime">
		<complexContent>
			<extension base="i0:Resource"/>
		</complexContent>
	</complexType>
	<complexType name="CurrencyResource">
		<complexContent>
			<extension base="i0:Resource"/>
		</complexContent>
	</complexType>
	<!--Resource Specialisations Ends-->
	<complexType name="Tariff">
		<annotation>
			<documentation> Contains information about the tariff that was used to process the
				transaction. </documentation>
		</annotation>
		<sequence>
			<element minOccurs="1" maxOccurs="1" name="name" type="i0:Msg">
				<annotation>
					<documentation> Name of the tariff. e.g. Home Light 1 </documentation>
				</annotation>
			</element>
			<element minOccurs="0" maxOccurs="1" name="desc" type="i0:Msg">
				<annotation>
					<documentation>Optional description of the tariff. </documentation>
				</annotation>
			</element>
		</sequence>
	</complexType>
	<!--Tax specialisations -->
	<complexType name="Tax" abstract="true">
		<annotation>
			<documentation> TAX that is applicable to a transaction. </documentation>
		</annotation>
		<sequence>
			<element minOccurs="1" maxOccurs="1" name="amt" type="i0:Currency">
				<annotation>
					<documentation> The TAX amount of a transaction. </documentation>
				</annotation>
			</element>
		</sequence>
	</complexType>
	<complexType name="VAT">
		<annotation>
			<documentation> A instance of TAX, referred to Value Added Tax and expressed as a
				percentage. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:Tax">
				<attribute use="required" name="rate" type="i0:Percentage">
					<annotation>
						<documentation> The percentage rate of VAT, as applied to the transaction
							value. </documentation>
					</annotation>
				</attribute>
			</extension>
		</complexContent>
	</complexType>
	<!--Tax specialisations -->
	<!--Token Specialisations-->
	<complexType name="Token" abstract="true">
		<annotation>
			<documentation> Generic prepaid token that is generated by the server. </documentation>
		</annotation>
	</complexType>
	<complexType name="KCToken">
		<annotation>
			<documentation> A key change token, that consists of two STS tokens. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:Token">
				<sequence>
					<element minOccurs="1" maxOccurs="1" name="set1stMeterKey" type="i0:STS1Token">
						<annotation>
							<documentation> First 20 digit STS token. </documentation>
						</annotation>
					</element>
					<element minOccurs="1" maxOccurs="1" name="set2ndMeterKey" type="i0:STS1Token">
						<annotation>
							<documentation> Second 20 digit STS token. </documentation>
						</annotation>
					</element>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="STS1Token">
		<annotation>
			<documentation> The 20 digit STS 1 token as defined in the STS 1 specifications. For the
				TrialCredit Vend request the STS1Token value will dfault to "0000000000000000".
			</documentation>
		</annotation>
		<complexContent>
			<extension base="i0:Token">
				<sequence>
					<element minOccurs="1" maxOccurs="1" name="stsCipher" type="i0:STSCipherText"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<!--Token Specialisations Ends-->
	<!--Token Info Specialisations -->
	<complexType name="TokenInfo" abstract="true">
		<annotation>
			<documentation> Information about the prepaid token generated. </documentation>
		</annotation>
	</complexType>
	<complexType name="STS1TokenInfo">
		<annotation>
			<documentation> Token information for STS1 tokens. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:TokenInfo">
				<sequence>
					<element minOccurs="1" maxOccurs="1" name="tokenID" type="decimal">
						<annotation>
							<documentation> As defined by STS. </documentation>
						</annotation>
					</element>
					<element minOccurs="1" maxOccurs="1" name="transferAmt" type="decimal">
						<annotation>
							<documentation> As defined by STS. </documentation>
						</annotation>
					</element>
					<element minOccurs="1" maxOccurs="1" name="tokenClass"
						type="i0:TokenSubClassType">
						<annotation>
							<documentation> As defined by STS. </documentation>
						</annotation>
					</element>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="TokenSubClassType">
		<annotation>
			<documentation> Potential token sub class types, as per STS. </documentation>
		</annotation>
		<sequence>
			<choice maxOccurs="1" minOccurs="1">
				<element name="credit" type="i0:CreditTokenSubClassType"/>
				<element name="nonMeterManagement" type="i0:NonMeterSpecificEng"/>
				<element name="meterManagement" type="i0:MeterSpecificEng"/>
			</choice>
		</sequence>
	</complexType>
	<complexType name="VendorDetail">
		<annotation>
			<documentation> Organisation who is contracted with the utility to provide prepaid
				token's to it customers. </documentation>
		</annotation>
		<attribute use="required" name="name" type="i0:OrganisationName">
				<annotation>
					<documentation> Name of the vendor, e.g. Foo Bank </documentation>
				</annotation>
		</attribute>
		<attribute use="required" name="address" type="i0:Address">
				<annotation>
					<documentation> Address of the vendor. </documentation>
				</annotation>
		</attribute>	
	</complexType>
	<complexType name="UtilityDetail">
		<annotation>
			<documentation> Details of the utility that is supply authority for the prepaid
				resource. </documentation>
		</annotation>
		<attribute use="required" name="name" type="i0:OrganisationName"/>
		<attribute use="required" name="address" type="i0:Address"/>
		<attribute use="required" name="taxRef" type="i0:TaxRef">
				<annotation>
					<documentation> Tax reference number of the utility. </documentation>
				</annotation>
		</attribute>
	</complexType>
	<!-- Issue Fault  and XMLvend Fault Specialisations -->
	<complexType name="Fault" abstract="true">
		<annotation>
			<documentation> A generic fault returned by the server to an exception scenario.
			</documentation>
		</annotation>
		<sequence>
			<element minOccurs="1" maxOccurs="1" name="desc" type="i0:Msg">
				<annotation>
					<documentation> Description of the fault scenario. </documentation>
				</annotation>
			</element>
		</sequence>
	</complexType>
	<complexType name="SystemEx">
		<annotation>
			<documentation> A system error has occurred while processing the request and therefore
				the normal response message cannot be returned. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:Fault"/>
		</complexContent>
	</complexType>
	<complexType name="BusinessRuleEx">
		<annotation>
			<documentation> A business rule exception has occurred while processing the request
				message, the server is therefore unable to continue with the happy path.
			</documentation>
		</annotation>
		<complexContent>
			<extension base="i0:Fault"/>
		</complexContent>
	</complexType>
	<complexType name="RequestAuthorisationEx">
		<annotation>
			<documentation> The vendor is not authorised to perform the requested operation.
			</documentation>
		</annotation>
		<complexContent>
			<extension base="i0:BusinessRuleEx"/>
		</complexContent>
	</complexType>
	<complexType name="MSNOCheckDigitEx">
		<annotation>
			<documentation> The check digit of the supplied MSNO can not be verified.
			</documentation>
		</annotation>
		<complexContent>
			<extension base="i0:BusinessRuleEx"/>
		</complexContent>
	</complexType>
	<complexType name="SGCAuthorisationEx">
		<annotation>
			<documentation> The vendor is not authorised to produce tokens for meters on the
				supplied SGC. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:BusinessRuleEx"/>
		</complexContent>
	</complexType>
	<complexType name="LatestKRNEx">
		<annotation>
			<documentation> The supplied KRN for the supplied SGC has expired. An update meter key
				operation is required. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:BusinessRuleEx"/>
		</complexContent>
	</complexType>
	<complexType name="FBEEx">
		<annotation>
			<documentation> The customer is not registered for FBE. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:BusinessRuleEx"/>
		</complexContent>
	</complexType>
	<complexType name="BlockedMeterEx">
		<annotation>
			<documentation> The meter has been blocked, no transactions are possible, the reason for
				blocking will vary.. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:BusinessRuleEx"/>
		</complexContent>
	</complexType>
	<complexType name="STSDataEx">
		<annotation>
			<documentation> The supplied data for MSNO, SGC, KRN, TI, AT, TT are not valid.
			</documentation>
		</annotation>
		<complexContent>
			<extension base="i0:BusinessRuleEx"/>
		</complexContent>
	</complexType>
	<complexType name="VendorCreditEx">
		<annotation>
			<documentation> Insufficient vendor credit to compete the requested operation.
			</documentation>
		</annotation>
		<complexContent>
			<extension base="i0:BusinessRuleEx"/>
		</complexContent>
	</complexType>
	<complexType name="XMLVendFaultEx" abstract="true">
		<annotation>
			<documentation> A XMLVend protocol related fault has occurred. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:Fault"/>
		</complexContent>
	</complexType>
	<complexType name="UseCaseSupportEx">
		<annotation>
			<documentation> Specialisation of XMLVend protocol exception, indicating that the
				requested use case is not supported by this XMLVend implementation. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:XMLVendFaultEx"/>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?