Schema api_call_6.xsd


schema location api_call_6.xsd
attributeFormDefault unqualified
elementFormDefault qualified
targetNamespace api_call_6
 
Elements  Complex types  Simple types 
api_call_6  impianto  anno 
CAP 
codice_fiscale 
data 
decimale1 
intervento 
numIntero 
partita_IVA 


element api_call_6
diagram api_call_6_diagrams/api_call_6_p1.png
namespace api_call_6
properties
content complex
children versione L1_codice_impianto L1_1dataIntervento L1_1tipoIntervento API_ID impianto
annotation
documentation

                        Questo modello XSD consente l'aggiornamento del libretto di impianto termico con la dismissione di uno o più generatori collegati ad un impianto esistente.
source <xs:element name="api_call_6">
 
<xs:annotation>
   
<xs:documentation>
                        Questo modello XSD consente l'aggiornamento del libretto di impianto termico con la dismissione di uno o più generatori collegati ad un impianto esistente.
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:annotation>
     
<xs:documentation>Dati che sono univoci per il libretto, ovvero il punto 1.1 con il codice del catasto impianti termici, la data ed il tipo di installazione, nonchè gli N impianti che lo compongono.
Il tag VersioneCorrente è richiesto per validare gli XML inviati, obbligatoriamente deve essere uguale al valore fissato.
</xs:documentation>
   
</xs:annotation>
   
<xs:sequence>
     
<xs:element name="versione">
       
<xs:complexType>
         
<xs:attribute name="VersioneCorrente" type="xs:decimal" use="required" fixed="2.2"/>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="L1_codice_impianto" type="xs:string"/>
     
<xs:element name="L1_1dataIntervento" type="data" minOccurs="0"/>
     
<xs:element name="L1_1tipoIntervento" type="intervento" minOccurs="0"/>
     
<xs:element name="API_ID" type="xs:integer" fixed="52"/>
     
<xs:element name="impianto" type="impianto"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element api_call_6/versione
diagram api_call_6_diagrams/api_call_6_p2.png
namespace api_call_6
properties
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
VersioneCorrente  xs:decimal  required    2.2  
source <xs:element name="versione">
 
<xs:complexType>
   
<xs:attribute name="VersioneCorrente" type="xs:decimal" use="required" fixed="2.2"/>
 
</xs:complexType>
</xs:element>

attribute api_call_6/versione/@VersioneCorrente
type xs:decimal
properties
use required
fixed 2.2
source <xs:attribute name="VersioneCorrente" type="xs:decimal" use="required" fixed="2.2"/>

element api_call_6/L1_codice_impianto
diagram api_call_6_diagrams/api_call_6_p3.png
namespace api_call_6
type xs:string
properties
content simple
source <xs:element name="L1_codice_impianto" type="xs:string"/>

element api_call_6/L1_1dataIntervento
diagram api_call_6_diagrams/api_call_6_p4.png
namespace api_call_6
type data
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
minInclusive 1900-01-01
maxInclusive 2100-12-31
source <xs:element name="L1_1dataIntervento" type="data" minOccurs="0"/>

element api_call_6/L1_1tipoIntervento
diagram api_call_6_diagrams/api_call_6_p5.png
namespace api_call_6
type intervento
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
minInclusive 1
maxInclusive 4
source <xs:element name="L1_1tipoIntervento" type="intervento" minOccurs="0"/>

element api_call_6/API_ID
diagram api_call_6_diagrams/api_call_6_p6.png
namespace api_call_6
type xs:integer
properties
content simple
fixed 52
source <xs:element name="API_ID" type="xs:integer" fixed="52"/>

element api_call_6/impianto
diagram api_call_6_diagrams/api_call_6_p7.png
namespace api_call_6
type impianto
properties
content complex
children scheda_1_dati_identificativi_impianto scheda_4_generatori
source <xs:element name="impianto" type="impianto"/>

complexType impianto
diagram api_call_6_diagrams/api_call_6_p8.png
namespace api_call_6
children scheda_1_dati_identificativi_impianto scheda_4_generatori
used by
element api_call_6/impianto
source <xs:complexType name="impianto">
 
<xs:sequence>
   
<xs:element name="scheda_1_dati_identificativi_impianto">
     
<xs:annotation>
       
<xs:documentation>
Nel libretto ministeriale il flag Altro al punto 1.3 è implicito se valorizzato il campo L1_3descrAltro. Analogamente vale per i flag Altro ai punti 1.4 e 1.5 con i campi L1_4flagAltro e L1_5descrAltro.
I dati identificativi relativi all'unità immobiliare sono stati spostati all'interno dell'elemento L1_2datiImmobile.
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="L1_2volLordoRisc" type="decimale1"/>
         
<xs:element name="L1_2volLordoRaffr" type="decimale1"/>
         
<xs:element name="L1_3flagProdACS" type="xs:boolean"/>
         
<xs:element name="L1_3potUtileACS" type="decimale1" minOccurs="0"/>
         
<xs:element name="L1_3flagClimaInv" type="xs:boolean"/>
         
<xs:element name="L1_3potUtileClimaInv" type="decimale1" minOccurs="0"/>
         
<xs:element name="L1_3flagClimaEst" type="xs:boolean"/>
         
<xs:element name="L1_3potUtileClimaEst" type="decimale1" minOccurs="0"/>
         
<xs:element name="L1_3descrAltro" type="xs:string" minOccurs="0"/>
         
<xs:element name="L1_4flagH2O" type="xs:boolean"/>
         
<xs:element name="L1_4flagAria" type="xs:boolean"/>
         
<xs:element name="L1_4descrAltro" type="xs:string" minOccurs="0"/>
         
<xs:element name="L1_5flagGeneratCombu" type="xs:boolean"/>
         
<xs:element name="L1_5flagPompaCal" type="xs:boolean"/>
         
<xs:element name="L1_5flagMaccFrigo" type="xs:boolean"/>
         
<xs:element name="L1_5flagTelerisc" type="xs:boolean"/>
         
<xs:element name="L1_5flagTeleraffr" type="xs:boolean"/>
         
<xs:element name="L1_5flagCogener" type="xs:boolean"/>
         
<xs:element name="L1_5descrAltro" type="xs:string" minOccurs="0"/>
         
<xs:element name="L1_5flagPannelliSol" type="xs:boolean"/>
         
<xs:element name="L1_5superfLordaTot" type="decimale1" minOccurs="0"/>
         
<xs:element name="L1_5flagAltraIntegraz" type="xs:boolean"/>
         
<xs:element name="L1_5potUtile" type="decimale1" minOccurs="0"/>
         
<xs:element name="L1_5descrAltrIntegraz" type="xs:string" minOccurs="0"/>
         
<xs:element name="L1_5flagClimaInv" type="xs:boolean"/>
         
<xs:element name="L1_5flagClimaEst" type="xs:boolean"/>
         
<xs:element name="L1_5flagProdACS" type="xs:boolean"/>
         
<xs:element name="L1_5descrAltroPer" type="xs:string" minOccurs="0"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="scheda_4_generatori">
     
<xs:annotation>
       
<xs:documentation>
I singoli generatori vanno inseriti come nodo interno a questo elemento.
Ci possono essere N generatori, ognuno diviso per tipologia:
gruppotermico_caldaie GT
gruppofrigo           GF
scambiatore           SC
cogeneratore          CG
solaretermico         ST
altrigeneratori       AG

ognuno di questi può essere sostituito nelle relative sezioni (es. sezGT, sezGF...) senza però che cambi il numero del gruppo (es. GT1, GT2,...).
nel caso ci siano bruciatori BR o scambiatori di calore SC collegati al gruppo termico, la sezione relativa ai loro dati e al numero progressivo che li identifica si trova nel rowGT cui sono collegati
Se deve essere aggiornato un bruciatore o un recuperatore (inserito uno nuovo o sostituito uno esistente) senza toccare il  generatore a fiamma a cui è collegato, questo XSD non va bene, va usato il modello XSD e la chiamata API specifica.

Nel caso ci sia l'inserimento di un nuovo generatore non va compilato l'elemento matricolaSostituito. Questo elemento è invece da compilare nei casi in cui vi è una sostituzione.
Nel caso l'inserimento del generatore preveda l'invio dell'RCEE questo va inviato con l'apposita chiamata API, ma solamente dopo aver inviato l'aggiornamento del generatore usando il presente modello xsd.
L'attributo API_ID descrive il motivo che porta all'inserimento di questi dati, vedere la descrizione relativa per le varie opzioni.
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:choice maxOccurs="unbounded">
         
<xs:element name="gruppotermico_caldaie">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="L4_1numGT" type="numIntero"/>
               
<xs:element name="matricolaDismesso" type="xs:string"/>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="gruppofrigo">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="L4_4numGF" type="numIntero"/>
               
<xs:element name="matricolaDismesso" type="xs:string"/>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="scambiatore">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="L4_5numSC" type="numIntero"/>
               
<xs:element name="matricolaDismesso" type="xs:string"/>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="cogeneratore">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="L4_6numCG" type="numIntero"/>
               
<xs:element name="matricolaDismesso" type="xs:string"/>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="solaretermico">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="L4_7numCS" type="numIntero"/>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="altrigeneratori">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="L4_8numAG" type="numIntero"/>
               
<xs:element name="matricolaDismesso" type="xs:string"/>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
       
</xs:choice>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element impianto/scheda_1_dati_identificativi_impianto
diagram api_call_6_diagrams/api_call_6_p9.png
namespace api_call_6
properties
content complex
children L1_2volLordoRisc L1_2volLordoRaffr L1_3flagProdACS L1_3potUtileACS L1_3flagClimaInv L1_3potUtileClimaInv L1_3flagClimaEst L1_3potUtileClimaEst L1_3descrAltro L1_4flagH2O L1_4flagAria L1_4descrAltro L1_5flagGeneratCombu L1_5flagPompaCal L1_5flagMaccFrigo L1_5flagTelerisc L1_5flagTeleraffr L1_5flagCogener L1_5descrAltro L1_5flagPannelliSol L1_5superfLordaTot L1_5flagAltraIntegraz L1_5potUtile L1_5descrAltrIntegraz L1_5flagClimaInv L1_5flagClimaEst L1_5flagProdACS L1_5descrAltroPer
annotation
documentation

Nel libretto ministeriale il flag Altro al punto 1.3 è implicito se valorizzato il campo L1_3descrAltro. Analogamente vale per i flag Altro ai punti 1.4 e 1.5 con i campi L1_4flagAltro e L1_5descrAltro.
I dati identificativi relativi all'unità immobiliare sono stati spostati all'interno dell'elemento L1_2datiImmobile.
source <xs:element name="scheda_1_dati_identificativi_impianto">
 
<xs:annotation>
   
<xs:documentation>
Nel libretto ministeriale il flag Altro al punto 1.3 è implicito se valorizzato il campo L1_3descrAltro. Analogamente vale per i flag Altro ai punti 1.4 e 1.5 con i campi L1_4flagAltro e L1_5descrAltro.
I dati identificativi relativi all'unità immobiliare sono stati spostati all'interno dell'elemento L1_2datiImmobile.
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="L1_2volLordoRisc" type="decimale1"/>
     
<xs:element name="L1_2volLordoRaffr" type="decimale1"/>
     
<xs:element name="L1_3flagProdACS" type="xs:boolean"/>
     
<xs:element name="L1_3potUtileACS" type="decimale1" minOccurs="0"/>
     
<xs:element name="L1_3flagClimaInv" type="xs:boolean"/>
     
<xs:element name="L1_3potUtileClimaInv" type="decimale1" minOccurs="0"/>
     
<xs:element name="L1_3flagClimaEst" type="xs:boolean"/>
     
<xs:element name="L1_3potUtileClimaEst" type="decimale1" minOccurs="0"/>
     
<xs:element name="L1_3descrAltro" type="xs:string" minOccurs="0"/>
     
<xs:element name="L1_4flagH2O" type="xs:boolean"/>
     
<xs:element name="L1_4flagAria" type="xs:boolean"/>
     
<xs:element name="L1_4descrAltro" type="xs:string" minOccurs="0"/>
     
<xs:element name="L1_5flagGeneratCombu" type="xs:boolean"/>
     
<xs:element name="L1_5flagPompaCal" type="xs:boolean"/>
     
<xs:element name="L1_5flagMaccFrigo" type="xs:boolean"/>
     
<xs:element name="L1_5flagTelerisc" type="xs:boolean"/>
     
<xs:element name="L1_5flagTeleraffr" type="xs:boolean"/>
     
<xs:element name="L1_5flagCogener" type="xs:boolean"/>
     
<xs:element name="L1_5descrAltro" type="xs:string" minOccurs="0"/>
     
<xs:element name="L1_5flagPannelliSol" type="xs:boolean"/>
     
<xs:element name="L1_5superfLordaTot" type="decimale1" minOccurs="0"/>
     
<xs:element name="L1_5flagAltraIntegraz" type="xs:boolean"/>
     
<xs:element name="L1_5potUtile" type="decimale1" minOccurs="0"/>
     
<xs:element name="L1_5descrAltrIntegraz" type="xs:string" minOccurs="0"/>
     
<xs:element name="L1_5flagClimaInv" type="xs:boolean"/>
     
<xs:element name="L1_5flagClimaEst" type="xs:boolean"/>
     
<xs:element name="L1_5flagProdACS" type="xs:boolean"/>
     
<xs:element name="L1_5descrAltroPer" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element impianto/scheda_1_dati_identificativi_impianto/L1_2volLordoRisc
diagram api_call_6_diagrams/api_call_6_p10.png
namespace api_call_6
type decimale1
properties
content simple
facets
Kind Value Annotation
minInclusive -2000000000
maxInclusive 2000000000
fractionDigits 1
source <xs:element name="L1_2volLordoRisc" type="decimale1"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_2volLordoRaffr
diagram api_call_6_diagrams/api_call_6_p11.png
namespace api_call_6
type decimale1
properties
content simple
facets
Kind Value Annotation
minInclusive -2000000000
maxInclusive 2000000000
fractionDigits 1
source <xs:element name="L1_2volLordoRaffr" type="decimale1"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_3flagProdACS
diagram api_call_6_diagrams/api_call_6_p12.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_3flagProdACS" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_3potUtileACS
diagram api_call_6_diagrams/api_call_6_p13.png
namespace api_call_6
type decimale1
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
minInclusive -2000000000
maxInclusive 2000000000
fractionDigits 1
source <xs:element name="L1_3potUtileACS" type="decimale1" minOccurs="0"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_3flagClimaInv
diagram api_call_6_diagrams/api_call_6_p14.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_3flagClimaInv" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_3potUtileClimaInv
diagram api_call_6_diagrams/api_call_6_p15.png
namespace api_call_6
type decimale1
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
minInclusive -2000000000
maxInclusive 2000000000
fractionDigits 1
source <xs:element name="L1_3potUtileClimaInv" type="decimale1" minOccurs="0"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_3flagClimaEst
diagram api_call_6_diagrams/api_call_6_p16.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_3flagClimaEst" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_3potUtileClimaEst
diagram api_call_6_diagrams/api_call_6_p17.png
namespace api_call_6
type decimale1
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
minInclusive -2000000000
maxInclusive 2000000000
fractionDigits 1
source <xs:element name="L1_3potUtileClimaEst" type="decimale1" minOccurs="0"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_3descrAltro
diagram api_call_6_diagrams/api_call_6_p18.png
namespace api_call_6
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="L1_3descrAltro" type="xs:string" minOccurs="0"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_4flagH2O
diagram api_call_6_diagrams/api_call_6_p19.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_4flagH2O" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_4flagAria
diagram api_call_6_diagrams/api_call_6_p20.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_4flagAria" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_4descrAltro
diagram api_call_6_diagrams/api_call_6_p21.png
namespace api_call_6
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="L1_4descrAltro" type="xs:string" minOccurs="0"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5flagGeneratCombu
diagram api_call_6_diagrams/api_call_6_p22.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_5flagGeneratCombu" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5flagPompaCal
diagram api_call_6_diagrams/api_call_6_p23.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_5flagPompaCal" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5flagMaccFrigo
diagram api_call_6_diagrams/api_call_6_p24.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_5flagMaccFrigo" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5flagTelerisc
diagram api_call_6_diagrams/api_call_6_p25.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_5flagTelerisc" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5flagTeleraffr
diagram api_call_6_diagrams/api_call_6_p26.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_5flagTeleraffr" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5flagCogener
diagram api_call_6_diagrams/api_call_6_p27.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_5flagCogener" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5descrAltro
diagram api_call_6_diagrams/api_call_6_p28.png
namespace api_call_6
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="L1_5descrAltro" type="xs:string" minOccurs="0"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5flagPannelliSol
diagram api_call_6_diagrams/api_call_6_p29.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_5flagPannelliSol" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5superfLordaTot
diagram api_call_6_diagrams/api_call_6_p30.png
namespace api_call_6
type decimale1
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
minInclusive -2000000000
maxInclusive 2000000000
fractionDigits 1
source <xs:element name="L1_5superfLordaTot" type="decimale1" minOccurs="0"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5flagAltraIntegraz
diagram api_call_6_diagrams/api_call_6_p31.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_5flagAltraIntegraz" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5potUtile
diagram api_call_6_diagrams/api_call_6_p32.png
namespace api_call_6
type decimale1
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
minInclusive -2000000000
maxInclusive 2000000000
fractionDigits 1
source <xs:element name="L1_5potUtile" type="decimale1" minOccurs="0"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5descrAltrIntegraz
diagram api_call_6_diagrams/api_call_6_p33.png
namespace api_call_6
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="L1_5descrAltrIntegraz" type="xs:string" minOccurs="0"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5flagClimaInv
diagram api_call_6_diagrams/api_call_6_p34.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_5flagClimaInv" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5flagClimaEst
diagram api_call_6_diagrams/api_call_6_p35.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_5flagClimaEst" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5flagProdACS
diagram api_call_6_diagrams/api_call_6_p36.png
namespace api_call_6
type xs:boolean
properties
content simple
source <xs:element name="L1_5flagProdACS" type="xs:boolean"/>

element impianto/scheda_1_dati_identificativi_impianto/L1_5descrAltroPer
diagram api_call_6_diagrams/api_call_6_p37.png
namespace api_call_6
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="L1_5descrAltroPer" type="xs:string" minOccurs="0"/>

element impianto/scheda_4_generatori
diagram api_call_6_diagrams/api_call_6_p38.png
namespace api_call_6
properties
content complex
children gruppotermico_caldaie gruppofrigo scambiatore cogeneratore solaretermico altrigeneratori
annotation
documentation

I singoli generatori vanno inseriti come nodo interno a questo elemento.
Ci possono essere N generatori, ognuno diviso per tipologia:
gruppotermico_caldaie GT
gruppofrigo           GF
scambiatore           SC
cogeneratore          CG
solaretermico         ST
altrigeneratori       AG

ognuno di questi può essere sostituito nelle relative sezioni (es. sezGT, sezGF...) senza però che cambi il numero del gruppo (es. GT1, GT2,...).
nel caso ci siano bruciatori BR o scambiatori di calore SC collegati al gruppo termico, la sezione relativa ai loro dati e al numero progressivo che li identifica si trova nel rowGT cui sono collegati
Se deve essere aggiornato un bruciatore o un recuperatore (inserito uno nuovo o sostituito uno esistente) senza toccare il  generatore a fiamma a cui è collegato, questo XSD non va bene, va usato il modello XSD e la chiamata API specifica.

Nel caso ci sia l'inserimento di un nuovo generatore non va compilato l'elemento matricolaSostituito. Questo elemento è invece da compilare nei casi in cui vi è una sostituzione.
Nel caso l'inserimento del generatore preveda l'invio dell'RCEE questo va inviato con l'apposita chiamata API, ma solamente dopo aver inviato l'aggiornamento del generatore usando il presente modello xsd.
L'attributo API_ID descrive il motivo che porta all'inserimento di questi dati, vedere la descrizione relativa per le varie opzioni.
source <xs:element name="scheda_4_generatori">
 
<xs:annotation>
   
<xs:documentation>
I singoli generatori vanno inseriti come nodo interno a questo elemento.
Ci possono essere N generatori, ognuno diviso per tipologia:
gruppotermico_caldaie GT
gruppofrigo           GF
scambiatore           SC
cogeneratore          CG
solaretermico         ST
altrigeneratori       AG

ognuno di questi può essere sostituito nelle relative sezioni (es. sezGT, sezGF...) senza però che cambi il numero del gruppo (es. GT1, GT2,...).
nel caso ci siano bruciatori BR o scambiatori di calore SC collegati al gruppo termico, la sezione relativa ai loro dati e al numero progressivo che li identifica si trova nel rowGT cui sono collegati
Se deve essere aggiornato un bruciatore o un recuperatore (inserito uno nuovo o sostituito uno esistente) senza toccare il  generatore a fiamma a cui è collegato, questo XSD non va bene, va usato il modello XSD e la chiamata API specifica.

Nel caso ci sia l'inserimento di un nuovo generatore non va compilato l'elemento matricolaSostituito. Questo elemento è invece da compilare nei casi in cui vi è una sostituzione.
Nel caso l'inserimento del generatore preveda l'invio dell'RCEE questo va inviato con l'apposita chiamata API, ma solamente dopo aver inviato l'aggiornamento del generatore usando il presente modello xsd.
L'attributo API_ID descrive il motivo che porta all'inserimento di questi dati, vedere la descrizione relativa per le varie opzioni.
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:choice maxOccurs="unbounded">
     
<xs:element name="gruppotermico_caldaie">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="L4_1numGT" type="numIntero"/>
           
<xs:element name="matricolaDismesso" type="xs:string"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="gruppofrigo">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="L4_4numGF" type="numIntero"/>
           
<xs:element name="matricolaDismesso" type="xs:string"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="scambiatore">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="L4_5numSC" type="numIntero"/>
           
<xs:element name="matricolaDismesso" type="xs:string"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="cogeneratore">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="L4_6numCG" type="numIntero"/>
           
<xs:element name="matricolaDismesso" type="xs:string"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="solaretermico">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="L4_7numCS" type="numIntero"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="altrigeneratori">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="L4_8numAG" type="numIntero"/>
           
<xs:element name="matricolaDismesso" type="xs:string"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:choice>
 
</xs:complexType>
</xs:element>

element impianto/scheda_4_generatori/gruppotermico_caldaie
diagram api_call_6_diagrams/api_call_6_p39.png
namespace api_call_6
properties
content complex
children L4_1numGT matricolaDismesso
source <xs:element name="gruppotermico_caldaie">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="L4_1numGT" type="numIntero"/>
     
<xs:element name="matricolaDismesso" type="xs:string"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element impianto/scheda_4_generatori/gruppotermico_caldaie/L4_1numGT
diagram api_call_6_diagrams/api_call_6_p40.png
namespace api_call_6
type numIntero
properties
content simple
facets
Kind Value Annotation
minInclusive 0
maxInclusive 2000000000
source <xs:element name="L4_1numGT" type="numIntero"/>

element impianto/scheda_4_generatori/gruppotermico_caldaie/matricolaDismesso
diagram api_call_6_diagrams/api_call_6_p41.png
namespace api_call_6
type xs:string
properties
content simple
source <xs:element name="matricolaDismesso" type="xs:string"/>

element impianto/scheda_4_generatori/gruppofrigo
diagram api_call_6_diagrams/api_call_6_p42.png
namespace api_call_6
properties
content complex
children L4_4numGF matricolaDismesso
source <xs:element name="gruppofrigo">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="L4_4numGF" type="numIntero"/>
     
<xs:element name="matricolaDismesso" type="xs:string"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element impianto/scheda_4_generatori/gruppofrigo/L4_4numGF
diagram api_call_6_diagrams/api_call_6_p43.png
namespace api_call_6
type numIntero
properties
content simple
facets
Kind Value Annotation
minInclusive 0
maxInclusive 2000000000
source <xs:element name="L4_4numGF" type="numIntero"/>

element impianto/scheda_4_generatori/gruppofrigo/matricolaDismesso
diagram api_call_6_diagrams/api_call_6_p44.png
namespace api_call_6
type xs:string
properties
content simple
source <xs:element name="matricolaDismesso" type="xs:string"/>

element impianto/scheda_4_generatori/scambiatore
diagram api_call_6_diagrams/api_call_6_p45.png
namespace api_call_6
properties
content complex
children L4_5numSC matricolaDismesso
source <xs:element name="scambiatore">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="L4_5numSC" type="numIntero"/>
     
<xs:element name="matricolaDismesso" type="xs:string"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element impianto/scheda_4_generatori/scambiatore/L4_5numSC
diagram api_call_6_diagrams/api_call_6_p46.png
namespace api_call_6
type numIntero
properties
content simple
facets
Kind Value Annotation
minInclusive 0
maxInclusive 2000000000
source <xs:element name="L4_5numSC" type="numIntero"/>

element impianto/scheda_4_generatori/scambiatore/matricolaDismesso
diagram api_call_6_diagrams/api_call_6_p47.png
namespace api_call_6
type xs:string
properties
content simple
source <xs:element name="matricolaDismesso" type="xs:string"/>

element impianto/scheda_4_generatori/cogeneratore
diagram api_call_6_diagrams/api_call_6_p48.png
namespace api_call_6
properties
content complex
children L4_6numCG matricolaDismesso
source <xs:element name="cogeneratore">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="L4_6numCG" type="numIntero"/>
     
<xs:element name="matricolaDismesso" type="xs:string"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element impianto/scheda_4_generatori/cogeneratore/L4_6numCG
diagram api_call_6_diagrams/api_call_6_p49.png
namespace api_call_6
type numIntero
properties
content simple
facets
Kind Value Annotation
minInclusive 0
maxInclusive 2000000000
source <xs:element name="L4_6numCG" type="numIntero"/>

element impianto/scheda_4_generatori/cogeneratore/matricolaDismesso
diagram api_call_6_diagrams/api_call_6_p50.png
namespace api_call_6
type xs:string
properties
content simple
source <xs:element name="matricolaDismesso" type="xs:string"/>

element impianto/scheda_4_generatori/solaretermico
diagram api_call_6_diagrams/api_call_6_p51.png
namespace api_call_6
properties
content complex
children L4_7numCS
source <xs:element name="solaretermico">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="L4_7numCS" type="numIntero"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element impianto/scheda_4_generatori/solaretermico/L4_7numCS
diagram api_call_6_diagrams/api_call_6_p52.png
namespace api_call_6
type numIntero
properties
content simple
facets
Kind Value Annotation
minInclusive 0
maxInclusive 2000000000
source <xs:element name="L4_7numCS" type="numIntero"/>

element impianto/scheda_4_generatori/altrigeneratori
diagram api_call_6_diagrams/api_call_6_p53.png
namespace api_call_6
properties
content complex
children L4_8numAG matricolaDismesso
source <xs:element name="altrigeneratori">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="L4_8numAG" type="numIntero"/>
     
<xs:element name="matricolaDismesso" type="xs:string"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element impianto/scheda_4_generatori/altrigeneratori/L4_8numAG
diagram api_call_6_diagrams/api_call_6_p54.png
namespace api_call_6
type numIntero
properties
content simple
facets
Kind Value Annotation
minInclusive 0
maxInclusive 2000000000
source <xs:element name="L4_8numAG" type="numIntero"/>

element impianto/scheda_4_generatori/altrigeneratori/matricolaDismesso
diagram api_call_6_diagrams/api_call_6_p55.png
namespace api_call_6
type xs:string
properties
content simple
source <xs:element name="matricolaDismesso" type="xs:string"/>

simpleType anno
namespace api_call_6
type restriction of xs:integer
properties
base xs:integer
facets
Kind Value Annotation
minExclusive 1900
maxExclusive 2100
source <xs:simpleType name="anno">
 
<xs:restriction base="xs:integer">
   
<xs:minExclusive value="1900"/>
   
<xs:maxExclusive value="2100"/>
 
</xs:restriction>
</xs:simpleType>

simpleType CAP
namespace api_call_6
type restriction of xs:string
properties
base xs:string
facets
Kind Value Annotation
length 5
pattern [0-9]{5}
source <xs:simpleType name="CAP">
 
<xs:restriction base="xs:string">
   
<xs:length value="5"/>
   
<xs:pattern value="[0-9]{5}"/>
 
</xs:restriction>
</xs:simpleType>

simpleType codice_fiscale
namespace api_call_6
type restriction of xs:string
properties
base xs:string
facets
Kind Value Annotation
pattern [0-9]{11}
pattern [A-Z]{6}[0-9LMNPQRSTUV]{2}[ABCDEHLMPRST][0-9LMNPQRSTUV]{2}[A-Z][0-9LMNPQRSTUV]{3}[A-Z]
annotation
documentation
Definizione secondo definizione AGID
source <xs:simpleType name="codice_fiscale">
 
<xs:annotation>
   
<xs:documentation>Definizione secondo definizione AGID</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:pattern value="[0-9]{11}"/>
   
<xs:pattern value="[A-Z]{6}[0-9LMNPQRSTUV]{2}[ABCDEHLMPRST][0-9LMNPQRSTUV]{2}[A-Z][0-9LMNPQRSTUV]{3}[A-Z]"/>
 
</xs:restriction>
</xs:simpleType>

simpleType data
namespace api_call_6
type restriction of xs:date
properties
base xs:date
used by
element api_call_6/L1_1dataIntervento
facets
Kind Value Annotation
minInclusive 1900-01-01
maxInclusive 2100-12-31
source <xs:simpleType name="data">
 
<xs:restriction base="xs:date">
   
<xs:minInclusive value="1900-01-01"/>
   
<xs:maxInclusive value="2100-12-31"/>
 
</xs:restriction>
</xs:simpleType>

simpleType decimale1
namespace api_call_6
type restriction of xs:decimal
properties
base xs:decimal
used by
elements impianto/scheda_1_dati_identificativi_impianto/L1_2volLordoRaffr impianto/scheda_1_dati_identificativi_impianto/L1_2volLordoRisc impianto/scheda_1_dati_identificativi_impianto/L1_3potUtileACS impianto/scheda_1_dati_identificativi_impianto/L1_3potUtileClimaEst impianto/scheda_1_dati_identificativi_impianto/L1_3potUtileClimaInv impianto/scheda_1_dati_identificativi_impianto/L1_5potUtile impianto/scheda_1_dati_identificativi_impianto/L1_5superfLordaTot
facets
Kind Value Annotation
minInclusive -2000000000
maxInclusive 2000000000
fractionDigits 1
source <xs:simpleType name="decimale1">
 
<xs:restriction base="xs:decimal">
   
<xs:fractionDigits value="1"/>
   
<xs:minInclusive value="-2000000000"/>
   
<xs:maxInclusive value="2000000000"/>
 
</xs:restriction>
</xs:simpleType>

simpleType intervento
namespace api_call_6
type restriction of xs:integer
properties
base xs:integer
used by
element api_call_6/L1_1tipoIntervento
facets
Kind Value Annotation
minInclusive 1
maxInclusive 4
annotation
documentation

                        Le tipologie di intervento sono indicate in scheda 1:
                        1 = nuova installazione
                        2 = ristrutturazione
                        3 = compilazione libretto esistente (digitalizzazione di libretto cartaceo)
                        4 = sostituzione
                       
source <xs:simpleType name="intervento">
 
<xs:annotation>
   
<xs:documentation>
                        Le tipologie di intervento sono indicate in scheda 1:
                        1 = nuova installazione
                        2 = ristrutturazione
                        3 = compilazione libretto esistente (digitalizzazione di libretto cartaceo)
                        4 = sostituzione
                       
</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:integer">
   
<xs:minInclusive value="1"/>
   
<xs:maxInclusive value="4"/>
 
</xs:restriction>
</xs:simpleType>

simpleType numIntero
namespace api_call_6
type restriction of xs:integer
properties
base xs:integer
used by
elements impianto/scheda_4_generatori/gruppotermico_caldaie/L4_1numGT impianto/scheda_4_generatori/gruppofrigo/L4_4numGF impianto/scheda_4_generatori/scambiatore/L4_5numSC impianto/scheda_4_generatori/cogeneratore/L4_6numCG impianto/scheda_4_generatori/solaretermico/L4_7numCS impianto/scheda_4_generatori/altrigeneratori/L4_8numAG
facets
Kind Value Annotation
minInclusive 0
maxInclusive 2000000000
source <xs:simpleType name="numIntero">
 
<xs:restriction base="xs:integer">
   
<xs:minInclusive value="0"/>
   
<xs:maxInclusive value="2000000000"/>
 
</xs:restriction>
</xs:simpleType>

simpleType partita_IVA
namespace api_call_6
type restriction of xs:string
properties
base xs:string
facets
Kind Value Annotation
length 11
pattern [0-9]{11}
source <xs:simpleType name="partita_IVA">
 
<xs:restriction base="xs:string">
   
<xs:length value="11"/>
   
<xs:pattern value="[0-9]{11}"/>
 
</xs:restriction>
</xs:simpleType>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy