Files
gateway-dbc-fx/gnpdev/build/databinding/schema/crm/VOIP35_CRM_TO_DBCFX.xsd
2024-05-09 17:40:24 +02:00

142 lines
5.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>Notifica online CRM-DBC RIENTRI VOIP</xs:documentation>
</xs:annotation>
<xs:element name="NotificaVOIPFromCRM">
<xs:complexType>
<xs:sequence>
<xs:element name="ID_ESIGENZA" type="string15TYPE"/>
<xs:element name="TIPO_CHIAMATA" type="tipoChiamataTYPE"/>
<xs:element name="TIPO_EVENTO" type="tipoEventoTYPE"/>
<xs:element name="PIATTAFORMA_PROVENIENZA" type="piattaformaProvTYPE"/>
<xs:element name="LISTA_DN" type="listaDNTYPE"/>
<xs:element name="COW" type="string3TYPE"/>
<xs:element name="NOMINATIVO_CLIENTE" type="string100TYPE"/>
<xs:element name="CODICE_FISCALE_PARTIVA_IVA" type="string16TYPE"/>
<xs:element name="RECAPITO_ALTERNATIVO" type="recapitoAlternTYPE"/>
<xs:element name="DAC" type="string19TYPE"/>
<xs:element name="RNB" type="string18TYPE" minOccurs="0"/>
<xs:element name="DATA_OPERAZIONE" type="string19TYPE"/>
<xs:element name="COD_MARCAGGIO_CLIENTE" type="string2TYPE" minOccurs="0"/>
<xs:element name="COD_CANALE_VENDITA" type="string5TYPE" minOccurs="0"/>
<xs:element name="ID_OL_FITTIZIO" type="string15TYPE"/>
<xs:element name="FLAG_CONSIP" type="flagYNTYPE"/>
<xs:element name="CODICE_PROGETTO" type="string18TYPE" minOccurs="0"/>
<xs:element name="MODULO_CC" type="string30TYPE" minOccurs="0"/>
<xs:element name="MODULO_PARTNER" type="string30TYPE" minOccurs="0"/>
<xs:element name="PROTOCOLLO_DMS" type="string100TYPE" minOccurs="0"/>
<xs:element name="DATA_CREAZIONE_SR" type="string19TYPE" minOccurs="0"/>
<xs:element name="ID_PADRE" type="string15TYPE" minOccurs="0"/>
<xs:element name="CAUSALE_KO_PDC" type="string200TYPE" minOccurs="0"/>
<xs:element name="DATA_CHIUSURA_SR" type="string19TYPE" minOccurs="0"/>
<xs:element name="RN" type="string15TYPE" minOccurs="0"/>
<xs:element name="FLAG_VERTICALIZZATO" type="flagYNTYPE" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="listaDNTYPE">
<xs:sequence>
<xs:element name="DN" maxOccurs="100">
<xs:complexType>
<xs:attribute name="NUM_TEL" type="string12TYPE" use="required"/>
<xs:attribute name="CLASSIFICAZIONE" type="classificazioneTYPE" use="required"/>
<xs:attribute name="DONOR" type="string3TYPE" />
<xs:attribute name="PRIMARIO" type="string12TYPE" />
<xs:attribute name="RADICALE" type="string12TYPE" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="classificazioneTYPE">
<xs:restriction base="xs:string">
<xs:pattern value="XA|XB|XC|XD|XE|XF"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="tipoChiamataTYPE">
<xs:restriction base="xs:string">
<xs:pattern value="VOIP35|VOIP103"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="tipoEventoTYPE">
<xs:restriction base="xs:string">
<xs:pattern value="RIENTRO|CHIUSURA|CLONATOXTOOL|RIMODULAZIONE_DAC"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="piattaformaProvTYPE">
<xs:restriction base="xs:string">
<xs:pattern value="B"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="string15TYPE">
<xs:restriction base="xs:string">
<xs:maxLength value="15"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="string10TYPE">
<xs:restriction base="xs:string">
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="string100TYPE">
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="string16TYPE">
<xs:restriction base="xs:string">
<xs:maxLength value="16"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="string2TYPE">
<xs:restriction base="xs:string">
<xs:maxLength value="2"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="string19TYPE">
<xs:restriction base="xs:string">
<xs:maxLength value="19"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="string12TYPE">
<xs:restriction base="xs:string">
<xs:maxLength value="12"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="string3TYPE">
<xs:restriction base="xs:string">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="string5TYPE">
<xs:restriction base="xs:string">
<xs:maxLength value="5"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="recapitoAlternTYPE">
<xs:restriction base="xs:string">
<xs:pattern value="\d{1,20}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="string18TYPE">
<xs:restriction base="xs:string">
<xs:maxLength value="18"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="flagYNTYPE">
<xs:restriction base="xs:string">
<xs:pattern value="Y|N"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="string30TYPE">
<xs:restriction base="xs:string">
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="string200TYPE">
<xs:restriction base="xs:string">
<xs:maxLength value="200"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>