ALLEGATO A
Comunicazione attrezzature e prezzi
delle strutture ricettive
Toscana Compliance
Request for Comments: 6 rev13
Del: 9/10/2007
Categoria: Applicativa
Destinatari: Regione Toscana, Province
Comunicazione Attrezzature e Prezzi delle strutture ricettive
Abstract
========
L'infrastruttura di cooperazione applicativa (CART) e' uno strumento tecnologico
utilizzato per veicolare contenuti applicativi. I contenuti applicativi devono
essere concertati attraverso strumenti di collaborazione. Il risultato della
collaborazione e' un documento detto RFC e.Toscana di tipo Applicativo, in
conformita' a quanto indicato nella RFC n 17 "RFC Applicativo e.Toscana".
L'obiettivo di questo documento e' quello di concordare i contenuti legati al
processo "Comunicazione Attrezzature e Prezzi delle strutture ricettive"
Indice
======
1. Contesto di riferimento
2. Obiettivi
3. Lo strumento per integrare i sistemi informativi
4. Analisi
4.1 Types.xsd
4.2 CU1 - Provincia notifica dati alla Regione
4.2.1 Esempio messaggio APCOM - "Comunicazione attrezzature e prezzi"
4.2.2 Esempio messaggio APCOMACK - "Esito Comunicazione"
4.3 CU2 - Regione eroga il servizio che consente di accedere ai dati relativi
alle attrezzature/prezzi
4.3.1 Esempio messaggio APRIC - "Richiesta attrezzature e prezzi"
4.3.2 Esempio messaggio APRES - "Risposta Comunicazione"
5. Prodotti attesi
6. Bibliografia
1. Contesto di riferimento
==========================
I titolari o gestori di strutture turistiche ricettive e stabilimenti balneari
per obbligo di legge inviano la comunicazione dei prezzi dei servizi, nonche' delle
informazioni relative alle caratteristiche delle strutture, alla Provincia
di competenza in conformita' ai modelli approvati dalla Regione. A sua volta la
Provincia trasmette tali comunicazioni in via telematica alla Regione.
La modalita' di
Regione prevede
Alcune Province
un'applicazione
trasmissione usata al momento dalle Province per inviare dati alla
l'uso di un file generato dai propri sistemi informativi.
invece fanno direttamente inserimento dati sul database regionale tramite
web fornita dalla Regione.
I dati inseriti o inviati dalle Province permangono in un'area del database
separata dai dati visibili su internet finche' le Province non svolgono
l'operazione cosiddetta di 'validazione', attraverso l'applicazione regionale.
La validazione ha l'effetto di far passare come comunicazione valida l'ultima
inviata e storicizzare la precedente.
2. Obiettivi
============
La nuova modalita' scambio dei dati tra Regione e Province deve tenere conto
del fatto che tutte le Province ormai si sono dotate di propri sistemi
informativi, per cui la strada da percorrere da parte della Regione di fornire
non piu' temi di inserimento di dati da parte di un operatore ma specifiche
per l'invio automatizzato da parte di un sistema informativo.
Sara' quindi eliminata l'operazione di validazione successiva all'invio, in
quanto i dati inviati dalle Province saranno considerati gia'validati.
La segnalazione di chiusura di una struttura non sara' un'operazione da
svolgere a parte da un operatore umano ma avverra' in maniera automatica.
In risposta all'invio della comunicazione attrezzature e prezzi alla Regione, il
sistema informativo della Provincia ricevera' un messaggio di conferma contenente
la segnalazione del buon esito o dell'eventuale errore verificatosi, in modo da
poterlo gestire.
Nel contesto sopra indicato l'uso dell'infrastruttura di cooperazione
applicativa consente alle Province che sono dotate di un sistema informativo che
tratta i moduli relativi alle comunicazioni di:
1. automatizzare l'invio delle comunicazioni;
2. gestire i messaggi di risposta del sistema infromativo regionale in maniera standard;
I benefici attesi sono:
1. per le Province: sollevare il personale della responsabilita' di inviare i
dati (allo stato attuale, compito svolto manualmente) e validarli;
2. per la Regione: ottenere dati attraverso un'infrastruttura piu' affidabile e
monitorabile;
2.1. Lo strumento per integrare i sistemi informativi
=====================================================
Regione Toscana ha realizzato l'infrastruttura CART (Cooperazione Applicativa
Regionale Toscana) utilizzabile al fine di integrare applicazioni di Enti
diversi. L'obiettivo dell'infrastruttura e' la creazione di una comunita' di
Soggetti che espongono e integrano le loro applicazioni per mezzo di servizi con
la finalita' di creare uno spazio comune di informazioni alimentato e fruito dai
sistemi informativi dei Soggetti partecipanti.
L'utilizzo dell'infrastruttura di cooperazione applicativa rende possibile:
- il reperimento di informazioni messe a disposizione dalla comunita' con estrema
naturalezza e con costi minimi
- l'arricchimento delle proprie informazioni con altre reperite dalla comunita' con
estrema naturalezza e con costi minimi
- la distribuzione delle applicazioni che condividono informazioni
- minimizzazione dei costi necessari per adempiere ad un debito informativo
verso altri Soggetti
4. Analisi
==========
Gli agenti coinvolti sono:
Regione Toscana: soggetto che necessita di informazioni relative alle
comunicazioni che solo la Provincia dispone;
Provincia: soggetto che invia a Regione Toscana i dati relativi alle
comunicazioni; Altri soggetti sottoscrittori: soggetti che fruiscono dei dati
per esempio per la presentazione web (Portali);
Le interazioni previste sono:
- Provincia notifica variazioni sulla comunicazione attrezzature/prezzi alla
Regione (CU1);
- Regione eroga il servizio che consente di accedere ai dati relativi alle
attrezzature/prezzi (CU2);
4.1 Types.xsd
=============
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.regione.toscana.it/attrezzature_prezzi"
xmlns:codifiche="http://www.regione.toscana.it/codifiche/NormalizzazioneGeoreferenziazion
e" targetNamespace="http://www.regione.toscana.it/attrezzature_prezzi"
elementFormDefault="qualified">
<xs:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xs:import
namespace="http://www.regione.toscana.it/codifiche/NormalizzazioneGeoreferenziazione"
schemaLocation="province.xsd"/>
<xs:include schemaLocation="struttura.xsd"/>
<xs:complexType
name="richiesta_RichiestaRispostaAsincrona_InvioComunicazione_Type">
<xs:annotation>
<xs:documentation>
Specifica il formato del messaggio nel caso dell'invio di comunicazioni relative
ad alberghi
</xs:documentation>
</xs:annotation>
<xs:all>
<xs:element ref="DATI">
<xs:annotation>
<xs:documentation>
Dati relativi che devono essere trasportati
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="intestazione" type="intestazione_richiesta">
<xs:annotation>
<xs:documentation>
intestazione della richiesta
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
<xs:attribute name="test" type="xs:boolean" use="required">
<xs:annotation>
<xs:documentation>
true = stiamo inviando dei dati di test. false = stiamo inviando dei dati che
devono essere trattati dai sistemi informativi
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType
name="risposta_RichiestaRispostaAsincrona_InvioComunicazione_Type">
<xs:annotation>
<xs:documentation>
Specifica il formato delle risposte relative a comunicazioni che hanno come
oggetti strutture ricettive.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="dettaglio_errori" type="errori"/>
<xs:element name="lista_errori" type="elenco_errori" minOccurs="0"/>
<xs:element name="intestazione" type="intestazione_risposta"/>
</xs:sequence>
<xs:attribute name="test" type="xs:boolean" use="required">
<xs:annotation>
<xs:documentation>
true = stiamo inviando dei dati di test. false =
stiamo inviando dei dati che devono essere trattati
dai sistemi informativi
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="richiesta_RichiestaServizioSincrona_Type">
<xs:annotation>
<xs:documentation>
Specifica il formato del messaggio nel caso di invio richiesta servizio da parte
del SIL per
interrogare la banca dati attrezzature/prezzi.
</xs:documentation>
</xs:annotation>
<xs:all>
<xs:element name="data_inizio_intervallo"
type="data_inizio_intervallo" minOccurs="0"/>
<xs:element name="data_fine_intervallo" type="data_fine_intervallo"
minOccurs="0"/>
<xs:element name="generestruttura_ricerca" type="genere_struttura"
minOccurs="0"/>
<xs:element name="provincia_ricerca"
type="codifiche:CodiceProvinciaType"/>
<xs:element name="comune_ricerca" type="comune" minOccurs="0"/>
<xs:element name="apt" type="apt" minOccurs="0"/>
<xs:element name="classificazione_ricerca" type="classificazione"
minOccurs="0"/>
<xs:element name="codicestruttura" type="codice_struttura"
minOccurs="0"/>
<xs:element name="dati_pubblici" type="dati_pubblici"
default="true"/>
<xs:element name="dati_storici" type="dati_storici" default="false"/>
<xs:element name="ctt4" type="ctt4" default="false"/>
</xs:all>
</xs:complexType>
<xs:complexType name="risposta_RichiestaServizioSincrona_Type">
<xs:annotation>
<xs:documentation>
Specifica il formato del messaggio di risposta ad una richiesta servizio.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="DATI" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
Dati relativi che devono essere visualizzati
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="dettaglio_errore">
<xs:annotation>
<xs:documentation>
Dettaglio di un errore specificando codice e relativa descrizione.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="codice" type="xs:string"/>
<xs:element name="descrizione" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="errore_riscontrato">
<xs:annotation>
<xs:documentation>
Dettaglio relativo al campo nel quale si _ riscontrato l'errore
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="nome_campo" type="xs:string"/>
<xs:element name="motivo_rifiuto" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="risposta_RichiestaRispostaAsincrona_InvioComunicazione"
type="risposta_RichiestaRispostaAsincrona_InvioComunicazione_Type"/>
<xs:element name="richiesta_RichiestaRispostaAsincrona_InvioComunicazione"
type="richiesta_RichiestaRispostaAsincrona_InvioComunicazione_Type"/>
<xs:element name="esito_comunicazione" type="esito_comunicazione">
<xs:annotation>
<xs:documentation>
Esito della elaborazione e pubblicazione del messaggio di Comunicazione
attrezzature e prezzi nell'infrastruttura CART
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="richiesta_RichiestaServizioSincrona"
type="richiesta_RichiestaServizioSincrona_Type"/>
<xs:element name="risposta_RichiestaServizioSincrona"
type="risposta_RichiestaServizioSincrona_Type"/>
<xs:complexType name="intestazione_richiesta">
<xs:annotation>
<xs:documentation>
Definisce i dati che devono essere specificati quando si deve inviare una
generica comunicazione di natura
asincrona via CART L'intestazione _ necessaria per correlare le risposte
applicative alle richieste che
vengono inviate.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="identificativo" type="xs:string">
<xs:annotation>
<xs:documentation>
Identificativo univoco della comunicazione
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="intestazione_risposta">
<xs:annotation>
<xs:documentation>
Definisce i dati che devono essere specificati quando si deve inviare una
generica risposta ad una comunicazione
di natura asincrona via CART. L'intestazione _ necessaria per correlare le
risposte applicative alle richieste che vengono inviate.
Nell'intestazione delle riposte _ anche comunicato l'esito positivo/negativo
dell'invio e la lista degli eventuali errori indicati
per codice e denominazione
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="esito" type="xs:boolean"/>
<xs:element name="riferimento_richiesta"
type="intestazione_richiesta"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="errori">
<xs:annotation>
<xs:documentation>
Lista degli errori
</xs:documentation>
</xs:annotation>
<xs:sequence maxOccurs="unbounded">
<xs:element name="dettaglio" type="dettaglio_errore"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="elenco_errori">
<xs:annotation>
<xs:documentation>
Lista dei campi che non hanno passato la validazione
</xs:documentation>
</xs:annotation>
<xs:sequence maxOccurs="unbounded">
<xs:element name="errore_riscontrato" type="errore_riscontrato"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="data_inizio_intervallo">
<xs:annotation>
<xs:documentation>
Data inizio intervallo sul quale effettuare le ricerche
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:date">
<xs:pattern value="\p{Nd}{4}-\p{Nd}{2}-\p{Nd}{2}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="data_fine_intervallo">
<xs:annotation>
<xs:documentation>
Data fine intervallo sul quale effettuare le ricerche. Se è presente
data_inzio_intervallo ma non data_fine_intervallo si effettuano ricerche fino alla data
odierna,
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:date">
<xs:pattern value="\p{Nd}{4}-\p{Nd}{2}-\p{Nd}{2}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="genere_struttura">
<xs:annotation>
<xs:documentation>
Genere struttura per identificare l'appartenenza al corretto modello.
1. AFR - Affittacamere
2. ALL - Affittacamere non professionali
3. ALB - Albergo
4. RTA - Residenza Turistico Alberghiera
5. AST - Area di sosta
6. STB - Stabilimento balneare
7. CAM - Campeggio - Parco vacanza
8. VIT - Villaggio Turistico
9. CAV - Casa per vacanze
10. OST - Ostello
11. CAF - Casa per ferie
12. REP - Residenza d'epoca
13. RES - Residence
14. RAL - Rifugio alpino - escursionistico
15. AAT - Agriturismo
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="AFR"/>
<xs:enumeration value="ALL"/>
<xs:enumeration value="ALB"/>
<xs:enumeration value="RTA"/>
<xs:enumeration value="AST"/>
<xs:enumeration value="STB"/>
<xs:enumeration value="CAM"/>
<xs:enumeration value="VIT"/>
<xs:enumeration value="CAV"/>
<xs:enumeration value="OST"/>
<xs:enumeration value="CAF"/>
<xs:enumeration value="REP"/>
<xs:enumeration value="RES"/>
<xs:enumeration value="RAL"/>
<xs:enumeration value="AAT"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="comune">
<xs:annotation>
<xs:documentation>
soli comuni di competenza se utente provincia o apt
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="apt">
<xs:annotation>
<xs:documentation>
bloccato se utente è apt, solo apt di competenza se utente è provincia
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="classificazione">
<xs:attribute name="elementiclassificazione" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:simpleType name="codice_struttura">
<xs:annotation>
<xs:documentation>
Codice identificativo della struttura da ricercare.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:length value="13"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="dati_pubblici">
<xs:annotation>
<xs:documentation>
estrazione dei soli dati pubblici (nome struttura, indirizzo, recapito, posti
letto, camere, unità abitative, servizi, prezzi.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:boolean"/>
</xs:simpleType>
<xs:simpleType name="dati_storici">
<xs:annotation>
<xs:documentation>
estrazione dello storico e non solo dell'ultima valida ma tutte le dichiarazioni
presentate nell'intervallo specificato.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:boolean"/>
</xs:simpleType>
<xs:simpleType name="ctt4">
<xs:annotation>
<xs:documentation>
estrazione dei dati da presentare sotto forma di modello CTT/4
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:boolean"/>
</xs:simpleType>
<xs:complexType name="esito_comunicazione">
<xs:sequence>
<xs:element name="riferimento_messaggio" type="codiceMessaggio">
<xs:annotation>
<xs:documentation>
riferimento_messaggio e' l'identificativo del messaggio di movimentazione
turistica cui questo
messaggio si riferisce. L'identificativo e' ottenuto dalla concatenazione dei
valori degli
elementi 'codeserc' 'anno' 'datapresentazione' 'provincia' del corrispondente
messaggio di Comunicazione attrezzature e prezzi separati dal carattere '_'.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="codice_esito" type="codiceEsito">
<xs:annotation>
<xs:documentation>
Il codice_esito e' un codice numerico di tre cifre che indica l'esito della
elaborazione e
validazione del messaggio e della sua pubblicazione nell'infrastruttura.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="descrizione" type="xs:string"/>
<xs:element name="dettaglio_errori" minOccurs="0">
<xs:annotation>
<xs:documentation>
lista degli errori relativi agli elementi 'movimento'
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="errore" type="errore"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
Per ogni errore riscontrato negli elementi 'dati' del messaggio di
Comunicazione attrezzature e prezzi si
inserisce un elemento 'errore' che ne descrive i dettagli.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="test" type="xs:boolean" use="required">
<xs:annotation>
<xs:documentation>
attributo che qualifica il messaggio come messaggio di test (se test=true).
Utile nel caso si presenti necessita' di svolgere una verifica
in ambiente di produzione.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:simpleType name="codiceMessaggio">
<xs:restriction base="xs:string">
<xs:pattern value=".{13}_\d{4}_\d{10}(_\d{2})?"/>
<!-- xs:pattern value=".{13}_\.{4}_\.{10}(_\.{2})?"></xs:pattern -->
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="codiceEsito">
<xs:restriction base="xs:string">
<xs:length value="3"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="errore">
<xs:sequence>
<xs:element name="codeserc" type="xs:string">
<xs:annotation>
<xs:documentation>
codeserc dell'elemento DATI che contiene dati errati.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="descrizione" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
Il file incluso (struttura.xsd) ha il seguente schema:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
xmlns="http://www.regione.toscana.it/attrezzature_prezzi"
targetNamespace="http://www.regione.toscana.it/attrezzature_prezzi"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:codifiche="http://www.regione.toscana.it/codifiche/NormalizzazioneGeoreferenziazion
e"
elementFormDefault="qualified">
<xs:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xs:import
namespace="http://www.regione.toscana.it/codifiche/NormalizzazioneGeoreferenziazione"
schemaLocation="province.xsd"/>
<xs:element name="STRUTTURE">
<xs:annotation>
<xs:documentation>
Dati della struttura oggetto della comunicazione di Attrezzature e Prezzi
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="DATI" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="test" type="xs:boolean" use="required">
<xs:annotation>
<xs:documentation>
attributo che qualifica il messaggio come messaggio di test (se test=true).
Utile nel caso si presenti necessita' di svolgere una verifica
in ambiente di produzione.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="DATI">
<xs:annotation>
<xs:documentation>
Esiste un elemento per ogni tipologia di modello:
1. Albergo, Redidenza Turistica Alberghiera (Albergo)
2. Campeggio, Parco Vacanza (CAMP)
3. Residenza d'Epoca (ResEpoca)
4. Agriturismo (aat)
5. Residence (Residence)
6. Casa Per Vacanze (CasaAppartVac)
7.Stabilimento balneare (Balneari)
8. Affittacamere, affittacamere non professionali (Affittac)
9. Ostello, Casa Per Ferie (OstelloCaf)
10. Rifugio Alpino escursionistico (Rifugi)
11. Area di sosta (AreaS)
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:element ref="Albergo"/>
<xs:element ref="CAMP"/>
<xs:element ref="ResEpoca"/>
<xs:element ref="aat"/>
<xs:element ref="Residence"/>
<xs:element ref="CasaAppartVac"/>
<xs:element ref="Balneari"/>
<xs:element ref="Affittac"/>
<xs:element ref="OstelloCaf"/>
<xs:element ref="Rifugi"/>
<xs:element ref="AreaS"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="Albergo">
<xs:annotation>
<xs:documentation>
Ogni elemento si suddivide in anagrafe e parte descrittiva. L'anagrafe e' comune
a tutti gli elementi.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ANAGRAFE"/>
<xs:element ref="DESCRALB"/>
</xs:sequence>
</xs:complexType>
a
a
a
a
a
</xs:element>
<xs:element name="CAMP">
<xs:annotation>
<xs:documentation>
Ogni elemento si suddivide in anagrafe
tutti gli elementi.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ANAGRAFE"/>
<xs:element ref="DESCRCAMP"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResEpoca">
<xs:annotation>
<xs:documentation>
Ogni elemento si suddivide in anagrafe
tutti gli elementi.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ANAGRAFE"/>
<xs:element ref="DESCRRESEPOCA"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="aat">
<xs:annotation>
<xs:documentation>
Ogni elemento si suddivide in anagrafe
tutti gli elementi.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ANAGRAFE"/>
<xs:element ref="DESCRAGRITURISMO"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Residence">
<xs:annotation>
<xs:documentation>
Ogni elemento si suddivide in anagrafe
tutti gli elementi.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ANAGRAFE"/>
<xs:element ref="DESCRRESIDENCE"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CasaAppartVac">
<xs:annotation>
<xs:documentation>
Ogni elemento si suddivide in anagrafe
tutti gli elementi.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ANAGRAFE"/>
<xs:element ref="DESCRCASAPPVACANZE"/>
</xs:sequence>
</xs:complexType>
e parte descrittiva. L'anagrafe e' comune
e parte descrittiva. L'anagrafe e' comune
e parte descrittiva. L'anagrafe e' comune
e parte descrittiva. L'anagrafe e' comune
e parte descrittiva. L'anagrafe e' comune
a
a
a
a
a
</xs:element>
<xs:element name="Balneari">
<xs:annotation>
<xs:documentation>
Ogni elemento si suddivide in anagrafe
tutti gli elementi.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ANAGRAFE"/>
<xs:element ref="DESCRSTABBALNEARE"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Affittac">
<xs:annotation>
<xs:documentation>
Ogni elemento si suddivide in anagrafe
tutti gli elementi.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ANAGRAFE"/>
<xs:element ref="DESCRAFFCAM"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OstelloCaf">
<xs:annotation>
<xs:documentation>
Ogni elemento si suddivide in anagrafe
tutti gli elementi.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ANAGRAFE"/>
<xs:element ref="DESCROSTELLO"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Rifugi">
<xs:annotation>
<xs:documentation>
Ogni elemento si suddivide in anagrafe
tutti gli elementi.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ANAGRAFE"/>
<xs:element ref="DESCRRIFUGIO"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AreaS">
<xs:annotation>
<xs:documentation>
Ogni elemento si suddivide in anagrafe
tutti gli elementi.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ANAGRAFE"/>
<xs:element ref="DESCRAREADISOSTA"/>
</xs:sequence>
</xs:complexType>
e parte descrittiva. L'anagrafe e' comune
e parte descrittiva. L'anagrafe e' comune
e parte descrittiva. L'anagrafe e' comune
e parte descrittiva. L'anagrafe e' comune
e parte descrittiva. L'anagrafe e' comune
</xs:element>
<xs:element name="ANAGRAFE">
<xs:annotation>
<xs:documentation>
Anagrafe delle varie strutture ricettive. Qui vengono riportati i dati a comune
di tutti i modelli.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="codeserc"/>
<xs:element ref="provincia"/>
<xs:element ref="generestruttura"/>
<xs:element ref="tipostruttura"/>
<xs:element ref="anno"/>
<xs:element ref="tipologiacomunicazione"/>
<xs:element ref="denomeserc"/>
<xs:element ref="INDESERC"/>
<xs:element ref="INDCOMUNICAZIONIPERIODICHIUSURA"/>
<xs:element ref="RECAPITO" minOccurs="0"/>
<xs:element ref="TITOLAREGESTORE" minOccurs="0"/>
<xs:element ref="DIACOMAUT" minOccurs="0"/>
<xs:element ref="APERTURA" minOccurs="0"/>
<xs:element ref="percaccessdisabili" minOccurs="0"/>
<xs:element ref="sottoscrittore"/>
<xs:element ref="datapresentazione"/>
<xs:element ref="in_qualita_di"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="codeserc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:length value="13"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codeserc_madre">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:length value="13"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element
name="provincia"
type="codifiche:CodiceProvinciaType" />
<xs:element name="tipo" type="xs:integer"/>
<xs:element name="generestruttura">
<xs:annotation>
<xs:documentation>
Genere struttura per identificare l'appartenenza al corretto modello.
1. AFR - Affittacamere
2. ALL - Affittacamere non professionali
3. ALB - Albergo
4. RTA - Residenza Turistico Alberghiera
5. AST - Area di sosta
6. STB - Stabilimento balneare
7. CAM - Campeggio - Parco vacanza
8. VIT - Villaggio Turistico
9. CAV - Casa per vacanze
10. OST - Ostello
11. CAF - Casa per ferie
12. REP - Residenza d'epoca
13. RES - Residence
14. RAL - Rifugio alpino - escursionistico
15. AAT - Agriturismo
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="AFR"/>
<xs:enumeration value="ALL"/>
<xs:enumeration value="ALB"/>
<xs:enumeration value="RTA"/>
<xs:enumeration value="AST"/>
<xs:enumeration value="STB"/>
<xs:enumeration value="CAM"/>
<xs:enumeration value="VIT"/>
<xs:enumeration value="CAV"/>
<xs:enumeration value="OST"/>
<xs:enumeration value="CAF"/>
<xs:enumeration value="REP"/>
<xs:enumeration value="RES"/>
<xs:enumeration value="RAL"/>
<xs:enumeration value="AAT"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tipostruttura">
<xs:annotation>
<xs:documentation>
Definisce le sotto tipologie dell'elemento "generestruttura"
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="albergo"/>
<xs:enumeration value="residenza_turistico-alberghiera"/>
<xs:enumeration value="dip"/>
<xs:enumeration value="campeggio"/>
<xs:enumeration value="parco_di_vacanza"/>
<xs:enumeration value="villaggio_turistico"/>
<xs:enumeration value="residenza_d_epoca"/>
<xs:enumeration value="agriturismo"/>
<xs:enumeration value="residence"/>
<xs:enumeration value="casa-appartamento_vacanze"/>
<xs:enumeration value="stabilimento_balneare"/>
<xs:enumeration value="affittacamere"/>
<xs:enumeration value="affittacamere_non_professionale"/>
<xs:enumeration value="ostello_per_la_gioventu"/>
<xs:enumeration value="casa_per_ferie"/>
<xs:enumeration value="rifugio_alpino"/>
<xs:enumeration value="rifugio_escursionistico"/>
<xs:enumeration value="area_di_sosta"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="anno">
<xs:annotation>
<xs:documentation>
Anno relativo alla presentazione delle attrezzature/prezzi. Gli anni ammessi sono
quelli dal 1990 al 2100.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:minExclusive value="1990"/>
<xs:maxExclusive value="2100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="sottoscrittore">
<xs:annotation>
<xs:documentation>
Nominativo di colui che invia i dati.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="nome"/>
<xs:element ref="cognome"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="date">
<xs:restriction base="xs:date">
<xs:pattern value="\p{Nd}{4}-\p{Nd}{2}-\p{Nd}{2}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="month">
<xs:restriction base="xs:integer">
<xs:minInclusive value="01"/>
<xs:maxInclusive value="12"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="day">
<xs:restriction base="xs:integer">
<xs:minInclusive value="01"/>
<xs:maxInclusive value="31"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="datapresentazione" type="date">
<xs:annotation>
<xs:documentation>
La data e' accettata nel seguente formato: aaaa-mm-gg
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="in_qualita_di">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tipologiacomunicazione">
<xs:annotation>
<xs:documentation>
Tipologie di comunicazione.
Le tipologie di comunicazioni inviate dalle Province sono:
Principale, di validita' immediata (comunicazione_PRINCIPALE)
Annuale, di validita' a partire dall’inizio di un periodo di riferimento x
(comunicazione_ANNUALE)
Suppletiva, di validita' a partire dall’inizio di una periodo di riferimento
y (comunicazione_SUPPLETIVA)
Variazioni, di validita' immediata (comunicazione_VARIAZIONI)
Chiusura di una struttura (comunicazione_CESSAZIONE)
Correzioni di comunicazioni gia' inviate (comunicazione_CORREZIONI)
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="tipo" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="comunicazione_ANNUALE"/>
<xs:enumeration value="comunicazione_VARIAZIONI"/>
<xs:enumeration value="comunicazione_PRINCIPALE"/>
<xs:enumeration value="comunicazione_CORREZIONI"/>
<xs:enumeration value="comunicazione_SUPPLETIVA"/>
<xs:enumeration value="comunicazione_CESSAZIONE"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="denomeserc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="INDESERC">
<xs:complexType>
<xs:sequence>
<xs:element
name="Provincia"
type="codifiche:CodiceProvinciaType" />
<xs:element name="Comune">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Localita">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Frazione">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CAP">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Nazione" type="xs:string" minOccurs="0"/>
<xs:element ref="sezionecensimento" minOccurs="0"/>
<xs:element name="TipologiaCAP" type="xs:string" minOccurs="0"/>
<xs:element name="DUG" type="xs:string" minOccurs="0"/>
<xs:element name="Toponimo" type="xs:string" minOccurs="0"/>
<xs:element name="CivicoCompleto" type="xs:string"/>
<xs:element name="CivicoNumerico" type="xs:string"/>
<xs:element name="CodiceRegioneIstat" type="xs:string" minOccurs="0"/>
<xs:element name="CodiceProvinciaIstat" type="xs:string" minOccurs="0"/>
<xs:element name="CodiceComuneIstat" type="xs:string" minOccurs="0"/>
<xs:element name="DescrizioneZonaCensuaria" type="xs:string" minOccurs="0"/>
<xs:element name="CodiceSezIstat1991" type="xs:string" minOccurs="0"/>
<xs:element name="CodiceSezIstat2001" type="xs:string" minOccurs="0"/>
<xs:element name="X-UTM32-1991" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="Y-UTM32-1991" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="X-UTM32-2001" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="Y-UTM32-2001" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="X-InizioArco-GB" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="Y-InizioArco-GB" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="X-FineArco-GB" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="Y-FineArco-GB" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="X-CivicoPuntuale-GB" type="SevenDigitStringType"
minOccurs="0"/>
<xs:element name="Y-CivicoPuntuale-GB" type="SevenDigitStringType"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="INDCOMUNICAZIONIPERIODICHIUSURA">
<xs:complexType>
<xs:sequence>
<xs:element
name="Provincia"
type="codifiche:CodiceProvinciaType" />
<xs:element name="Comune">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Localita">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Frazione">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CAP">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Nazione" type="xs:string" minOccurs="0"/>
<xs:element ref="sezionecensimento" minOccurs="0"/>
<xs:element name="TipologiaCAP" type="xs:string" minOccurs="0"/>
<xs:element name="DUG" type="xs:string" minOccurs="0"/>
<xs:element name="Toponimo" type="xs:string" minOccurs="0"/>
<xs:element name="CivicoCompleto" type="xs:string"/>
<xs:element name="CivicoNumerico" type="xs:string"/>
<xs:element name="CodiceRegioneIstat" type="xs:string" minOccurs="0"/>
<xs:element name="CodiceProvinciaIstat" type="xs:string" minOccurs="0"/>
<xs:element name="CodiceComuneIstat" type="xs:string" minOccurs="0"/>
<xs:element name="DescrizioneZonaCensuaria" type="xs:string" minOccurs="0"/>
<xs:element name="CodiceSezIstat1991" type="xs:string" minOccurs="0"/>
<xs:element name="CodiceSezIstat2001" type="xs:string" minOccurs="0"/>
<xs:element name="X-UTM32-1991" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="Y-UTM32-1991" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="X-UTM32-2001" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="Y-UTM32-2001" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="X-InizioArco-GB" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="Y-InizioArco-GB" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="X-FineArco-GB" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="Y-FineArco-GB" type="SevenDigitStringType" minOccurs="0"/>
<xs:element name="X-CivicoPuntuale-GB" type="SevenDigitStringType"
minOccurs="0"/>
<xs:element name="Y-CivicoPuntuale-GB" type="SevenDigitStringType"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="SevenDigitStringType">
<xs:restriction base="xs:string">
<xs:pattern value="[0-9]{7}"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="localita">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="frazione">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="comune">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cap">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DESCRALB">
<xs:complexType>
<xs:sequence>
<xs:element ref="tipologia" minOccurs="0"/>
<xs:element ref="codeserc_madre" minOccurs="0"/>
<xs:element ref="classificazione" minOccurs="0"/>
<xs:element ref="dipendenza" minOccurs="0"/>
<xs:element ref="DIPENDENTI" minOccurs="0"/>
<xs:element ref="CAMEREALB" minOccurs="0"/>
<xs:element ref="UNITAABITATIVEALB" minOccurs="0"/>
<xs:element ref="POSTILETTO" minOccurs="0"/>
<xs:element ref="SERVIGIENICI" minOccurs="0"/>
<xs:element ref="IMPSERVALTRO" minOccurs="0"/>
<xs:element ref="SERVIZIOCONGRESSI" minOccurs="0"/>
<xs:element ref="PREZZIMASSIMIPERNOTTAMENTO" minOccurs="0"/>
<xs:element ref="SOMMINISTRPREZZOFISSO" minOccurs="0"/>
<xs:element ref="FLAG_NON_CONSENSO"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="tipologia">
<xs:complexType>
<xs:attribute name="tipo" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="motel"/>
<xs:enumeration value="rta"/>
<xs:enumeration value="albergo"/>
<xs:enumeration value="villaggio_albergo"/>
<xs:enumeration value="villaggio_rta"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="classificazione">
<xs:complexType>
<xs:attribute name="stelle" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="dipendenza">
<xs:complexType>
<xs:sequence>
<xs:element ref="dipendenze" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="dipendenze">
<xs:complexType>
<xs:choice>
<xs:sequence>
<xs:element ref="classificazione"/>
<xs:element ref="numero"/>
</xs:sequence>
<xs:element ref="totaledipendenze"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="totaledipendenze">
<xs:complexType>
<xs:sequence>
<xs:element ref="numero"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="numero" type="xs:integer"/>
<xs:element name="RECAPITO">
<xs:complexType>
<xs:sequence>
<xs:element ref="recsitoweb" minOccurs="0"/>
<xs:element ref="recemail" minOccurs="0"/>
<xs:element ref="rectelefono" minOccurs="0"/>
<xs:element ref="recfax" minOccurs="0"/>
<xs:element ref="reccellulare" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="recsitoweb">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="recemail">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="80"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="rectelefono">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="recfax">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="reccellulare">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TITOLAREGESTORE">
<xs:complexType>
<xs:sequence>
<xs:element ref="TITOLARE"/>
<xs:element ref="GESTORE"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TITOLARE">
<xs:complexType>
<xs:sequence>
<xs:element ref="DATITITOLARE"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GESTORE">
<xs:complexType>
<xs:sequence>
<xs:element ref="DATIGESTORE"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DATITITOLARE">
<xs:complexType>
<xs:sequence>
<xs:element ref="titnome"/>
<xs:element ref="titindirsede"/>
<xs:element ref="titivacf"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DATIGESTORE">
<xs:complexType>
<xs:sequence>
<xs:element ref="gestnome"/>
<xs:element ref="gestindirsede"/>
<xs:element ref="gestivacf"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="titnome">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="titindirsede">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="titivacf">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="18"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="gestnome">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="gestindirsede">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="gestivacf">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="18"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DIACOMAUT">
<xs:complexType>
<xs:sequence>
<xs:element ref="ddcdel" minOccurs="0"/>
<xs:element ref="ddccomunesuap"/>
<xs:element ref="numeroautorizzazione" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ddcdel" type="date">
<xs:annotation>
<xs:documentation>
La data e' accettata nel seguente formato: aaaa-mm-gg
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ddccomunesuap">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="80"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="numeroautorizzazione">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DIPENDENTI">
<xs:complexType>
<xs:sequence>
<xs:element ref="totale"/>
<xs:element ref="diptempoparziale"/>
<xs:element ref="dipstagionale"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="totale" type="xs:integer"/>
<xs:element name="diptempoparziale" type="xs:integer"/>
<xs:element name="dipstagionale" type="xs:integer"/>
<xs:element name="APERTURA">
<xs:complexType>
<xs:choice>
<xs:element ref="annuale"/>
<xs:element ref="APERTSTAGIONALE"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="annuale">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="si"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="APERTSTAGIONALE">
<xs:complexType>
<xs:sequence>
<xs:sequence maxOccurs="unbounded">
<xs:element ref="apertstagdal"/>
<xs:element ref="apertstagal"/>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="apertstagdal">
<xs:annotation>
<xs:documentation>
E' indicato il mese e il giorno, non l'anno
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="mese" type="month">
<xs:annotation>
<xs:documentation>
In numero, da 01 a 12
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="giorno" type="day">
<xs:annotation>
<xs:documentation>
In numero, da 01 a 31
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="apertstagal">
<xs:annotation>
<xs:documentation>
E' indicato il mese e il giorno, non l'anno
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="mese" type="month">
<xs:annotation>
<xs:documentation>
In numero, da 01 a 12
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="giorno" type="day">
<xs:annotation>
<xs:documentation>
In numero, da 01 a 31
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CAMEREALB">
<xs:complexType>
<xs:sequence>
<xs:element ref="singconbagno"/>
<xs:element ref="singsenzabagno"/>
<xs:element ref="doppieconbagno"/>
<xs:element ref="doppiesenzabagno"/>
<xs:element ref="consoggiorno"/>
<xs:element ref="suite"/>
<xs:element ref="totale"/>
<xs:element ref="camereconriscald"/>
<xs:element ref="camereconariacondizionata"/>
<xs:element ref="camerecontvcolori"/>
<xs:element ref="camerecontelfono"/>
<xs:element ref="camereconcassettesicurezza"/>
<xs:element ref="camereconasciugacapelli"/>
<xs:element ref="perdisabili"/>
<xs:element ref="numfrigobar"/>
<xs:element ref="concolleginternet"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="singconbagno" type="xs:integer"/>
<xs:element name="singsenzabagno" type="xs:integer"/>
<xs:element name="doppieconbagno" type="xs:integer"/>
<xs:element name="doppiesenzabagno" type="xs:integer"/>
<xs:element name="consoggiorno" type="xs:integer"/>
<xs:element name="suite" type="xs:integer"/>
<xs:element name="numfrigobar" type="xs:integer"/>
<xs:element name="concolleginternet" type="xs:integer"/>
<xs:element name="UNITAABITATIVEALB">
<xs:complexType>
<xs:sequence>
<xs:element ref="camereconriscald"/>
<xs:element ref="camereconariacondizionata"/>
<xs:element ref="camerecontvcolori"/>
<xs:element ref="camerecontelfono"/>
<xs:element ref="camereconcassettesicurezza"/>
<xs:element ref="camereconasciugacapelli"/>
<xs:element ref="perdisabili"/>
<xs:element ref="totaleunitaabitative"/>
<xs:element ref="totalecamere"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="camereconriscald" type="xs:integer"/>
<xs:element name="camereconariacondizionata" type="xs:integer"/>
<xs:element name="camerecontvcolori" type="xs:integer"/>
<xs:element name="camerecontelfono" type="xs:integer"/>
<xs:element name="camereconcassettesicurezza" type="xs:integer"/>
<xs:element name="camereconasciugacapelli" type="xs:integer"/>
<xs:element name="perdisabili" type="xs:integer"/>
<xs:element name="totaleunitaabitative" type="xs:integer"/>
<xs:element name="totalecamere" type="xs:integer"/>
<xs:element name="POSTILETTO">
<xs:complexType>
<xs:sequence>
<xs:element ref="incamere"/>
<xs:element ref="aggincamere"/>
<xs:element ref="inunitabit"/>
<xs:element ref="agginunitabit"/>
<xs:element ref="totale"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="incamere" type="xs:integer"/>
<xs:element name="aggincamere" type="xs:integer"/>
<xs:element name="inunitabit" type="xs:integer"/>
<xs:element name="agginunitabit" type="xs:integer"/>
<xs:element name="SERVIGIENICI">
<xs:complexType>
<xs:sequence>
<xs:element ref="incamere"/>
<xs:element ref="inunitabit"/>
<xs:element ref="igcomuni"/>
<xs:element ref="perdisabili"/>
<xs:element ref="totale"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="igcomuni" type="xs:integer"/>
<xs:element name="percaccessdisabili">
<xs:complexType>
<xs:attribute name="percentuale" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="100"/>
<xs:enumeration value="0"/>
<xs:enumeration value="20"/>
<xs:enumeration value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="IMPSERVALTRO">
<xs:complexType>
<xs:sequence>
<xs:element ref="tipoimp" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="linguestraniere" minOccurs="0"/>
<xs:element ref="carteaccettate" minOccurs="0"/>
<xs:element ref="certificazione" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="altro" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="tipoimp">
<xs:complexType>
<xs:attribute name="tipo" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="accettazione_animali_domestici"/>
<xs:enumeration value="spiaggia_privata"/>
<xs:enumeration value="sala_soggiorno_e_svago"/>
<xs:enumeration value="ristorante"/>
<xs:enumeration value="sala_riunioni"/>
<xs:enumeration value="accesso_internet_wi_fi"/>
<xs:enumeration value="parcheggio_proprio"/>
<xs:enumeration value="piscina_scoperta"/>
<xs:enumeration value="accettazione_gruppi"/>
<xs:enumeration value="trasporto_clienti_stazione"/>
<xs:enumeration value="baby_sitting"/>
<xs:enumeration value="aria_condizionata"/>
<xs:enumeration value="discoteca"/>
<xs:enumeration value="sala_televisione"/>
<xs:enumeration value="accesso_internet"/>
<xs:enumeration value="lavatura_stiratura_biancheria"/>
<xs:enumeration value="custodia_valori"/>
<xs:enumeration value="sauna_centro_salute"/>
<xs:enumeration value="piscina_coperta"/>
<xs:enumeration value="autorimessa_anche_convenzionata"/>
<xs:enumeration value="bar"/>
<xs:enumeration value="TV_satellitare"/>
<xs:enumeration value="ascensore"/>
<xs:enumeration value="parco_o_giardino"/>
<xs:enumeration value="bicicletta"/>
<xs:enumeration value="terme"/>
<xs:enumeration value="accesso_con_vetture_private"/>
<xs:enumeration value="giochi_per_bambini"/>
<xs:enumeration value="colazione_in_camera"/>
<xs:enumeration value="fax"/>
<xs:enumeration value="tennis"/>
<xs:enumeration value="WI-FI"/>
<xs:enumeration value="rimessaggio_caravan"/>
<xs:enumeration value="ormeggio"/>
<xs:enumeration value="self-service"/>
<xs:enumeration value="telefono_uso_comune"/>
<xs:enumeration value="auto-lavaggio"/>
<xs:enumeration value="spaccio_alimentare"/>
<xs:enumeration value="vicino_distributore_benzina"/>
<xs:enumeration value="lavatrice"/>
<xs:enumeration value="animazione"/>
<xs:enumeration value="servizio_bancario"/>
<xs:enumeration value="cucina_uso_comune"/>
<xs:enumeration value="riscaldamento"/>
<xs:enumeration value="sauna"/>
<xs:enumeration value="centro_salute"/>
<xs:enumeration value="vendita_diretta_dei_prodotti_agricoli"/>
<xs:enumeration value="sala_soggiorno_comune"/>
<xs:enumeration
value="cucina_uso_comune_strutture_solo_camere_max_12_posti_letto"/>
<xs:enumeration value="maneggio"/>
<xs:enumeration value="somministrazione_bevande"/>
<xs:enumeration value="cassetta_sicurezza"/>
<xs:enumeration value="noleggio_articoli_sportivi"/>
<xs:enumeration value="locale_infermeria_o_pronto_soccorso"/>
<xs:enumeration value="istruttore_vela"/>
<xs:enumeration value="tennis_tavolo"/>
<xs:enumeration value="noleggio_natanti_o_battelli"/>
<xs:enumeration value="istruttore_windsurf"/>
<xs:enumeration value="campo_bocce"/>
<xs:enumeration value="noleggio_tavole_a_vela"/>
<xs:enumeration value="cassetta_pronto_soccorso"/>
<xs:enumeration value="istruttore_sci_nautico"/>
<xs:enumeration value="somministrazione_alimenti"/>
<xs:enumeration value="illuminazione_elettrica"/>
<xs:enumeration value="locale_ricovero"/>
<xs:enumeration value="piazzola_per_elicotteri"/>
<xs:enumeration value="barella"/>
<xs:enumeration value="spazio_attrezzato_consumo_cibi"/>
<xs:enumeration value="estintori"/>
<xs:enumeration value="sonde_per_neve"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="linguestraniere">
<xs:complexType>
<xs:sequence>
<xs:element ref="lingua" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="altrelingue" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="lingua">
<xs:complexType>
<xs:attribute name="tipo" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="spagnolo"/>
<xs:enumeration value="inglese"/>
<xs:enumeration value="tedesco"/>
<xs:enumeration value="francese"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="altrelingue">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="carteaccettate">
<xs:complexType>
<xs:sequence>
<xs:choice maxOccurs="unbounded">
<xs:element ref="carta" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="altrecarte" minOccurs="0"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="carta">
<xs:complexType>
<xs:attribute name="tipo" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="bancomat"/>
<xs:enumeration value="carte_di_credito"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="altrecarte">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="certificazione">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="altro">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SERVIZIOCONGRESSI">
<xs:complexType>
<xs:sequence>
<xs:element ref="saleriunioni"/>
<xs:element ref="postitotali"/>
<xs:element ref="postisalaplenaria"/>
<xs:element ref="servizicongressuali"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="saleriunioni" type="xs:integer"/>
<xs:element name="postitotali" type="xs:integer"/>
<xs:element name="postisalaplenaria" type="xs:integer"/>
<xs:element name="servizicongressuali">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PREZZIMASSIMIPERNOTTAMENTO">
<xs:complexType>
<xs:sequence>
<xs:element ref="PERIODOALTASTAGIONE"/>
<xs:element ref="PERIODOBASSASTAGIONE"/>
<xs:element ref="CAMERESTAGALB"/>
<xs:element ref="UNITABITATIVESTAGALB"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PERIODOALTASTAGIONE">
<xs:complexType>
<xs:sequence>
<xs:sequence maxOccurs="unbounded">
<xs:element ref="apertstagdal"/>
<xs:element ref="apertstagal"/>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PERIODOBASSASTAGIONE">
<xs:complexType>
<xs:sequence>
<xs:sequence maxOccurs="unbounded">
<xs:element ref="apertstagdal"/>
<xs:element ref="apertstagal"/>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CAMERESTAGALB">
<xs:complexType>
<xs:sequence>
<xs:element ref="prsingolaconbagno"/>
<xs:element ref="prsingolasenzabagno"/>
<xs:element ref="prdoppiaconbagno"/>
<xs:element ref="prdoppiasenzabagno"/>
<xs:element ref="prdoppiausosingolaconbagno"/>
<xs:element ref="prdoppiausosingolosenzabagno"/>
<xs:element ref="prsuite"/>
<xs:element ref="prcameraconlettoaggiunt"/>
<xs:element ref="prcameraconsoggiorno"/>
<xs:element ref="prcameraconlettoaggiuntperbambino"/>
<xs:element ref="prpensione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="altastagione">
<xs:complexType>
<xs:sequence>
<xs:element ref="euro"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="bassastagione">
<xs:complexType>
<xs:sequence>
<xs:element ref="euro"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prsingolaconbagno">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prsingolasenzabagno">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prdoppiaconbagno">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prdoppiasenzabagno">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prdoppiausosingolosenzabagno">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prdoppiausosingolaconbagno">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prsuite">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prcameraconlettoaggiunt">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prcameraconsoggiorno">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prcameraconlettoaggiuntperbambino">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prpensione">
<xs:complexType>
<xs:sequence>
<xs:element ref="prpenscompleta"/>
<xs:element ref="prpensmezza"/>
<xs:element ref="prpenssupplemento"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prpenscompleta">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prpensmezza">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prpenssupplemento">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UNITABITATIVESTAGALB">
<xs:complexType>
<xs:sequence>
<xs:element ref="classe" maxOccurs="unbounded"/>
<xs:element ref="supplpensione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="classe">
<xs:complexType>
<xs:sequence>
<xs:element ref="prezzo"/>
<xs:element ref="descrizioneunitaabitativa"/>
</xs:sequence>
<xs:attribute name="tipo" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="A"/>
<xs:enumeration value="B"/>
<xs:enumeration value="C"/>
<xs:enumeration value="D"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="monolocale" type="xs:boolean"/>
</xs:complexType>
</xs:element>
<xs:element name="prezzo">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="descrizioneunitaabitativa">
<xs:complexType>
<xs:sequence>
<xs:element ref="numcam" minOccurs="0"/>
<xs:element ref="numposti"/>
<xs:element ref="soggiorno" minOccurs="0"/>
<xs:element ref="cucina" minOccurs="0"/>
<xs:element ref="numwc"/>
<xs:element ref="altroesteso"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="altroesteso">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="numcam" type="xs:integer"/>
<xs:element name="numposti" type="xs:integer"/>
<xs:element name="soggiorno" type="xs:boolean"/>
<xs:element name="cucina" type="xs:boolean"/>
<xs:element name="numwc" type="xs:integer"/>
<xs:element name="supplpensione">
<xs:complexType>
<xs:sequence>
<xs:element ref="prpenscompleta"/>
<xs:element ref="prpensmezza"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SOMMINISTRPREZZOFISSO">
<xs:complexType>
<xs:sequence>
<xs:element ref="PERIODOALTASTAGIONE"/>
<xs:element ref="PERIODOBASSASTAGIONE"/>
<xs:element ref="primacolazione"/>
<xs:element ref="pranzo"/>
<xs:element ref="cena"/>
<xs:element ref="supplementoincamera"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="primacolazione">
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:element ref="nonfornita"/>
<xs:element ref="fornitacompresanelprezzo"/>
<xs:element ref="fornitanoncompresanelprezzo"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="nonfornita" type="xs:boolean"/>
<xs:element name="fornitacompresanelprezzo" type="xs:boolean"/>
<xs:element name="fornitanoncompresanelprezzo">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="pranzo">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="cena">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="supplementoincamera">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FLAG_NON_CONSENSO">
<xs:annotation>
<xs:documentation>
Il "FLAG_NON_CONSENSO" server per comunicare se la struttura desidera essere
pubblicata sul sito del Turismo oppure no.
Se tale Flag viene inviato a "no" significa che la struttura intende essere
presente sul sito del turismo.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="tipo" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="si"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="DESCRCAMP">
<xs:complexType>
<xs:sequence>
<xs:element ref="classificazionecamp" minOccurs="0"/>
<xs:element ref="DIPENDENTI" minOccurs="0"/>
<xs:element ref="AREAESERCIZIO" minOccurs="0"/>
<xs:element ref="PIAZZOLE" minOccurs="0"/>
<xs:element ref="UNITAABITATIVECAMP" minOccurs="0"/>
<xs:element ref="SERVIGIENICICOMUNI" minOccurs="0"/>
<xs:element ref="IMPSERVALTRO" minOccurs="0"/>
<xs:element ref="PREZZIMASSIMICAMP" minOccurs="0"/>
<xs:element ref="FLAG_NON_CONSENSO"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AREAESERCIZIO">
<xs:complexType>
<xs:sequence>
<xs:element ref="suptotmq"/>
<xs:element ref="numperscaptot"/>
<xs:element ref="numpiazzole"/>
<xs:element ref="numunitabit"/>
<xs:element ref="percareeusocomune"/>
<xs:element ref="percombrnaturale"/>
</xs:sequence>
<xs:attribute name="percaccessdisab" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="100"/>
<xs:enumeration value="0"/>
<xs:enumeration value="20"/>
<xs:enumeration value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="suptotmq" type="xs:integer"/>
<xs:element name="numperscaptot" type="xs:integer"/>
<xs:element name="numpiazzole" type="xs:integer"/>
<xs:element name="numunitabit" type="xs:integer"/>
<xs:element name="percareeusocomune">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:totalDigits value="9"/>
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="percombrnaturale">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:totalDigits value="9"/>
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PIAZZOLE">
<xs:complexType>
<xs:sequence>
<xs:element ref="numtotale"/>
<xs:element ref="conwc"/>
<xs:element ref="conpresacorrente"/>
<xs:element ref="conallaccioreteidr"/>
<xs:element ref="conlavello"/>
<xs:element ref="supmediapiazz"/>
<xs:element ref="supminimapiazz"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="numtotale" type="xs:integer"/>
<xs:element name="conwc" type="xs:integer"/>
<xs:element name="conpresacorrente" type="xs:integer"/>
<xs:element name="conallaccioreteidr" type="xs:integer"/>
<xs:element name="conlavello" type="xs:integer"/>
<xs:element name="supmediapiazz" type="xs:integer"/>
<xs:element name="supminimapiazz" type="xs:integer"/>
<xs:element name="UNITAABITATIVECAMP">
<xs:complexType>
<xs:sequence>
<xs:element ref="totale"/>
<xs:element ref="numcam"/>
<xs:element ref="numposti"/>
<xs:element ref="perdisabili"/>
<xs:element ref="camereconriscald"/>
<xs:element ref="camereconariacondizionata"/>
<xs:element ref="camerecontvcolori"/>
<xs:element ref="numfrigobar"/>
<xs:element ref="conacquacalda"/>
<xs:element ref="camereconcassettesicurezza"/>
<xs:element ref="conbagno"/>
<xs:element ref="conlavello"/>
<xs:element ref="camereconasciugacapelli"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="conacquacalda" type="xs:integer"/>
<xs:element name="conbagno" type="xs:integer"/>
<xs:element name="SERVIGIENICICOMUNI">
<xs:complexType>
<xs:sequence>
<xs:element ref="numzoneservizi"/>
<xs:element ref="numwc"/>
<xs:element ref="perdisabili"/>
<xs:element ref="vuotperwcchimici"/>
<xs:element ref="numdocceaperte"/>
<xs:element ref="numdoccechiuse"/>
<xs:element ref="numdocceacquacalda"/>
<xs:element ref="numlavabi"/>
<xs:element ref="numlavellistoviglie"/>
<xs:element ref="numlavatpanni"/>
<xs:element ref="altro"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="numzoneservizi" type="xs:integer"/>
<xs:element name="vuotperwcchimici" type="xs:integer"/>
<xs:element name="numdocceaperte" type="xs:integer"/>
<xs:element name="numdoccechiuse" type="xs:integer"/>
<xs:element name="numdocceacquacalda" type="xs:integer"/>
<xs:element name="numlavabi" type="xs:integer"/>
<xs:element name="numlavellistoviglie" type="xs:integer"/>
<xs:element name="numlavatpanni" type="xs:integer"/>
<xs:element name="PREZZIMASSIMICAMP">
<xs:annotation>
<xs:documentation>
La data e' accettata nel seguente formato: aaaa-mm-gg
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="PERIODOALTASTAGIONE"/>
<xs:element ref="PERIODOBASSASTAGIONE"/>
<xs:element ref="DURATAVACCAMP"/>
<xs:element ref="UNITABITATIVESTAGCAMP"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DURATAVACCAMP">
<xs:complexType>
<xs:sequence>
<xs:element ref="prpiazzola"/>
<xs:element ref="pradulti"/>
<xs:element ref="prragazzi"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="giornalierapiazz">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
<xs:element ref="supplemento"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="supplemento">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="settimanalepiazz">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
<xs:element ref="supplemento"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="interaaperturapiazz">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
<xs:element ref="supplemento"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="giornaliera">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="settimanale">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="interaapertura">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prpiazzola">
<xs:complexType>
<xs:sequence>
<xs:element ref="giornalierapiazz"/>
<xs:element ref="settimanalepiazz"/>
<xs:element ref="interaaperturapiazz"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="pradulti">
<xs:complexType>
<xs:sequence>
<xs:element ref="giornaliera"/>
<xs:element ref="settimanale"/>
<xs:element ref="interaapertura"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prragazzi">
<xs:complexType>
<xs:sequence>
<xs:element ref="giornaliera"/>
<xs:element ref="settimanale"/>
<xs:element ref="interaapertura"/>
</xs:sequence>
<xs:attribute name="daanni" type="xs:integer" use="required"/>
<xs:attribute name="aanni" type="xs:integer" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="UNITABITATIVESTAGCAMP">
<xs:complexType>
<xs:sequence>
<xs:element ref="prezziunitaabitative" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UNITABITATIVESTAGREP">
<xs:complexType>
<xs:sequence>
<xs:element ref="prezziunitaabitative" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prezziunitaabitative">
<xs:complexType>
<xs:sequence>
<xs:element ref="prezzogiornaliero"/>
<xs:element ref="prezzosettimana"/>
<xs:element ref="descrizioneunitaabitativa"/>
</xs:sequence>
<xs:attribute name="tipo" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="A"/>
<xs:enumeration value="B"/>
<xs:enumeration value="C"/>
<xs:enumeration value="D"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="monolocale" type="xs:boolean"/>
</xs:complexType>
</xs:element>
<xs:element name="prezzogiornaliero">
<xs:complexType>
<xs:sequence>
<xs:element ref="prezzo"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prezzosettimana">
<xs:complexType>
<xs:sequence>
<xs:element ref="prezzo"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prgiornaliero">
<xs:complexType>
<xs:sequence>
<xs:element ref="classe" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prsettimana">
<xs:complexType>
<xs:sequence>
<xs:element ref="classe" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DESCRRESEPOCA">
<xs:complexType>
<xs:sequence>
<xs:element ref="DIPENDENTI" minOccurs="0"/>
<xs:element ref="CAMERERESEPOCA" minOccurs="0"/>
<xs:element ref="UNITAABITATIVERESEPOCA" minOccurs="0"/>
<xs:element ref="POSTILETTO" minOccurs="0"/>
<xs:element ref="SERVIGIENICI" minOccurs="0"/>
<xs:element ref="IMPSERVALTRO" minOccurs="0"/>
<xs:element ref="SERVIZIOCONGRESSI" minOccurs="0"/>
<xs:element ref="PREZZIMASSIMIRESEPOCA" minOccurs="0"/>
<xs:element ref="SOMMINISTRPREZZOFISSO" minOccurs="0"/>
<xs:element ref="FLAG_NON_CONSENSO"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CAMERERESEPOCA">
<xs:complexType>
<xs:sequence>
<xs:element ref="numsingole"/>
<xs:element ref="numdoppie"/>
<xs:element ref="totale"/>
<xs:element ref="camereconriscald"/>
<xs:element ref="camereconariacondizionata"/>
<xs:element ref="camerecontelfono"/>
<xs:element ref="camerecontvcolori"/>
<xs:element ref="camereconcassettesicurezza"/>
<xs:element ref="perdisabili"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="numsingole" type="xs:integer"/>
<xs:element name="numdoppie" type="xs:integer"/>
<xs:element name="UNITAABITATIVERESEPOCA">
<xs:complexType>
<xs:sequence>
<xs:element ref="camereconriscald"/>
<xs:element ref="camereconariacondizionata"/>
<xs:element ref="camerecontvcolori"/>
<xs:element ref="camerecontelfono"/>
<xs:element ref="camereconcassettesicurezza"/>
<xs:element ref="camereconasciugacapelli"/>
<xs:element ref="perdisabili"/>
<xs:element ref="totaleunitaabitative"/>
<xs:element ref="totalecamere"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PREZZIMASSIMIRESEPOCA">
<xs:complexType>
<xs:sequence>
<xs:element ref="PERIODOALTASTAGIONE"/>
<xs:element ref="PERIODOBASSASTAGIONE"/>
<xs:element ref="CAMERESTAGRESEPOCA"/>
<xs:element ref="UNITABITATIVESTAGREP"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CAMERESTAGRESEPOCA">
<xs:complexType>
<xs:sequence>
<xs:element ref="prsingolaconbagno"/>
<xs:element ref="prsingolasenzabagno"/>
<xs:element ref="prdoppiaconbagno"/>
<xs:element ref="prdoppiasenzabagno"/>
<xs:element ref="prdoppiausosingolaconbagno"/>
<xs:element ref="prdoppiausosingolosenzabagno"/>
<xs:element ref="prcameraconlettoaggiunt"/>
<xs:element ref="prcameraconlettoaggiuntperbambino"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DESCRRESIDENCE">
<xs:complexType>
<xs:sequence>
<xs:element ref="classificazioneresidence" minOccurs="0"/>
<xs:element ref="DIPENDENTI" minOccurs="0"/>
<xs:element ref="UNITAABITATIVERESIDENCE" minOccurs="0"/>
<xs:element ref="POSTILETTORESIDENCE" minOccurs="0"/>
<xs:element ref="SERVIGIENICIRESIDENCE" minOccurs="0"/>
<xs:element ref="IMPSERVALTRO" minOccurs="0"/>
<xs:element ref="SERVIZIOCONGRESSI" minOccurs="0"/>
<xs:element ref="PREZZIMASSIMIRESIDENCE" minOccurs="0"/>
<xs:element ref="FLAG_NON_CONSENSO"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UNITAABITATIVERESIDENCE">
<xs:complexType>
<xs:sequence>
<xs:element ref="camereconriscald"/>
<xs:element ref="camereconariacondizionata"/>
<xs:element ref="camerecontvcolori"/>
<xs:element ref="camerecontelfono"/>
<xs:element ref="camereconcassettesicurezza"/>
<xs:element ref="camereconasciugacapelli"/>
<xs:element ref="perdisabili"/>
<xs:element ref="totaleunitaabitative"/>
<xs:element ref="totalecamere"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="POSTILETTORESIDENCE">
<xs:complexType>
<xs:sequence>
<xs:element ref="inunitabit"/>
<xs:element ref="agginunitabit"/>
<xs:element ref="totale"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SERVIGIENICIRESIDENCE">
<xs:complexType>
<xs:sequence>
<xs:element ref="perdisabili"/>
<xs:element ref="totale"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PREZZIMASSIMIRESIDENCE">
<xs:annotation>
<xs:documentation>
La data e' accettata nel seguente formato: aaaa-mm-gg
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="PERIODOALTASTAGIONE"/>
<xs:element ref="PERIODOBASSASTAGIONE"/>
<xs:element ref="UNITABITATIVESTAGRESIDENCE"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UNITABITATIVESTAGRESIDENCE">
<xs:complexType>
<xs:sequence>
<xs:element ref="prezziunitaabitative" maxOccurs="unbounded"/>
<xs:element ref="prlettoaggiunto"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prlettoaggiunto">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DESCRCASAPPVACANZE">
<xs:complexType>
<xs:sequence>
<xs:element ref="DIPENDENTI" minOccurs="0"/>
<xs:element ref="UNITAABITATIVECASAPPVACANZE" minOccurs="0"/>
<xs:element ref="POSTILETTOCASAPPVACANZE" minOccurs="0"/>
<xs:element ref="SERVIGIENICICASAPPVACANZE" minOccurs="0"/>
<xs:element ref="IMPSERVALTRO" minOccurs="0"/>
<xs:element ref="PREZZIMASSIMICASAPPVACANZE" minOccurs="0"/>
<xs:element ref="FLAG_NON_CONSENSO"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UNITAABITATIVECASAPPVACANZE">
<xs:complexType>
<xs:sequence>
<xs:element ref="camereconriscald"/>
<xs:element ref="camereconariacondizionata"/>
<xs:element ref="camerecontvcolori"/>
<xs:element ref="camerecontelfono"/>
<xs:element ref="camereconcassettesicurezza"/>
<xs:element ref="camereconasciugacapelli"/>
<xs:element ref="perdisabili"/>
<xs:element ref="totaleunitaabitative"/>
<xs:element ref="totalecamere"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="POSTILETTOCASAPPVACANZE">
<xs:complexType>
<xs:sequence>
<xs:element ref="inunitabit"/>
<xs:element ref="agginunitabit"/>
<xs:element ref="totale"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SERVIGIENICICASAPPVACANZE">
<xs:complexType>
<xs:sequence>
<xs:element ref="perdisabili"/>
<xs:element ref="totale"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PREZZIMASSIMICASAPPVACANZE">
<xs:complexType>
<xs:sequence>
<xs:element ref="PERIODOALTASTAGIONE"/>
<xs:element ref="PERIODOBASSASTAGIONE"/>
<xs:element ref="UNITABITATIVESTAGCASAPPVACANZE"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UNITABITATIVESTAGCASAPPVACANZE">
<xs:complexType>
<xs:sequence>
<xs:element ref="prezziunitaabitative" maxOccurs="unbounded"/>
<xs:element ref="prlettoaggiunto"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DESCRSTABBALNEARE">
<xs:complexType>
<xs:sequence>
<xs:element ref="DIPENDENTI" minOccurs="0"/>
<xs:element ref="AREAESERCIZIOSTABBALNEARE" minOccurs="0"/>
<xs:element ref="ATTREZZISP" minOccurs="0"/>
<xs:element ref="SERVIGIENICICOMUNISTABBALNEARE" minOccurs="0"/>
<xs:element ref="IMPSERVALTRO" minOccurs="0"/>
<xs:element ref="PREZZIMASSIMISTABBALNEARE" minOccurs="0"/>
<xs:element ref="NOLEGGIOATTRSERV" minOccurs="0"/>
<xs:element ref="SOMMINISTRPREZZOFISSOSTABBALNEARE" minOccurs="0"/>
<xs:element ref="FLAG_NON_CONSENSO"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AREAESERCIZIOSTABBALNEARE">
<xs:complexType>
<xs:sequence>
<xs:element ref="suptotmq"/>
<xs:element ref="metrifrontemare"/>
<xs:element ref="percareeusocomune"/>
<xs:element ref="percombrnaturale"/>
<xs:element ref="numperscaptot"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="metrifrontemare" type="xs:integer"/>
<xs:element name="ATTREZZISP">
<xs:complexType>
<xs:sequence>
<xs:element ref="numombrtende"/>
<xs:element ref="numsdraio"/>
<xs:element ref="numlettini"/>
<xs:element ref="numcabine"/>
<xs:element ref="numspoglcustoditi"/>
<xs:element ref="numspoglnoncustoditi"/>
<xs:element ref="altro"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="numombrtende" type="xs:integer"/>
<xs:element name="numsdraio" type="xs:integer"/>
<xs:element name="numlettini" type="xs:integer"/>
<xs:element name="numcabine" type="xs:integer"/>
<xs:element name="numspoglcustoditi" type="xs:integer"/>
<xs:element name="numspoglnoncustoditi" type="xs:integer"/>
<xs:element name="SERVIGIENICICOMUNISTABBALNEARE">
<xs:complexType>
<xs:sequence>
<xs:element ref="numzoneservizi"/>
<xs:element ref="numwc"/>
<xs:element ref="perdisabili"/>
<xs:element ref="numdocceaperte"/>
<xs:element ref="numdoccechiuse"/>
<xs:element ref="numdocceacquacalda"/>
<xs:element ref="numlavabi"/>
<xs:element ref="altro"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PREZZIMASSIMISTABBALNEARE">
<xs:complexType>
<xs:sequence>
<xs:element ref="PERIODOALTASTAGIONE"/>
<xs:element ref="PERIODOBASSASTAGIONE"/>
<xs:choice maxOccurs="unbounded">
<xs:element ref="periodostdtipostd"/>
<xs:element ref="periodononstdtipostd"/>
<xs:element ref="periodostdtipononstd"/>
<xs:element ref="periodononstdtipononstd"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="periodostdtipostd">
<xs:complexType>
<xs:sequence>
<xs:element ref="prezzo"/>
</xs:sequence>
<xs:attribute name="giorni" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="1"/>
<xs:enumeration value="7"/>
<xs:enumeration value="intera_stagione"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="tipo" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="ombrellone_e_due_sdraio_e_cabina"/>
<xs:enumeration value="altro"/>
<xs:enumeration value="cabina_ingresso_compreso"/>
<xs:enumeration value="ombrellone_e_due_sdraio"/>
<xs:enumeration value="ingresso_spogliatoio"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="periodononstdtipostd">
<xs:complexType>
<xs:sequence>
<xs:element ref="numgiorni"/>
<xs:element ref="prezzo"/>
</xs:sequence>
<xs:attribute name="tipo" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="ombrellone_e_due_sdraio_e_cabina"/>
<xs:enumeration value="altro"/>
<xs:enumeration value="cabina_ingresso_compreso"/>
<xs:enumeration value="ombrellone_e_due_sdraio"/>
<xs:enumeration value="ingresso_spogliatoio"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="numgiorni" type="xs:string"/>
<xs:element name="periodostdtipononstd">
<xs:complexType>
<xs:sequence>
<xs:element ref="tipononstd"/>
<xs:element ref="prezzo"/>
</xs:sequence>
<xs:attribute name="giorni" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="1"/>
<xs:enumeration value="7"/>
<xs:enumeration value="intera_stagione"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="tipononstd" type="xs:string"/>
<xs:element name="periodononstdtipononstd">
<xs:complexType>
<xs:sequence>
<xs:element ref="numgiorni"/>
<xs:element ref="tipononstd"/>
<xs:element ref="prezzo"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="NOLEGGIOATTRSERV">
<xs:complexType>
<xs:sequence>
<xs:element ref="PERIODOALTASTAGIONE"/>
<xs:element ref="PERIODOBASSASTAGIONE"/>
<xs:element ref="tiponoleggio" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="tiponoleggio">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
<xs:attribute name="tipo" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="doccia_calda"/>
<xs:enumeration value="uso_idromassaggio"/>
<xs:enumeration value="uso_piscina"/>
<xs:enumeration value="pedalo"/>
<xs:enumeration value="lettino"/>
<xs:enumeration value="pattino"/>
<xs:enumeration value="sedia_sdraio_supplementare"/>
<xs:enumeration value="tavola_a_vela"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="SOMMINISTRPREZZOFISSOSTABBALNEARE">
<xs:complexType>
<xs:sequence>
<xs:element ref="PERIODOALTASTAGIONE"/>
<xs:element ref="PERIODOBASSASTAGIONE"/>
<xs:element ref="colazione"/>
<xs:element ref="pranzo"/>
<xs:element ref="cena"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="colazione">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DESCRAFFCAM">
<xs:complexType>
<xs:sequence>
<xs:element ref="BEDBREAKFAST"/>
<xs:element ref="DIPENDENTI" minOccurs="0"/>
<xs:element ref="CAMEREAFFCAM" minOccurs="0"/>
<xs:element ref="POSTILETTOAFFCAM" minOccurs="0"/>
<xs:element ref="SERVIGIENICIAFFCAM" minOccurs="0"/>
<xs:element ref="IMPSERVALTRO" minOccurs="0"/>
<xs:element ref="PREZZIMASSIMIAFFCAM" minOccurs="0"/>
<xs:element ref="SOMMINISTRPREZZOFISSO" minOccurs="0"/>
<xs:element ref="FLAG_NON_CONSENSO"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BEDBREAKFAST" type="xs:boolean" default="false"/>
<xs:element name="CAMEREAFFCAM">
<xs:complexType>
<xs:sequence>
<xs:element ref="numnumsingole"/>
<xs:element ref="numdoppie"/>
<xs:element ref="totale"/>
<xs:element ref="camereconriscald"/>
<xs:element ref="camereconariacondizionata"/>
<xs:element ref="camerecontelfono"/>
<xs:element ref="camerecontvcolori"/>
<xs:element ref="camereconcassettesicurezza"/>
<xs:element ref="perdisabili"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="POSTILETTOAFFCAM">
<xs:complexType>
<xs:sequence>
<xs:element ref="incamere"/>
<xs:element ref="aggincamere"/>
<xs:element ref="totale"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SERVIGIENICIAFFCAM">
<xs:complexType>
<xs:sequence>
<xs:element ref="incamere"/>
<xs:element ref="igcomuni"/>
<xs:element ref="perdisabili"/>
<xs:element ref="totale"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PREZZIMASSIMIAFFCAM">
<xs:complexType>
<xs:sequence>
<xs:element ref="PERIODOALTASTAGIONE"/>
<xs:element ref="PERIODOBASSASTAGIONE"/>
<xs:element ref="CAMERESTAGAFFCAM"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CAMERESTAGAFFCAM">
<xs:complexType>
<xs:sequence>
<xs:element ref="prsingolaconbagno"/>
<xs:element ref="prsingolasenzabagno"/>
<xs:element ref="prdoppiaconbagno"/>
<xs:element ref="prdoppiasenzabagno"/>
<xs:element ref="prdoppiausosingolaconbagno"/>
<xs:element ref="prdoppiausosingolosenzabagno"/>
<xs:element ref="prcameraconlettoaggiunt"/>
<xs:element ref="prcameraconlettoaggiuntperbambino"/>
<xs:element ref="prpenscompleta"/>
<xs:element ref="prpensmezza"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DESCROSTELLO">
<xs:complexType>
<xs:sequence>
<xs:element ref="DIPENDENTI" minOccurs="0"/>
<xs:element ref="CAMEREOST" minOccurs="0"/>
<xs:element ref="POSTILETTOOST" minOccurs="0"/>
<xs:element ref="SERVIGIENICIOST" minOccurs="0"/>
<xs:element ref="IMPSERVALTRO" minOccurs="0"/>
<xs:element ref="SERVIZIOCONGRESSI" minOccurs="0"/>
<xs:element ref="PREZZIMASSIMIOST" minOccurs="0"/>
<xs:element ref="SOMMINISTRPREZZOFISSO" minOccurs="0"/>
<xs:element ref="FLAG_NON_CONSENSO"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CAMEREOST">
<xs:complexType>
<xs:sequence>
<xs:element ref="numsingole"/>
<xs:element ref="numdoppie"/>
<xs:element ref="conpiudidueletti"/>
<xs:element ref="divisione"/>
<xs:element ref="camereconriscald"/>
<xs:element ref="camereconariacondizionata"/>
<xs:element ref="camerecontvcolori"/>
<xs:element ref="numfrigobar"/>
<xs:element ref="camerecontelfono"/>
<xs:element ref="camereconcassettesicurezza"/>
<xs:element ref="camereconasciugacapelli"/>
<xs:element ref="perdisabili"/>
<xs:element ref="totale"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="conpiudidueletti" type="xs:integer"/>
<xs:element name="conpiudiquattroletti" type="xs:integer"/>
<xs:element name="divisione">
<xs:complexType>
<xs:sequence>
<xs:element ref="num"/>
</xs:sequence>
<xs:attribute name="divuominidonne" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="si"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="num" type="xs:integer"/>
<xs:element name="POSTILETTOOST">
<xs:complexType>
<xs:sequence>
<xs:element ref="totale"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SERVIGIENICIOST">
<xs:complexType>
<xs:sequence>
<xs:element ref="incamere"/>
<xs:element ref="igcomuni"/>
<xs:element ref="perdisabili"/>
<xs:element ref="numdocce"/>
<xs:element ref="totale"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="numdocce" type="xs:integer"/>
<xs:element name="PREZZIMASSIMIOST">
<xs:complexType>
<xs:sequence>
<xs:element ref="PERIODOALTASTAGIONE"/>
<xs:element ref="PERIODOBASSASTAGIONE"/>
<xs:element ref="CAMERESTAGOST"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CAMERESTAGOST">
<xs:complexType>
<xs:sequence>
<xs:element ref="prsingolaconbagno"/>
<xs:element ref="prsingolasenzabagno"/>
<xs:element ref="prdoppiaconbagno"/>
<xs:element ref="prdoppiasenzabagno"/>
<xs:element ref="prdoppiausosingolaconbagno"/>
<xs:element ref="prdoppiausosingolosenzabagno"/>
<xs:element ref="prlettoincameraconbagno"/>
<xs:element ref="prlettoincamerasenzabagno"/>
<xs:element ref="prcameraconlettoaggiuntperbambino"/>
<xs:element ref="prpensione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prlettoincameraconbagno">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prlettoincamerasenzabagno">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DESCRRIFUGIO">
<xs:complexType>
<xs:sequence>
<xs:element ref="CUSTODE" minOccurs="0"/>
<xs:element ref="DIPENDENTI" minOccurs="0"/>
<xs:element ref="CAMERERIF" minOccurs="0"/>
<xs:element ref="POSTILETTORIF" minOccurs="0"/>
<xs:element ref="SERVIGIENICIRIF" minOccurs="0"/>
<xs:element ref="IMPSERVALTRO" minOccurs="0"/>
<xs:element ref="PREZZIMASSIMIRIF" minOccurs="0"/>
<xs:element ref="SOMMINISTRPREZZOFISSO" minOccurs="0"/>
<xs:element ref="FLAG_NON_CONSENSO"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CUSTODE">
<xs:complexType>
<xs:sequence>
<xs:sequence maxOccurs="unbounded">
<xs:element ref="nome"/>
<xs:element ref="cognome"/>
<xs:element ref="recapitocust"/>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="nome">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cognome">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="recapitocust">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CAMERERIF">
<xs:complexType>
<xs:sequence>
<xs:element ref="numsingole"/>
<xs:element ref="dadueaquattro"/>
<xs:element ref="conpiudiquattroletti"/>
<xs:element ref="totale"/>
<xs:element ref="camereconriscald"/>
<xs:element ref="camereconariacondizionata"/>
<xs:element ref="perdisabili"/>
<xs:element ref="camerecontvcolori"/>
<xs:element ref="numfrigobar"/>
<xs:element ref="camerecontelfono"/>
<xs:element ref="camereconcassettesicurezza"/>
<xs:element ref="camereconasciugacapelli"/>
<xs:element ref="divisione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="dadueaquattro" type="xs:integer"/>
<xs:element name="POSTILETTORIF">
<xs:complexType>
<xs:sequence>
<xs:element ref="tavolaticuccette"/>
<xs:element ref="totale"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="tavolaticuccette" type="xs:integer"/>
<xs:element name="SERVIGIENICIRIF">
<xs:complexType>
<xs:sequence>
<xs:element ref="incamere"/>
<xs:element ref="igcomuni"/>
<xs:element ref="perdisabili"/>
<xs:element ref="numdocce"/>
<xs:element ref="totale"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PREZZIMASSIMIRIF">
<xs:complexType>
<xs:sequence>
<xs:element ref="PERIODOALTASTAGIONE"/>
<xs:element ref="PERIODOBASSASTAGIONE"/>
<xs:element ref="CAMERESTAGRIF"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CAMERESTAGRIF">
<xs:complexType>
<xs:sequence>
<xs:element ref="prsingolaconbagno"/>
<xs:element ref="prsingolasenzabagno"/>
<xs:element ref="prdoppiaconbagno"/>
<xs:element ref="prdoppiasenzabagno"/>
<xs:element ref="prlettoincamerapiudidueposti"/>
<xs:element ref="prtavolatocuccetta"/>
<xs:element ref="prsupplbiancheria"/>
<xs:element ref="prpenscompleta"/>
<xs:element ref="prpensmezza"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prlettoincamerapiudidueposti">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prtavolatocuccetta">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prsupplbiancheria">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DESCRAREADISOSTA">
<xs:complexType>
<xs:sequence>
<xs:element ref="DIPENDENTI" minOccurs="0"/>
<xs:element ref="AREAESERCIZIOAREADISOSTA" minOccurs="0"/>
<xs:element ref="PIAZZOLEAREADISOSTA" minOccurs="0"/>
<xs:element ref="SERVIGIENICICOMUNI" minOccurs="0"/>
<xs:element ref="IMPSERVALTRO" minOccurs="0"/>
<xs:element ref="PREZZIMASSIMIAREADISOSTA" minOccurs="0"/>
<xs:element ref="FLAG_NON_CONSENSO"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AREAESERCIZIOAREADISOSTA">
<xs:complexType>
<xs:sequence>
<xs:element ref="suptotmq"/>
<xs:element ref="numperscaptot"/>
<xs:element ref="percareeusocomune"/>
<xs:element ref="percombrnaturale"/>
</xs:sequence>
<xs:attribute name="percaccessdisab" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="100"/>
<xs:enumeration value="0"/>
<xs:enumeration value="20"/>
<xs:enumeration value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="PIAZZOLEAREADISOSTA">
<xs:complexType>
<xs:sequence>
<xs:element ref="totale"/>
<xs:element ref="conpresadicorrente"/>
<xs:element ref="superfmedia"/>
<xs:element ref="superfminima"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="conpresadicorrente" type="xs:integer"/>
<xs:element name="superfmedia" type="xs:integer"/>
<xs:element name="superfminima" type="xs:integer"/>
<xs:element name="PREZZIMASSIMIAREADISOSTA">
<xs:complexType>
<xs:sequence>
<xs:element ref="PERIODOALTASTAGIONE"/>
<xs:element ref="PERIODOBASSASTAGIONE"/>
<xs:element ref="PIAZZOLESTAGAREADISOSTA"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PIAZZOLESTAGAREADISOSTA">
<xs:complexType>
<xs:sequence>
<xs:element ref="prpiazzarsosta"/>
<xs:element ref="pradultiarsosta"/>
<xs:element ref="prragazziarsosta"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prpiazzarsosta">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="pradultiarsosta">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prragazziarsosta">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
<xs:attribute name="daanni" type="xs:integer" use="required"/>
<xs:attribute name="aanni" type="xs:integer" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="sezionecensimento">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DESCRAGRITURISMO">
<xs:complexType>
<xs:sequence>
<xs:element ref="CLASSIFICAZIONEAGRITURISMO" minOccurs="0"/>
<xs:element ref="MENZIONIAGGIUNTIVE" minOccurs="0"/>
<xs:element ref="TITOLAREAUTORIZZAZIONE" minOccurs="0"/>
<xs:element ref="ADDETTOATTIVITAAGRIT" minOccurs="0"/>
<xs:element ref="AZAUTORIZZATA" minOccurs="0"/>
<xs:element ref="CAMEREAGR" minOccurs="0"/>
<xs:element ref="UNITAABITATIVEAGR" minOccurs="0"/>
<xs:element ref="SPAZIAPERTI" minOccurs="0"/>
<xs:element ref="SERVIGIENICIAGR" minOccurs="0"/>
<xs:element ref="RISTORAZIONEAGR" minOccurs="0"/>
<xs:element ref="DIMENSIONE" minOccurs="0"/>
<xs:element ref="COLTURE" minOccurs="0"/>
<xs:element ref="IMPSERVALTRO" minOccurs="0"/>
<xs:element ref="ATTDIDATTRICRCULT" minOccurs="0"/>
<xs:element ref="PREZZIAAT" minOccurs="0"/>
<xs:element ref="FLAG_NON_CONSENSO"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PREZZIAAT">
<xs:complexType>
<xs:sequence>
<xs:element ref="PERIODOALTASTAGIONE"/>
<xs:element ref="PERIODOBASSASTAGIONE"/>
<xs:element ref="PREZZIMASSIMIGIORNALIERICAMERE" minOccurs="0"/>
<xs:element ref="PREZZIMASSIMIGIORNALIERIUNITABITATIVE" minOccurs="0"/>
<xs:element ref="PREZZIMASSIMIPASTI" minOccurs="0"/>
<xs:element ref="PREZZIMASSIMISPAZIAPERTI" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CLASSIFICAZIONEAGRITURISMO">
<xs:complexType>
<xs:attribute name="spighe">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="MENZIONIAGGIUNTIVE">
<xs:complexType>
<xs:sequence>
<xs:element ref="tipomenzioni" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="tipomenzioni">
<xs:complexType>
<xs:attribute name="tipo" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="animali"/>
<xs:enumeration value="equitazione"/>
<xs:enumeration value="degustazioni"/>
<xs:enumeration value="svago"/>
<xs:enumeration value="infamiglia"/>
<xs:enumeration value="mangiotipico"/>
<xs:enumeration value="senzabarriere"/>
<xs:enumeration value="stareinsieme"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="sitoweb">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="email">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="80"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DATITELEFONICI">
<xs:complexType>
<xs:sequence>
<xs:element ref="telefono"/>
<xs:element ref="fax"/>
<xs:element ref="cell"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="telefono">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="fax">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cell">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TITOLAREAUTORIZZAZIONE">
<xs:complexType>
<xs:sequence>
<xs:element ref="cognome"/>
<xs:element ref="nome"/>
<xs:element ref="societa"/>
<xs:element ref="titivacf"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="societa">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ADDETTOATTIVITAAGRIT">
<xs:complexType>
<xs:sequence>
<xs:element ref="cognome"/>
<xs:element ref="nome"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="numautorizzazione" type="xs:string"/>
<xs:element name="AZAUTORIZZATA">
<xs:complexType>
<xs:attribute name="autorizzazione" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="si"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="CAMEREAGR">
<xs:complexType>
<xs:sequence>
<xs:element ref="descrcamereagr" maxOccurs="unbounded"/>
<xs:element ref="totlettiautorizzate"/>
<xs:element ref="totcameredaletto"/>
<xs:element ref="camereconriscald"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="descrcamereagr">
<xs:complexType>
<xs:sequence>
<xs:element ref="numcamere" />
</xs:sequence>
<xs:attribute name="numCamere" type="xs:integer" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="numcamere">
<xs:complexType>
<xs:sequence>
<xs:element ref="altratipologia" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="bagno" type="xs:boolean" use="required" />
<xs:attribute name="tipologia" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="doppia"/>
<xs:enumeration value="cinque_letti"/>
<xs:enumeration value="tre_letti"/>
<xs:enumeration value="quattro_letti"/>
<xs:enumeration value="singola"/>
<xs:enumeration value="altro"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="altratipologia">
<xs:complexType>
<xs:attribute name="numeroletti" type="xs:integer" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="totlettiautorizzate" type="xs:integer"/>
<xs:element name="totcameredaletto" type="xs:integer"/>
<xs:element name="UNITAABITATIVEAGR">
<xs:complexType>
<xs:sequence>
<xs:element ref="totaleunitaabitative"/>
<xs:element ref="totalecamere"/>
<xs:element ref="totlettiautorizzate"/>
<xs:element ref="camereconriscald"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SPAZIAPERTI">
<xs:complexType>
<xs:sequence>
<xs:element ref="numpiazzole"/>
<xs:element ref="capacitaricettiva"/>
<xs:element ref="superficie"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="capacitaricettiva" type="xs:integer"/>
<xs:element name="superficie" type="xs:integer"/>
<xs:element name="SERVIGIENICIAGR">
<xs:complexType>
<xs:sequence>
<xs:element ref="STRUTTAGRITURISTICA"/>
<xs:element ref="STRUTTAGRICAMPEGGIO"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="STRUTTAGRITURISTICA">
<xs:complexType>
<xs:sequence>
<xs:element ref="inunitabitative"/>
<xs:element ref="privatincamere"/>
<xs:element ref="bagnicomunicamere"/>
<xs:element ref="bagnicomuniospitigiornalieri"/>
<xs:element ref="totalebagni"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="STRUTTAGRICAMPEGGIO">
<xs:complexType>
<xs:sequence>
<xs:element ref="totalewc"/>
<xs:element ref="vuotperwcchimici"/>
<xs:element ref="numlavabi"/>
<xs:element ref="numdoccechiuse"/>
<xs:element ref="numlavellistoviglie"/>
<xs:element ref="numlavatpanni"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="inunitabitative">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:integer">
<xs:attribute name="perportatorihandicap"
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="privatincamere">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:integer">
<xs:attribute name="perportatorihandicap"
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="bagnicomunicamere">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:integer">
<xs:attribute name="perportatorihandicap"
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="bagnicomuniospitigiornalieri">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:integer">
<xs:attribute name="perportatorihandicap"
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="totalebagni">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:integer">
<xs:attribute name="perportatorihandicap"
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="totalewc">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:integer">
<xs:attribute name="perportatorihandicap"
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="RISTORAZIONEAGR">
<xs:complexType>
<xs:sequence>
<xs:element ref="autpastiospiti"/>
<xs:element ref="autpastiindipendeserc"/>
<xs:element ref="degustazione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="autpastiospiti">
<xs:complexType>
type="xs:integer" use="required"/>
type="xs:integer" use="required"/>
type="xs:integer" use="required"/>
type="xs:integer" use="required"/>
type="xs:integer" use="required"/>
type="xs:integer" use="required"/>
<xs:attribute name="numeroposti" type="xs:integer" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="autpastiindipendeserc">
<xs:complexType>
<xs:attribute name="numeroposti" type="xs:integer" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="degustazione">
<xs:complexType>
<xs:attribute name="autorizzazione" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="si"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="DIMENSIONE">
<xs:complexType>
<xs:sequence>
<xs:element ref="ettari"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ettari" type="xs:integer"/>
<xs:element name="COLTURE">
<xs:complexType>
<xs:sequence>
<xs:element ref="attivita" maxOccurs="unbounded"/>
<xs:element ref="altrattivita" minOccurs="0"/>
<xs:element ref="allevamento" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="attivita">
<xs:complexType>
<xs:attribute name="tipo" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="foraggero"/>
<xs:enumeration value="viticolo"/>
<xs:enumeration value="bosco"/>
<xs:enumeration value="pascolo"/>
<xs:enumeration value="ortoflorovivaistico"/>
<xs:enumeration value="olivicolo"/>
<xs:enumeration value="altro"/>
<xs:enumeration value="cerealitico"/>
<xs:enumeration value="oleaginoso"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="altrattivita">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="allevamento">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="percentuale">
<xs:complexType>
<xs:attribute name="valore" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="100"/>
<xs:enumeration value="0"/>
<xs:enumeration value="20"/>
<xs:enumeration value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="ATTDIDATTRICRCULT">
<xs:complexType>
<xs:sequence>
<xs:choice maxOccurs="unbounded">
<xs:element ref="tipoattdidattricrcult"/>
<xs:element ref="altro"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="tipoattdidattricrcult">
<xs:complexType>
<xs:attribute name="tipo" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="corsi_di_equitazione"/>
<xs:enumeration value="corsi_di_cucina_locale"/>
<xs:enumeration value="corsi_antichi_mestieri"/>
<xs:enumeration value="trekking"/>
<xs:enumeration value="fattorie_didattiche_costi_per_scolaresche"/>
<xs:enumeration value="visite_guidate"/>
<xs:enumeration value="attivita_faunistico_venatoria"/>
<xs:enumeration value="corsi_di_artigianato_locale"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="PREZZIMASSIMIGIORNALIERICAMERE">
<xs:complexType>
<xs:sequence>
<xs:element ref="prezzomassimocam" maxOccurs="unbounded"/>
<xs:element ref="prcameraconlettoaggiuntperbambino"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prezzomassimocam">
<xs:complexType>
<xs:sequence>
<xs:element ref="numcamere"/>
<xs:element ref="prezzosolopernottamento" />
<xs:element ref="prezzopensionecompleta" />
<xs:element ref="prezzomezzapensione" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prezzosolopernottamento" >
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prezzopensionecompleta" >
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prezzomezzapensione" >
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PREZZIMASSIMIGIORNALIERIUNITABITATIVE">
<xs:complexType>
<xs:sequence>
<xs:element ref="prezzomassimoab" maxOccurs="unbounded"/>
<xs:element ref="prcameraconlettoaggiuntperbambino"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prezzomassimoab">
<xs:complexType>
<xs:sequence>
<xs:element ref="quantita"/>
<xs:element ref="numcam"/>
<xs:element ref="numposti"/>
<xs:element ref="possiblitalettosuppl"/>
<xs:element ref="cucinaagr"/>
<xs:element ref="prezzo"/>
</xs:sequence>
<xs:attribute name="tipo" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="A"/>
<xs:enumeration value="B"/>
<xs:enumeration value="C"/>
<xs:enumeration value="D"/>
<xs:enumeration value="E"/>
<xs:enumeration value="F"/>
<xs:enumeration value="G"/>
<xs:enumeration value="H"/>
<xs:enumeration value="I"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="quantita" type="xs:integer"/>
<xs:element name="possiblitalettosuppl">
<xs:complexType>
<xs:attribute name="valore" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="si"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="cucinaagr">
<xs:complexType>
<xs:sequence>
<xs:element ref="vanodistinto"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="vanodistinto">
<xs:complexType>
<xs:attribute name="valore" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="si"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="PREZZIMASSIMIPASTI">
<xs:complexType>
<xs:sequence>
<xs:element ref="primacolazione"/>
<xs:element ref="pranzo"/>
<xs:element ref="cena"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PREZZIMASSIMISPAZIAPERTI">
<xs:complexType>
<xs:sequence>
<xs:element ref="prpiazzolaagr"/>
<xs:element ref="pradultiagr"/>
<xs:element ref="prragazziagr"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prpiazzolaagr">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="pradultiagr">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prragazziagr">
<xs:complexType>
<xs:sequence>
<xs:element ref="altastagione"/>
<xs:element ref="bassastagione"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="classificazionecamp">
<xs:complexType>
<xs:attribute name="stelle" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="classificazioneresidence">
<xs:complexType>
<xs:attribute name="chiavi">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="conbagnocompleto" type="xs:boolean"/>
<xs:element name="euro">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:totalDigits value="11"/>
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="numnumsingole" type="xs:integer"/>
</xs:schema>
4.2 CU1 - Provincia notifica dati alla Regione
==============================================
Il sistema informativo della Provincia notifica informazioni relative alla
comunicazione attrezzature/prezzi quando, in sequenza:
1. un operatore della Provincia inserisce i dati relativi alla comunicazione
attrezzature e prezzi di una struttura nel SIL (Sistema Informativo Locale)
della Provincia (oppure una struttura inserisce i propri dati direttamente per
esempio tramite un'applicazione web messa a disposizione della provincia
stessa);
2. la Provincia invia i dati utilizzando attraverso il CART;
L'esecuzione del caso d'uso comprende lo scambio di due messaggi tra SIL della
Provincia e il punto di accesso all'infrastruttura CART:
- APCOM - "Comunicazione attrezzature e prezzi": messaggio inviato dal SIL per
comunicare i dati relativi alla comunicazione attrezzature e prezzi;
- APCOMACK - "Esito Comunicazione": messaggio restituito al SIL della Provincia
in risposta alla richiesta di pubblicazione del messaggio APCOM;
Il messaggio APCOM e' un messaggio XML inviato dal SIL in conformita' all'XML
schema sopra definito.
Il messaggio APCOMACK e' un messaggio XML restituito al SIL in risposta alla
richiesta di pubblicazione di un messaggio APCOM.
4.2.2 Esempio di messaggio APCOM:
=================================
<?xml version="1.0" encoding="UTF-8"?>
<richiesta_RichiestaRispostaAsincrona_InvioComunicazione
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.regione.toscana.it/attrezzature_prezzi"
xsi:schemaLocation="http://www.regione.toscana.it/attrezzature_prezzi Types.xsd"
test="true">
<DATI>
<Affittac xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ANAGRAFE>
<codeserc>000000ALL0002</codeserc>
<provincia>FI</provincia>
<generestruttura>ALL</generestruttura>
<tipostruttura>affittacamere</tipostruttura>
<anno>2007</anno>
<tipologiacomunicazione tipo="comunicazione_ANNUALE"/>
<denomeserc>AFFITTACAMERE EBE B &amp; B DESIGN</denomeserc>
<INDESERC>
<Provincia>FI</Provincia>
<Comune>Firenze</Comune>
<Localita/>
<Frazione/>
<CAP>50137</CAP>
<Nazione>ITALIA</Nazione>
<DUG>LUNGARNO</DUG>
<Toponimo>PIGNONE</Toponimo>
<CivicoCompleto>27</CivicoCompleto>
<CivicoNumerico>27</CivicoNumerico>
</INDESERC>
<INDCOMUNICAZIONIPERIODICHIUSURA>
<Provincia>FI</Provincia>
<Comune>Firenze</Comune>
<Localita/>
<Frazione/>
<CAP>50137</CAP>
<Nazione>ITALIA</Nazione>
<DUG>LUNGARNO</DUG>
<Toponimo>PIGNONE</Toponimo>
<CivicoCompleto>27</CivicoCompleto>
<CivicoNumerico>27</CivicoNumerico>
</INDCOMUNICAZIONIPERIODICHIUSURA>
<RECAPITO>
<recsitoweb>www.ebefirenze.com</recsitoweb>
<recemail>[email protected]</recemail>
<rectelefono>3474780139</rectelefono>
<recfax>055715443</recfax>
<reccellulare>3474780139</reccellulare>
</RECAPITO>
<DIACOMAUT>
<ddcdel>2007-01-01</ddcdel>
<ddccomunesuap>FIRENZE</ddccomunesuap>
</DIACOMAUT>
<APERTURA>
<APERTSTAGIONALE>
<apertstagdal>
<mese>5</mese>
<giorno>1</giorno>
</apertstagdal>
<apertstagal>
<mese>10</mese>
<giorno>30</giorno>
</apertstagal>
</APERTSTAGIONALE>
</APERTURA>
<percaccessdisabili percentuale="0"/>
<sottoscrittore>
<nome>EBE</nome>
<cognome>PAOLI</cognome>
</sottoscrittore>
<datapresentazione>2007-01-01</datapresentazione>
<in_qualita_di>TITOLARE</in_qualita_di>
</ANAGRAFE>
<DESCRAFFCAM>
<BEDBREAKFAST>true</BEDBREAKFAST>
<DIPENDENTI>
<totale>1</totale>
<diptempoparziale>0</diptempoparziale>
<dipstagionale>0</dipstagionale>
</DIPENDENTI>
<CAMEREAFFCAM>
<numnumsingole>0</numnumsingole>
<numdoppie>2</numdoppie>
<totale>45</totale>
<camereconriscald>2</camereconriscald>
<camereconariacondizionata>2</camereconariacondizionata>
<camerecontelfono>2</camerecontelfono>
<camerecontvcolori>2</camerecontvcolori>
<camereconcassettesicurezza>0</camereconcassettesicurezza>
<perdisabili>0</perdisabili>
</CAMEREAFFCAM>
<POSTILETTOAFFCAM>
<incamere>4</incamere>
<aggincamere>0</aggincamere>
<totale>4</totale>
</POSTILETTOAFFCAM>
<SERVIGIENICIAFFCAM>
<incamere>0</incamere>
<igcomuni>1</igcomuni>
<perdisabili>0</perdisabili>
<totale>1</totale>
</SERVIGIENICIAFFCAM>
<IMPSERVALTRO>
<tipoimp tipo="terme"/>
<linguestraniere>
<lingua tipo="inglese"/>
<altrelingue>giappoense</altrelingue>
</linguestraniere>
<carteaccettate>
<carta tipo="bancomat"/>
</carteaccettate>
<certificazione>certAFF1</certificazione>
<certificazione>certAFF2</certificazione>
</IMPSERVALTRO>
<PREZZIMASSIMIAFFCAM>
<PERIODOALTASTAGIONE>
<apertstagdal>
<mese>1</mese>
<giorno>1</giorno>
</apertstagdal>
<apertstagal>
<mese>12</mese>
<giorno>31</giorno>
</apertstagal>
</PERIODOALTASTAGIONE>
<PERIODOBASSASTAGIONE>
<apertstagdal>
<mese>1</mese>
<giorno>1</giorno>
</apertstagdal>
<apertstagal>
<mese>12</mese>
<giorno>31</giorno>
</apertstagal>
</PERIODOBASSASTAGIONE>
<CAMERESTAGAFFCAM>
<prsingolaconbagno>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</prsingolaconbagno>
<prsingolasenzabagno>
<altastagione>
<euro>15</euro>
</altastagione>
<bassastagione>
<euro>15</euro>
</bassastagione>
</prsingolasenzabagno>
<prdoppiaconbagno>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</prdoppiaconbagno>
<prdoppiasenzabagno>
<altastagione>
<euro>20</euro>
</altastagione>
<bassastagione>
<euro>20</euro>
</bassastagione>
</prdoppiasenzabagno>
<prdoppiausosingolaconbagno>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</prdoppiausosingolaconbagno>
<prdoppiausosingolosenzabagno>
<altastagione>
<euro>25</euro>
</altastagione>
<bassastagione>
<euro>25</euro>
</bassastagione>
</prdoppiausosingolosenzabagno>
<prcameraconlettoaggiunt>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</prcameraconlettoaggiunt>
<prcameraconlettoaggiuntperbambino>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</prcameraconlettoaggiuntperbambino>
<prpenscompleta>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</prpenscompleta>
<prpensmezza>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</prpensmezza>
</CAMERESTAGAFFCAM>
</PREZZIMASSIMIAFFCAM>
<SOMMINISTRPREZZOFISSO>
<PERIODOALTASTAGIONE>
<apertstagdal>
<mese>1</mese>
<giorno>1</giorno>
</apertstagdal>
<apertstagal>
<mese>12</mese>
<giorno>31</giorno>
</apertstagal>
</PERIODOALTASTAGIONE>
<PERIODOBASSASTAGIONE>
<apertstagdal>
<mese>1</mese>
<giorno>1</giorno>
</apertstagdal>
<apertstagal>
<mese>12</mese>
<giorno>31</giorno>
</apertstagal>
</PERIODOBASSASTAGIONE>
<primacolazione>
<nonfornita>true</nonfornita>
</primacolazione>
<pranzo>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</pranzo>
<cena>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</cena>
<supplementoincamera>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</supplementoincamera>
</SOMMINISTRPREZZOFISSO>
<FLAG_NON_CONSENSO tipo="no"/>
</DESCRAFFCAM>
</Affittac>
</DATI>
<intestazione>
<identificativo>172</identificativo>
</intestazione>
</richiesta_RichiestaRispostaAsincrona_InvioComunicazione>
4.2.3 Esempio di messaggio APCOMACK:
=================================
Di seguito un esempio di messaggio APCOMACK (messaggio APCOM elaborato con
successo):
<?xml version="1.0" encoding="UTF-8"?>
<risposta_RichiestaRispostaAsincrona_InvioComunicazione
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.regione.toscana.it/attrezzature_prezzi"
xsi:schemaLocation="http://www.regione.toscana.it/attrezzature_prezzi Types.xsd"
test="false">
<dettaglio_errori>
<dettaglio>
<codice>200</codice>
<descrizione>
Elaborazione avvenuta con successo.
</descrizione>
</dettaglio>
</dettaglio_errori>
<intestazione>
<esito>true</esito>
<riferimento_richiesta>
<identificativo>175</identificativo>
</riferimento_richiesta>
</intestazione>
</risposta_RichiestaRispostaAsincrona_InvioComunicazione>
Di seguito un esempio di messaggio APCOMACK (messaggio APCOM NON elaborato con
successo):
<?xml version="1.0" encoding="UTF-8"?>
<risposta_RichiestaRispostaAsincrona_InvioComunicazione
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.regione.toscana.it/attrezzature_prezzi"
xsi:schemaLocation="http://www.regione.toscana.it/attrezzature_prezzi Types.xsd"
test="false">
<dettaglio_errori>
<dettaglio>
<codice>301</codice>
<descrizione>
Errore nel formato del messaggio inviato (Messaggio non
ben formattato o non valido rispetto allo schema).
</descrizione>
</dettaglio>
</dettaglio_errori>
<lista_errori>
<errore_riscontrato>
<nome_campo>codeserc</nome_campo>
<motivo_rifiuto>
Il campo codeserc non corrisponde al formato richiesto
</motivo_rifiuto>
</errore_riscontrato>
<errore_riscontrato>
<nome_campo>percaccessdisabili</nome_campo>
<motivo_rifiuto>
Il campo percaccessdisabili deve avere un valore
compreso tra 0-25-50-100
</motivo_rifiuto>
</errore_riscontrato>
<errore_riscontrato>
<nome_campo>generestruttura</nome_campo>
<motivo_rifiuto>
Il campo generestruttura e' obbligatorio
</motivo_rifiuto>
</errore_riscontrato>
</lista_errori>
<intestazione>
<esito>false</esito>
<riferimento_richiesta>
<identificativo>175</identificativo>
</riferimento_richiesta>
</intestazione>
</risposta_RichiestaRispostaAsincrona_InvioComunicazione>
4.3 CU2 - Regione eroga il servizio che consente di accedere ai dati relativi alle
attrezzature/prezzi
=========================================================================================
=============
Il sistema informativo della Regione rende disponibili i dati contenuti nella
banca dati attrezzature/prezzi.
L'esecuzione del caso d'uso prevede la richiesta da parte del SIL e la risposta
di Regione :
- APRIC - "Richiesta attrezzature e prezzi": messaggio inviato dal SIL per
richiedere i dati relativi alla comunicazione attrezzature e prezzi
- APRES - "Risposta Comunicazione": risposta della Regione alla richiesta APRIC.
La comunicazione tra SIL e Regione Toscana e' di natura sincrona. Questo caso
d'uso e' da realizzare tramite la modalita' Proxy Trasparente.
Il messaggio APRIC e' un messaggio XML inviato dal SIL in conformita' all'XML
schema sotto definito.
Il messaggio APRES, sotto definito, e' µn messaggio XML restituito al SIL in
risposta alla richiesta di pubblicazione di un messaggio APPRIC.
4.3.1 Esempio messaggio APRIC:
==============================
<?xml version="1.0" encoding="UTF-8"?>
<richiesta_RichiestaServizioSincrona
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.regione.toscana.it/attrezzature_prezzi"
xsi:schemaLocation="http://www.regione.toscana.it/attrezzature_prezzi Types.xsd">
<data_inizio_intervallo>2007-01-01</data_inizio_intervallo>
<data_fine_intervallo>2007-03-31</data_fine_intervallo>
<generestruttura_ricerca>AFR</generestruttura_ricerca>
<provincia_ricerca>LU</provincia_ricerca>
<dati_pubblici>true</dati_pubblici>
<dati_storici>false</dati_storici>
<ctt4>false</ctt4>
</richiesta_RichiestaServizioSincrona>
4.3.2 Esempio messaggio APRES:
==============================
<?xml version="1.0" encoding="UTF-8"?>
<risposta_RichiestaServizioSincrona
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.regione.toscana.it/attrezzature_prezzi"
xsi:schemaLocation="http://www.regione.toscana.it/attrezzature_prezzi Types.xsd">
<DATI>
<Albergo>
<ANAGRAFE>
<codeserc>046033AFR0021</codeserc>
<provincia>AR</provincia>
<generestruttura>AAT</generestruttura>
<tipostruttura>affittacamere</tipostruttura>
<anno>2001</anno>
<tipologiacomunicazione
tipo="comunicazione_ANNUALE"></tipologiacomunicazione>
<denomeserc>casdsd</denomeserc>
<INDESERC>
<Provincia>AR</Provincia>
<Comune>pisa</Comune>
<Localita>asa</Localita>
<Frazione>asd</Frazione>
<CAP>12345</CAP>
<Nazione>Italia</Nazione>
<CivicoCompleto>12</CivicoCompleto>
<CivicoNumerico>123</CivicoNumerico>
</INDESERC>
<INDCOMUNICAZIONIPERIODICHIUSURA>
<Provincia>FI</Provincia>
<Comune>afsdas</Comune>
<Localita>adf</Localita>
<Frazione>adfa</Frazione>
<CAP>12345</CAP>
<CivicoCompleto>12</CivicoCompleto>
<CivicoNumerico>32</CivicoNumerico>
</INDCOMUNICAZIONIPERIODICHIUSURA>
<sottoscrittore>
<nome>psds</nome>
<cognome>sfasda</cognome>
</sottoscrittore>
<datapresentazione>2001-12-12</datapresentazione>
<in_qualita_di>5sada</in_qualita_di>
</ANAGRAFE>
<DESCRALB>
<dipendenza>
<dipendenze>
<totaledipendenze>
<numero>5</numero>
</totaledipendenze>
</dipendenze>
<dipendenze>
<classificazione stelle="4" />
<numero>5</numero>
</dipendenze>
</dipendenza>
<SERVIZIOCONGRESSI>
<saleriunioni>23</saleriunioni>
<postitotali>234</postitotali>
<postisalaplenaria>234</postisalaplenaria>
<servizicongressuali>23</servizicongressuali>
</SERVIZIOCONGRESSI>
<PREZZIMASSIMIPERNOTTAMENTO>
<PERIODOALTASTAGIONE>
<apertstagdal>
<mese>5</mese>
<giorno>1</giorno>
</apertstagdal>
<apertstagal>
<mese>12</mese>
<giorno>31</giorno>
</apertstagal>
</PERIODOALTASTAGIONE>
<PERIODOBASSASTAGIONE>
<apertstagdal>
<mese>1</mese>
<giorno>1</giorno>
</apertstagdal>
<apertstagal>
<mese>4</mese>
<giorno>30</giorno>
</apertstagal>
</PERIODOBASSASTAGIONE>
<CAMERESTAGALB>
<prsingolaconbagno>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</prsingolaconbagno>
<prsingolasenzabagno>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>150</euro>
</bassastagione>
</prsingolasenzabagno>
<prdoppiaconbagno>
<altastagione>
<euro>25</euro>
</altastagione>
<bassastagione>
<euro>75</euro>
</bassastagione>
</prdoppiaconbagno>
<prdoppiasenzabagno>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</prdoppiasenzabagno>
<prdoppiausosingolaconbagno>
<altastagione>
<euro>55</euro>
</altastagione>
<bassastagione>
<euro>75</euro>
</bassastagione>
</prdoppiausosingolaconbagno>
<prdoppiausosingolosenzabagno>
<altastagione>
<euro>95</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</prdoppiausosingolosenzabagno>
<prsuite>
<altastagione>
<euro>55</euro>
</altastagione>
<bassastagione>
<euro>55</euro>
</bassastagione>
</prsuite>
<prcameraconlettoaggiunt>
<altastagione>
<euro>75</euro>
</altastagione>
<bassastagione>
<euro>75</euro>
</bassastagione>
</prcameraconlettoaggiunt>
<prcameraconsoggiorno>
<altastagione>
<euro>75</euro>
</altastagione>
<bassastagione>
<euro>75</euro>
</bassastagione>
</prcameraconsoggiorno>
<prcameraconlettoaggiuntperbambino>
<altastagione>
<euro>75</euro>
</altastagione>
<bassastagione>
<euro>75</euro>
</bassastagione>
</prcameraconlettoaggiuntperbambino>
<prpensione>
<prpenscompleta>
<altastagione>
<euro>75</euro>
</altastagione>
<bassastagione>
<euro>75</euro>
</bassastagione>
</prpenscompleta>
<prpensmezza>
<altastagione>
<euro>75</euro>
</altastagione>
<bassastagione>
<euro>75</euro>
</bassastagione>
</prpensmezza>
<prpenssupplemento>
<altastagione>
<euro>75</euro>
</altastagione>
<bassastagione>
<euro>75</euro>
</bassastagione>
</prpenssupplemento>
</prpensione>
</CAMERESTAGALB>
<UNITABITATIVESTAGALB>
<classe tipo="A">
<prezzo>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</prezzo>
<descrizioneunitaabitativa>
<numposti>0</numposti>
<numwc>0</numwc>
<altroesteso>0</altroesteso>
</descrizioneunitaabitativa>
</classe>
<supplpensione>
<prpenscompleta>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</prpenscompleta>
<prpensmezza>
<altastagione>
<euro>0</euro>
</altastagione>
<bassastagione>
<euro>0</euro>
</bassastagione>
</prpensmezza>
</supplpensione>
</UNITABITATIVESTAGALB>
</PREZZIMASSIMIPERNOTTAMENTO>
<FLAG_NON_CONSENSO tipo="no" />
</DESCRALB>
</Albergo>
</DATI>
<DATI>
<ResEpoca>
<ANAGRAFE>
<codeserc>1234567890123</codeserc>
<provincia>AR</provincia>
<generestruttura>AAT</generestruttura>
<tipostruttura>affittacamere</tipostruttura>
<anno>1999</anno>
<tipologiacomunicazione
tipo="comunicazione_CESSAZIONE" />
<denomeserc>dfsfagv</denomeserc>
<INDESERC>
<Provincia>AR</Provincia>
<Comune>sdf</Comune>
<Localita>sdff</Localita>
<Frazione>df</Frazione>
<CAP>56198</CAP>
<CivicoCompleto>132</CivicoCompleto>
<CivicoNumerico>324</CivicoNumerico>
</INDESERC>
<INDCOMUNICAZIONIPERIODICHIUSURA>
<Provincia>FI</Provincia>
<Comune>afsdas</Comune>
<Localita>adf</Localita>
<Frazione>adfa</Frazione>
<CAP>12345</CAP>
<CivicoCompleto>12</CivicoCompleto>
<CivicoNumerico>32</CivicoNumerico>
</INDCOMUNICAZIONIPERIODICHIUSURA>
<sottoscrittore>
<nome>dfad</nome>
<cognome>adgga</cognome>
</sottoscrittore>
<datapresentazione>2007-08-11</datapresentazione>
<in_qualita_di>gfgadsrfe</in_qualita_di>
</ANAGRAFE>
<DESCRRESEPOCA>
<FLAG_NON_CONSENSO tipo="no"></FLAG_NON_CONSENSO>
</DESCRRESEPOCA>
</ResEpoca>
</DATI>
</risposta_RichiestaServizioSincrona>
5. Prodotti attesi
==============
1. Regione Toscana dovra' rendere noto alle Province il WSDL del servizio che il
SIL (Sistema Informativo Locale) della Provincia dovra' invocare per inviare i
dati alla Regione
2. Regione Toscana dovra' implementare il servizio che realizza il WSDL
3. Provincie adeguano il proprio SIL invocando il servizio messo a disposizione
dalla Regione ogni qual volta:
a) la Provincia trasmette i dari relativi alle attrezzature/prezzi
b) la Provincia richiede accesso ai dati di comunicazione attrezzature/prezzi
6. Bibliografia
==============
* Documenti rilasciati dal Centro Nazionale per l'Informatica nella Pubblica
Amministrazione (CNIPA): SPC, 'Sistema pubblico di cooperazione: Accordo di
Servizio, Versione 1.0', CNIPA, 14 Ottobre 2005
* Sito e.Toscana Compliance: http://web.rete.toscana.it/eCompliance
[1] "RFC Applicativo e.Toscana", RFC 17,
http://web.rete.toscana.it/eCompliance/portale/mostraRFC?idRev=55&idRfc=17
[2] "XML Schema: patterns for data type restrictions"
http://www.w3.org/TR/xmlschema-2/#dt-pattern
[3] "RFC Normalizzazione e Georeferenziazione di Indirizzi Civici", RFC 59,
http://web.rete.toscana.it/eCompliance/portale/mostraRFC?idRev=127&idRfc=59
[4] "RFC Codifica Province RT", RFC 58,
http://web.rete.toscana.it/eCompliance/portale/mostraRFC?idRev=112&idRfc=58
Scarica

Allegato A - Provincia di Pistoia