schema & documentation · data dictionary
Spec is the schema and documentation layer. It defines the data structures, API contracts, and field mappings that the rest of the constellation depends on. The single source of truth about what the data means.
| Table | Description | Key fields |
|---|---|---|
| budget | Core budget items (all years) | year, code, title, net_allocated, net_executed |
| entities | All actors (ministries, vendors) | id, name, kind, details |
| procurement_tenders_exemptions | No-competition contracts | description, volume, supplier, publisher |
| contract_spending_backup | Actual contract payments | budget_code, purpose, supplier_name, volume |
Full schema documented in /home/uprootiny/obudget_authoritative_sources.md — compiled June 6, 2026 from live API introspection. 241 lines covering all 15 tables, 69 budget fields, 25 entity kinds, and working SQL patterns.