50 lines
1.9 KiB
XML
50 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sm="http://dbcfx/SOA/CheckRetailPlatform/2016-07-04" targetNamespace="http://dbcfx/SOA/CheckRetailPlatform/2016-07-04" elementFormDefault="qualified" version="1.0">
|
|
<xs:element name="checkRetailPlatformRequest">
|
|
<xs:complexType>
|
|
<xs:all>
|
|
<xs:element name="DN" type="sm:phoneTYPE"/>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
<xs:element name="checkRetailPlatformResponse">
|
|
<xs:complexType>
|
|
<xs:all>
|
|
<xs:element name="DATA_RISPOSTA" type="sm:dataTimeTYPE"/>
|
|
<xs:element name="SISTEMA_RETAIL" type="sm:sistemaRetailTYPE" minOccurs="0"/>
|
|
<xs:element name="RETURN_CODE" type="sm:returnCodeTYPE"/>
|
|
<xs:element name="ERROR_MSG" type="sm:string150TYPE" minOccurs="0"/>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
<!-- SimpleTypes START -->
|
|
<xs:simpleType name="phoneTYPE">
|
|
<xs:restriction base="xs:string">
|
|
<xs:pattern value="\d{1,50}"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
<xs:simpleType name="dataTimeTYPE">
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="19"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
<xs:simpleType name="sistemaRetailTYPE">
|
|
<xs:restriction base="xs:string">
|
|
<xs:pattern value="DBSS|CRMR|CRMB|CRMB_V|"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
<xs:simpleType name="returnCodeTYPE">
|
|
<xs:restriction base="xs:string">
|
|
<xs:pattern value="00|01|02|03"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
<xs:simpleType name="string150TYPE">
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="150"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
<!-- SimpleTypes END -->
|
|
</xs:schema>
|