<?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema" elementformdefault="qualified"> <xs:complextype name="anagraficatype"> <xs:element ref="tipo"/> <xs:element ref="cf"/> <xs:element ref="piva" <xs:element name="dati_anagrafici_soggetto" type="dati_anagrafici_soggettotype" <xs:complextype name="anagrafica_collegamentotype"> <xs:element ref="tipo" <xs:element ref="cf" <xs:element ref="piva" <xs:element name="dati_anagrafici_soggetto_collegato" type="dati_anagrafici_soggetto_collegatotype" <xs:element name="cab_sportello"> <xs:totaldigits value="5"/> <xs:element name="cap"> <xs:length value="5"/> <xs:element name="descrizione_variazione_rapporto"> <xs:maxlength value="100"/> <xs:element name="cf"> <xs:restriction base="cftype"/> <xs:element name="cf_esecutore_operazione" type="cftype"/> <xs:element name="codice_extraconto" type="boolean01type"/> <xs:element name="codice_fiscale_operatore_finanziario" type="cftype"/> <xs:element name="codice_fiscale_struttura_richiedente" type="cftype"/> <xs:element name="codice_indagine"> <xs:length value="3"/> <xs:element name="codice_organo_procedente" type="xs:integer"/> <xs:element name="codice_fiscale_struttura_accentrata" type="cftype"/> <xs:element name="codice_struttura_autorizzante"> <xs:length value="5"/> <xs:element name="codice_struttura_richiedente"> Pagina 1
<xs:length value="5"/> <xs:element name="numero_progressivo_risposta" type="xs:integer"/> <xs:element name="numero_totale_risposta" type="xs:integer"/> <xs:element name="codice_univoco_richiesta" type="xs:integer"/> <xs:element name="cognome"> <xs:maxlength value="25"/> <xs:element name="cognome_esecutore_operazione"> <xs:maxlength value="25"/> <xs:complextype name="collegamentotype"> <xs:element ref="tipo_collegamento" <xs:element ref="data_inizio_collegamento" <xs:element ref="data_fine_collegamento" <xs:element name="soggetto_collegato" type="soggetto_collegatotype" <xs:simpletype name="cftype"> <xs:pattern value="\d{1,11}"/> <xs:pattern value="[a-za-z0-9]{16}"/> <xs:simpletype name="pivatype"> <xs:totaldigits value="11"/> <xs:simpletype name="datatype"> <xs:pattern value="[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]"/> <xs:simpletype name="datashorttype"> <xs:pattern value="[0-9][0-9][0-9][0-9][0-9][0-9]"/> <xs:simpletype name="divisatype"> <xs:length value="3"/> <xs:simpletype name="statoisotype"> <xs:length value="3"/> <xs:simpletype name="tipocollegamentotype"> <xs:length value="3"/> Pagina 2
<xs:simpletype name="tiporapportotype"> <xs:totaldigits value="2"/> <xs:simpletype name="codiceattivitauictype"> <xs:totaldigits value="3"/> <xs:simpletype name="boolean01type"> <xs:mininclusive value="0"/> <xs:maxinclusive value="1"/> <xs:simpletype name="importotype"> <xs:pattern value="\d{1,14},\d{2}"/> <xs:pattern value="\d{1,14}"/> <xs:simpletype name="segnotype"> <xs:enumeration value="+"/> <xs:enumeration value="-"/> <xs:element name="comune"> <xs:maxlength value="40"/> <xs:element name="comune_nascita"> <xs:maxlength value="40"/> <xs:element name="data_accensione_rapporto" type="datatype"/> <xs:element name="data_autorizzazione" type="datatype"/> <xs:element name="data_contabile" type="datatype"/> <xs:element name="data_estinzione_rapporto" type="datatype"/> <xs:element name="data_fine_collegamento" type="datatype"/> <xs:element name="data_fine_indagine" type="datashorttype"/> <xs:element name="data_inizio_collegamento" type="datatype"/> <xs:element name="data_inizio_indagine" type="datashorttype"/> <xs:element name="data_nascita" type="datatype"/> <xs:element name="data_registrazione" type="datatype"/> <xs:element name="data_richiesta" type="datatype"/> <xs:element name="data_risposta" type="datatype"/> <xs:element name="data_valuta" type="datatype"/> <xs:element name="data_variazione_rapporto" type="datatype"/> <xs:complextype name="dati_anagrafici_soggettotype"> <xs:element ref="nome" <xs:element ref="cognome" <xs:element ref="denominazione_pnf" <xs:element ref="data_nascita" <xs:element ref="comune_nascita" <xs:element ref="stato_nascita" <xs:element name="residenza_anagrafica" type="residenza_anagraficatype" Pagina 3
<xs:element name="sede_attivita" type="sede_attivitatype" <xs:complextype name="dati_anagrafici_soggetto_collegatotype"> <xs:element ref="nome" <xs:element ref="cognome" <xs:element ref="denominazione_pnf" <xs:element name="sede_attivita" type="sede_attivitatype" <xs:complextype name="dati_generali_richiestatype"> <xs:element ref="codice_univoco_richiesta"/> <xs:element ref="codice_organo_procedente"/> <xs:element ref="protocollo_richiesta"/> <xs:element ref="data_richiesta"/> <xs:element ref="codice_struttura_richiedente"/> <xs:element ref="descrizione_struttura_richiedente" <xs:element ref="codice_fiscale_struttura_richiedente"/> <xs:element ref="protocollo_autorizzazione"/> <xs:element ref="data_autorizzazione"/> <xs:element ref="codice_struttura_autorizzante"/> <xs:element ref="descrizione_struttura_autorizzante"/> <xs:element ref="data_inizio_indagine"/> <xs:element ref="data_fine_indagine"/> <xs:element ref="tipo_richiesta"/> <xs:element ref="codice_fiscale_struttura_accentrata" <xs:element ref="codice_fiscale_operatore_finanziario"/> <xs:complextype name="dati_rapportotype"> <xs:element ref="tipo_rapporto"/> <xs:element ref="numero_rapporto"/> <xs:element ref="divisa"/> <xs:element ref="data_accensione_rapporto" <xs:element ref="data_estinzione_rapporto" <xs:element ref="data_variazione_rapporto" <xs:element ref="descrizione_variazione_rapporto" <xs:element ref="cab_sportello" <xs:element name="denominazione_pnf"> <xs:maxlength value="60"/> <xs:element name="descrizione_operazione"> <xs:maxlength value="150"/> <xs:element name="descrizione_struttura_autorizzante"> Pagina 4
<xs:maxlength value="40"/> <xs:element name="descrizione_struttura_richiedente" type="xs:string"/> <xs:element name="divisa" type="divisatype"/> <xs:complextype name="elenco_collegamentitype"> <xs:element name="collegamento" type="collegamentotype" minoccurs="0" maxoccurs="unbounded"/> <xs:complextype name="elenco_operazionitype"> <xs:element name="operazione" type="operazionetype" minoccurs="0" maxoccurs="unbounded"/> <xs:complextype name="elenco_operazioni_inputtype"> <xs:element name="operazione_input" type="operazione_inputtype" minoccurs="0" maxoccurs="unbounded"/> <xs:complextype name="elenco_rapportitype"> <xs:element name="rapporto" type="rapportotype" minoccurs="0" maxoccurs="unbounded"/> <xs:complextype name="elenco_salditype"> <xs:element name="saldo_iniziale" type="saldo_inizialetype"/> <xs:element name="saldo_finale" type="saldo_finaletype"/> <xs:element name="ente" type="xs:string"/> <xs:element name="esistenza_operazioni_extraconto" type="boolean01type"/> <xs:element name="esistenza_rapporti" type="boolean01type"/> <xs:element name="importo" type="importotype"/> <xs:complextype name="indaginetype"> <xs:element name="richiesta" type="richiestatype"/> <xs:element name="risposta" type="rispostatype"/> <xs:complextype name="indirizzotype"> <xs:element ref="via" <xs:element ref="comune" <xs:element ref="provincia" <xs:element ref="cap" <xs:element ref="stato" <xs:element name="nome"> <xs:maxlength value="25"/> <xs:element name="nome_esecutore_operazione"> Pagina 5
<xs:maxlength value="25"/> <xs:element name="numero_rapporto"> <xs:length value="15"/> <xs:complextype name="operazionetype"> <xs:element ref="codice_extraconto" <xs:element ref="codice_indagine"/> <xs:element ref="data_registrazione"/> <xs:element ref="divisa"/> <xs:element ref="data_valuta"/> <xs:element ref="segno"/> <xs:element ref="importo"/> <xs:element ref="descrizione_operazione"/> <xs:element ref="cf_esecutore_operazione"/> <xs:element ref="nome_esecutore_operazione" <xs:element ref="cognome_esecutore_operazione" <xs:complextype name="operazione_inputtype"> <xs:element ref="codice_indagine"/> <xs:element ref="data_registrazione" <xs:element ref="divisa" <xs:element ref="data_valuta" <xs:element ref="segno" <xs:element ref="importo" <xs:element ref="codice_extraconto" <xs:element ref="descrizione_operazione" <xs:element name="piva" type="pivatype"/> <xs:element name="protocollo_autorizzazione"> <xs:length value="9"/> <xs:element name="protocollo_richiesta"> <xs:length value="9"/> <xs:element name="provincia"> <xs:length value="2"/> <xs:element name="ramo_attivita" type="codiceattivitauictype"/> <xs:complextype name="rapportotype"> <xs:element name="dati_rapporto" type="dati_rapportotype"/> <xs:element name="elenco_saldi" Pagina 6
type="elenco_salditype"/> <xs:element name="elenco_operazioni" type="elenco_operazionitype" <xs:element name="elenco_collegamenti" type="elenco_collegamentitype" <xs:complextype name="residenza_anagraficatype"> <xs:element name="indirizzo" type="indirizzotype" <xs:complextype name="richiestatype"> <xs:element name="dati_generali_richiesta" type="dati_generali_richiestatype"/> <xs:element name="soggetto_input" type="soggetto_inputtype" <xs:element name="elenco_operazioni_input" type="elenco_operazioni_inputtype" <xs:complextype name="rispostatype"> <xs:element name="soggetto" type="soggettotype" <xs:element ref="esistenza_rapporti"/> <xs:element ref="esistenza_operazioni_extraconto"/> <xs:element name="elenco_rapporti" type="elenco_rapportitype" <xs:element name="elenco_operazioni" type="elenco_operazionitype" <xs:complextype name="saldotype"> <xs:element ref="divisa"/> <xs:element ref="data_contabile"/> <xs:element ref="segno"/> <xs:element ref="importo"/> <xs:complextype name="saldo_finaletype"> <xs:element name="saldo" type="saldotype"/> <xs:complextype name="saldo_inizialetype"> <xs:element name="saldo" type="saldotype"/> <xs:complextype name="sede_attivitatype"> <xs:element name="indirizzo" type="indirizzotype" <xs:element name="segno" type="segnotype"/> <xs:element name="settore_attivita" type="xs:string"/> <xs:complextype name="soggettotype"> <xs:element name="anagrafica" type="anagraficatype"/> <xs:element ref="ramo_attivita" <xs:element ref="settore_attivita" <xs:element ref="cab_sportello"/> Pagina 7
<xs:complextype name="soggetto_inputtype"> <xs:element name="anagrafica" type="anagraficatype"/> <xs:complextype name="soggetto_collegatotype"> <xs:element name="anagrafica_collegamento" type="anagrafica_collegamentotype" <xs:element name="stato" type="statoisotype"/> <xs:element name="stato_nascita" type="statoisotype"/> <xs:element name="tipo"> <xs:enumeration value="pf"/> <xs:enumeration value="pnf"/> <xs:element name="tipo_collegamento" type="tipocollegamentotype"/> <xs:element name="tipo_rapporto" type="tiporapportotype"/> <xs:element name="tipo_richiesta"> <xs:pattern value="[1-3]"/> <xs:element name="transazione"> <xs:complextype> <xs:element ref="ente"/> <xs:element ref="data_risposta"/> <xs:element ref="numero_progressivo_risposta"/> <xs:element ref="numero_totale_risposta"/> <xs:element name="indagine" type="indaginetype"/> <xs:element name="via"> <xs:maxlength value="40"/> </xs:schema> Pagina 8