RDMessage.xsd 105 KB
Newer Older
                  <xsd:element name="unknown" type="NULL"/>
				  <xsd:element name="imei" type="NULL"/>
				  <xsd:element name="macAddress" type="NULL"/>
               </xsd:choice>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="telephonyDeviceID" minOccurs="0" type="TelephonyDeviceID"/>
		 <xsd:element name="subscriberID" minOccurs="0" type="TelephonySubscriberId"/>
		 <xsd:element name="nationalTelephonyDevice" minOccurs="0" type="NationalTelephonyDevice"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="NationalTelephonyDevice">
      <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="GSMLocation">
      <xsd:choice>
         <xsd:element name="geoCoordinates">
            <xsd:complexType>
               <xsd:sequence>
                  <xsd:element name="latitude" minOccurs="0">
                     <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
                           <xsd:minLength value="7"/>
                           <xsd:maxLength value="10"/>
                        </xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>
                  <xsd:element name="longitude" minOccurs="0">
                     <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
                           <xsd:minLength value="8"/>
                           <xsd:maxLength value="11"/>
                        </xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>
                  <xsd:element name="mapDatum" minOccurs="0" type="MapDatum"/>
                  <xsd:element name="azimuth" minOccurs="0">
                     <xsd:simpleType>
                           <xsd:minInclusive value="0"/>
                           <xsd:maxInclusive value="359"/>
                        </xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>
                  <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="utmCoordinates">
            <xsd:complexType>
               <xsd:sequence>
                  <xsd:element name="utm_Zone" minOccurs="0">
                     <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
                           <xsd:length value="3"/>
                        </xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>
                  <xsd:element name="utm_East" minOccurs="0">
                     <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
                           <xsd:length value="6"/>
                        </xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>
                  <xsd:element name="utm_North" minOccurs="0">
                     <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
                           <xsd:length value="7"/>
                        </xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>
                  <xsd:element name="mapDatum" minOccurs="0" type="MapDatum"/>
                  <xsd:element name="azimuth" minOccurs="0">
                     <xsd:simpleType>
                           <xsd:minInclusive value="0"/>
                           <xsd:maxInclusive value="359"/>
                        </xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>
                  <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="utmRefCoordinates">
            <xsd:complexType>
               <xsd:sequence>
                  <xsd:element name="utm_GridZone" minOccurs="0">
                     <xsd:simpleType>
						<xsd:restriction base='xsd:unsignedShort'>
							<xsd:minInclusive value='1'/>
							<xsd:maxInclusive value='60'/>
						</xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>
                  <xsd:element name="utm_GridBand" minOccurs="0">
                     <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
							<xsd:pattern value="([C-Z])"></xsd:pattern>                           
                        </xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>				  
                  <xsd:element name="squareID" minOccurs="0">
                     <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
							<xsd:pattern value="([A-Z][A-Z])"></xsd:pattern>                           
                        </xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>
                  <xsd:element name="numericalLocationEasting" minOccurs="0">
                     <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
							<xsd:length value="5"/>                          
                        </xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>
                  <xsd:element name="numericalLocationNorthing" minOccurs="0">
                     <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
							<xsd:length value="5"/>
                        </xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>
                  <xsd:element name="mapDatum" minOccurs="0" type="MapDatum"/>
                  <xsd:element name="azimuth" minOccurs="0">
                     <xsd:simpleType>
                           <xsd:minInclusive value="0"/>
                           <xsd:maxInclusive value="359"/>
                        </xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>
                  <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="wGS84Coordinates" type="xsd:hexBinary"/>
         <xsd:element name="geoCoordinatesDec">
            <xsd:complexType>
               <xsd:sequence>
                  <xsd:element name="latitudeDec" minOccurs="0">
                     <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
                           <xsd:minLength value="3"/>
                           <xsd:maxLength value="12"/>
                        </xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>
                  <xsd:element name="longitudeDec" minOccurs="0">
                     <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
                           <xsd:minLength value="4"/>
                           <xsd:maxLength value="13"/>
                        </xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>
                  <xsd:element name="mapDatum" minOccurs="0" type="MapDatum"/>
                  <xsd:element name="azimuth" minOccurs="0">
                     <xsd:simpleType>
                           <xsd:minInclusive value="0"/>
                           <xsd:maxInclusive value="359"/>
                        </xsd:restriction>
                     </xsd:simpleType>
                  </xsd:element>
                  <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType> 

   <xsd:complexType name="GeographicalCoordinates">
      <xsd:sequence>
         <xsd:element name="latitudeSign" minOccurs="0">
            <xsd:complexType>
			   <xsd:choice>
                  <xsd:element name="north" type="NULL"/>
			      <xsd:element name="south" type="NULL"/>			   
			   </xsd:choice>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="latitude" minOccurs="0">
            <xsd:simpleType>
               <xsd:restriction base="xsd:unsignedInt">
                  <xsd:minInclusive value="0"/>
                  <xsd:maxInclusive value="8388607"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:element name="longitude" minOccurs="0">
            <xsd:simpleType>
               <xsd:restriction base="xsd:int">
                  <xsd:minInclusive value="-8388608"/>
                  <xsd:maxInclusive value="8388607"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
		 <xsd:element name="mapDatum" minOccurs="0" type="MapDatum"/>
		 <xsd:element name="azimuth" minOccurs="0">
            <xsd:simpleType>
               <xsd:restriction base="xsd:int">
                  <xsd:minInclusive value="0"/>
                  <xsd:maxInclusive value="359"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="GA_Point">
      <xsd:sequence>
         <xsd:element name="geographicalCoordinates" type="GeographicalCoordinates"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="GA_PointWithUnCertainty">
      <xsd:sequence>
         <xsd:element name="geographicalCoordinates" type="GeographicalCoordinates"/>
         <xsd:element name="uncertaintyCode">
            <xsd:simpleType>
               <xsd:restriction base="xsd:unsignedByte">
                  <xsd:minInclusive value="0"/>
                  <xsd:maxInclusive value="127"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="GA_Polygon_Elements">
      <xsd:sequence>
         <xsd:element name="geographicalCoordinates" type="GeographicalCoordinates"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="GA_Polygon">
      <xsd:sequence minOccurs="1" maxOccurs="15">
         <xsd:element name="GA_Polygon_Elements" type="GA_Polygon_Elements"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="UMTSLocation">
      <xsd:choice>
         <xsd:element name="point" type="GA_Point"/>
         <xsd:element name="pointWithUnCertainty" type="GA_PointWithUnCertainty"/>
         <xsd:element name="polygon" type="GA_Polygon"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="Location">
      <xsd:sequence>
         <xsd:element name="e164_Number" minOccurs="0">
            <xsd:simpleType>
               <xsd:restriction base="xsd:hexBinary">
                  <xsd:minLength value="1"/>
                  <xsd:maxLength value="25"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:element name="globalCellID" minOccurs="0">
            <xsd:simpleType>
               <xsd:restriction base="xsd:hexBinary">
                  <xsd:minLength value="5"/>
                  <xsd:maxLength value="7"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:element name="rAI" minOccurs="0">
            <xsd:simpleType>
               <xsd:restriction base="xsd:hexBinary">
                  <xsd:length value="6"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:element name="gsmLocation" minOccurs="0" type="GSMLocation"/>
         <xsd:element name="umtsLocation" minOccurs="0" type="UMTSLocation"/>
         <xsd:element name="sAI" minOccurs="0">
            <xsd:simpleType>
               <xsd:restriction base="xsd:hexBinary">
                  <xsd:length value="7"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:element name="oldRAI" minOccurs="0">
            <xsd:simpleType>
               <xsd:restriction base="xsd:hexBinary">
                  <xsd:length value="6"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:element name="postalLocation" minOccurs="0" type="AddressInformation"/>
		 <xsd:element name="extendedLocation" minOccurs="0" type="ExtendedLocation"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
   
   <xsd:complexType name="ExtendedLocation">
      <xsd:choice>
         <xsd:element name="spot" type="Spot"/>
         <xsd:element name="circle" type="Circle"/>
         <xsd:element name="region" type="Region"/>
         <xsd:element name="route" type="Route"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="Spot">
      <xsd:choice>
         <xsd:element name="gsmLocation" type="GSMLocation"/>
         <xsd:element name="postalLocation" type="AddressInformation"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>
   
   <xsd:complexType name="Circle">
      <xsd:sequence>
         <xsd:element name="centre" minOccurs="0" type="Spot"/>
         <xsd:element name="radius" minOccurs="0" type="xsd:int"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:sequence>
   </xsd:complexType>
   
   <xsd:complexType name="Region">
      <xsd:sequence>
         <xsd:element name="cornerMarks" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="Spot" type="Spot"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="Route">
      <xsd:sequence>
         <xsd:element name="routeMarks" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="Spot" type="Spot"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="width" minOccurs="0" type="xsd:int"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:sequence>
   </xsd:complexType>
   

   <xsd:complexType name="TelephonyNetworkElement">
      <xsd:sequence>
         <xsd:element name="telephonyNetworkID" minOccurs="0" type="TelephonyNetworkID"/>
         <xsd:element name="cellInformation" minOccurs="0" type="Location"/>
		 <xsd:element name="validity" minOccurs="0" type="TimeSpan"/>
		 <xsd:element name="nationalTelephonyNetworkElement" minOccurs="0" type="NationalTelephonyNetworkElement"/>
		 <xsd:element name="transmitterDetails" minOccurs="0" type="TransmitterDetails"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="TransmitterDetails">
      <xsd:sequence>
         <xsd:element name="alternativeID" minOccurs="0" type="xsd:string"/>
         <xsd:element name="beamWidth" minOccurs="0" type="xsd:int"/>
		 <xsd:element name="radiatedPower" minOccurs="0" type="xsd:int"/>
		 <xsd:element name="antennaHeight" minOccurs="0" type="xsd:int"/>
		 <xsd:element name="range" minOccurs="0" type="xsd:int"/>
		 <xsd:element name="frequency" minOccurs="0" type="xsd:int"/>
		 <xsd:element name="technology" minOccurs="0" type="TransmitterTechnology"/>
		 <xsd:element name="nationalTransmitterDetails" minOccurs="0" type="NationalTransmitterDetails"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
   
   <xsd:complexType name="TransmitterTechnology">
      <xsd:choice>
         <xsd:element name="gen2G" type="NULL"/>
         <xsd:element name="gen3G" type="NULL"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="NationalTransmitterDetails">
      <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="NationalTelephonyNetworkElement">
      <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="TelephonyRecord">
      <xsd:choice>
         <xsd:element name="telephonySubscriber" type="TelephonySubscriber"/>
         <xsd:element name="telephonyBillingDetails" type="TelephonyBillingDetails"/>
         <xsd:element name="telephonyServiceUsage" type="TelephonyServiceUsage"/>
         <xsd:element name="telephonyDevice" type="TelephonyDevice"/>
         <xsd:element name="telephonyNetworkElement" type="TelephonyNetworkElement"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="MsgStore">
      <xsd:sequence>
         <xsd:element name="validity" minOccurs="0" type="TimeSpan"/>
         <xsd:element name="msgStoreID" minOccurs="0" type="MsgStoreID"/>
         <xsd:element name="aliases" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="MsgAddress" type="MsgAddress"/>
               </xsd:sequence>
            </xsd:complexType>
         <xsd:element name="providerID" minOccurs="0" type="MsgProviderID"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="MsgSubscriber">
      <xsd:sequence>
         <xsd:element name="validity" minOccurs="0" type="TimeSpan"/>
         <xsd:element name="subscriberID" minOccurs="0" type="MsgSubscriberID"/>
         <xsd:element name="msgStores" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="MsgStore" type="MsgStore"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="subscriber" minOccurs="0" type="GenericSubscriberInfo"/>
		 <xsd:element name="paymentDetails" minOccurs="0" type="PaymentDetails"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:simpleType name="MessageID">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>
   
   <xsd:complexType name="MsgTransmission">
      <xsd:sequence>
         <xsd:element name="dateTime" minOccurs="0" type="GeneralizedTime"/>
         <xsd:element name="subscriberID" minOccurs="0" type="MsgSubscriberID"/>
         <xsd:element name="senderAddress" minOccurs="0" type="MsgAddress"/>
         <xsd:element name="recipients" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="MsgAddress" type="MsgAddress"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="msgStores" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="MsgStoreID" type="MsgStoreID"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="deliveryStatus" minOccurs="0">
            <xsd:complexType>
               <xsd:choice>
                  <xsd:element name="unknown" type="NULL"/>
				  <xsd:element name="succeeded" type="NULL"/>
				  <xsd:element name="failed" type="NULL"/>
				  <xsd:element name="retried" type="NULL"/>
               </xsd:choice>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="protocol" minOccurs="0">
            <xsd:complexType>
               <xsd:choice>
                  <xsd:element name="smtp" type="NULL"/>
				  <xsd:element name="x400" type="NULL"/>
               </xsd:choice>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="clientID" minOccurs="0" type="IPAddress"/>
         <xsd:element name="serverID" minOccurs="0" type="IPAddress"/>
		 <xsd:element name="messageID" minOccurs="0" type="MessageID"/>
		 <xsd:element name="sourceServerName" minOccurs="0" type="xsd:string"/>
		 <xsd:element name="destinationServerName" minOccurs="0" type="xsd:string"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="MsgStoreOperation">
      <xsd:sequence>
         <xsd:element name="dateTime" minOccurs="0" type="GeneralizedTime"/>
		 <xsd:element name="subscriberID" minOccurs="0" type="MsgSubscriberID"/>
		 <xsd:element name="msgStore" minOccurs="0" type="MsgStoreID"/>
         <xsd:element name="operation" minOccurs="0">
            <xsd:complexType>
               <xsd:choice>
                  <xsd:element name="connect" type="NULL"/>
				  <xsd:element name="disconnect" type="NULL"/>
				  <xsd:element name="retrieveMsg" type="NULL"/>
				  <xsd:element name="partialretrieveMsg" type="NULL"/>
				  <xsd:element name="deleteMsg" type="NULL"/>
				  <xsd:element name="addMsg" type="NULL"/>
				  <xsd:element name="editMsg" type="NULL"/>
               </xsd:choice>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="senderAddress" minOccurs="0" type="MsgAddress"/>
         <xsd:element name="recipients" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="MsgAddress" type="MsgAddress"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>         
         <xsd:element name="protocol" minOccurs="0">
            <xsd:complexType>
               <xsd:choice>
                  <xsd:element name="pop" type="NULL"/>
				  <xsd:element name="imap" type="NULL"/>
				  <xsd:element name="webmail" type="NULL"/>
               </xsd:choice>
            </xsd:complexType>
         </xsd:element>
		 <xsd:element name="clientID" minOccurs="0" type="IPAddress"/>
		 <xsd:element name="serverID" minOccurs="0" type="IPAddress"/>
		 <xsd:element name="messageID" minOccurs="0" type="MessageID"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="MsgServiceUsage">
      <xsd:choice>
         <xsd:element name="msgTransmission" type="MsgTransmission"/>
         <xsd:element name="msgStoreOperation" type="MsgStoreOperation"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="MsgBillingRecords">
      <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="nationalMsgBillingRecords" minOccurs="0" type="NationalMsgBillingRecords"/>
		 <xsd:element name="msgTransactionID" minOccurs="0" type="xsd:string"/>
		 <xsd:element name="msgTransactionStatus" minOccurs="0" type="xsd:string"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
   
   <xsd:complexType name="NationalMsgBillingRecords">
      <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:simpleType name="MsgBillingIdentifier">
      <xsd:restriction base="xsd:hexBinary"/>
   </xsd:simpleType>
   
   <xsd:complexType name="MsgBillingDetails">
      <xsd:sequence>
         <xsd:element name="subscriberID" minOccurs="0" type="MsgSubscriberID"/>
         <xsd:element name="serviceID" minOccurs="0" type="xsd:string"/>
         <xsd:element name="billingAddress" minOccurs="0" type="ContactDetails"/>
         <xsd:element name="billingIdentifier" minOccurs="0" type="MsgBillingIdentifier"/>
         <xsd:element name="billingRecords" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="MsgBillingRecords" type="MsgBillingRecords"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
	     <xsd:element name="nationalMsgBillingDetails" minOccurs="0" type="NationalMsgBillingDetails"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
   
      <xsd:complexType name="NationalMsgBillingDetails">
      <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="MessageRecord">
      <xsd:choice>
         <xsd:element name="msgSubscriber" type="MsgSubscriber"/>
         <xsd:element name="msgServiceUsage" type="MsgServiceUsage"/>
         <xsd:element name="msgBillingDetails" type="MsgBillingDetails"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="NAServiceSubscription">
      <xsd:sequence>
         <xsd:element name="validity" minOccurs="0" type="TimeSpan"/>
         <xsd:element name="naServiceID" minOccurs="0" type="xsd:string"/>
         <xsd:element name="naProviderID" minOccurs="0" type="NAProviderID"/>
         <xsd:element name="naAuthID" minOccurs="0" type="NAAuthID"/>
         <xsd:element name="options" minOccurs="0" type="xsd:string"/>
		 <xsd:element name="installationAddress" minOccurs="0" type="AddressInformation"/>
		 <xsd:element name="fixIpAddress" minOccurs="0" type="IPAddress"/>
		 <xsd:element name="imsi" minOccurs="0" type="IMSI"/>
         <xsd:element name="allocatedDeviceIDs" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="NADeviceID" type="NADeviceId"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="naServiceStatus" minOccurs="0" type="xsd:string"/>
         <xsd:element name="registeredICCID" minOccurs="0" type="xsd:string"/>
		 <xsd:element name="nationalNASubscription" minOccurs="0" type="NationalNASubscription"/>
         <xsd:element name="paymentDetails" minOccurs="0" type="PaymentDetails"/>
		 <xsd:element name="additionalIPAddresses" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="IPAddressSetOrRangeOrMask" type="IPAddressSetOrRangeOrMask"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
		 <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
      
   <xsd:complexType name="NationalNASubscription">
      <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="NASubscriber">
      <xsd:sequence>
         <xsd:element name="validity" minOccurs="0" type="TimeSpan"/>
         <xsd:element name="subscriberID" minOccurs="0" type="NaSubscriberID"/>
         <xsd:element name="naSubscriptions" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="NAServiceSubscription" type="NAServiceSubscription"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="allocatedDeviceIDs" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="NADeviceId" type="NADeviceId"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="subscriber" minOccurs="0" type="GenericSubscriberInfo"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="NAAssignedAddress">
      <xsd:sequence>
         <xsd:element name="addressSetOrRangeOrMask" minOccurs="0" type="IPAddressSetOrRangeOrMask"/>
         <xsd:element name="portNumber" minOccurs="0" type="xsd:integer"/>
         <xsd:element name="addressType" minOccurs="0">
            <xsd:complexType>
               <xsd:choice>
                  <xsd:element name="unknown" type="NULL"/>
				  <xsd:element name="internal" type="NULL"/>
				  <xsd:element name="external" type="NULL"/>
               </xsd:choice>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="assignedTime" minOccurs="0" type="TimeSpan"/>
		 <xsd:element name="destinationAddress" minOccurs="0" type="IPAddress"/>
		 <xsd:element name="destinationPort" minOccurs="0" type="xsd:integer"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="DialUpInformation">
      <xsd:sequence>
         <xsd:element name="diallingNumber" minOccurs="0" type="PartyNumber"/>
         <xsd:element name="dialledNumber" minOccurs="0" type="PartyNumber"/>
         <xsd:element name="callback" minOccurs="0" type="PartyNumber"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="GPRSEvent">
      <xsd:choice>
         <xsd:element name="pDPContextActivation" type="NULL"/>
         <xsd:element name="pDPContextDeactivation" type="NULL"/>
         <xsd:element name="gPRSAttach" type="NULL"/>
         <xsd:element name="gPRSDetach" type="NULL"/>
         <xsd:element name="locationInfoUpdate" type="NULL"/>
         <xsd:element name="pDPContextModification" type="NULL"/>
		 <xsd:element name="servingSystem" type="NULL"/>
   <xsd:complexType name="GprsInformation">
      <xsd:sequence>
         <xsd:element name="iMSI" minOccurs="0" type="IMSI"/>
         <xsd:element name="mSISDN" minOccurs="0" type="PartyNumber"/>
         <xsd:element name="sgsnAddress" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="IPAddress" type="IPAddress"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="ggsnAddress" minOccurs="0" type="IPAddress"/>
         <xsd:element name="pDP_address_allocated" minOccurs="0" type="IPAddress"/>
         <xsd:element name="aPN" minOccurs="0" type="xsd:string"/>
         <xsd:element name="pDP_type" minOccurs="0">
            <xsd:simpleType>
               <xsd:restriction base="xsd:hexBinary">
                  <xsd:length value="2"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:element name="gPRSEvent" minOccurs="0" type="GPRSEvent"/>		 
         <xsd:element name="iCCID" minOccurs="0" type="xsd:string"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="NAServiceUsage">
      <xsd:sequence>
         <xsd:element name="naAccessTime" minOccurs="0" type="GeneralizedTime"/>
         <xsd:element name="naAuthID" minOccurs="0" type="NAAuthID"/>
         <xsd:element name="nwAccessType" minOccurs="0" type="NwAccessType"/>
         <xsd:element name="naStatus" minOccurs="0">
            <xsd:complexType>
               <xsd:choice>
                  <xsd:element name="unknown" type="NULL"/>
				  <xsd:element name="succeeded" type="NULL"/>
				  <xsd:element name="failed" type="NULL"/>
				  <xsd:element name="rejected" type="NULL"/>
               </xsd:choice>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="interval" minOccurs="0" type="TimeSpan"/>
         <xsd:element name="naDeviceId" minOccurs="0" type="NADeviceId"/>
         <xsd:element name="naNwElementID" minOccurs="0" type="NANwElementID"/>
         <xsd:element name="naAssignedAddress" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="NAAssignedAddress" type="NAAssignedAddress"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
		 <xsd:element name="location" minOccurs="0" type="Location"/>
         <xsd:element name="dialUpInformation" minOccurs="0" type="DialUpInformation"/>
         <xsd:element name="gprsInformation" minOccurs="0" type="GprsInformation"/>
         <xsd:element name="octetsDownloaded" minOccurs="0" type="xsd:integer"/>
         <xsd:element name="octetsUploaded" minOccurs="0" type="xsd:integer"/>
         <xsd:element name="endReason" minOccurs="0" type="NAEndReason"/>
         <xsd:element name="subscriberID" minOccurs="0" type="NaSubscriberID"/>
		 <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
   <xsd:complexType name="NAEndReason">
      <xsd:choice>
         <xsd:element name="unknownReason" type="NULL"/>
         <xsd:element name="timeout" type="NULL"/>
         <xsd:element name="userDisconnect" type="NULL"/>
         <xsd:element name="networkDisconnect" type="NULL"/>
         <xsd:element name="networkError" type="NULL"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>
   
   <xsd:complexType name="NADevice">
      <xsd:sequence>
         <xsd:element name="naDeviceId" minOccurs="0" type="NADeviceId"/>
         <xsd:element name="description" minOccurs="0" type="xsd:string"/>
         <xsd:element name="location" minOccurs="0" type="Location"/>
         <xsd:element name="macAddress" minOccurs="0">
            <xsd:simpleType>
               <xsd:restriction base="xsd:hexBinary">
                  <xsd:length value="6"/>
               </xsd:restriction>
            </xsd:simpleType>
         </xsd:element>
         <xsd:element name="dslID" minOccurs="0" type="xsd:string"/>
         <xsd:element name="imei" minOccurs="0" type="IMEI"/>
         <xsd:element name="subscriberID" minOccurs="0" type="NaSubscriberID"/>
		 <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="NANwElement">
      <xsd:sequence>
         <xsd:element name="validity" minOccurs="0" type="TimeSpan"/>
         <xsd:element name="naNwElementID" minOccurs="0" type="NANwElementID"/>
         <xsd:element name="naProviderID" minOccurs="0" type="NAProviderID"/>
         <xsd:element name="supportedAccessTypes" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="NwAccessType" type="NwAccessType"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="location" minOccurs="0" type="Location"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="NABillingDetails">
      <xsd:sequence>
         <xsd:element name="subscriberID" minOccurs="0" type="NaSubscriberID"/>
		 <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="naTransactionID" minOccurs="0" type="xsd:string"/>
		 <xsd:element name="naTransactionStatus" minOccurs="0" type="xsd:string"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="NetworkAccessRecord">
      <xsd:choice>
         <xsd:element name="naSubscriber" type="NASubscriber"/>
         <xsd:element name="naServiceUsage" type="NAServiceUsage"/>
         <xsd:element name="naDevice" type="NADevice"/>
         <xsd:element name="naNetworkElement" type="NANwElement"/>
         <xsd:element name="naBillingDetails" type="NABillingDetails"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="RetainedDataRecord">
      <xsd:choice>
         <xsd:element name="telephonyRecord" type="TelephonyRecord"/>
         <xsd:element name="messageRecord" type="MessageRecord"/>
         <xsd:element name="networkAccess" type="NetworkAccessRecord"/>
         <xsd:element name="multimediaRecord" type="MultimediaRecord"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="RequestConstraints">
      <xsd:sequence>
         <xsd:element name="equals" minOccurs="0" type="RetainedDataRecord"/>
         <xsd:element name="notEqualTo" minOccurs="0" type="RetainedDataRecord"/>
         <xsd:element name="lessThan" minOccurs="0" type="RetainedDataRecord"/>
         <xsd:element name="lessThanOrEqualTo" minOccurs="0" type="RetainedDataRecord"/>
         <xsd:element name="greaterThan" minOccurs="0" type="RetainedDataRecord"/>
         <xsd:element name="greaterThanOrEqualTo" minOccurs="0" type="RetainedDataRecord"/>
         <xsd:element name="startsWith" minOccurs="0" type="RetainedDataRecord"/>
         <xsd:element name="endsWith" minOccurs="0" type="RetainedDataRecord"/>
         <xsd:element name="isAMemberOf" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="RetainedDataRecord" type="RetainedDataRecord"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="RequestMessage">
      <xsd:sequence>
         <xsd:element name="requestPriority" minOccurs="0" type="RequestPriority"/>
         <xsd:element name="requestParameters" minOccurs="0" type="RequestConstraints"/>
         <xsd:element name="deliveryPointHIB" minOccurs="0" type="DeliveryPointHIB"/>
		 <xsd:element name="maxHits" minOccurs="0" type="xsd:integer"/>
         <xsd:element name="nationalRequestParameters" minOccurs="0" type="NationalRequestParameters"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="RequestAcknowledgement">
      <xsd:sequence>
         <xsd:element name="suggestedCompletionTime" minOccurs="0" type="GeneralizedTime"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="FurtherInformation">
      <xsd:sequence>
         <xsd:element name="information" type="xsd:string"/>
         <xsd:element name="contactInformation" minOccurs="0" type="xsd:string"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

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

   <xsd:complexType name="ResponseStatus">
      <xsd:choice>
         <xsd:element name="responseComplete" type="NULL"/>
         <xsd:element name="responseIncomplete" type="NULL"/>
         <xsd:element name="responseUnavailable" type="NULL"/>
         <xsd:element name="responseFailed" type="FurtherInformation"/>
         <xsd:any namespace="##other" processContents="lax"/>
      </xsd:choice>
   </xsd:complexType>

   <xsd:complexType name="AdditionalInformation">
      <xsd:sequence>
         <xsd:element name="contactInformation" minOccurs="0" type="xsd:string"/>
         <xsd:element name="otherInformation" minOccurs="0" type="xsd:string"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="ResponseRecord">
      <xsd:sequence>
         <xsd:element name="recordNumber" type="xsd:integer"/>
         <xsd:element name="recordPayload" type="RetainedDataRecord"/>
         <xsd:element name="additionalInformation" minOccurs="0" type="AdditionalInformation"/>
         <xsd:element name="nationalRecordPayload" minOccurs="0" type="NationalRecordPayload"/>
         <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="ResponseMessage">
      <xsd:sequence>
         <xsd:element name="responseStatus" type="ResponseStatus"/>
         <xsd:element name="responsePayload" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                  <xsd:element name="ResponseRecord" type="ResponseRecord"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="nationalResponsePayload" minOccurs="0" type="NationalResponsePayload"/>
         <xsd:element name="responseNumber" minOccurs="0" type="xsd:integer"/>
		 <xsd:any namespace="##other" processContents="lax" minOccurs="0"/>