{
  "_": [
    "O Estado do País: o livro-razão, uma linha.",
    "FICHEIRO GERADO na construção do sítio a partir de ledger/claims/*.yml.",
    "NÃO EDITAR À MÃO: a construção seguinte reescreve-o.",
    "O método e a explicação de cada campo: https://oestadodopaís.pt/metodo",
    "O campo \"note\" do formato não é publicado, e por isso não está aqui.",
    "\"value\" vai exatamente como foi publicado, em formatação portuguesa."
  ],
  "licenca": {
    "nome": "CC BY 4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "atribuicao": "O Estado do País, oestadodopaís.pt"
  },
  "linha": {
    "id": "municipios-madeira-caop-2025",
    "value": "11",
    "unit": "municípios",
    "name": null,
    "name_source": null,
    "source": "Direção-Geral do Território (DGT)",
    "document": {
      "title": "Carta Administrativa Oficial de Portugal (CAOP)",
      "edition": "2025",
      "locator": "CAOP 2025, ficheiro da Região Autónoma da Madeira (GeoPackage), contagem das entradas de município",
      "page": null,
      "kind": "ficheiro",
      "url": null,
      "crop": null,
      "hosted": {
        "asset": "dados/caop-2025-municipios-madeira.csv",
        "sha256": "bae35fd862a38f817732c9092d4fdea93ef8162bded40a82ad20a117a1314c32",
        "bytes": 2117,
        "licence": "CC BY 4.0",
        "licence_url": "https://creativecommons.org/licenses/by/4.0/",
        "attribution": "Direção-Geral do Território",
        "extracted_from": [
          {
            "file": "CAOP_RAM_2025-gpkg.zip",
            "url": "https://geo2.dgterritorio.gov.pt/caop/CAOP_RAM_2025-gpkg.zip",
            "sha256": "ae568ca2006e91205601309ff46bc8ae0cc73236165f095f8aa99a5b9a17e5d6",
            "bytes": 15235290
          }
        ]
      },
      "computed_over": null
    },
    "source_url": "https://geo2.dgterritorio.gov.pt/caop/CAOP_RAM_2025-gpkg.zip",
    "access_date": "2026-08-12",
    "published_at": null,
    "reference_date": "2025",
    "serie": null,
    "excerpt": null,
    "source_flag": null,
    "source_flag_note": null,
    "source_flag_note_en": null,
    "ressalva": null,
    "ressalva_en": null,
    "derivation": "Contagem das linhas de dados do ficheiro alojado dados/caop-2025-municipios-madeira.csv: 11 linhas, uma por município, cada uma com o seu código na coluna \"dtmn\". O ficheiro é o extrato da camada ram_municipios do GeoPackage CAOP_RAM_2025-gpkg.zip, cujo resumo a linha publica. A contagem é refeita na construção sobre o ficheiro alojado.",
    "derivation_en": "Count of the data lines of the hosted file dados/caop-2025-municipios-madeira.csv: 11 lines, one per municipality, each with its code in the \"dtmn\" column. The file is the extract of the ram_municipios layer of the CAOP_RAM_2025-gpkg.zip GeoPackage, whose hash the row publishes. The count is re-made at build time over the hosted file.",
    "derived_from": [],
    "check": null,
    "attributed_to": null,
    "study": "o-estado-do-pais",
    "corrections": [
      {
        "date": "2026-08-15",
        "kind": "proveniencia",
        "field": "source_url",
        "old_value": "https://geo2.dgterritorio.gov.pt/caop/",
        "new_value": "https://geo2.dgterritorio.gov.pt/caop/CAOP_RAM_2025-gpkg.zip",
        "reason": "O endereço antigo é a pasta onde os ficheiros da CAOP estão alojados e devolve HTTP 403 a qualquer pedido, com listagem desativada: não é, nem nunca foi, uma página que se possa abrir. Os ficheiros por baixo dela respondem HTTP 200. A linha passa a citar o ficheiro de onde a contagem foi feita. O valor não muda.",
        "reason_en": "The old address is the directory the CAOP files sit in and returns HTTP 403 to every request, with listing disabled: it is not, and never was, a page that can be opened. The files beneath it answer HTTP 200. The row now cites the file the count was made over. The value does not change."
      }
    ],
    "verifications": [
      {
        "date": "2026-09-01",
        "path": "https://geo2.dgterritorio.gov.pt/caop/CAOP_RAM_2025-gpkg.zip",
        "result": "igual",
        "by": "corredor-diario"
      }
    ]
  }
}
