# AGENTS.md — データセット別

110 collections. Opening all of them is the wrong move and costs 110 requests.

| You want | Fetch |
|---|---|
| a named dataset | `./<id>/collection.json`, e.g. `./N02/collection.json` |
| the same with its caveats | `./<id>/AGENTS.md` |
| all 110 with their descriptions | `./index.json`, one request |
| everything matching a filter | `../items.parquet` |
| what exists for a prefecture | `../regions/<JIS code>.json` |

`index.json` carries, per dataset, the identifier, title, description,
category, latest year, every year present, item count, and the licence and
redistribution status **of the newest year**, which is the pair people arrive
wanting. The Collection's own `license` is `other` whenever any year in it is.

A Collection's `ksj:variants` lists the columns of each shapefile in the zip,
with the machine name a query has to spell (`N02_001`) beside the readable
one. `table:columns` is emitted only where the dataset ships a single
shapefile, because a dataset with two schemas cannot honestly have one.
