# AGENTS.md — 立地適正化計画区域データ (A50)
45 files, 0.2 GB, 2020.

## Before you download
| | |
|---|---|
| Files | 45 |
| Measured total | 0.2 GB |
| Years present | 2020 |
| Newest edition | 2020 |
| Geometry | 面 |
| Formats | GML (45) |

## Licence
Per file, resolved from the file's own year: 要確認 45.
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.
45 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
- **属性情報** — 7 columns: `A50_001` 都道府県コード, `A50_002` 都道府県名, `A50_003` 行政区域コード, `A50_004` 市町村名, `A50_005` 区域設定年月日, `A50_006` 区域コード …

2 columns are 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 = 'A50'
 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.
