# AGENTS.md — 市町村役場等及び公的集会施設データ (P05)
103 files, 29 MB, 2010–2022.

## Before you download
| | |
|---|---|
| Files | 103 |
| Measured total | 29 MB |
| Years present | 2010, 2022 |
| Newest edition | 2022 |
| Geometry | 点 |
| Formats | GML (103) |

## Licence
Per file, resolved from the file's own year: 要確認 103.
The Collection's own `license` is `other`; it falls back to `other` whenever any single year in the dataset does. Read the Item's `license` and its `ksj:terms_applied`, the sentence that decided it.
103 of these need a human: upstream states the terms per prefecture or per municipality. Treat them as not redistributable until someone has read `ksj:terms` on the Collection.

## Columns
- **属性情報** — 4 columns: `P05_001` 行政区域コード, `P05_002` 施設分類, `P05_003` 名称, `P05_004` 所在地

1 column is coded, carrying a `ksj:codelist_href` into `../../codelists/`, where every value has a label.

Column names are what a query has to spell; the readable name is beside it. These come from the dataset page, which keeps superseded schemas as HTML comments -- those are stripped, so what is listed here is the current edition's.

## Count it, do not trust this file
Every number above is generated from the catalog, but a fact stated in prose goes stale silently. The Items are the record:

```sql
select year, region, redistribution, file_size
  from 'https://stac.yuiseki.net/mlit-nlftp/items.parquet'
 where collection = 'P05'
 order by year desc;
```

`ksj:is_latest` on an Item is computed per region, so the newest year for the country is not the newest year everywhere.
