# ukony-mesta: procedures of the Mestský úrad Senec

72 procedures ("agendy") the town publishes on senec.sk, each linked to its page there, grouped
by the town's own life-situation categories (<https://www.senec.sk/ako-vybavit/>). Built 2026-10-30 by
`scripts/build_ukony.py` from the public WordPress REST API (`/wp-json/wp/v2/agendas`,
`life_situations`, `office_sections`).

- `record_id` is the WordPress post id; it survives title edits.
- Text fields are the town's own text, with HTML removed. Most procedures leave them empty: 12 of 72
  state a fee. The page in `source_url` is authoritative.
- 43 procedures list one or more of the town's forms (`forms`, its pages under senec.sk/dokumenty), and
  22 say how the application can be filed (`delivery`).
- Named staff (`person_id` on senec.sk) are not read; only offices are.

## Fields

| Field | Type | Meaning |
| --- | --- | --- |
| `record_id` | string | WordPress post id of the procedure. |
| `title` | string | Name of the procedure as on senec.sk. |
| `category`, `category_label`, `category_url` | string or null | The town's life-situation category (first one if several). |
| `office`, `office_url` | string or null | The office section that handles it. |
| `short_title` | string or null | Our short name for it (`sources/ukony/kratke-nazvy.csv`, by hand); null for the town's category pages and reports, which are no procedure a resident does, and for a page published twice. |
| `duplicate_of` | string or null | The `record_id` of the page the town published twice under one title (the one with a category and an office, else the newer, else the first); null on that page itself. |
| `desk_id` | string or null | The office desk in `uradne-hodiny` where it is done (`ukony_offices` in `data/taxonomy.json`); an office without hours of its own has the town hall's general desk, `mu-senec`. |
| `topic` | string or null | Som Senec's topic, one of the twelve categories of životné situácie (`data/taxonomy.json`: `ukony_topics`, else the category's). |
| `for_citizens`, `for_business` | boolean | The town's "Občan" and "Podnikateľ" tags. |
| `electronic` | boolean | The town links an electronic form. |
| `fees`, `attachments`, `deadlines` | string or null | The town's text for fees, required attachments and deadlines. |
| `forms` | list | The town's forms for the procedure, each `{title, url}`: its page on senec.sk, where the files are. Empty when the page lists none. In the CSV, JSON. |
| `delivery` | list | How the town says it can be filed: `personal` (in person), `post`, `email`, `cgp` (through slovensko.sk). Empty when the page does not say. In the CSV, JSON. |
| `source_url` | string | The procedure's page on senec.sk. |
| `source_date` | date | When the town last edited the page. |
| `last_update` | date | When the record was last read from senec.sk and found changed (until 15 Oct 2026 this field held the town's edit date, now `source_date`). |

## Procedures per category

| Category | Procedures |
| --- | --- |
| (bez kategórie) | 5 |
| Byty a bývanie | 1 |
| Dane a poplatky | 5 |
| Doprava a parkovanie | 1 |
| Matrika | 7 |
| Odpady | 23 |
| Podnikanie a prevádzky | 1 |
| Predaj a prenájom majetku mesta | 2 |
| Sociálne veci | 7 |
| Stavebné konania | 14 |
| Verejne financie a dotácie | 1 |
| Školstvo | 2 |
| Životné prostredie | 3 |

## License

Published by Som Senec under the Creative Commons Attribution 4.0 International licence (CC BY 4.0): https://creativecommons.org/licenses/by/4.0/. You may use it for any purpose, commercial use included, if you credit "Som Senec, somsenec.sk". The source documents that each record links to keep their own terms.
