<?xml version="1.0" encoding="UTF-8"?>
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://inspire.ec.europa.eu/draft-schemas/inspire-md-schemas-temp/apiso-inspire/apiso-inspire.xsd">
  <!--TG Recommendation C.1: metadata/2.0/rec/common/fileIdentifier: The metadata record should contain a globally unique and persistent fileIdentifier element.-->
  <gmd:fileIdentifier>
    <gco:CharacterString>CENSUS_INS21ES_A_IT_2021_0000</gco:CharacterString>
  </gmd:fileIdentifier>
  <!--TG Requirement C.5: metadata/2.0/req/common/metadata-language-code: The language of the provided metadata content shall be given. It shall be encoded using gmd:MD_Metadata/gmd:language/gmd:LanguageCode element pointing to one of the three-letter language codes of the ISO 639-2/B code list. Only the code values for the official languages of the European Union shall be used. The multiplicity of this element is 1.-->
  <gmd:language>
    <gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="eng" />
  </gmd:language>
  <gmd:characterSet>
    <gmd:MD_CharacterSetCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_CharacterSetCode" codeListValue="utf8">UTF-8</gmd:MD_CharacterSetCode>
  </gmd:characterSet>
  <!--TG Requirement 1.1: metadata/2.0/req/datasets-and-series/resource-type: The resource type shall be declared as "dataset" or "series" using the first gmd:hierarchyLevel child element of gmd:MD_Metadata. The gmd:hierarchyLevel shall contain a gmd:MD_ScopeCode element.-->
  <gmd:hierarchyLevel>
    <gmd:MD_ScopeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode" codeListValue="dataset" />
  </gmd:hierarchyLevel>
  <!-- TG Requirement C.6: metadata/2.0/req/common/md-point-of-contact: Point of contact for the responsible party for the provided metadata shall be given using element 
gmd:MD_metadata/gmd:contact/gmd:CI_ResponsibleParty. The multiplicity of this element is 1..*. The gmd:CI_ResponsibleParty element shall contain the following child elements: 
The name of the responsible organisation shall be provided as the value of gmd:organisationName element with a Non-empty Free Text Element content. 
The email address of the organisation shall be provided as the value of gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:electronicMailAddress element with a
Non-empty Free Text Element containing a functioning email address of the responsible party. The value of gmd:role/gmd:CI_RoleCode shall point to the value "pointOfContact" of [ISO 19139] code list CI_RoleCode. -->
  <gmd:contact>
    <gmd:CI_ResponsibleParty>
      <gmd:organisationName>
        <gco:CharacterString>Italian National Institute of Statistics (ISTAT), Directorate for Demographic Statistics and Population Census (DCDC)
Division for population census and social surveys integration (DCB)</gco:CharacterString>
      </gmd:organisationName>
      <gmd:contactInfo>
        <gmd:CI_Contact>
          <gmd:address>
            <gmd:CI_Address>
              <gmd:electronicMailAddress>
                <gco:CharacterString>rferrara@istat.it</gco:CharacterString>
              </gmd:electronicMailAddress>
            </gmd:CI_Address>
          </gmd:address>
        </gmd:CI_Contact>
      </gmd:contactInfo>
      <gmd:role>
        <gmd:CI_RoleCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode" codeListValue="pointOfContact" />
      </gmd:role>
    </gmd:CI_ResponsibleParty>
  </gmd:contact>
  <!--TG Requirement C.7: metadata/2.0/req/common/md-date: The latest update date of the metadata description shall be given for each metadata record. It shall be encoded using the gmd:MD_Metadata/gmd:dateStamp element. If no updates to the metadata have been made since publishing it, the creation date of the metadata shall be used instead. The multiplicity of this element is 1.-->
  <!-- To also specify the time zone (optional), the value would be e.g. 2019-05-15T09:00:00+02:00 -->
  <gmd:dateStamp>
    <gco:DateTime>2024-04-17T09:00:00</gco:DateTime>
  </gmd:dateStamp>
  <!--TG Requirement 2.1: metadata/2.0/req/isdss/crs: The coordinate reference system(s) used in the described data set or data set series shall be given using element gmd:referenceSystemInfo/gmd:MD_ReferenceSystem/gmd:referenceSystemIdentifier/gmd:RS_Identifier.
The multiplicity of this element is 1..*.
The gmd:code child element of gmd:RS_Identifier is mandatory. The gmd:codeSpace child element shall be used if the code alone does not uniquely identify the referred coordinate reference system. Both gmd:code and gmd:codeSpace element (if given) shall contain Non-empty Free Text Elements.
Only the coordinate reference system identifiers specified in a well-known common register shall be used.-->
  <!--TG Requirement 2.2: metadata/2.0/req/isdss/crs-id: If the coordinate reference system is listed in the table Default Coordinate Reference System Identifiers in Annex D.4, the value of the HTTP URI Identifier column shall be used as the value of gmd:referenceSystemInfo/gmd:MD_ReferenceSystem/ gmd:referenceSystemIdentifier/gmd:RS_Identifier/gmd:code element.
The gmd:codeSpace element shall not be used in this case.-->
  <gmd:referenceSystemInfo>
    <gmd:MD_ReferenceSystem>
      <gmd:referenceSystemIdentifier>
        <gmd:RS_Identifier>
          <gmd:code>
            <gco:CharacterString>ETRS89-extended / LAEA Europe</gco:CharacterString>
          </gmd:code>
        </gmd:RS_Identifier>
      </gmd:referenceSystemIdentifier>
    </gmd:MD_ReferenceSystem>
  </gmd:referenceSystemInfo>
  <!--TG Requirement 1.2: metadata/2.0/req/datasets-and-series/only-one-md-data-identification: The first gmd:identificationInfo property of gmd:MD_Metadata element shall contain only one gmd:MD_DataIdentification element for identifying the described INSPIRE data set or data set series.-->
  <gmd:identificationInfo>
    <gmd:MD_DataIdentification>
      <gmd:citation>
        <gmd:CI_Citation>
          <gmd:title>
            <gco:CharacterString>CENSUS_INS21ES_A_IT_2021_0000</gco:CharacterString>
          </gmd:title>
          <!-- TG Requirement C.11: metadata/2.0/req/common/temporal-reference: 
At least one temporal reference describing the resource shall be given using gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:date element, 
with one of the following date types: 
- publication for date of publication of the resource, 
- revision for the date of last revision of the resource, or 
- creation for the date of creation of the resource.-->
          <gmd:date>
            <gmd:CI_Date>
              <gmd:date>
                <gco:Date>2021-12-31</gco:Date>
              </gmd:date>
              <gmd:dateType>
                <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="creation">Creation</gmd:CI_DateTypeCode>
              </gmd:dateType>
            </gmd:CI_Date>
          </gmd:date>
          <!--TG Requirement 1.3: metadata/2.0/req/datasets-and-series/dataset-uid: A unique identifier shall be given for each described dataset or data sets series. This identifier shall be a URI consisting of a namespace uniquely identifying a naming context governed by an identifier authority, and a code unique within this namespace.
The identifying URI shall be encoded using gmd:citation/gmd:CI_Citation/gmd:identifier/*/gmd:code element with a Non-empty Free Text Element content.
The multiplicity of this element is 1..*. If the identifier is not an HTTP URI, the use of <gco:CharacterString> is also possible -->
          <gmd:identifier>
            <gmd:RS_Identifier>
              <gmd:code>
                <gco:CharacterString>https://gisco-services.ec.europa.eu/census/2021/INSPIRE/Data/CENSUS_INS21ES_A_IT_2021_0000</gco:CharacterString>
              </gmd:code>
              <gmd:codeSpace>
                <gco:CharacterString>gisco-services</gco:CharacterString>
              </gmd:codeSpace>
            </gmd:RS_Identifier>
          </gmd:identifier>
        </gmd:CI_Citation>
      </gmd:citation>
      <!--TG Requirement C.9: metadata/2.0/req/common/resource-abstract: A non-empty brief narrative summary of the content of the described data set, data set series or service shall be provided. It shall be encoded using the gmd:abstract element with a Non-empty Free Text Element content in the language of the metadata. The multiplicity of this element is 1.-->
      <gmd:abstract>
        <gco:CharacterString>Population statistics from the 2021 Population and Housing Census divided into a 1 km² grid</gco:CharacterString>
      </gmd:abstract>
      <!--TG Requirement C.10: metadata/2.0/req/common/responsible-organisation: The point of contact for the organisation responsible for the establishment, management, maintenance and distribution of the described resource shall be given using element gmd:pointOfContact/gmd:CI_ResponsibleParty. The multiplicity of this element is 1..*.
The gmd:CI_ResponsibleParty element shall contain the following child elements: The name of the organisation shall be given as the value of gmd:pointOfContact/gmd:CI_ResponsibleParty/gmd:organisationName element with a Non-empty Free Text Element content.
The email address of the organisation shall be provided as the value of gmd:pointOfContact/gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:electronicMailAddress element with a Non-empty Free Text Element containing a functioning email address of the responsible party.
The value of gmd:pointOfContact/gmd:CI_ResponsibleParty/gmd:role/gmd:CI_RoleCode shall point to the most relevant value of ISO 19139 code list CI_RoleCode.-->
      <gmd:pointOfContact>
        <gmd:CI_ResponsibleParty>
          <gmd:organisationName>
            <gco:CharacterString>Italian National Institute of Statistics (ISTAT), Directorate for Demographic Statistics and Population Census (DCDC)
Division for population census and social surveys integration (DCB)</gco:CharacterString>
          </gmd:organisationName>
          <gmd:contactInfo>
            <gmd:CI_Contact>
              <gmd:address>
                <gmd:CI_Address>
                  <gmd:electronicMailAddress>
                    <gco:CharacterString>gegallo@istat.it</gco:CharacterString>
                  </gmd:electronicMailAddress>
                </gmd:CI_Address>
              </gmd:address>
            </gmd:CI_Contact>
          </gmd:contactInfo>
          <gmd:role>
            <gmd:CI_RoleCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode" codeListValue="owner" />
          </gmd:role>
        </gmd:CI_ResponsibleParty>
      </gmd:pointOfContact>
      <gmd:descriptiveKeywords>
        <gmd:MD_Keywords>
          <gmd:keyword>
            <gco:CharacterString>EUROSTAT metadata</gco:CharacterString>
          </gmd:keyword>
        </gmd:MD_Keywords>
      </gmd:descriptiveKeywords>
      <!--TG Requirement C.15: metadata/2.0/req/common/keyword-originating-cv: When using keywords originating from a controlled vocabulary, the originating controlled vocabulary shall be cited using gmd:descriptiveKeywords/gmd:MD_Keywords/gmd:thesaurusName/gmd:CI_Citation element.
The title of the vocabulary shall be given using gmd:title element with a Non-empty Free Text Element content.
The publication date of the vocabulary shall be given using the gmd:date/gmd:CI_Date/gmd:date/gco:Date and gmd:dateType/gmd:CI_DateTypeCode elements.-->
      <!--TG Requirement 1.4: metadata/2.0/req/datasets-and-series/inspire-theme-keyword: The INSPIRE Spatial Data Theme(s), to which the data set belongs to, shall be declared using at least one keyword from the INSPIRE Spatial Data Themes vocabulary of the general environmental multilingual thesaurus (GEMET). The keyword values shall be the exact text values of the terms in this vocabulary.
These keywords shall be encoded using an gmd:descriptiveKeywords/gmd:MD_Keywords element referring to the GEMET INSPIRE themes controlled vocabulary as specified in section 2.4.5. The value of the gmd:thesaurusName/gmd:CI_Citation/gmd:title element shall contain value "GEMET - INSPIRE themes, version 1.0".
For each INSPIRE Spatial Data Theme, a gmd:keyword element shall be included with-->
      <gmd:descriptiveKeywords>
        <gmd:MD_Keywords>
          <gmd:keyword>
            <gmx:Anchor xlink:href="http://inspire.ec.europa.eu/theme/pd">Population distribution — demography</gmx:Anchor>
          </gmd:keyword>
          <gmd:thesaurusName>
            <gmd:CI_Citation>
              <gmd:title>
                <gmx:Anchor xlink:href="http://www.eionet.europa.eu/gemet/inspire_themes">GEMET - INSPIRE themes, version 1.0</gmx:Anchor>
              </gmd:title>
              <gmd:date>
                <gmd:CI_Date>
                  <gmd:date>
                    <gco:Date>2008-06-01</gco:Date>
                  </gmd:date>
                  <gmd:dateType>
                    <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">Publication</gmd:CI_DateTypeCode>
                  </gmd:dateType>
                </gmd:CI_Date>
              </gmd:date>
            </gmd:CI_Citation>
          </gmd:thesaurusName>
        </gmd:MD_Keywords>
      </gmd:descriptiveKeywords>
      <!--TG Requirement C.17: metadata/2.0/req/common/limitations-on-public-access: Limitations on public access (or lack of such limitations) for the described resource shall be described using exactly one gmd:resourceConstraints/gmd:MD_LegalConstraints element. This element shall not be the same one as used for describing conditions applying to access and use (see 2.4.7).
The limitations on public access (or lack of such limitations) based on reasons referred to in point (a) or in points (c) to (h) of Article 13(1) of INSPIRE Directive quoted above, the gmd:resourceConstraints/gmd:MD_LegalConstraints element shall include a combination of: - one instance of gmd:accessConstraints/gmd:MD_RestrictionCode element with code list value "otherRestrictions" and - at least one instance of gmd:otherConstraints/gmx:Anchor pointing to one of the values from the code list for LimitationsOnPublicAccess. If there are no limitations on public access, the element shall point to the code list value "noLimitations".-->
      <gmd:resourceConstraints>
        <gmd:MD_LegalConstraints>
          <gmd:accessConstraints>
            <gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions" />
          </gmd:accessConstraints>
          <gmd:otherConstraints>
            <gmx:Anchor xlink:href="http://inspire.ec.europa.eu/metadata-codelist/LimitationsOnPublicAccess/INSPIRE_Directive_Article13_1a">Public access to spatial data sets and services would adversely affect the confidentiality of the proceedings of public authorities, where such confidentiality is provided for by law.</gmx:Anchor>
          </gmd:otherConstraints>
        </gmd:MD_LegalConstraints>
      </gmd:resourceConstraints>
      <!--TG Requirement C.18: metadata/2.0/req/common/conditions-for-access-and-use: Conditions for access and use of the described resource shall be described using exactly one gmd:resourceConstraints/gmd:MD_LegalConstraints element. This element shall not be the same used for describing limitations on public access (see 2.4.6).
The gmd:resourceConstraints/gmd:MD_LegalConstraints element for conditions for access and use shall be encoded as follows:
One instance of either gmd:accessConstraints or gmd:useConstraints element shall be given. In both cases this element shall contain a gmd:MD_RestrictionCode element with code list value "otherRestrictions".
Additionally at least one instance of gmd:otherConstraints shall be given describing the actual conditions.
If no conditions apply the gmd:otherConstraints shall include a gmx:Anchor element pointing to the value "noConditionsApply" in the code list ConditionsApplyingToAccessAndUse.
If the conditions are unknown gmd:otherConstraints shall include a gmx:Anchor element pointing to the value "conditionsUnknown" in the code list ConditionsApplyingToAccessAndUse.
In other cases gmd:otherConstraints shall include a Non-empty Free Text Element with a textual description of the conditions in the language of the metadata. This text shall include descriptions of terms and conditions, including where applicable, the corresponding fees or an URL pointing to an online resource where these terms and conditions are described.-->
      <gmd:resourceConstraints>
        <gmd:MD_LegalConstraints>
          <gmd:accessConstraints>
            <gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions" />
          </gmd:accessConstraints>
          <gmd:otherConstraints>
            <gmx:Anchor xlink:href="http://inspire.ec.europa.eu/metadata-codelist/ConditionsApplyingToAccessAndUse/noConditionsApply">No conditions apply to access and use</gmx:Anchor>
          </gmd:otherConstraints>
        </gmd:MD_LegalConstraints>
      </gmd:resourceConstraints>
      <gmd:resourceConstraints>
        <gmd:MD_LegalConstraints>
          <gmd:useConstraints>
            <gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions" />
          </gmd:useConstraints>
          <gmd:otherConstraints>
            <gmx:Anchor xlink:href="http://inspire.ec.europa.eu/metadata-codelist/ConditionsApplyingToAccessAndUse/noConditionsApply">No conditions apply to access and use</gmx:Anchor>
          </gmd:otherConstraints>
        </gmd:MD_LegalConstraints>
      </gmd:resourceConstraints>
      <!-- Not mandatory. For interoperability -->
      <gmd:spatialRepresentationType>
        <gmd:MD_SpatialRepresentationTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_SpatialRepresentationTypeCode" codeListValue="vector" />
      </gmd:spatialRepresentationType>
      <!--TG Requirement 1.5: metadata/2.0/req/datasets-and-series/spatial-resolution: Spatial resolution for data set or data set series shall be given using either equivalent scale or a resolution distance, provided that these have been specified for the described data sets. If both ways have been specified, only one of the ways shall be used.
The spatial resolution as equivalent scale shall be encoded using gmd:spatialResolution/gmd:MD_Resolution/gmd:equivalentScale/gmd:MD_RepresentativeFraction/gmd:denominator/gco:Integer element.
The spatial resolution as resolution distance shall be encoded using gmd:spatialResolution/gmd:MD_Resolution/gmd:distance/gco:Distance element.
The multiplicity of this element is 0..n.-->
      <gmd:spatialResolution>
        <gmd:MD_Resolution>
          <gmd:distance>
            <gco:Distance uom="metres">1000</gco:Distance>
          </gmd:distance>
        </gmd:MD_Resolution>
      </gmd:spatialResolution>
      <!--TG Requirement 1.6: metadata/2.0/req/datasets-and-series/resource-language: For data sets or data set series containing textual information, the language(s) used in the resource shall be given. The language(s) used shall be encoded using one or more gmd:language/gmd:LanguageCode elements pointing to one of the three-letter language codes of the ISO 639-2/B code list.
The multiplicity of the gmd:language element is 1..*.
If the described resource does not contain textual information expressed in a natural language the special code value "zxx" of the ISO 639-2/B reserved for "no linguistic content; not applicable" shall be used.-->
      <gmd:language>
        <gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="eng">English</gmd:LanguageCode>
      </gmd:language>
      <!-- TG Requirement 1.7: metadata/2.0/req/datasets-and-series/topic-category: The main theme(s) of the data set shall be described using of the ISO 19115 topic category code list values. 
The topic categories shall be encoded using gmd:topicCategory/gmd:MD_TopicCategoryCode element. The multiplicity of this element is 1..*. -->
      <gmd:topicCategory>
        <gmd:MD_TopicCategoryCode>society</gmd:MD_TopicCategoryCode>
      </gmd:topicCategory>
      <gmd:extent>
        <gmd:EX_Extent>
          <!-- The bounding box shall be expressed in decimal degree with a precision of at least 2 decimals.
expressed in longitude in decimal degrees:
Western-most coordinate (positive east).
Eastern-most coordinate (positive east)
Northern-most coordinate (positive north)
Southern-most coordinate (positive north).-->
          <gmd:geographicElement>
            <gmd:EX_GeographicBoundingBox>
              <gmd:westBoundLongitude>
                <gco:Decimal>6.688839896152083</gco:Decimal>
              </gmd:westBoundLongitude>
              <gmd:eastBoundLongitude>
                <gco:Decimal>18.527293765646696</gco:Decimal>
              </gmd:eastBoundLongitude>
              <gmd:southBoundLatitude>
                <gco:Decimal>35.491884361971756</gco:Decimal>
              </gmd:southBoundLatitude>
              <gmd:northBoundLatitude>
                <gco:Decimal>47.059584626369691</gco:Decimal>
              </gmd:northBoundLatitude>
            </gmd:EX_GeographicBoundingBox>
          </gmd:geographicElement>
          <!-- The INSPIRE Metadata Regulation 1205/2008/EC requires at least
one temporal reference chosen from one of these four
categories:
- temporal extent
- date of publication
- date of last revision
- date of creation
The default reference system shall be the Gregorian calendar, with
dates expressed in accordance with ISO 8601 (yyyy-mm-dd where
yyyy is the year, mm is the month and dd is the day).-->
          <gmd:temporalElement>
            <gmd:EX_TemporalExtent>
              <gmd:extent>
                <gml:TimePeriod gml:id="IDcd3b1c4f-b5f7-439a-afc4-3317a4cd89be">
                  <gml:beginPosition>2021-01-01</gml:beginPosition>
                  <gml:endPosition indeterminatePosition="unknown" />
                </gml:TimePeriod>
              </gmd:extent>
            </gmd:EX_TemporalExtent>
          </gmd:temporalElement>
        </gmd:EX_Extent>
      </gmd:extent>
    </gmd:MD_DataIdentification>
  </gmd:identificationInfo>
  <gmd:distributionInfo>
    <gmd:MD_Distribution>
      <!--TG Requirement 2.6: metadata/2.0/req/isdss/data-encoding: The encoding and the storage or transmission format of the provided data sets or data set series shall be given using the gmd:distributionFormat/gmd:MD_Format element.
The multiplicity of this element is 1..*.
The gmd:name and gmd:version child elements of gmd:MD_Format are mandatory. Both of these elements shall contain Non-empty Free Text Elements.
If the version of the encoding is unknown or if the encoding is not versioned, the gmd:version shall be left empty and the nil reason attribute shall be provided with either value "unknown" or "inapplicable" correspondingly.

Not mandatory. For interoperability-->
      <gmd:distributionFormat>
        <gmd:MD_Format>
          <gmd:name>
            <gco:CharacterString>Geopackage file(.gpkg)</gco:CharacterString>
          </gmd:name>
          <gmd:version gco:nilReason="unknown">
            <gco:CharacterString />
          </gmd:version>
        </gmd:MD_Format>
      </gmd:distributionFormat>
      <gmd:distributionFormat xmlns:gn="http://www.fao.org/geonetwork">
        <gmd:MD_Format>
          <gmd:name>
            <gco:CharacterString>GML</gco:CharacterString>
          </gmd:name>
          <gmd:version>
            <gco:CharacterString>3.2.1</gco:CharacterString>
          </gmd:version>
        </gmd:MD_Format>
      </gmd:distributionFormat>
      <gmd:distributionFormat xmlns:gn="http://www.fao.org/geonetwork">
        <gmd:MD_Format>
          <gmd:name>
            <gco:CharacterString>Text</gco:CharacterString>
          </gmd:name>
          <gmd:version>
            <gco:CharacterString>CSV</gco:CharacterString>
          </gmd:version>
        </gmd:MD_Format>
      </gmd:distributionFormat>
      <gmd:distributionFormat xmlns:gn="http://www.fao.org/geonetwork">
        <gmd:MD_Format>
          <gmd:name>
            <gco:CharacterString>Text</gco:CharacterString>
          </gmd:name>
          <gmd:version>
            <gco:CharacterString>SDMX</gco:CharacterString>
          </gmd:version>
        </gmd:MD_Format>
      </gmd:distributionFormat>
      <!--TG Requirement 1.8: metadata/2.0/req/datasets-and-series/resource-locator: A Resource locator linking to the service(s) providing online access to the described data set or data set series shall be given, if such online access is available.
If no online access for the data set or data set series is available, but there is a publicly available online resource providing additional information about the described data set or data set series, the URL pointing to this resource shall be given instead.
These links shall be encoded using gmd:transferOptions/gmd:MD_DigitalTransferOptions/gmd:onLine/gmd:CI_OnlineResource/gmd: linkage/gmd:URL element.
The multiplicity of this element is 0..n.-->
      <gmd:transferOptions>
        <gmd:MD_DigitalTransferOptions>
          <gmd:onLine>
            <gmd:CI_OnlineResource>
              <gmd:linkage>
                <gmd:URL>https://gisco-services.ec.europa.eu/cmaps/service?REQUEST=GetCapabilities&amp;SERVICE=WMTS</gmd:URL>
              </gmd:linkage>
              <gmd:protocol>
                <gco:CharacterString>WMTS</gco:CharacterString>
              </gmd:protocol>
              <gmd:applicationProfile>
                <gco:CharacterString>View Service</gco:CharacterString>
              </gmd:applicationProfile>
              <gmd:name>
                <gco:CharacterString>ViewService (WMTS) of the Census 2021 data</gco:CharacterString>
              </gmd:name>
              <gmd:description>
                <gco:CharacterString>This services provides the different parameters of the Census 1km grid for 2021  .</gco:CharacterString>
              </gmd:description>
              <gmd:function>
                <gmd:CI_OnLineFunctionCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="download" />
              </gmd:function>
            </gmd:CI_OnlineResource>
          </gmd:onLine>
        </gmd:MD_DigitalTransferOptions>
      </gmd:transferOptions>
      <gmd:transferOptions>
        <gmd:MD_DigitalTransferOptions>
          <gmd:onLine>
            <gmd:CI_OnlineResource>
              <gmd:linkage>
                <gmd:URL>https://gisco-services.ec.europa.eu/census/2021/INSPIRE/Data/IT_PD_3035_CSV.zip</gmd:URL>
              </gmd:linkage>
              <gmd:protocol>
                <gco:CharacterString>ATOM</gco:CharacterString>
              </gmd:protocol>
              <gmd:applicationProfile>
                <gco:CharacterString>Download Service</gco:CharacterString>
              </gmd:applicationProfile>
              <gmd:name>
                <gco:CharacterString>The compressed resource (CSV) file contains data and metadata</gco:CharacterString>
              </gmd:name>
              <gmd:description>
                <gco:CharacterString>The dataset contains results from the 2021 EU census round and brings in as a major innovation the reporting of 13 key census variables on an EU-wide 1 km square grid with various deadlines. This will allow for much more flexible analysis, even at cross-border level, tailored to research or policy needs. The result rely on administrative data sources in most EU countries.</gco:CharacterString>
              </gmd:description>
              <gmd:function>
                <gmd:CI_OnLineFunctionCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="download" />
              </gmd:function>
            </gmd:CI_OnlineResource>
          </gmd:onLine>
        </gmd:MD_DigitalTransferOptions>
      </gmd:transferOptions>
      <gmd:transferOptions>
        <gmd:MD_DigitalTransferOptions>
          <gmd:onLine>
            <gmd:CI_OnlineResource>
              <gmd:linkage>
                <gmd:URL>https://gisco-services.ec.europa.eu/census/2021/INSPIRE/Data/IT_PD_3035_GML.zip</gmd:URL>
              </gmd:linkage>
              <gmd:protocol>
                <gco:CharacterString>ATOM</gco:CharacterString>
              </gmd:protocol>
              <gmd:applicationProfile>
                <gco:CharacterString>Download Service</gco:CharacterString>
              </gmd:applicationProfile>
              <gmd:name>
                <gco:CharacterString>The compressed resource (GML) file contains spatial data and metadata</gco:CharacterString>
              </gmd:name>
              <gmd:description>
                <gco:CharacterString>The dataset contains results from the 2021 EU census round and brings in as a major innovation the reporting of 13 key census variables on an EU-wide 1 km square grid with various deadlines. This will allow for much more flexible analysis, even at cross-border level, tailored to research or policy needs. The result rely on administrative data sources in most EU countries.</gco:CharacterString>
              </gmd:description>
              <gmd:function>
                <gmd:CI_OnLineFunctionCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="download" />
              </gmd:function>
            </gmd:CI_OnlineResource>
          </gmd:onLine>
        </gmd:MD_DigitalTransferOptions>
      </gmd:transferOptions>
      <gmd:transferOptions>
        <gmd:MD_DigitalTransferOptions>
          <gmd:onLine>
            <gmd:CI_OnlineResource>
              <gmd:linkage>
                <gmd:URL>https://gisco-services.ec.europa.eu/census/2021/INSPIRE/Data/IT_PD_3035_GPKG.zip</gmd:URL>
              </gmd:linkage>
              <gmd:protocol>
                <gco:CharacterString>ATOM</gco:CharacterString>
              </gmd:protocol>
              <gmd:applicationProfile>
                <gco:CharacterString>Download Service</gco:CharacterString>
              </gmd:applicationProfile>
              <gmd:name>
                <gco:CharacterString>The compressed resource (GPKG) file contains spatial data and metadata</gco:CharacterString>
              </gmd:name>
              <gmd:description>
                <gco:CharacterString>The dataset contains results from the 2021 EU census round and brings in as a major innovation the reporting of 13 key census variables on an EU-wide 1 km square grid with various deadlines. This will allow for much more flexible analysis, even at cross-border level, tailored to research or policy needs. The result rely on administrative data sources in most EU countries.</gco:CharacterString>
              </gmd:description>
              <gmd:function>
                <gmd:CI_OnLineFunctionCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="download" />
              </gmd:function>
            </gmd:CI_OnlineResource>
          </gmd:onLine>
        </gmd:MD_DigitalTransferOptions>
      </gmd:transferOptions>
      <gmd:transferOptions>
        <gmd:MD_DigitalTransferOptions>
          <gmd:onLine>
            <gmd:CI_OnlineResource>
              <gmd:linkage>
                <gmd:URL>https://gisco-services.ec.europa.eu/census/2021/INSPIRE/Data/IT_PD_3035_SDMX.zip</gmd:URL>
              </gmd:linkage>
              <gmd:protocol>
                <gco:CharacterString>ATOM</gco:CharacterString>
              </gmd:protocol>
              <gmd:applicationProfile>
                <gco:CharacterString>Download Service</gco:CharacterString>
              </gmd:applicationProfile>
              <gmd:name>
                <gco:CharacterString>The compressed resource (SDMX) file contains spatial data and metadata</gco:CharacterString>
              </gmd:name>
              <gmd:description>
                <gco:CharacterString>The dataset contains results from the 2021 EU census round and brings in as a major innovation the reporting of 13 key census variables on an EU-wide 1 km square grid with various deadlines. This will allow for much more flexible analysis, even at cross-border level, tailored to research or policy needs. The result rely on administrative data sources in most EU countries.</gco:CharacterString>
              </gmd:description>
              <gmd:function>
                <gmd:CI_OnLineFunctionCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="download" />
              </gmd:function>
            </gmd:CI_OnlineResource>
          </gmd:onLine>
        </gmd:MD_DigitalTransferOptions>
      </gmd:transferOptions>
      <gmd:transferOptions>
        <gmd:MD_DigitalTransferOptions>
          <gmd:onLine>
            <gmd:CI_OnlineResource>
              <gmd:linkage>
                <gmd:URL>https://gisco-services.ec.europa.eu/census/2021/INSPIRE/PD.atom</gmd:URL>
              </gmd:linkage>
              <gmd:protocol>
                <gco:CharacterString>ATOM</gco:CharacterString>
              </gmd:protocol>
              <gmd:applicationProfile>
                <gco:CharacterString>Download Service</gco:CharacterString>
              </gmd:applicationProfile>
              <gmd:name>
                <gco:CharacterString>Downloadservice (ATOM-Feed) of all the various packages</gco:CharacterString>
              </gmd:name>
              <gmd:description>
                <gco:CharacterString>The service contains results from the 2021 EU census round and brings in as a major innovation the reporting of 13 key census variables on an EU-wide 1 km square grid with various deadlines. This will allow for much more flexible analysis, even at cross-border level, tailored to research or policy needs. The result rely on administrative data sources in most EU countries.</gco:CharacterString>
              </gmd:description>
              <gmd:function>
                <gmd:CI_OnLineFunctionCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="download" />
              </gmd:function>
            </gmd:CI_OnlineResource>
          </gmd:onLine>
        </gmd:MD_DigitalTransferOptions>
      </gmd:transferOptions>
    </gmd:MD_Distribution>
  </gmd:distributionInfo>
  <!--TG Requirement 1.9: metadata/2.0/req/datasets-and-series/one-data-quality-element: There shall be exactly one gmd:dataQualityInfo/gmd:DQ_DataQuality element scoped to the entire described data set or data set series. The scoping shall be encoded using gmd:scope/gmd:DQ_Scope/gmd:level/gmd:MD_ScopeCode element referring to value "dataset" or "series" of ISO 19139 code list MD_ScopeCode.-->
  <gmd:dataQualityInfo>
    <gmd:DQ_DataQuality>
      <gmd:scope>
        <gmd:DQ_Scope>
          <gmd:level>
            <gmd:MD_ScopeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode" codeListValue="dataset" />
          </gmd:level>
        </gmd:DQ_Scope>
      </gmd:scope>
      <!--TG Requirement C.20: metadata/2.0/req/common/conformity: The degree of conformity of the described resource with an INSPIRE Implementing Rule, specification document or Conformance Class, shall be given using one or several gmd:DQ_ConformanceResult elements under gmd:report/gmd:DQ_DomainConsistency/gmd:result. For each conformity statement (i.e. for each specification), a separate gmd:DQ_ConformanceResult element shall be used. The multiplicity of this element is 1..*.-->
      <!--TG Requirement C.21: metadata/2.0/req/common/conformity-specification: Each gmd:report/gmd:DQ_DomainConsistency/gmd:result/gmd:DQ_ConformanceResult element shall include a citation of the INSPIRE Implementing Rule, specification document or Conformance Class, including its official title and the date of publication of the document, using gmd:specification/gmd:CI_Citation element.
The title shall be given using the gmd:title child element of the citation element with a Non-empty Free Text Element content. For the INSPIRE Implementation Rule documents the value of the title element shall match exactly the official title of the cited document in the language of the metadata.
The publication date of the cited document shall be given using gmd:date child element.
The date value shall be expressed in accordance with ISO 8601 with only the date part included. The date type code element gmd:date/gmd:CI_Date/gmd:dateType/gmd:CI_DateTypeCode shall be given and it shall point to the value "publication" of the ISO 19139 code list CI_DateTypeCode.-->
      <!--TG Requirement C.22: metadata/2.0/req/common/conformity-degree: Each gmd:report/gmd:DQ_DomainConsistency/gmd:result/gmd:DQ_ConformanceResult element containing a specification citation described in Requirement C.21 shall also include the degree of declared conformity against this specification using gmd:pass property with gco:Boolean value of "true" for a conformant resource and "false" for non-conformant resource. If the conformity has not yet been evaluated, the gmd:pass element shall be empty and contain a nil reason attribute with value "unknown".-->
      <!--TG Requirement 1.10: metadata/2.0/req/datasets-and-series/conformity: Metadata for an INSPIRE data set or data set series shall declare conformity to the Implementing Rules for interoperability of spatial data sets and services, and it shall be encoded using gmd:report/gmd:DQ_DomainConsistency/gmd:result/gmd:DQ_ConformanceResult element as specified in TG Requirement C.20. This element shall contain citation of the [Regulation 1089/2010] encoded according to TG Requirement C.21. The degree of conformity shall be encoded as according to TG Requirement C.22.-->
      <gmd:report>
        <gmd:DQ_DomainConsistency>
          <gmd:result>
            <gmd:DQ_ConformanceResult>
              <gmd:specification>
                <gmd:CI_Citation>
                  <gmd:title>
                    <gmx:Anchor xlink:href="http://data.europa.eu/eli/reg/2010/1089">Commission Regulation (EU) No 1089/2010 of 23 November 2010 implementing Directive 2007/2/EC of the European Parliament and of the Council as regards interoperability of spatial data sets and services</gmx:Anchor>
                  </gmd:title>
                  <gmd:date>
                    <gmd:CI_Date>
                      <gmd:date>
                        <gco:Date>2010-12-08</gco:Date>
                      </gmd:date>
                      <gmd:dateType>
                        <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">Publication</gmd:CI_DateTypeCode>
                      </gmd:dateType>
                    </gmd:CI_Date>
                  </gmd:date>
                </gmd:CI_Citation>
              </gmd:specification>
              <gmd:explanation>
                <gco:CharacterString>This data set is conformant with the INSPIRE Implementing Rules for the interoperability of spatial data sets and services</gco:CharacterString>
              </gmd:explanation>
              <gmd:pass>
                <gco:Boolean>true</gco:Boolean>
              </gmd:pass>
            </gmd:DQ_ConformanceResult>
          </gmd:result>
        </gmd:DQ_DomainConsistency>
      </gmd:report>
      <!--TG Requirement 1.11: metadata/2.0/req/datasets-and-series/lineage: The lineage statement for the described data set or data set series shall be given. It shall be included in the gmd:dataQualityInfo/gmd:DQ_DataQuality element scoped to the entire described data sets or data sets series as specified by TG Requirement 1.9.
The lineage shall be encoded using the gmd:lineage/gmd:LI_Lineage/gmd:statement element with a Non-empty Free Text Element content, and it shall contain the description of the lineage of the described data set or series.
The multiplicity of this element is 1.-->
      <gmd:lineage>
        <gmd:LI_Lineage>
          <gmd:statement>
            <gco:CharacterString>Available on the Istat website at the following link https://www.istat.it/it/archivio/155162. Counts of Italy's usual resident population and sub-populations required for the grid are based on information from municipal registry offices and administrative records. Data are sent to Istat via a secure transmission protocol.Regarding the validation of total population by grid, comparisons were made with the 2011 census, consistency analyses were performed between population and housing data, and map verifications were performed. Data consistency analyses were performed for all socio-demographic variables produced.
						Accuracy of grid data:
The census population in Italy as of 31-12-2021 is 59,030,133 individuals. The population placed in non-virtual grid cells, using the method of aggregation from coordinate points (see section 18.5) is 58,933,936. The remaining population of 96,197 was placed in the virtual cell and consists of primary and secondary homeless persons (non-geocoded observations: 0.16%).Primary and secondary homeless persons were indicated by municipalities through an "ad hoc" survey conducted on local population register.
The technique for producing the population data by grid and the sources used to derive the information are the same across the Italian regions. The data are 100% consistent and comparable. All information used refers to the same reference date.

Several national legal acts guarantee the confidentiality of data requested for statistical purposes. In Italy, according to art. 9, paragraph 1 of the Legislative Decree n. 322 of 1989 (concerning the statistical system), statistical data cannot be disseminated but in aggregated form, in order to make it impossible to identify the person to whom the information relates. The data collected can only be used for statistical purposes.
Official statistics must also safeguard the rights, basic freedoms, and dignity of respondents, in particular with regard to the right of confidentiality and personal identity.
Istat assures the protection of personal data according to the General Data Protection Regulation (Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, repealing Directive 95/46/EC) and, as national legislation, Italian Data Protection Code (Legislative Decree no. 196/2003) and Code of conduct and professional practice applying to the processing of personal data for statistical and scientific research purposes within the framework of the national statistical system.
In order to make statistical secrecy and protection of personal data effective, Istat is currently taking appropriate organizational, logistical, methodological and statistical measures in accordance with internationally established standards.
Moreover, Legislative Decree n. 322 of 1989, art. 6 and 6 bis provides that the exchange of microdata and personal data within the National Statistical System (Sistan) is possible if it is necessary to fulfil requirements provided by the National Statistical Program.
Finally, in implementation of art. 5-ter of the legislative decree 14 March 2013, no. 33, the new "Guidelines for the access for scientific purposes to the elementary data of the National Statistical System" establish the conditions under which the bodies and offices of the National Statistical System can allow researchers to access their own elementary data for scientific purposes.Istat does not consider data by grid as sensitive information. No restrictions were placed on data dissemination: 0% of grid cells were suppressed; 0% of the population suppressed.</gco:CharacterString>
          </gmd:statement>
        </gmd:LI_Lineage>
      </gmd:lineage>
    </gmd:DQ_DataQuality>
  </gmd:dataQualityInfo>
</gmd:MD_Metadata>

