﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
           xmlns="https://guida-servizi.anticorruzione.it/trasparenza"
           targetNamespace="https://guida-servizi.anticorruzione.it/trasparenza"
           elementFormDefault="qualified">
    <xs:simpleType name="DateTypeDef">
        <xs:annotation>
            <xs:documentation>Data in formato GG/MM/AAAA</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:pattern value="((0[1-9]|[12][0-9]|3[01])\/(0[1-9]|1[0-2])\/([2]\d{3}))"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="URLTypeDef">
        <xs:restriction base="xs:string">
            <xs:pattern value="(https:\/\/www\.|http:\/\/www\.|https:\/\/|http:\/\/)?[-_\/a-zA-Z]{2,}(\.[-_\/a-zA-Z]{2,})(\.[-_\/a-zA-Z]{2,})?\/[-_\/a-zA-Z0-9]{2,}|((https:\/\/www\.|http:\/\/www\.|https:\/\/|http:\/\/)?[-_\/a-zA-Z]{2,}(\.[-_\/a-zA-Z]{2,})(\.[-_\/a-zA-Z]{2,})?)|(https:\/\/www\.|http:\/\/www\.|https:\/\/|http:\/\/)?[-_\/a-zA-Z0-9]{2,}\.[-_\/a-zA-Z0-9]{2,}\.[-_\/a-zA-Z0-9]{2,}(\.[-_\/a-zA-Z0-9]{2,})?"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="SitemapSubC1TypeDef">
        <xs:sequence>        
        <xs:element name="amministrazione_trasparente"  type="URLTypeDef" minOccurs="1" maxOccurs="1"></xs:element>
        <xs:element name="disposizioni_generali"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="consulenti_collaboratori"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="bandi_di_concorso"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="enti_controllati"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="sovvenzioni"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="beni_immobili"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="opere_pubbliche"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="organizzazione"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="personale"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="performance"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="attivita_e_procedimenti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="bandi_gara_e_contratti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="bilanci"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="controlli_e_rilievi"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="pagamenti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="altri_contenuti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="provvedimenti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="servizi_erogati"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="informazioni_ambientali"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="interventi_straordinari"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="pianificazione_governo_territorio"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="strutture_sanitarie_accreditate"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="atti_generali"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="rischi_corruttivi_e_trasparenza"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="piano_integrato_attivita_organizzazione"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="piano_triennale_prevenzione_corruzione_e_trasparenza"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="titolari_incarichi_collaborazione_consulenza"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="enti_diritto_privato_controllati"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="rappresentazione_grafica"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="societa_partecipate"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="criteri_e_modalita"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="atti_di_concessione"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="patrimonio_immobiliare"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="canoni_locazione_o_affitto"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="tempi_costi_opere_pubbliche"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="atti_programmazione_opere_pubbliche"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="organi_di_indirizzo_politico_amministativo"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="telefono_e_posta_elettronica"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="sanzioni_mancata_comunicazione_dati"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="articolazione_uffici"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="incarichi_amministrativi_di_vertice"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="dirigenti_cessati"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="incarichi_conferiti_e_autorizzati_ai_dipendenti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="contrattazione_integrativa"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="titolari_incarichi_dirigenziali_non_generali"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="dotazione_organica"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="tassi_di_assenza"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="contrattazione_collettiva"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="ammontare_complessivo_dei_premi"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="dati_relativi_ai_premi" type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="tipologie_di_procedimento"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="bilancio_preventivo_e_consuntivo"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="budget"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="nuclei_di_valutazione"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="corte_dei_conti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="organi_revisione_amministrativa_e_contabile"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="dati_sui_pagamenti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="tempestivita_dei_pagamenti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="IBAN_e_pagamenti_informatici"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="prevenzione_della_corruzione"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="accessibilita_e_catalogo_dati"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="accesso_civico"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="dati_ulteriori"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="provvedimenti_organo_indirizzo_politico"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="provvedimenti_dirigenti_amministrativi"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="servizi_e_standard_di_qualita"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="costi_contabilizzati"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="servizi_in_rete"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="class_action"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        <xs:element name="liste_di_attesa"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SitemapSubC2TypeDef">
        <xs:sequence>
            <xs:element name="societa_trasparente"  type="URLTypeDef" minOccurs="1" maxOccurs="1"></xs:element>
            <xs:element name="disposizioni_generali"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="consulenti_collaboratori"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="selezione_del_personale"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="enti_controllati"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="sovvenzioni"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="beni_immobili"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="opere_pubbliche"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="organizzazione"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="personale"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="performance"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="attivita_e_procedimenti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="bandi_gara_e_contratti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="bilanci"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="servizi_erogati"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="controlli_e_rilievi"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="pagamenti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="altri_contenuti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="informazioni_ambientali"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="atti_generali"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="piano_triennale_prevenzione_corruzione_e_trasparenza"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="titolari_incarichi_collaborazione_consulenza"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="reclutamento_del_personale"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="societa_partecipate"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="enti_diritto_privato_controllati"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="rappresentazione_grafica"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="criteri_e_modalita"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="atti_di_concessione"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="patrimonio_immobiliare"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="canoni_locazione_o_affitto"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="tempi_costi_opere_pubbliche"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="atti_programmazione_opere_pubbliche"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="organi_di_indirizzo_politico_amministativo"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="telefono_e_posta_elettronica"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="sanzioni_mancata_comunicazione_dati"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="articolazione_uffici"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="incarichi_amministrativi_di_vertice"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="dirigenti_cessati"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="incarichi_conferiti_e_autorizzati_ai_dipendenti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="contrattazione_integrativa"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="titolari_incarichi_dirigenziali_non_generali"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="dotazione_organica"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="tassi_di_assenza"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="contrattazione_collettiva"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="ammontare_complessivo_dei_premi"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="tipologie_di_procedimento"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="bilancio"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="provvedimenti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="servizi_e_standard_di_qualita"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="class_action"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="costi_contabilizzati"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="liste_di_attesa"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="servizi_in_rete"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="nuclei_di_valutazione"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="corte_dei_conti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="organi_revisione_amministrativa_e_contabile"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="dati_sui_pagamenti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="tempestivita_dei_pagamenti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="IBAN_e_pagamenti_informatici"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="prevenzione_della_corruzione"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="accessibilita_e_catalogo_dati"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="accesso_civico"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="dati_ulteriori"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>            
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SitemapSubC3TypeDef">
        <xs:sequence>
            <xs:element name="amministrazione_trasparente"  type="URLTypeDef" minOccurs="1" maxOccurs="1"></xs:element>
            <xs:element name="attivita_e_procedimenti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="bandi_gara_e_contratti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="sovvenzioni"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="bilanci"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="servizi_erogati"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="opere_pubbliche"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="informazioni_ambientali"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="altri_contenuti"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="tipologie_di_procedimento"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="criteri_e_modalita"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="atti_di_concessione"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="tempi_costi_opere_pubbliche"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="atti_programmazione_opere_pubbliche"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="accesso_civico"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="dati_ulteriori"  type="URLTypeDef" minOccurs="0" maxOccurs="1"></xs:element>            
        </xs:sequence>
    </xs:complexType>

  <xs:element name="amministrazione_trasparente">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="data_ultima_modifica"  type="DateTypeDef" minOccurs="1" maxOccurs="1">
        </xs:element>
        <xs:element name="map" minOccurs="1" maxOccurs="1">
          <xs:complexType>
              <xs:choice>
                  <xs:element name="at_art2_bis_c1"  type="SitemapSubC1TypeDef" />
                  <xs:element name="at_art2_bis_c2"  type="SitemapSubC2TypeDef" />
                  <xs:element name="at_art2_bis_c3"  type="SitemapSubC3TypeDef" />
              </xs:choice>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>