RDMessage.xsd 112 KB
Newer Older
<?xml version="1.0"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns="http://uri.etsi.org/02657/v1.13.1#/RetainedData"
            targetNamespace="http://uri.etsi.org/02657/v1.13.1#/RetainedData"
			elementFormDefault="qualified">

	<xsd:annotation>
		<xsd:documentation xml:lang="en">
			XSD translated from ASN.1 derived from outcome of TS 102 657 v1.13.1 
		</xsd:documentation>
	</xsd:annotation>

	<xsd:simpleType name="GeneralizedTime">
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="\d{4}(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])([01][0-9]|2[0-3])([0-5][0-9])([0-5][0-9])(.[0-9][0-9]*)?(Z|[\+|\-][0-9]{4})"></xsd:pattern>
		</xsd:restriction>
	</xsd:simpleType>

	<xsd:simpleType name="ObjectIdentifier">
		<xsd:restriction base="xsd:token">
			<xsd:pattern value="[0-2](\.[1-3]?[0-9](\.\d+)*)?" />
		</xsd:restriction>
	</xsd:simpleType>
   
   <xsd:element name="retainedDataMessage" type="RetainedDataMessage"/>
   <xsd:complexType name="RetainedDataMessage">
      <xsd:sequence>
         <xsd:element name="rdHeaderId" type="ObjectIdentifier"/>
         <xsd:element name="retainedDataHeader" type="RetainedDataHeader"/>
         <xsd:element name="retainedDataPayload" type="RetainedDataPayload"/>
         <xsd:element name="retainedDataDigest" minOccurs="0" type="xsd:hexBinary"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:simpleType name="CSPID">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>

   <xsd:simpleType name="CountryCode">
	  <xsd:annotation>
		<xsd:documentation xml:lang="en">
			A country code as per ISO 3166-1 [xx]
		</xsd:documentation>
	  </xsd:annotation>
      <xsd:restriction base="xsd:string">
         <xsd:length value="2"/>
      </xsd:restriction>
   </xsd:simpleType>

   <xsd:simpleType name="AuthorisedOrganisationID">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>

   <xsd:simpleType name="RequestNumber">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>

   <xsd:simpleType name="DeliveryPointHIB">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>

   <xsd:simpleType name="RequestPriority">
      <xsd:restriction base="xsd:hexBinary"/>
   </xsd:simpleType>

   <xsd:complexType name="ResponseAcknowledgement">
      <xsd:choice>
         <xsd:element name="acknowledgeCompleteResults" type="NULL"/>
         <xsd:element name="acknowledgePartialResults" type="NULL"/>
		 <xsd:element name="acknowledgePartialResultsNumber" type="xsd:integer"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="CancelMessage" final="#all"/>

   <xsd:complexType name="CancelAcknowledgement" final="#all"/>

   <xsd:complexType name="GetResultsMessage" final="#all"/>

   <xsd:simpleType name="TelephonySubscriberId">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>

   <xsd:complexType name="TelephonySubscriberInfo" final="#all"/>

   <xsd:simpleType name="BillingIdentifier">
      <xsd:restriction base="xsd:hexBinary"/>
   </xsd:simpleType>

   <xsd:complexType name="TelephonyServiceType">
      <xsd:choice>
         <xsd:element name="private" type="NULL"/>
         <xsd:element name="privatePABX" type="NULL"/>
         <xsd:element name="publicPayphone" type="NULL"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="TelephonyCommunicationType">
      <xsd:choice>
         <xsd:element name="telephonyFixedCS" type="NULL"/>
         <xsd:element name="telephonyWirelessCS" type="NULL"/>
         <xsd:element name="sMS" type="NULL"/>
         <xsd:element name="mMS" type="NULL"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="TelephonyBearerService">
      <xsd:choice>
		 <xsd:element name="speech" type="NULL"/>
		 <xsd:element name="data" type="NULL"/>
		 <xsd:element name="fax" type="NULL"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="TelephonyEventType">
      <xsd:choice>
         <xsd:element name="basicEventType" type="BasicEventType"/>
         <xsd:element name="callConferenceEventType" type="CallConferenceEventType"/>
         <xsd:element name="callForwardingEventType" type="CallForwardingEventType"/>
         <xsd:element name="messagingEventType" type="MessagingEventType"/>
         <xsd:element name="prepayServiceEventType" type="PrepayServiceEventType"/>
         <xsd:element name="nationalTelephonyEventType" type="NationalTelephonyEventType"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="BasicEventType">
      <xsd:choice>
 		 <xsd:element name="handover" type="NULL"/> 
		 <xsd:element name="hold" type="NULL"/>
		 <xsd:element name="retrieve" type="NULL"/>
		 <xsd:element name="suspend" type="NULL"/>
		 <xsd:element name="resume" type="NULL"/>
		 <xsd:element name="ect" type="NULL"/>
		 <xsd:element name="mpty" type="NULL"/>
		 <xsd:element name="mptyHold" type="NULL"/>
		 <xsd:element name="mptyRetrieve" type="NULL"/>
		 <xsd:element name="mptySplit" type="NULL"/>
		 <xsd:element name="uus1" type="NULL"/>
		 <xsd:element name="uus2" type="NULL"/>
		 <xsd:element name="uus3" type="NULL"/>
		 <xsd:element name="serviceSpeech" type="NULL"/>
		 <xsd:element name="serviceFax" type="NULL"/>
		 <xsd:element name="tpyInvoke" type="NULL"/>
		 <xsd:element name="tpyPrivateComm" type="NULL"/>
		 <xsd:element name="serviceActivation" type="NULL"/>
		 <xsd:element name="transit" type="NULL"/>
		 <xsd:element name="mSOriginating" type="NULL"/>
		 <xsd:element name="callForwarding" type="NULL"/>
		 <xsd:element name="mSTerminating" type="NULL"/>
		 <xsd:element name="callAttempt" type="NULL"/>
		 <xsd:element name="callStart" type="NULL"/>
		 <xsd:element name="callEnd" type="NULL"/>
		 <xsd:element name="cliWithheld" type="NULL"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="CallForwardingEventType">
      <xsd:choice>   
		 <xsd:element name="cfuActivation" type="NULL"/>
		 <xsd:element name="cfuModification" type="NULL"/>
		 <xsd:element name="cfuDe-activation" type="NULL"/>
		 <xsd:element name="cfcNoReplyActivation" type="NULL"/>
		 <xsd:element name="cfcNoReplyModification" type="NULL"/>
		 <xsd:element name="cfcNoReplyDe-activation" type="NULL"/>
		 <xsd:element name="cfcBusyActivation" type="NULL"/>
		 <xsd:element name="cfcBusyModification" type="NULL"/>
		 <xsd:element name="cfcBusyDe-activation" type="NULL"/>
		 <xsd:element name="cfcOutOfRangeActivation" type="NULL"/>
		 <xsd:element name="cfcOutOfRangeModification" type="NULL"/>
		 <xsd:element name="cfcOutOfRangeDe-activation" type="NULL"/>
		 <xsd:element name="cfcUnavailableActivation" type="NULL"/>
		 <xsd:element name="cfcUnavailableModification" type="NULL"/>
		 <xsd:element name="cfcUnavailableDe-activation" type="NULL"/>
		 <xsd:element name="cfuFaxActivation" type="NULL"/>
		 <xsd:element name="cfuFaxModification" type="NULL"/>
		 <xsd:element name="cfuFaxDe-activation" type="NULL"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="CallConferenceEventType">
      <xsd:choice>   
   		 <xsd:element name="confBeginSeizure" type="NULL"/>
		 <xsd:element name="confAdd" type="NULL"/>
		 <xsd:element name="confSplit" type="NULL"/>
		 <xsd:element name="confIsolate" type="NULL"/>
		 <xsd:element name="confReattach" type="NULL"/>
		 <xsd:element name="confDrop" type="NULL"/>
		 <xsd:element name="confBeginActive" type="NULL"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="MessagingEventType">
      <xsd:choice>
		 <xsd:element name="mSOriginatingSMSinMSC" type="NULL"/>
		 <xsd:element name="mSTerminatingSMSinMSC" type="NULL"/>
		 <xsd:element name="shortMessageDelivery" type="NULL"/>
		 <xsd:element name="mMMessage" type="NULL"/>
		 <xsd:element name="mMNotification" type="NULL"/>
		 <xsd:element name="mMDeliveryReport" type="NULL"/>
		 <xsd:element name="mMReadReply" type="NULL"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="PrepayServiceEventType">
      <xsd:choice>
		 <xsd:element name="serviceActivation" type="NULL"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="NationalTelephonyEventType">
      <xsd:sequence>
         <xsd:element name="countryCode">
            <xsd:simpleType>
               <xsd:restriction base="xsd:string">
                  <xsd:length value="2"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>   
   
   <xsd:complexType name="TelephonyPartyRole">
      <xsd:choice>
		 <xsd:element name="originating-Party" type="NULL"/>
		 <xsd:element name="terminating-Party" type="NULL"/>
		 <xsd:element name="forwarded-to-Party" type="NULL"/>
		 <xsd:element name="originalCalled" type="NULL"/>
		 <xsd:element name="redirecting" type="NULL"/>
		 <xsd:element name="connected" type="NULL"/>
		 <xsd:element name="userProvidedCalling" type="NULL"/>
		 <xsd:element name="roaming" type="NULL"/>
		 <xsd:element name="translated" type="NULL"/>
		 <xsd:element name="singlePersonalNumber" type="NULL"/>
		 <xsd:element name="smsOriginator" type="NULL"/>
		 <xsd:element name="smsRecipient" type="NULL"/>
		 <xsd:element name="smsOriginatorTrn" type="NULL"/>
		 <xsd:element name="smsRecipientTrn" type="NULL"/>
		 <xsd:element name="mmsOriginator" type="NULL"/>
		 <xsd:element name="mmsRecipient" type="NULL"/>
		 <xsd:element name="mmsOriginatorTrn" type="NULL"/>
		 <xsd:element name="mmsRecipientTrn" type="NULL"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:simpleType name="TelephonyDeviceID">
      <xsd:restriction base="xsd:hexBinary"/>
   </xsd:simpleType>

   <xsd:simpleType name="TelephonyNetworkID">
      <xsd:restriction base="xsd:hexBinary"/>
   </xsd:simpleType>

   <xsd:complexType name="MapDatum">
      <xsd:choice>
		 <xsd:element name="wGS84" type="NULL"/>
		 <xsd:element name="wGS72" type="NULL"/>
		 <xsd:element name="eD50" type="NULL"/>
		 <xsd:element name="rD" type="NULL"/>
		 <xsd:element name="potsdamDatum" type="NULL"/>
		 <xsd:element name="datumAustria" type="NULL"/>
		 <xsd:element name="eTRS89" type="NULL"/>
		 <xsd:element name="nAD27" type="NULL"/>
		 <xsd:element name="oSGB36" type="NULL"/>
		 <xsd:element name="oSNI52" type="NULL"/>
		 <xsd:element name="tM65" type="NULL"/>
		 <xsd:element name="iTM" type="NULL"/>
		 <xsd:element name="cH1903" type="NULL"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:simpleType name="PartyNumber">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>

   <xsd:simpleType name="MsgSubscriberID">
      <xsd:restriction base="xsd:hexBinary"/>
   </xsd:simpleType>

   <xsd:simpleType name="MsgStoreID">
      <xsd:restriction base="xsd:hexBinary"/>
   </xsd:simpleType>

   <xsd:simpleType name="MsgAddress">
      <xsd:restriction base="xsd:string"/>
   <xsd:simpleType name="MsgProviderID">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>

   <xsd:simpleType name="NAProviderID">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>

   <xsd:simpleType name="NAAuthID">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>

   <xsd:simpleType name="NaSubscriberID">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>

   <xsd:complexType name="NwAccessType">
      <xsd:choice>
		 <xsd:element name="undefined" type="NULL"/>
		 <xsd:element name="dialUp" type="NULL"/>
		 <xsd:element name="xDSL" type="NULL"/>
		 <xsd:element name="cableModem" type="NULL"/>
		 <xsd:element name="lAN" type="NULL"/>
		 <xsd:element name="wirelessLAN" type="NULL"/>
		 <xsd:element name="wimax" type="NULL"/>
		 <xsd:element name="mobilePacketData" type="NULL"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="NationalRequestParameters">
      <xsd:sequence>
         <xsd:element name="countryCode">
            <xsd:simpleType>
               <xsd:restriction base="xsd:string">
                  <xsd:length value="2"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="NationalResponsePayload">
      <xsd:sequence>
         <xsd:element name="countryCode">
            <xsd:simpleType>
               <xsd:restriction base="xsd:string">
                  <xsd:length value="2"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="NationalRecordPayload">
      <xsd:sequence>
         <xsd:element name="countryCode">
            <xsd:simpleType>
               <xsd:restriction base="xsd:string">
                  <xsd:length value="2"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="IPAddress">
      <xsd:choice>
         <xsd:element name="iPv4BinaryAddress">
            <xsd:simpleType>
               <xsd:restriction base="xsd:hexBinary">
                  <xsd:length value="4"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:element name="iPv6BinaryAddress">
            <xsd:simpleType>
               <xsd:restriction base="xsd:hexBinary">
                  <xsd:length value="16"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:element name="iPTextAddress">
            <xsd:simpleType>
               <xsd:restriction base="xsd:string">
                  <xsd:minLength value="7"/>
                  <xsd:maxLength value="45"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="IPRange">
      <xsd:sequence>
         <xsd:element name="prefix" type="IPAddress"/>
         <xsd:element name="subnetlength">
            <xsd:simpleType>
               <xsd:restriction base="xsd:unsignedShort">
                  <xsd:minInclusive value="1"/>
                  <xsd:maxInclusive value="128"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="IPMask">
      <xsd:sequence>
         <xsd:element name="base" type="IPAddress"/>
         <xsd:element name="mask" type="IPAddress"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="IPAddressSetOrRangeOrMask">
      <xsd:choice>
         <xsd:element name="set">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="IPAddress" type="IPAddress"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="range" type="IPRange"/>
         <xsd:element name="mask" type="IPMask"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:simpleType name="NADeviceId">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>

   <xsd:simpleType name="IMEI">
      <xsd:restriction base="xsd:hexBinary">
         <xsd:length value="8"/>
      </xsd:restriction>
   </xsd:simpleType>

   <xsd:simpleType name="IMSI">
      <xsd:restriction base="xsd:hexBinary">
         <xsd:minLength value="3"/>
         <xsd:maxLength value="8"/>
      </xsd:restriction>
   </xsd:simpleType>

   <xsd:simpleType name="NANwElementID">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>

   <xsd:complexType name="RequestID">
      <xsd:sequence>
         <xsd:element name="countryCode" type="CountryCode"/>
         <xsd:element name="authorisedOrganisationID" type="AuthorisedOrganisationID"/>
         <xsd:element name="requestNumber" minOccurs="0" type="RequestNumber"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="RetainedDataHeader">
      <xsd:sequence>
         <xsd:element name="requestID" type="RequestID"/>
         <xsd:element name="cSPID" type="CSPID"/>
         <xsd:element name="timeStamp" type="GeneralizedTime"/>
         <xsd:element name="thirdPartyCSPID" minOccurs="0" type="CSPID"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="TimeSpan">
      <xsd:sequence>
         <xsd:element name="startTime" minOccurs="0" type="GeneralizedTime"/>
         <xsd:element name="endTime" minOccurs="0" type="GeneralizedTime"/>
         <xsd:element name="durationTime" minOccurs="0" type="xsd:integer"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="AddressInformation">
      <xsd:sequence>
         <xsd:element name="flatNumber" minOccurs="0" type="xsd:string"/>
         <xsd:element name="buildingName" minOccurs="0" type="xsd:string"/>
         <xsd:element name="buildingNumber" minOccurs="0" type="xsd:string"/>
         <xsd:element name="streetName" minOccurs="0" type="xsd:string"/>
         <xsd:element name="poBox" minOccurs="0" type="xsd:string"/>
         <xsd:element name="postalCode" minOccurs="0" type="xsd:string"/>
         <xsd:element name="region" minOccurs="0" type="xsd:string"/>
         <xsd:element name="province" minOccurs="0" type="xsd:string"/>
         <xsd:element name="language" minOccurs="0" type="xsd:string"/>
         <xsd:element name="city" minOccurs="0" type="xsd:string"/>
         <xsd:element name="country" minOccurs="0" type="CountryCode"/>
         <xsd:element name="validity" minOccurs="0" type="TimeSpan"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="ContactDetails">
      <xsd:sequence>
         <xsd:element name="address" minOccurs="0" type="AddressInformation"/>
         <xsd:element name="emailAddress" minOccurs="0" type="xsd:string"/>
         <xsd:element name="contactNumber" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="PartyNumber" type="PartyNumber"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="additionalEmailAddresses" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="AdditionalEmailAddresses" type="xsd:string"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="OrganizationInfo">
      <xsd:sequence>
         <xsd:element name="name" minOccurs="0" type="xsd:string"/>
         <xsd:element name="contactDetails" minOccurs="0" type="ContactDetails"/>
         <xsd:element name="nationalRegistrationID" minOccurs="0" type="xsd:string"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="PersonName">
      <xsd:sequence>
         <xsd:element name="salutation" minOccurs="0" type="xsd:string"/>
         <xsd:element name="surname" minOccurs="0" type="xsd:string"/>
         <xsd:element name="surnamePrefix" minOccurs="0" type="xsd:string"/>
         <xsd:element name="surnameSuffix" minOccurs="0" type="xsd:string"/>
         <xsd:element name="middleNames" minOccurs="0" type="xsd:string"/>
         <xsd:element name="firstname" minOccurs="0" type="xsd:string"/>
         <xsd:element name="secondsurname" minOccurs="0" type="xsd:string"/>
         <xsd:element name="secondsurnamePrefix" minOccurs="0" type="xsd:string"/>
         <xsd:element name="secondsurnameSuffix" minOccurs="0" type="xsd:string"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="AuthenticationInfo">
      <xsd:sequence>
         <xsd:element name="authenticationType" minOccurs="0" type="xsd:string"/>
         <xsd:element name="authenticationNumber" minOccurs="0" type="xsd:string"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="PaymentDetails">
      <xsd:sequence>
         <xsd:element name="billingMethod" minOccurs="0" type="BillingMethod"/>
         <xsd:element name="bankAccount" minOccurs="0" type="BankAccount"/>
		 <xsd:element name="billingAddress" minOccurs="0" type="ContactDetails"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
   
   <xsd:complexType name="BankAccount">
      <xsd:sequence>
         <xsd:element name="iBAN" minOccurs="0" type="IBAN"/>
         <xsd:element name="bIC" minOccurs="0" type="BIC"/>
		 <xsd:element name="accountHolder" minOccurs="0" type="xsd:string"/>
		 <xsd:element name="nationalAccountNumber" minOccurs="0" type="xsd:string"/>
		 <xsd:element name="nationalBankNumber" minOccurs="0" type="xsd:string"/>
		 <xsd:element name="bankName" minOccurs="0" type="xsd:string"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
   
   <xsd:simpleType name="IBAN">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>
   
   <xsd:simpleType name="BIC">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>
   
   <xsd:complexType name="BillingMethod">
      <xsd:choice>
         <xsd:element name="debit" type="NULL"/>
         <xsd:element name="transfer" type="NULL"/>
         <xsd:element name="prepaid" type="NULL"/>
      </xsd:choice>
   </xsd:complexType>
   
   <xsd:complexType name="IndividualInfo">
      <xsd:sequence>
         <xsd:element name="name" minOccurs="0" type="PersonName"/>
         <xsd:element name="contactAddress" minOccurs="0" type="ContactDetails"/>
         <xsd:element name="dateOfBirth" minOccurs="0" type="GeneralizedTime"/>
         <xsd:element name="gender" minOccurs="0">
            <xsd:complexType>
               <xsd:choice>
                     <xsd:element name="male" type="NULL"/>
                     <xsd:element name="female" type="NULL"/>
               </xsd:choice>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="identificationNumber" minOccurs="0" type="xsd:string"/>
         <xsd:element name="authenticationInfo" minOccurs="0" type="AuthenticationInfo"/>
		 <xsd:element name="profession" minOccurs="0" type="xsd:string"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="GenericSubscriberInfo">
      <xsd:sequence>
         <xsd:element name="organizationInfo" minOccurs="0" type="OrganizationInfo"/>
         <xsd:element name="individualInfo" minOccurs="0" type="IndividualInfo"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="SubscribedTelephonyServices">
      <xsd:sequence>
         <xsd:element name="serviceID" minOccurs="0" type="xsd:string"/>
         <xsd:element name="providerID" minOccurs="0" type="xsd:string"/>
         <xsd:element name="timeSpan" minOccurs="0" type="TimeSpan"/>
         <xsd:element name="registeredNumbers" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="PartyNumber" type="PartyNumber"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="registeredICCID" minOccurs="0" type="xsd:string"/>
         <xsd:element name="serviceType" minOccurs="0" type="TelephonyServiceType"/>
         <xsd:element name="installationAddress" minOccurs="0" type="AddressInformation"/>
         <xsd:element name="connectionDate" minOccurs="0" type="GeneralizedTime"/>
		 <xsd:element name="iMSI" minOccurs="0" type="IMSI"/>
		 <xsd:element name="carrierPreselect" minOccurs="0" type="xsd:boolean"/>
		 <xsd:element name="lineStatus" minOccurs="0" type="xsd:string"/>
		 <xsd:element name="allocatedDeviceIDs" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="TelephonyDeviceID" type="TelephonyDeviceID"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
		 <xsd:element name="pUKCode" minOccurs="0" type="xsd:string"/>
		 <xsd:element name="pUK2Code" minOccurs="0" type="xsd:string"/>
		 <xsd:element name="iMEI" minOccurs="0" type="IMEI"/>
		 <xsd:element name="nationalTelephonySubscriptionInfo" minOccurs="0" type="NationalTelephonySubscriptionInfo"/>
		 <xsd:element name="paymentDetails" minOccurs="0" type="PaymentDetails"/>
     <xsd:element name="subscriptionType" minOccurs="0" type="SubscriptionType"/>
     <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
   <xsd:complexType name="NationalTelephonySubscriptionInfo">
      <xsd:sequence>
         <xsd:element name="countryCode">
            <xsd:simpleType>
               <xsd:restriction base="xsd:string">
                  <xsd:length value="2"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>   
   
   <xsd:complexType name="TelephonySubscriber">
      <xsd:sequence>
         <xsd:element name="subscriberID" minOccurs="0" type="TelephonySubscriberId"/>
         <xsd:element name="genericSubscriberInfo" minOccurs="0" type="GenericSubscriberInfo"/>
         <xsd:element name="telephonySubscriberInfo" minOccurs="0" type="TelephonySubscriberInfo"/>
         <xsd:element name="subscribedTelephonyServices" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="SubscribedTelephonyServices" type="SubscribedTelephonyServices"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="nationalTelephonySubscriberInfo" minOccurs="0" type="NationalTelephonySubscriberInfo"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
   
   <xsd:complexType name="NationalTelephonySubscriberInfo">
      <xsd:sequence>
         <xsd:element name="countryCode">
            <xsd:simpleType>
               <xsd:restriction base="xsd:string">
                  <xsd:length value="2"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>   

   <xsd:complexType name="BillingRecords">
      <xsd:sequence>
         <xsd:element name="time" minOccurs="0" type="GeneralizedTime"/>
         <xsd:element name="place" minOccurs="0" type="xsd:string"/>
         <xsd:element name="amount" minOccurs="0" type="xsd:double"/>
         <xsd:element name="currency" minOccurs="0">
            <xsd:simpleType>
               <xsd:restriction base="xsd:string">
                  <xsd:length value="3"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:element name="method" minOccurs="0" type="xsd:string"/>
         <xsd:element name="nationalTelephonyBillingRecords" minOccurs="0" type="NationalTelephonyBillingRecords"/>
		 <xsd:element name="transactionID" minOccurs="0" type="xsd:string"/>
		 <xsd:element name="transactionStatus" minOccurs="0" type="xsd:string"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
   
   <xsd:complexType name="NationalTelephonyBillingRecords">
      <xsd:sequence>
         <xsd:element name="countryCode">
            <xsd:simpleType>
               <xsd:restriction base="xsd:string">
                  <xsd:length value="2"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
  <xsd:complexType name="SubscriptionType">
    <xsd:choice>
      <xsd:element name="unknown" type="NULL"/>
      <xsd:element name="postpay" type="NULL"/>
      <xsd:element name="prepay" type="NULL"/>
      <xsd:element name="other" type="NULL"/>
      <xsd:any namespace="##other" processContents="lax"/>
    </xsd:choice>
  </xsd:complexType>

  <xsd:complexType name="TelephonyBillingDetails">
      <xsd:sequence>
         <xsd:element name="subscriberID" minOccurs="0" type="TelephonySubscriberId"/>
         <xsd:element name="serviceID" minOccurs="0" type="xsd:string"/>
         <xsd:element name="billingAddress" minOccurs="0" type="ContactDetails"/>
         <xsd:element name="billingIdentifier" minOccurs="0" type="BillingIdentifier"/>
         <xsd:element name="billingRecords" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="BillingRecords" type="BillingRecords"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
	     <xsd:element name="nationalTelephonyBillingDetails" minOccurs="0" type="NationalTelephonyBillingDetails"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
   
      <xsd:complexType name="NationalTelephonyBillingDetails">
      <xsd:sequence>
         <xsd:element name="countryCode">
            <xsd:simpleType>
               <xsd:restriction base="xsd:string">
                  <xsd:length value="2"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="TelephonyLocation">
      <xsd:sequence>
         <xsd:element name="telephonyNetworkID" minOccurs="0" type="TelephonyNetworkID"/>
         <xsd:element name="timeSpan" minOccurs="0" type="TimeSpan"/>
         <xsd:element name="nationalTelephonyLocation" minOccurs="0" type="NationalTelephonyLocation"/>
         <xsd:element name="detailedLocation" minOccurs="0" type="TelephonyNetworkElement"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
   
   <xsd:complexType name="NationalTelephonyLocation">
      <xsd:sequence>
         <xsd:element name="countryCode">
            <xsd:simpleType>
               <xsd:restriction base="xsd:string">
                  <xsd:length value="2"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>   

   <xsd:complexType name="TelephonyPartyInformation">
      <xsd:sequence>
         <xsd:element name="partyRole" minOccurs="0" type="TelephonyPartyRole"/>
         <xsd:element name="partyNumber" minOccurs="0" type="PartyNumber"/>
         <xsd:element name="subscriberID" minOccurs="0" type="TelephonySubscriberId"/>
         <xsd:element name="deviceID" minOccurs="0" type="TelephonyDeviceID"/>
         <xsd:element name="locations" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="TelephonyLocation" type="TelephonyLocation"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="communicationTime" minOccurs="0" type="TimeSpan"/>
		 <xsd:element name="iMSI" minOccurs="0" type="IMSI"/>
		 <xsd:element name="natureOfAddress" minOccurs="0" type="xsd:string"/>
		 <xsd:element name="forwardedTransferredNumber" minOccurs="0" type="PartyNumber"/>
		 <xsd:element name="terminatingTransferredNumber" minOccurs="0" type="PartyNumber"/>
		 <xsd:element name="emailAddress" minOccurs="0" type="xsd:string"/>
		 <xsd:element name="iMEI" minOccurs="0" type="IMEI"/>
		 <xsd:element name="detailedLocation" minOccurs="0" type="TelephonyNetworkElement"/>
		 <xsd:element name="nationalTelephonyPartyInformation" minOccurs="0" type="NationalTelephonyPartyInformation"/>
		 <xsd:element name="partyType" minOccurs="0" type="TelephonyPartyType"/>
		 <xsd:element name="dialledDigits" minOccurs="0" type="xsd:string"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="NationalTelephonyPartyInformation">
      <xsd:sequence>
         <xsd:element name="countryCode">
            <xsd:simpleType>
               <xsd:restriction base="xsd:string">
                  <xsd:length value="2"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
   
   <xsd:complexType name="TelephonyPartyType">
      <xsd:choice>
         <xsd:element name="voicemail" type="NULL"/>
         <xsd:element name="smsServer" type="NULL"/>
         <xsd:element name="other" type="xsd:string"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>
   
   <xsd:complexType name="TelephonyEventInformation">
      <xsd:sequence>
         <xsd:element name="time" minOccurs="0" type="GeneralizedTime"/>
         <xsd:element name="type" minOccurs="0" type="TelephonyEventType"/>
         <xsd:element name="party" minOccurs="0" type="TelephonyPartyRole"/>
         <xsd:element name="location" minOccurs="0" type="TelephonyLocation"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="SmsInformation">
      <xsd:sequence>
         <xsd:element name="smsEvent" minOccurs="0">
            <xsd:complexType>
               <xsd:choice>
				  <xsd:element name="shortMessage" type="NULL"/>
				  <xsd:element name="shortPartMessage" type="NULL"/>
				  <xsd:element name="compositeMessage" type="NULL"/>
				  <xsd:element name="notificationMessage" type="NULL"/>
				  <xsd:any namespace="##other" processContents="lax"/>
               </xsd:choice>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="smsType" minOccurs="0">
            <xsd:complexType>
               <xsd:choice>
				  <xsd:element name="deliverSCtoMS" type="NULL"/>
				  <xsd:element name="deliverReportMStoSC" type="NULL"/>
				  <xsd:element name="statusReportSCtoMS" type="NULL"/>
				  <xsd:element name="commandMStoSC" type="NULL"/>
				  <xsd:element name="submitMStoSC" type="NULL"/>
				  <xsd:element name="submitReportSCtoMS" type="NULL"/>
				  <xsd:element name="reservedMTIValue" type="NULL"/>
				  <xsd:any namespace="##other" processContents="lax"/>
               </xsd:choice>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="smsStatus" minOccurs="0">
            <xsd:complexType>
               <xsd:choice>
				  <xsd:element name="delivered" type="NULL"/>
				  <xsd:element name="expired" type="NULL"/>
				  <xsd:element name="deleted" type="NULL"/>
				  <xsd:element name="replaced" type="NULL"/>
				  <xsd:element name="submitted" type="NULL"/>
				  <xsd:element name="incomplete-submission" type="NULL"/>
				  <xsd:element name="incomplete-delivery" type="NULL"/>
				  <xsd:element name="undeliverable" type="NULL"/>
				  <xsd:element name="passed-on" type="NULL"/>
				  <xsd:any namespace="##other" processContents="lax"/>
               </xsd:choice>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="smsCmRefNr" minOccurs="0">
            <xsd:simpleType>
               <xsd:restriction base="xsd:hexBinary">
                  <xsd:minLength value="1"/>
                  <xsd:maxLength value="2"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:element name="smsNumOfSM" minOccurs="0">
            <xsd:simpleType>
               <xsd:restriction base="xsd:unsignedShort"/>
            </xsd:simpleType>
         </xsd:element>
         <xsd:element name="smsNotifyInd" minOccurs="0" type="xsd:boolean"/>
         <xsd:element name="smsProtocolId" minOccurs="0">
            <xsd:simpleType>
               <xsd:restriction base="xsd:hexBinary">
                  <xsd:length value="1"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="MmsInformation">
      <xsd:sequence>
         <xsd:element name="mmsEvent" minOccurs="0">
            <xsd:complexType>
               <xsd:choice>
				  <xsd:element name="message" type="NULL"/>
				  <xsd:element name="notificationMessage" type="NULL"/>
				  <xsd:element name="deliveryReportMessage" type="NULL"/>
				  <xsd:element name="readReplyMessage" type="NULL"/>
				  <xsd:any namespace="##other" processContents="lax"/>
               </xsd:choice>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="mmsStatus" minOccurs="0">
            <xsd:complexType>
               <xsd:choice>
				  <xsd:element name="delivered" type="NULL"/>
				  <xsd:element name="expired" type="NULL"/>
				  <xsd:element name="deleted" type="NULL"/>
				  <xsd:element name="replaced" type="NULL"/>
				  <xsd:element name="submitted" type="NULL"/>
				  <xsd:element name="undeliverable" type="NULL"/>
				  <xsd:element name="passed-on" type="NULL"/>
				  <xsd:element name="delivery-rejection" type="NULL"/>
				  <xsd:element name="delivery-forward" type="NULL"/>
				  <xsd:element name="delivery-copy" type="NULL"/>
				  <xsd:element name="submission-rejection" type="NULL"/>
				  <xsd:element name="submission-failure" type="NULL"/>
				  <xsd:element name="delivered-application" type="NULL"/>
				  <xsd:any namespace="##other" processContents="lax"/>
               </xsd:choice>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="mmsNotifInd" minOccurs="0" type="xsd:boolean"/>
         <xsd:element name="mmsMsgMod" minOccurs="0">
            <xsd:complexType>
               <xsd:choice>
				  <xsd:element name="none" type="NULL"/>
				  <xsd:element name="modified" type="NULL"/>
				  <xsd:element name="stripped" type="NULL"/>
               </xsd:choice>
            </xsd:complexType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
   
   <xsd:complexType name="TelephonyServiceUsage">
      <xsd:sequence>
         <xsd:element name="partyInformation" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="TelephonyPartyInformation" type="TelephonyPartyInformation"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="communicationTime" minOccurs="0" type="TimeSpan"/>
         <xsd:element name="eventInformation" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="TelephonyEventInformation" type="TelephonyEventInformation"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="endReason" minOccurs="0" type="xsd:integer"/>
         <xsd:element name="communicationType" minOccurs="0" type="TelephonyCommunicationType"/>
         <xsd:element name="bearerService" minOccurs="0" type="TelephonyBearerService"/>
         <xsd:element name="smsInformation" minOccurs="0" type="SmsInformation"/>
		 <xsd:element name="ringDuration" minOccurs="0" type="xsd:integer"/>
		 <xsd:element name="mmsInformation" minOccurs="0" type="MmsInformation"/>
		 <xsd:element name="nationalTelephonyServiceUsage" minOccurs="0" type="NationalTelephonyServiceUsage"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
   
   <xsd:complexType name="NationalTelephonyServiceUsage">
      <xsd:sequence>
         <xsd:element name="countryCode">
            <xsd:simpleType>
               <xsd:restriction base="xsd:string">