type-test.xsd

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

XSD
1,631
字号
		</complexContent>
	</complexType>
	<complexType name="CustAccountNo">
		<annotation>
			<documentation> Contains the account number of the customer with a specific
				organisation, usually the Utility - used as a search string. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:CustIdentifier">
				<sequence>
					<element minOccurs="0" maxOccurs="1" name="organisation"
						type="i0:OrganisationName"/>
				</sequence>
				<attribute use="required" name="accNo" type="i0:AccountNo"/>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="CustIDNumber">
		<annotation>
			<documentation> Contains the government issued identity number of the customer - used as
				a search string. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:CustIdentifier">
				<attribute use="required" name="idNo" type="i0:IDNo"/>
			</extension>
		</complexContent>
	</complexType>
	<!--CustIdentifier Specialisation Ends-->
	<complexType name="CustDetail">
		<annotation>
			<documentation> Contains the details of customer. </documentation>
		</annotation>
			<attribute use="required"  name="name" type="i0:PersonName"/>
			<attribute use="required" name="address" type="i0:Address"/>
			<attribute use="optional" name="contactNo" type="i0:ContactNo"/>
			<attribute use="optional" name="accNo" type="i0:AccountNo"/>
			<attribute use="optional" name="locRef" type="i0:LocRef">
				<annotation>
					<documentation> Contains an alternative reference to the customer location, such
						as a Erf number. </documentation>
				</annotation>
			</attribute>
	</complexType>
	<complexType name="CustVendDetail">
		<complexContent>
			<extension base="i0:CustDetail">
				<attribute use="optional" name="daysLastPurchase" type="integer">
						<annotation>
							<documentation> The number of days since the customer last purchased a
								token. Typically used to calculate the service charge applicable.
							</documentation>
						</annotation>
				 </attribute>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="Currency">
		<annotation>
			<documentation> Contains the amount and currency symbol. </documentation>
		</annotation>
		<attribute use="required" name="value" type="decimal"/>
		<attribute use="required" name="symbol" type="i0:CurrencySymbol">
			<annotation>
				<documentation> The symbol of the currency used, as per ISO 4217. </documentation>
			</annotation>
		</attribute>
	</complexType>
	<complexType name="DeviceID" abstract="true">
		<annotation>
			<documentation> Abstract identifier for the client, server or terminal. </documentation>
		</annotation>
	</complexType>
	<complexType name="EANDeviceID">
		<annotation>
			<documentation> The EAN is simply a 13-digit number used to uniquely identify the
				client, server or terminal. Its basic components are: An EAN.UCC Company Prefix, a
				Location Reference and a Check Digit. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:DeviceID">
				<attribute use="required" name="ean" type="i0:EAN"/>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="GenericDeviceID">
		<annotation>
			<documentation> This is a generic identifier, that may be used to identifier a client,
				server or terminal. It is however recommended that it be used for terminals only and
				EAN's used for clients and servers. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:DeviceID">
				<attribute use="required" name="id" type="i0:Msg"/>
			</extension>
		</complexContent>
	</complexType>
	<!--MeterSpecificTokenIssue Specialiations-->
	<complexType name="MeterSpecificTokenIssue" abstract="true">
		<annotation>
			<documentation>Token information for a specific meter. </documentation>
		</annotation>
		<sequence>
			<element minOccurs="1" maxOccurs="1" name="desc" type="i0:Msg">
				<annotation>
					<documentation>
						Description of the meter specific token issue, eg. Prepayment Sale, Key Change 
					</documentation>
				</annotation>
			</element>
			<element minOccurs="1" maxOccurs="1" name="meterDetail" type="i0:MeterDetail">
				<annotation>
					<documentation> Details about the meter where the token will be entered. In the
						case of KCTokenIssue, it will be contain the updated (To) meter key data.
					</documentation>
				</annotation>
			</element>
			<element minOccurs="1" maxOccurs="1" name="token" type="i0:Token">
				<annotation>
					<documentation> The cipher that will be entered into the meter as per the AT of
						the meter. </documentation>
				</annotation>
			</element>
		</sequence>
	</complexType>
	<complexType name="CreditTokenIssue">
		<annotation>
			<documentation> Information that is returned with all credit tokens that are vended by
				the server. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:MeterSpecificTokenIssue">
				<sequence>
					<element minOccurs="1" maxOccurs="1" name="units" type="i0:Units"/>
					<element minOccurs="1" maxOccurs="1" name="resource" type="i0:Resource">
						<annotation>
							<documentation> The type of resource being vended, e.g. Electricity,
								water... </documentation>
						</annotation>
					</element>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<!-- Credit Token Issue Specialisations -->
	<complexType name="SaleCredTokenIssue">
		<annotation>
			<documentation>
				Credit Token issue returned for a normal prepayment sale token. Maps to transaction type, 000 - Prepayment Sale, NRS009-3.
			</documentation>
		</annotation>
		<complexContent>
			<extension base="i0:CreditTokenIssue"/>
		</complexContent>
	</complexType>
	<complexType name="FBECredTokenIssue">
		<annotation>
			<documentation>
				Credit Token issue returned for a free basic electricity token. Maps to transaction type, 010 - FBE token, NRS009-3.
			</documentation>
		</annotation>
		<complexContent>
			<extension base="i0:CreditTokenIssue"/>
		</complexContent>
	</complexType>
	<complexType name="FreeCredTokenIssue">
		<annotation>
			<documentation>
				Credit Token issue returned for a free token. Maps to transaction type, 005 - Free Issue, NRS009-3.
			</documentation>
		</annotation>
		<complexContent>
			<extension base="i0:CreditTokenIssue"/>
		</complexContent>
	</complexType>
	<complexType name="MCTCredTokenIssue">
		<annotation>
			<documentation>
				Credit Token issue returned for a meter credit transfer token. Maps to transaction type, 003 - Replacement, NRS009-3.
			</documentation>
		</annotation>
		<complexContent>
			<extension base="i0:CreditTokenIssue"/>
		</complexContent>
	</complexType>
	
	<complexType name="MeterSpecificEngTokenIssue" abstract="true">
		<annotation>
			<documentation> Generic Meter specific engineering token issue. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:MeterSpecificTokenIssue"/>
		</complexContent>
	</complexType>
	<!--MeterSpecificEngTokenIssue Specialiations-->
	<complexType name="KCTokenIssue">
		<annotation>
			<documentation> Information returned with all Key Change Token issues. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:MeterSpecificEngTokenIssue">
				<sequence>
					<element minOccurs="1" maxOccurs="1" name="kctData" type="i0:KCTData">
						<annotation>
							<documentation> The FROM and TO meter key data. </documentation>
						</annotation>
					</element>
					<element minOccurs="0" maxOccurs="1" name="pwrLmtToken"
						type="i0:PwrLmtTokenIssue">
						<annotation>
							<documentation> A power limit token that matches the specific tariff
								index that is being updated. </documentation>
						</annotation>
					</element>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="PwrLmtTokenIssue">
		<annotation>
			<documentation> Details of the power limit token being issued. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:MeterSpecificEngTokenIssue">
				<sequence>
					<element minOccurs="1" maxOccurs="1" name="pwrLmt" type="i0:PwrLmt">
						<annotation>
							<documentation> The power limit value that the meter will be set to.
							</documentation>
						</annotation>
					</element>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="PhUnbalTokenIssue">
		<complexContent>
			<extension base="i0:MeterSpecificEngTokenIssue">
				<sequence>
					<element minOccurs="1" maxOccurs="1" name="pwrLmt" type="i0:PwrLmt"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="ClearCreditTokenIssue">
		<complexContent>
			<extension base="i0:MeterSpecificEngTokenIssue"/>
		</complexContent>
	</complexType>
	<complexType name="ClearTamperTokenIssue">
		<complexContent>
			<extension base="i0:MeterSpecificEngTokenIssue"/>
		</complexContent>
	</complexType>
	<complexType name="WaterFactorTokenIssue">
		<complexContent>
			<extension base="i0:MeterSpecificEngTokenIssue">
				<sequence>
					<element minOccurs="1" maxOccurs="1" name="waterFactor" type="i0:WaterFactor"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<!--MeterSpecificEngTokenIssue Specialisations Ends-->
	<!--IDMethod Specialisation -->
	<complexType name="IDMethod" abstract="true"/>
	<complexType name="CustIDMethod">
		<annotation>
			<documentation> Identifier used to identify the customer. </documentation>
		</annotation>
		<complexContent mixed="false">
			<extension base="i0:IDMethod">
				<sequence>
					<element minOccurs="1" maxOccurs="1" name="custIdentifier"
						type="i0:CustIdentifier"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="VendIDMethod">
		<annotation>
			<documentation> This identifier is typically used to identfiy the meter where the
				requested token will be entered. </documentation>
		</annotation>
		<complexContent mixed="false">
			<extension base="i0:IDMethod">
				<sequence>
					<element minOccurs="1" maxOccurs="1" name="meterIdentifier"
						type="i0:MeterIdentifier">
						<annotation>
							<documentation> Identifier that identify the specific meter where the
								token will be entered. </documentation>
						</annotation>
					</element>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<!--IDMethod Specialisation Ends -->
	<complexType name="KCTData">
		<annotation>
			<documentation> The FROM and TO meter key data. </documentation>
		</annotation>
		<attribute use="required" name="fromSGC" type="i0:STSSupplyGroupCode">
				<annotation>
					<documentation> The current meter supply group code(SGC). </documentation>
				</annotation>
		</attribute>
		<attribute use="required" name="fromKRN" type="i0:STSKeyRevNo">
				<annotation>
					<documentation> The current meter key revision number (KRN) for the SGC.
					</documentation>
				</annotation>
		</attribute>
		<attribute use="required" name="fromTI" type="i0:STSTariffIndex">
				<annotation>
					<documentation> The current meter tariff index (TI). </documentation>
				</annotation>
		</attribute>
		<attribute use="required" name="toSGC" type="i0:STSSupplyGroupCode">
				<annotation>
					<documentation> The new SGC. </documentation>
				</annotation>
		</attribute>
		<attribute use="required" name="toKRN" type="i0:STSKeyRevNo">
				<annotation>
					<documentation> The new KRN. </documentation>
				</annotation>
		</attribute>
		<attribute use="required" name="toTI" type="i0:STSTariffIndex">
				<annotation>
					<documentation> The new TI. </documentation>
				</annotation>
		</attribute>
	</complexType>
	<complexType name="MeterType">
		<attribute use="required" name="at" type="i0:STSAT"/>
		<attribute use="required" name="tt" type="i0:STSTT"/>
	</complexType>
	<!--MeterIdentifier Specialisation -->
	<complexType name="MeterIdentifier" abstract="true"/>
	<complexType name="MeterNumber">
		<complexContent mixed="false">
			<extension base="i0:MeterIdentifier">
				<attribute use="required" name="msno" type="i0:MSNO"/>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="MeterConfig" abstract="true">
		<annotation>
			<documentation> Contains all information that describes the configuration of the meter.
			</documentation>
		</annotation>
		<complexContent>
			<extension base="i0:MeterIdentifier"/>
		</complexContent>
	</complexType>
	<complexType name="MeterCard">
		<annotation>
			<documentation> The meter configuration information as obtained from the meter card, as
				per NRS009-4-1. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:MeterConfig">
				<sequence>
					<element minOccurs="1" maxOccurs="1" name="track2Data" type="i0:NRSTrack2Data"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="MeterDetail">
		<annotation>
			<documentation> The meter configuration information as obtained from a meter card or old
				token or some other source where all the meter configuration data is available.
			</documentation>
		</annotation>
		<complexContent>
			<extension base="i0:MeterConfig">
				<sequence>
					<element minOccurs="1" maxOccurs="1" name="meterType" type="i0:MeterType"/>
					
				</sequence>
				<attribute use="required" name="msno" type="i0:MSNO"/>
				<attribute use="required" name="sgc" type="i0:STSSupplyGroupCode"/>
				<attribute use="required" name="krn" type="i0:STSKeyRevNo"/>
				<attribute use="required" name="ti" type="i0:STSTariffIndex"/>
				
			</extension>
		</complexContent>
	</complexType>
	<complexType name="ExtMeterDetail">
		<annotation>
			<documentation> Extension of the meter detail, to include further information about the
				meter. </documentation>
		</annotation>
		<complexContent>
			<extension base="i0:MeterDetail">
				<attribute use="optional" name="useSTT" type="boolean">
						<annotation>
							<documentation> Token generated with a Standard Token Translator (STT).
							</documentation>
						</annotation>
				</attribute>
				<attribute use="required" name="track2Data" type="i0:NRSTrack2Data">
						<annotation>
							<documentation> Containing the meter cards track 2 data, as per
								NRS009-4-1. </documentation>
						</annotation>

⌨️ 快捷键说明

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