Skip to content
RDMessage.xsd 125 KiB
Newer Older
<?xml version="1.0"?>

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

	<xsd:annotation>
		<xsd:documentation xml:lang="en">
			XSD translated from ASN.1 derived from outcome of TS 102 657 v1.17.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>
Loading full blame...