mirror of
https://github.com/bitbaum/solon.git
synced 2026-12-04 12:07:14 +01:00
Liechtenstein becomes a pack beside Switzerland, so /api/v1/places resolves Vaduz and the other communes by name and postcode. - countries/liechtenstein.ts: nation (Fürstentum), the two Landschaften Oberland and Unterland as a full level (Constitution Art. 1; the electoral districts of Art. 46), the eleven communes; CHF, region LI, postcodes 94[89]x. No tax model. - Identifier schemes li_landschaft and li_municipality (7001-7011, the numbers swisstopo's directory of localities gives the communes), both reserved. - Source li-constitution-communes: a hand-kept batch (data/places/liechtenstein/communes.json, fixture adapter) citing the Constitution, Art. 1, with names and numbers checked against swisstopo's directory. - Source swisstopo-postcode-localities-li: the Liechtenstein rows of the same directory the Swiss postcodes come from; csv_postcodes gains a `where` option (as shapefile_areas has) to read only them. - Tests: the batch passes the check and puts each commune in the Landschaft the Constitution names; the postcode source keeps only the 20 Liechtenstein rows; an integration test imports both, reruns with no change, and finds Vaduz by name and postcode. The Swiss typo test now draws its cases from Swiss places. Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud Co-authored-by: Claude <noreply@anthropic.com>