50 lines
1.6 KiB
XML
50 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
//-FILE-ID
|
|
// Name: SMSGateway.xsd
|
|
// Type: XSD file
|
|
//Analysis Version: CCXMLDocTecnicoSchema_GatewaySMS.doc
|
|
// Kit Version: 2007_07
|
|
// Language: XML versione 1.0
|
|
// Created: 27/03/2007
|
|
// Project: Servizi-INFOTIM
|
|
// Developed by: F. Antonelli
|
|
//Status: definitivo
|
|
-->
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<xs:include schemaLocation="./dictionary/SMSTypes.xsd"/>
|
|
<!-- ================ groups ================== -->
|
|
<xs:group name="ServiceData">
|
|
<xs:sequence>
|
|
<xs:element name="idService" type="idServiceType"/>
|
|
<xs:element name="operationType" type="operationTypeType"/>
|
|
<xs:element name="operationCode" type="operationCodeType"/>
|
|
<xs:element name="ackRequest" type="ackRequestType" minOccurs="0"/>
|
|
</xs:sequence>
|
|
</xs:group>
|
|
<xs:group name="BusinessData">
|
|
<xs:choice>
|
|
<xs:element name="MobileOriginated" type="mobileOriginatedType"/>
|
|
<xs:element name="MobileTerminated" type="mobileTerminatedType"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<xs:group name="Result">
|
|
<xs:choice>
|
|
<xs:element name="StatusReport" type="statusReportType"/>
|
|
<xs:element name="Result" type="ResultType"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
<!-- ================ main structure ================== -->
|
|
<xs:element name="SMSRequest">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:group ref="ServiceData"/>
|
|
<xs:choice>
|
|
<xs:group ref="BusinessData"/>
|
|
<xs:group ref="Result"/>
|
|
</xs:choice>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:schema>
|