e.Toscana 
Compliance Request for Comments: xxxxx
Del: xx/yy/zzzz 
Categoria: Applicativa
Destinatari: Regione Toscana, Amministrazioni locali 


Trasmissione dati da ARTEA (Agenzia Regionale Toscana per le Erogazioni in Agricoltura) 


Indice 
------
1. Contesto di riferimento	
2. Obiettivi	
3. Analisi 
4. Prodotti attesi
5. Bibliografia


1. Contesto di riferimento
==========================
Artea  l'Agenzia Regionale Toscana per le Erogazioni in Agricoltura. Le informazioni presenti in agenzia
vengono propagate secondo il modello ad eventi via CART ai vari sottoscrittori.
Tale trasmissione  effettuata su protocollo sicuro con mutua autenticazione.
Artea pubblica e certifica i dati trasmessi al CART.

2. Obiettivi
============ 

L'obiettivo di questa RFC  quello di descrivere le caratteristiche dei
messaggi che vengono inviati da Artea ai vari sottoscrittori via CART.

3. Analisi 
==========

3.1 Tipologia delle informazioni trasmesse
------------------------------------------------------------------------------
Le informazioni trasmesse possono essere in prima battuta suddivise nelle seguenti macro-categorie:

- Aziende.
Informazioni anagrafiche relative alle Aziende che hanno presentato istanza per qualsiasi forma di agevolazione
pubblica presso ARTEA. Contiene informazioni strutturali provenienti per lo pi da fonti amministrative
(Interscambio ws con Anagrafe Tributaria,  Camera di Commercio).
Contiene altres gli albi IAP (Imprenditore Agricolo Professionale) e del biologico.

- Ute.
Informazioni strutturali relative alle Unit Tecniche Economiche (UTE)o Unit Locali di Impresa (ULI) della Aziende. Contiene i dati di superficie provenienti da Catasto con alcune
caratteristiche significative (zone svantaggiate, Aree vulnerabili ai nitrati ZVN,Siti di Importanza comunitaria (SIR), Siti di Importanza Regionale (SIR), Aree protette, Aree di Protezione speciale (ZPS))
ed i dati di reddito lordo standard vegetale ed animale (RLS).

- Dua.
Informazioni relative alle istanze presentate con Dichiarazione Unica Aziendale (DUA).

- InfoPar.
Sezione dedicata al Piano Agricolo Regionale (PAR). Rappresenta liter amministrativo che intercorre
tra le domande presentate a valere sul PAR e le domande pagate e contiene gli elementi principali di riferimento

- InfoPriorita.
Contiene gli elementi di calcolo (priorit) che determinano il corretto posizionamento di una domanda
in graduatoria sul PSR.

- ProgettoIntervento.
Contiene la descrizione dei progetti  in termini degli interventi delineati

- RichiestoConcesso.
Rappresenta la prima fase di vita amministrativa di una domanda di finanziamento a valere sul PSR
(presentazione delle istanze e sua ammissione con atto di assegnazione).

- RinnovoPagato.
Rappresenta la seconda fase di vita amministrativa di una domanda di finanziamento a valere sul PSR
(rinnovi e pagamento) e contiene la trasmissione dei dati di programmazione finanziaria (ripartiti per misura ed ente competente)

- Decodifica.
Tabelle di decodifica dei parametri inseriti in altri schemi rappresentanti ad esempio le tipologie di aiuto richieste
(idtipoparametro) e/o gli enti amministrativi (Province, Comunit Montane, Unioni di Comuni).


3.2 Schema XML della sezione Aziende.
---------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

	<xs:element name="infoAziende">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="azienda" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="aziendaDelete" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="iap" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="iapDelete" type="iapChiave" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="composizioneAziendale" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="composizioneAziendaleDelete" type="composizioneAziendaleChiave" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="ateco" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="atecoDelete" type="atecoChiave" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="biologico" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="biologicoDelete" type="biologicoChiave" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="zootecnia" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="zootecniaDelete" type="zootecniaChiave" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="codiceFiscale" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="progressivo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:int">
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
		</xs:complexType>
	</xs:element>
	
	<xs:element name="azienda">
		<xs:annotation>
			<xs:documentation>
				dati relativi all'azienda
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="idAzienda" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="comuneSede" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="provinciaSede" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="comuneRecapito" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="provinciaRecapito" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="idNatura" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="descIdNaturaFormaGiuridica" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="sessoConduttore" type="sesso" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="dataNascitaConduttore" minOccurs="0" maxOccurs="1" type="xs:date"></xs:element>
			<xs:element name="numeroIscrizioneCCIAA_RIA" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="dataIscrizioneCCIAA" minOccurs="0" maxOccurs="1" type="xs:date"></xs:element>
			<xs:element name="provinciaIscrizioneCCIAA" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="numeroIscrizioneCCIAA_REA" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="dataFineValidita" minOccurs="0" maxOccurs="1" type="xs:date"></xs:element>
			<xs:element name="gruppoAzioneLocale" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="dimensioneAziendale" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  
  
  <xs:element name="aziendaDelete">
		<xs:annotation>
			<xs:documentation>
				dati relativi all'azienda da cancellare. In particolare basta l'id dell'azienda
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="idAzienda" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
		</xs:sequence>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="codiceFiscale">
		<xs:annotation>
			<xs:documentation>
				dati relativi al codice fiscale dell'azienda
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="idAzienda" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="codiceFiscaleAzienda" type="cfAzienda" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element ref="ragioneSociale" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="indirizzoSede" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="indirizzoRecapito" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
		</xs:sequence>
	</xs:complexType>
  </xs:element>
  
  
  <xs:complexType name="zootecniaChiave">
	<xs:annotation>
			<xs:documentation>
				chiave logica dell'elemento zootecnia
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="idAzienda" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="annoCampagna" minOccurs="1" maxOccurs="1" type="xs:int"></xs:element>
			<xs:element name="capoId" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="codIntervento" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
		</xs:sequence>
	</xs:complexType>
  
  
  <xs:complexType name="biologicoChiave">
	<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento certificazione biologica
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="idAzienda" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="dataUltimaIscrizione" minOccurs="1" maxOccurs="1" type="xs:date"></xs:element>
			<xs:element name="operatore" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="sezioneSottosezione" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="riscrizione" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="dataPrimaIscrizione" type="xs:date" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="decretoArsia" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="dataScadenzaDocumento" type="xs:date" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="osservazioni" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
	</xs:complexType>
  
  <xs:complexType name="atecoChiave">
	<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento codifica ATECO
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="idAzienda" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="codAteco" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
		</xs:sequence>
	</xs:complexType>
  
  <xs:complexType name="iapChiave">
	<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento IAP
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="idAzienda" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="provvisorio" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="decorrenza" minOccurs="1" maxOccurs="1" type="xs:date"></xs:element>
			<xs:element name="osservazioni" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="cfIAPRiferimento" type="cfPersona" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="composizioneAziendaleChiave">
	<xs:annotation>
			<xs:documentation>
				chiave logica dell'elemento composizione aziendale
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="idAzienda" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="codiceFiscalePersona" type="cfPersona" minOccurs="1" maxOccurs="1" ></xs:element>
			<xs:element name="ruolo" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
		</xs:sequence>
	</xs:complexType>
  
  <xs:element name="iap">
		<xs:annotation>
			<xs:documentation>
				dati relativi all'IAP (Imprenditore Agricolo Professionale)
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoIAP" type="iapChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="ente" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="tipo" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="dataAcquisizioneInfo" type="xs:date" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="zootecnia">
		<xs:annotation>
			<xs:documentation>
				dati relativi all'elemento zootecnia
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoZootecnia" type="zootecniaChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="allevId" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="descrizioneIntervento" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="matricolaCapo" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="sesso" type="sesso" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="dataNascita" type="xs:date" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="razzaCodice" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="DTInizioDetenzione" type="xs:date" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="DTFineDetenzione" type="xs:date" minOccurs="0" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  
  <xs:element name="biologico">
		<xs:annotation>
			<xs:documentation>
				dati relativi all'elemento certificazione biologica
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoBiologico" type="biologicoChiave" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="ateco">
		<xs:annotation>
			<xs:documentation>
				dati relativi alla codifica ATECO
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoATECO" type="atecoChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="descrizione" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="importanza" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="composizioneAziendale">
		<xs:annotation>
			<xs:documentation>
				dati relativi alla composizione aziendale
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoComposizioneAziendale" type="composizioneAziendaleChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="cognomeNome" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="dataNascita" type="xs:date" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="sessoPersona" type="sesso" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
		
	<xs:simpleType name="cfAzienda">
	<xs:annotation>
			<xs:documentation>
				Codice fiscale dell'azienda
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="11"></xs:length>
			<xs:pattern value="\d{11}"></xs:pattern>
		</xs:restriction>
	</xs:simpleType>
	
	<xs:element name="ragioneSociale">
		<xs:annotation>
			<xs:documentation>
				ragione sociale dell'azienda
			</xs:documentation>
		</xs:annotation>
		<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
		</xs:restriction>
		</xs:simpleType>
	</xs:element>
	
	<xs:complexType name="locazione">
			<xs:annotation>
			<xs:documentation>
				locazione geografica (provincia, comune,via)
			</xs:documentation>
		</xs:annotation>
			<xs:sequence>
				<xs:element name="provincia" minOccurs="1" maxOccurs="1" type="xs:string"/>
				<xs:element name="comune" minOccurs="1" maxOccurs="1" type="xs:string"/>
				<xs:element name="indirizzo" minOccurs="1" maxOccurs="1" type="xs:string"/>
			</xs:sequence>
	</xs:complexType>
	
		<xs:simpleType name ="sesso">
		  <xs:annotation>
			<xs:documentation>
				sesso della persona (Maschio, Femmina)
			</xs:documentation>
		</xs:annotation>
					<xs:restriction base="xs:string">
						<xs:pattern value="M|F"/>
					</xs:restriction>
		</xs:simpleType>

<xs:simpleType name="cfPersona">
		<xs:annotation>
			<xs:documentation>
				Codice fiscale della persona fisica
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="16"></xs:length>
			<xs:pattern
				value="[A-Za-z]{6}\d{2}[A-Za-z]{1}\d{2}[A-Za-z]{1}\d{3}[A-Za-z]{1}">
			</xs:pattern>
		</xs:restriction>
</xs:simpleType>
  
</xs:schema>

3.3 Esempio di XML della sezione Aziende
---------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<infoAziende progressivo="12" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="aziende.xsd" >
  <azienda modo="inserimento">
    <idAzienda>idAzienda</idAzienda>
    <idNatura>idNatura</idNatura>
    <descIdNaturaFormaGiuridica>descIdNaturaFormaGiuridica</descIdNaturaFormaGiuridica>
    <sessoConduttore>M</sessoConduttore>
    <dataNascitaConduttore>2001-01-01</dataNascitaConduttore>
    <numeroIscrizioneCCIAA_RIA>numeroIscrizioneCCIAA_RIA</numeroIscrizioneCCIAA_RIA>
    <dataIscrizioneCCIAA>2001-01-01</dataIscrizioneCCIAA>
    <provinciaIscrizioneCCIAA>provinciaIscrizioneCCIAA</provinciaIscrizioneCCIAA>
    <numeroIscrizioneCCIAA_REA>numeroIscrizioneCCIAA_REA</numeroIscrizioneCCIAA_REA>
    <dataFineValidita>2001-01-01</dataFineValidita>
    <gruppoAzioneLocale>gruppoAzioneLocale</gruppoAzioneLocale>
    <dimensioneAziendale>dimensioneAziendale</dimensioneAziendale>
  </azienda>
  <aziendaDelete>
    <idAzienda>idAzienda</idAzienda>
  </aziendaDelete>
  <iap modo="inserimento">
    <identificativoIAP>
      <idAzienda>idAzienda</idAzienda>
      <provvisorio>provvisorio</provvisorio>
      <decorrenza>2001-01-01</decorrenza>
      <osservazioni>osservazioni</osservazioni>
      <cfIAPRiferimento>grmmrc68d13d612e</cfIAPRiferimento>
    </identificativoIAP>
    <ente>ente</ente>
    <tipo>tipo</tipo>
    <dataAcquisizioneInfo>2001-01-01</dataAcquisizioneInfo>
  </iap>
  <iapDelete>
    <idAzienda>idAzienda</idAzienda>
    <provvisorio>provvisorio</provvisorio>
    <decorrenza>2001-01-01</decorrenza>
    <osservazioni>osservazioni</osservazioni>
    <cfIAPRiferimento>grmmrc68d13d612e</cfIAPRiferimento>
  </iapDelete>
  <composizioneAziendale modo="modifica">
    <identificativoComposizioneAziendale>
      <idAzienda>idAzienda</idAzienda>
      <codiceFiscalePersona>grmmrc68d13d612e</codiceFiscalePersona>
      <ruolo>ruolo</ruolo>
    </identificativoComposizioneAziendale>
    <cognomeNome>cognomeNome</cognomeNome>
    <dataNascita>2001-01-01</dataNascita>
    <sessoPersona>F</sessoPersona>
  </composizioneAziendale>
  <composizioneAziendaleDelete>
    <idAzienda>idAzienda</idAzienda>
    <codiceFiscalePersona>grmmrc68d13d612e</codiceFiscalePersona>
    <ruolo>ruolo</ruolo>
  </composizioneAziendaleDelete>
  <ateco modo="inserimento">
    <identificativoATECO>
      <idAzienda>idAzienda</idAzienda>
      <codAteco>codAteco</codAteco>
    </identificativoATECO>
    <descrizione>descrizione</descrizione>
    <importanza>importanza</importanza>
  </ateco>
  <atecoDelete>
    <idAzienda>idAzienda</idAzienda>
    <codAteco>codAteco</codAteco>
  </atecoDelete>
  <biologico modo="modifica">
    <identificativoBiologico>
      <idAzienda>idAzienda</idAzienda>
      <dataUltimaIscrizione>2001-01-01</dataUltimaIscrizione>
      <operatore>operatore</operatore>
	  <sezioneSottosezione>sezioneSottosezione</sezioneSottosezione>
	  <riscrizione>riscrizione</riscrizione>
	  <dataPrimaIscrizione>2001-01-01</dataPrimaIscrizione>
	  <decretoArsia>decretoArsia</decretoArsia>
	  <dataScadenzaDocumento>2001-01-01</dataScadenzaDocumento>
	  <osservazioni>osservazioni</osservazioni>
    </identificativoBiologico>
  </biologico>
  <biologicoDelete>
    <idAzienda>idAzienda</idAzienda>
    <dataUltimaIscrizione>2001-01-01</dataUltimaIscrizione>
    <operatore>operatore</operatore>
    <sezioneSottosezione>sezioneSottosezione</sezioneSottosezione>
    <riscrizione>riscrizione</riscrizione>
    <dataPrimaIscrizione>2001-01-01</dataPrimaIscrizione>
    <decretoArsia>decretoArsia</decretoArsia>
    <dataScadenzaDocumento>2001-01-01</dataScadenzaDocumento>
    <osservazioni>osservazioni</osservazioni>
  </biologicoDelete>
  <zootecnia modo="inserimento">
    <identificativoZootecnia>
      <idAzienda>idAzienda</idAzienda>
      <annoCampagna>2005</annoCampagna>
      <capoId>capoId</capoId>
      <codIntervento>codIntervento</codIntervento>
    </identificativoZootecnia>
    <allevId>allevId</allevId>
    <descrizioneIntervento>descrizioneIntervento</descrizioneIntervento>
    <matricolaCapo>matricolaCapo</matricolaCapo>
    <sesso>M</sesso>
    <dataNascita>2001-01-01</dataNascita>
    <razzaCodice>razzaCodice</razzaCodice>
    <DTInizioDetenzione>2001-01-01</DTInizioDetenzione>
    <DTFineDetenzione>2001-01-01</DTFineDetenzione>
  </zootecnia>
  <zootecniaDelete>
    <idAzienda>idAzienda</idAzienda>
    <annoCampagna>2008</annoCampagna>
    <capoId>capoId</capoId>
    <codIntervento>codIntervento</codIntervento>
  </zootecniaDelete>
</infoAziende>

3.4 Schema XML della sezione Decodifica.
---------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

	<xs:element name="infoDecodifica">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="origineDati" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="origineDatiDelete" type="xs:string" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation><xs:documentation>identificativo (chiave logica) dell' elemento origine dati</xs:documentation></xs:annotation>
				</xs:element>
				<xs:element ref="tipoParametro" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="tipoParametroDelete" type="xs:string" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation><xs:documentation>identificativo (chiave logica) dell' elemento tipo parametro</xs:documentation></xs:annotation>
				</xs:element>
				<xs:element ref="codEnte" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="codEnteDelete" type="xs:string" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation><xs:documentation>identificativo (chiave logica) dell' elemento ente</xs:documentation></xs:annotation>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="progressivo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:int">
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
		</xs:complexType>
	</xs:element>
	
	<xs:element name="origineDati">
		<xs:annotation>
			<xs:documentation>
				decodifica dell' elemento origine dati
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="idOrigineDato" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="descrizione" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="osservazioni" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="tipoParametro">
		<xs:annotation>
			<xs:documentation>
				decodifica dell' elemento tipo parametro
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="idTipoParametro" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="descrizione" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="codEnte">
		<xs:annotation>
			<xs:documentation>
				decodifica dell' elemento ente
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="idEnte" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="descrEnte" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
</xs:schema>

3.5 Esempio di XML della sezione Decodifica.
---------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<infoDecodifica progressivo="0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="decodifica.xsd">
  <origineDati modo="inserimento">
    <idOrigineDato>idOrigineDato</idOrigineDato>
    <descrizione>descrizione</descrizione>
    <osservazioni>osservazioni</osservazioni>
  </origineDati>
  <origineDatiDelete>origineDatiDelete</origineDatiDelete>
  <tipoParametro modo="inserimento">
    <idTipoParametro>idTipoParametro</idTipoParametro>
    <descrizione>descrizione</descrizione>
  </tipoParametro>
  <tipoParametroDelete>tipoParametroDelete</tipoParametroDelete>
  <codEnte modo="inserimento">
    <idEnte>idEnte</idEnte>
    <descrEnte>descrEnte</descrEnte>
  </codEnte>
  <codEnteDelete>codEnteDelete</codEnteDelete>
</infoDecodifica>

3.6 Schema XML della sezione Dua.
---------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

	<xs:element name="infoDua">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="dua" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="duaDelete" type="duaChiave" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="domandaIstruttoria" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="domandaIstruttoriaDelete" type="domandaIstruttoriaChiave" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="domandaInChiaro" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="domandaInChiaroDelete" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="dataPresentazioneDua" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="dataPresentazioneDuaDelete" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="progressivo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:int">
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
		</xs:complexType>
	</xs:element>
	
	<xs:complexType name="domandaIstruttoriaChiave">
		<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento domanda istruttoria
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="nDomandaIstruttoria" type="xs:int" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="tipoIstruttoria" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="idTipoParametro" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
  </xs:complexType>
	
	<xs:complexType name="duaChiave">
		<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento dua
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="idTipoParametro" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="idDomandaDua" type="xs:int" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
  </xs:complexType>
  
  <xs:element name="dua">
		<xs:annotation>
			<xs:documentation>
				dati relativi all' elemento DUA
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoDua" type="duaChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="idAzienda" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idTipoDomanda" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="modalitaFirma" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="anno" type="xs:int" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="flagApprovazione" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="opportunitaDua" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="domandaIstruttoria">
		<xs:annotation>
			<xs:documentation>
				dati relativi all' elemento domanda Istruttoria
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoDomandaIstruttoria" type="domandaIstruttoriaChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="idDomandaDua" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idUte" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="flagApprovazione" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="domandaInChiaro">
		<xs:annotation>
			<xs:documentation>
				dati relativi all' elemento domanda in chiaro
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoNumerico" type="xs:int" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="nDomanda" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idTipoDomanda" type="xs:int" minOccurs="0" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="domandaInChiaroDelete">
		<xs:annotation>
			<xs:documentation>
				dati relativi alla cancellazione della domanda in chiaro
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoNumerico" type="xs:int" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="dataPresentazioneDua">
		<xs:annotation>
			<xs:documentation>
				dati relativi alla data presentazione DUA
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="idDomandaDua" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="dataRicezioneOp" type="xs:date" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="dataPresentazioneDuaDelete">
		<xs:annotation>
			<xs:documentation>
				dati relativi alla cancellazione data presentazione DUA
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="idDomandaDua" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
	</xs:complexType>
  </xs:element>
</xs:schema>

3.7 Esempio di XML della sezione Dua.
---------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<infoDua progressivo="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="dua.xsd">
  <dua modo="inserimento">
    <identificativoDua>
      <idTipoParametro>idTipoParametro</idTipoParametro>
      <idDomandaDua>123</idDomandaDua>
    </identificativoDua>
    <idAzienda>idAzienda</idAzienda>
    <idTipoDomanda>idTipoDomanda</idTipoDomanda>
    <modalitaFirma>modalitaFirma</modalitaFirma>
    <anno>2009</anno>
    <flagApprovazione>flagApprovazione</flagApprovazione>
    <opportunitaDua>opportunitaDua</opportunitaDua>
  </dua>
  <duaDelete>
    <idTipoParametro>idTipoParametro</idTipoParametro>
    <idDomandaDua>456</idDomandaDua>
  </duaDelete>
  <domandaIstruttoria modo="inserimento">
    <identificativoDomandaIstruttoria>
      <nDomandaIstruttoria>789</nDomandaIstruttoria>
      <tipoIstruttoria>tipoIstruttoria</tipoIstruttoria>
      <idTipoParametro>idTipoParametro</idTipoParametro>
    </identificativoDomandaIstruttoria>
    <idUte>idUte</idUte>
    <flagApprovazione>flagApprovazione</flagApprovazione>
  </domandaIstruttoria>
  <domandaIstruttoriaDelete>
    <nDomandaIstruttoria>901</nDomandaIstruttoria>
    <tipoIstruttoria>tipoIstruttoria</tipoIstruttoria>
    <idTipoParametro>idTipoParametro</idTipoParametro>
  </domandaIstruttoriaDelete>
</infoDua>

3.8 Schema XML della sezione infoPar.
---------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

	<xs:element name="infoPar">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="pagatoPar" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="pagatoParDelete" type="pagatoParChiave" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="assegnazioneAnticipoSaldoPar" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="assegnazioneAnticipoSaldoParDelete" type="assegnazioneAnticipoSaldoParChiave" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="progressivo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:int">
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
		</xs:complexType>
	</xs:element>
	
	
	<xs:complexType name="assegnazioneAnticipoSaldoParChiave">
		<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento Assegnazione Anticipo Saldo Par
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="nDomandaIstruttoria" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
  </xs:complexType>
  
  <xs:complexType name="pagatoParChiave">
		<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento pagato PAR
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="nDomandaIstruttoria" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="dataQuietanza" type="xs:date" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
  </xs:complexType>
	
	
  
  <xs:element name="pagatoPar">
		<xs:annotation>
			<xs:documentation>
				dati relativi all' elemento pagato PAR
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoPagatoPar" type="pagatoParChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="idUte" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="codAzione" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idDomandaDUA" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idTipoDomandaIstruttoria" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="anno" type="xs:int" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idEnte" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idAzienda" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="importoPagato" type="xs:decimal" minOccurs="0" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="assegnazioneAnticipoSaldoPar">
		<xs:annotation>
			<xs:documentation>
				dati relativi all' elemento assegnazione anticipo saldo PAR
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoAssegnazioneAnticipoSaldoPar" type="assegnazioneAnticipoSaldoParChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="idUte" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="codAzione" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idAzienda" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idDomandaDUA" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idTipoParametro" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="liquidato" type="xs:decimal" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="assegnato" type="xs:decimal" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="numeroDecretoPar" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="dataDecretoPar" type="xs:date" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="descrizione" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
</xs:schema>

3.9 Esempio di XML della sezione infoPar.
---------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<infoPar progressivo="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="infoPar.xsd">
  <pagatoPar modo="inserimento">
    <identificativoPagatoPar>
      <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
      <dataQuietanza>2001-01-01</dataQuietanza>
    </identificativoPagatoPar>
    <idUte>idute</idUte>
    <codAzione>codAzione</codAzione>
    <idDomandaDUA>idDomandaDUA</idDomandaDUA>
    <idTipoDomandaIstruttoria>idTipoDomandaIstruttoria</idTipoDomandaIstruttoria>
    <anno>2008</anno>
    <idEnte>idEnte</idEnte>
    <idAzienda>idAzienda</idAzienda>
    <importoPagato>1234</importoPagato>
  </pagatoPar>
  <pagatoParDelete>
    <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
    <dataQuietanza>2001-10-28</dataQuietanza>
  </pagatoParDelete>
  <assegnazioneAnticipoSaldoPar modo="modifica">
    <identificativoAssegnazioneAnticipoSaldoPar>
      <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
    </identificativoAssegnazioneAnticipoSaldoPar>
    <idUte>idute</idUte>
    <codAzione>codAzione</codAzione>
    <idAzienda>idAzienda</idAzienda>
    <idDomandaDUA>idDomandaDUA</idDomandaDUA>
    <idTipoParametro>idTipoParametro</idTipoParametro>
    <liquidato>567</liquidato>
    <assegnato>890</assegnato>
    <numeroDecretoPar>numeroDecretoPar</numeroDecretoPar>
    <dataDecretoPar>2001-11-18</dataDecretoPar>
  </assegnazioneAnticipoSaldoPar>
  <assegnazioneAnticipoSaldoParDelete>
    <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
  </assegnazioneAnticipoSaldoParDelete>
</infoPar>

3.10 Schema XML della sezione infoPriorita.
---------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

	<xs:element name="infoPriorita">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="prioritaPSRC" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="prioritaPSRCDelete" type="prioritaPSRCChiave" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="prioritaPSRNoC" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="prioritaPSRNoCDelete" type="prioritaPSRNoCChiave" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="progressivo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:int">
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
		</xs:complexType>
	</xs:element>
	
	
	<xs:complexType name="prioritaPSRCChiave">
		<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento prioritaPSRC
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="codice" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="dataCalcolo" type="xs:date" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="nDomandaIstruttoria" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
  </xs:complexType>
  
  <xs:complexType name="prioritaPSRNoCChiave">
		<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento prioritaPSRNoC
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="codice" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="nDomandaIstruttoria" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
  </xs:complexType>
	
	
  
  <xs:element name="prioritaPSRC">
		<xs:annotation>
			<xs:documentation>
				dati relativi all' elemento prioritaPSRC
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoPrioritaPSRC" type="prioritaPSRCChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="priorita" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="gruppoAlternativo" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="massimaPrimario" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="massimaSecondario" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="punti" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
 <xs:element name="prioritaPSRNoC">
		<xs:annotation>
			<xs:documentation>
				dati relativi all' elemento prioritaPSRNoC
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoPrioritaPSRNoC" type="prioritaPSRNoCChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="priorita" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="gruppoAlternativo" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="massimaPrimario" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="massimaSecondario" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="punti" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="dataCalcolo" type="xs:date" minOccurs="0" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
</xs:schema>

3.11 Esempio di XML della sezione infoPriorita.
---------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<infoPriorita progressivo="3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="infoPriorita.xsd">
  <prioritaPSRC modo="inserimento">
    <identificativoPrioritaPSRC>
      <codice>codice</codice>
      <dataCalcolo>2001-01-21</dataCalcolo>
      <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
    </identificativoPrioritaPSRC>
    <priorita>priorita</priorita>
    <gruppoAlternativo>gruppoAlternativo</gruppoAlternativo>
    <massimaPrimario>massimaPrimario</massimaPrimario>
    <massimaSecondario>massimaSecondario</massimaSecondario>
    <punti>punti</punti>
  </prioritaPSRC>
  <prioritaPSRCDelete>
  	<codice>codice</codice>
    <dataCalcolo>2001-01-23</dataCalcolo>
    <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
  </prioritaPSRCDelete>
  <prioritaPSRNoC modo="inserimento">
    <identificativoPrioritaPSRNoC>
      <codice>codice</codice>
      <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
    </identificativoPrioritaPSRNoC>
    <priorita>priorita</priorita>
    <gruppoAlternativo>gruppoAlternativo</gruppoAlternativo>
    <massimaPrimario>massimaPrimario</massimaPrimario>
    <massimaSecondario>massimaSecondario</massimaSecondario>
    <punti>punti</punti>
    <dataCalcolo>2001-01-24</dataCalcolo>
  </prioritaPSRNoC>
  <prioritaPSRNoCDelete>
    <codice>codice</codice>
    <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
  </prioritaPSRNoCDelete>
</infoPriorita>

3.12 Schema XML della sezione progettoIntervento.
---------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

	<xs:element name="infoProgettoIntervento">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="progettoIntervento" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="progettoInterventoDelete" type="progettoInterventoChiave" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="progressivo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:int">
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
		</xs:complexType>
	</xs:element>
	
	
	<xs:complexType name="progettoInterventoChiave">
		<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento progetto intervento
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="nDomanda" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="cupArtea" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="intervento" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="tipo" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="istatComuneIntervento" type="codIstatComune" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
  </xs:complexType>
  
  <xs:element name="progettoIntervento">
		<xs:annotation>
			<xs:documentation>
				dati relativi all' elemento progetto intervento
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoProgettoIntervento" type="progettoInterventoChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="importo" type="xs:decimal" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
		</xs:complexType>
  </xs:element>
  
  <xs:simpleType name="codIstatComune">
		<xs:restriction base="xs:string">
			<xs:length value="6"></xs:length>
			<xs:pattern value="\d{6}"></xs:pattern>
		</xs:restriction>
  </xs:simpleType>
</xs:schema>

3.13 Esempio di XML della sezione progettoIntervento.
---------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<infoProgettoIntervento progressivo="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="progettoIntervento.xsd">
  <progettoIntervento modo="inserimento">
    <identificativoProgettoIntervento>
      <nDomanda>nDomanda</nDomanda>
      <cupArtea>cupArtea</cupArtea>
      <intervento>intervento</intervento>
      <tipo>tipo</tipo>
      <istatComuneIntervento>041021</istatComuneIntervento>
    </identificativoProgettoIntervento>
    <importo>456.7</importo>
  </progettoIntervento>
  <progettoInterventoDelete>
    <nDomanda>nDomanda</nDomanda>
    <cupArtea>cupArtea</cupArtea>
    <intervento>intervento</intervento>
    <tipo>tipo</tipo>
    <istatComuneIntervento>041027</istatComuneIntervento>
  </progettoInterventoDelete>
</infoProgettoIntervento>

3.14 Schema XML della sezione richiestoConcesso.
---------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

	<xs:element name="infoRichiestoConcesso">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="concesso" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="concessoDelete" type="concessoChiave" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="richiesto" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="richiestoDelete" type="richiestoChiave" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="progressivo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:int">
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
		</xs:complexType>
	</xs:element>
	
	<xs:complexType name="concessoChiave">
		<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento concesso PSR
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="nDomandaIstruttoria" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="codAzione" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="idTipoParametro" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
  </xs:complexType>
	
	<xs:complexType name="richiestoChiave">
		<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento richiesto PSR
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="nDomandaIstruttoria" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="codAzione" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="idTipoParametro" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
  </xs:complexType>
  
  <xs:element name="concesso">
		<xs:annotation>
			<xs:documentation>
				dati relativi all' elemento concesso PSR
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoConcesso" type="concessoChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="idDomandaDua" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idTipoDomandaDua" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idTipoDomandaIstruttoria" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="annoRichiesto" type="xs:int" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="annoConcesso" type="xs:int" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idUte" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idEnte" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="importoConcesso" type="xs:decimal" minOccurs="0" maxOccurs="1"></xs:element>
			
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="richiesto">
		<xs:annotation>
			<xs:documentation>
				dati relativi all' elemento richiesto  
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoRichiesto" type="richiestoChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="idDomandaDua" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idTipoDomandaDua" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idTipoDomandaIstruttoria" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="annoRichiesto" type="xs:int" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="numeroGraduatoria" type="xs:int" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idEnte" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idTipoParametro" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idUte" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="importoRichiesto" type="xs:decimal" minOccurs="0" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
</xs:schema>

3.15 Esempio di XML della sezione richiestoConcesso.
---------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<infoRichiestoConcesso progressivo="0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="richiestoConcesso.xsd">
  <concesso modo="inserimento">
    <identificativoConcesso>
      <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
      <codAzione>codAzione</codAzione>
      <idTipoParametro>idTipoParametro</idTipoParametro>
    </identificativoConcesso>
    <idDomandaDua>idDomandaDua</idDomandaDua>
    <idTipoDomandaDua>idTipoDomandaDua</idTipoDomandaDua>
    <idTipoDomandaIstruttoria>idTipoDomandaIstruttoria</idTipoDomandaIstruttoria>
    <annoRichiesto>2008</annoRichiesto>
    <annoConcesso>2009</annoConcesso>
    <idUte>idUte</idUte>
    <idEnte>idEnte</idEnte>
    <importoConcesso>123.5</importoConcesso>
  </concesso>
  <concessoDelete>
    <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
    <codAzione>codAzione</codAzione>
    <idTipoParametro>idTipoParametro</idTipoParametro>
  </concessoDelete>
  <richiesto modo="inserimento">
    <identificativoRichiesto>
      <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
      <codAzione>codAzione</codAzione>
      <idTipoParametro>idTipoParametro</idTipoParametro>
    </identificativoRichiesto>
    <idDomandaDua>idDomandaDua</idDomandaDua>
    <idTipoDomandaDua>idTipoDomandaDua</idTipoDomandaDua>
    <idTipoDomandaIstruttoria>idTipoDomandaIstruttoria</idTipoDomandaIstruttoria>
    <annoRichiesto>2007</annoRichiesto>
    <numeroGraduatoria>23</numeroGraduatoria>
    <idEnte>idEnte</idEnte>
    <idTipoParametro>idTipoParametro</idTipoParametro>
    <idUte>idUte</idUte>
    <importoRichiesto>456.7</importoRichiesto>
  </richiesto>
  <richiestoDelete>
    <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
    <codAzione>codAzione</codAzione>
    <idTipoParametro>idTipoParametro</idTipoParametro>
  </richiestoDelete>
</infoRichiestoConcesso>

3.16 Schema XML della sezione rinnovoPagato.
---------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

	<xs:element name="infoRinnovoPagato">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="rinnovo" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="rinnovoDelete" type="rinnovoChiave" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="pagato" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="pagatoDelete" type="pagatoChiave" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="programmato" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="programmatoDelete" type="programmatoChiave" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="progressivo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:int">
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
		</xs:complexType>
	</xs:element>
	
	
	<xs:complexType name="programmatoChiave">
		<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento programmato
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="anno" type="xs:int" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="codiceMisura" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="idEnte" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
  </xs:complexType>
	
	
	<xs:complexType name="rinnovoChiave">
		<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento rinnovo
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="nDomandaIstruttoria" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="codAzione" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="idTipoParametro" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
  </xs:complexType>
	
	<xs:complexType name="pagatoChiave">
		<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento pagato
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="nDomandaIstruttoria" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="codAzione" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="idTipoParametro" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
  </xs:complexType>
  
  <xs:element name="rinnovo">
		<xs:annotation>
			<xs:documentation>
				dati relativi all' elemento concesso PSR
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoRinnovo" type="rinnovoChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="idDomandaDua" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idTipoDomandaDua" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idTipoDomandaIstruttoria" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="annoRichiestoRinnovo" type="xs:int" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idEnte" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="importoRinnovo" type="xs:decimal" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idUte" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="pagato">
		<xs:annotation>
			<xs:documentation>
				dati relativi all' elemento pagato
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoPagato" type="pagatoChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="idDomandaDua" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idTipoDomandaDua" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="annoRichiesto" type="xs:int" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="idEnte" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="importoPagato" type="xs:decimal" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="annoPagamento" type="xs:int" minOccurs="0" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="programmato">
		<xs:annotation>
			<xs:documentation>
				dati relativi all' elemento programmato
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoProgrammato" type="programmatoChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="dataModifica" type="xs:date" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="previsioneAC" type="xs:decimal" minOccurs="0" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
</xs:schema>

3.17 Esempio di XML della sezione rinnovoPagato.
---------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<infoRinnovoPagato progressivo="0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="rinnovoPagato.xsd">
  <rinnovo modo="inserimento">
    <identificativoRinnovo>
      <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
      <codAzione>codAzione</codAzione>
      <idTipoParametro>idTipoParametro</idTipoParametro>
    </identificativoRinnovo>
    <idDomandaDua>idDomandaDua</idDomandaDua>
    <idTipoDomandaDua>idTipoDomandaDua</idTipoDomandaDua>
    <idTipoDomandaIstruttoria>idTipoDomandaIstruttoria</idTipoDomandaIstruttoria>
    <annoRichiestoRinnovo>2008</annoRichiestoRinnovo>
    <idEnte>idEnte</idEnte>
    <importoRinnovo>123.4</importoRinnovo>
    <idUte>idUte</idUte>
  </rinnovo>
  <rinnovoDelete>
    <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
    <codAzione>codAzione</codAzione>
    <idTipoParametro>idTipoParametro</idTipoParametro>
  </rinnovoDelete>
  <pagato modo="modifica">
    <identificativoPagato>
      <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
      <codAzione>codAzione</codAzione>
      <idTipoParametro>idTipoParametro</idTipoParametro>
    </identificativoPagato>
    <idDomandaDua>idDomandaDua</idDomandaDua>
    <idTipoDomandaDua>idTipoDomandaDua</idTipoDomandaDua>
    <annoRichiesto>2009</annoRichiesto>
    <idEnte>idEnte</idEnte>
    <importoPagato>456.7</importoPagato>
    <annoPagamento>2009</annoPagamento>
  </pagato>
  <pagatoDelete>
    <nDomandaIstruttoria>nDomandaIstruttoria</nDomandaIstruttoria>
    <codAzione>codAzione</codAzione>
    <idTipoParametro>idTipoParametro</idTipoParametro>
  </pagatoDelete>
  <programmato modo="inserimento">
    <identificativoProgrammato>
      <anno>2008</anno>
      <codiceMisura>codiceMisura</codiceMisura>
      <idEnte>idEnte</idEnte>
    </identificativoProgrammato>
    <dataModifica>2001-11-27</dataModifica>
    <previsioneAC>123.4</previsioneAC>
  </programmato>
  <programmatoDelete>
    <anno>2007</anno>
    <codiceMisura>codiceMisura</codiceMisura>
    <idEnte>idEnte</idEnte>
  </programmatoDelete>
</infoRinnovoPagato>

3.18 Schema XML della sezione ute.
---------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

	<xs:element name="infoUte">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ute" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="uteDelete" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="anagUte" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="anagUteDelete" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="ubaBovini" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="ubaBoviniDelete" type="ubaBoviniChiave" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="progressivo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:int">
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
		</xs:complexType>
	</xs:element>
	
	<xs:element name="anagUte">
		<xs:annotation>
			<xs:documentation>
				dati relativi all'anagrafica dell'ute
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="idUte" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="CUTE" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="denominazioneUte" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="IndirizzoUte" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
	
	
	
	<xs:element name="ute">
		<xs:annotation>
			<xs:documentation>
				dati relativi all'ute
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="idUte" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="idAzienda" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="dataFineValidita" minOccurs="0" maxOccurs="1" type="xs:date"></xs:element>
			<xs:element name="idComunicazioni" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="idOrigineDato" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="descrizioneClassificazioneUte" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="nIdAziendaRiferimento" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="descrizioneSottoClassificazioneUte" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="idComunePrevalenza" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="comunePrevalente" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="provinciaPrevalente" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="OTE" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="superficieCondottaComplessiva" minOccurs="0" maxOccurs="1" type="xs:decimal"></xs:element>
			<xs:element name="zoneSvantArt3c3" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="zoneSvantArt3c4" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="zoneSvantArt3c5" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="localizzazioneAreeSvantaggiate" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="ZVN" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="natura2000" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="SIR" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="SIC" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="ZPS" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="areeProtette" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="SAU" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="RLSVegetale" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="RLSAnimale" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="LocalizzazioneNatura2000" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="localizzazioneAreeeDirettiva200060Ec" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="LocalizzazioneAreeVincolate" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
			<xs:element name="LocalizzazioneAreeVulnerabiliNitrati" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="anagUteDelete">
		<xs:annotation>
			<xs:documentation>
				evento di cancellazione dell'anagrafica ute
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="idUte" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
		</xs:sequence>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="uteDelete">
		<xs:annotation>
			<xs:documentation>
				evento di cancellazione dell'ute
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="idUte" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
		</xs:sequence>
	</xs:complexType>
  </xs:element>
  
  <xs:element name="ubaBovini">
		<xs:annotation>
			<xs:documentation>
				dati relativi all' elemento UBA bovini
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		<xs:sequence>
			<xs:element name="identificativoUbaBovini" type="ubaBoviniChiave" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="numUbaBovini" type="xs:decimal" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="descrizione" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element>
		</xs:sequence>
		<xs:attribute name="modo" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="inserimento|modifica"/>
					</xs:restriction>
				</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
  </xs:element>
  
  <xs:complexType name="ubaBoviniChiave">
		<xs:annotation>
			<xs:documentation>
				chiave logica dell' elemento UBA bovini
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="idUte" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
			<xs:element name="codSpecie" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
  </xs:complexType>
  
</xs:schema>

3.19 Esempio di XML della sezione ute.
---------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<infoUte progressivo="12" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ute.xsd">
  <ute modo="inserimento">
    <idUte>idUte</idUte>
    <idAzienda>idAzienda</idAzienda>
    <dataFineValidita>2001-01-01</dataFineValidita>
    <idComunicazioni>idcomunicazioni</idComunicazioni>
    <idOrigineDato>idOrigineDato</idOrigineDato>
    <descrizioneClassificazioneUte>descrizioneClassificazioneUte</descrizioneClassificazioneUte>
    <nIdAziendaRiferimento>nIdAziendaRiferimento</nIdAziendaRiferimento>
    <descrizioneSottoClassificazioneUte>descrizioneSottoClassificazioneUte</descrizioneSottoClassificazioneUte>
    <idComunePrevalenza>idComunePrevalenza</idComunePrevalenza>
    <comunePrevalente>comunePrevalente</comunePrevalente>
    <provinciaPrevalente>provinciaPrevalente</provinciaPrevalente>
    <OTE>OTE</OTE>
    <superficieCondottaComplessiva>0.0</superficieCondottaComplessiva>
    <zoneSvantArt3c3>zoneSvantArt3c3</zoneSvantArt3c3>
    <zoneSvantArt3c4>zoneSvantArt3c4</zoneSvantArt3c4>
    <zoneSvantArt3c5>zoneSvantArt3c5</zoneSvantArt3c5>
    <localizzazioneAreeSvantaggiate>localizzazioneAreeSvantaggiate</localizzazioneAreeSvantaggiate>
    <ZVN>ZVN</ZVN>
    <natura2000>natura2000</natura2000>
    <SIR>SIR</SIR>
    <SIC>SIC</SIC>
    <ZPS>ZPS</ZPS>
    <areeProtette>areeProtette</areeProtette>
    <SAU>SAU</SAU>
    <RLSVegetale>RLSVegetale</RLSVegetale>
    <RLSAnimale>RLSAnimale</RLSAnimale>
    <LocalizzazioneNatura2000>LocalizzazioneNatura2000</LocalizzazioneNatura2000>
    <localizzazioneAreeeDirettiva200060Ec>localizzazioneAreeeDirettiva200060Ec</localizzazioneAreeeDirettiva200060Ec>
    <LocalizzazioneAreeVincolate>LocalizzazioneAreeVincolate</LocalizzazioneAreeVincolate>
    <LocalizzazioneAreeVulnerabiliNitrati>LocalizzazioneAreeVulnerabiliNitrati</LocalizzazioneAreeVulnerabiliNitrati>
  </ute>
  <uteDelete>
    <idUte>idUte</idUte>
  </uteDelete>
  <ubaBovini modo="modifica">
    <identificativoUbaBovini>
      <idUte>idUte</idUte>
      <codSpecie>codSpecie</codSpecie>
    </identificativoUbaBovini>
    <numUbaBovini>13.6</numUbaBovini>
    <descrizione>descrizione</descrizione>
  </ubaBovini>
  <ubaBoviniDelete>
    <idUte>idUte</idUte>
    <codSpecie>codSpecie</codSpecie>
  </ubaBoviniDelete>
</infoUte>





