Voetr reference
3 pages, 56 routes, 55 connections and 0 CLI commands, generated from the declarations of Legislation without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Pages · 8
| Page | View id | Role | Route | Order | Parent | Entity | Navigation |
|---|---|---|---|---|---|---|---|
| Overview | legislation.voetr | home | /view/legislation | 0 | in navigation | ||
| Bill | legislation.bill | dashboard | /view/legislation/bill/{bill} | 10 | legislation.voetr | hidden | |
| Dashboard | legislation.budgets | dashboard | /view/legislation/budgets | 10 | in navigation | ||
| Representatives | legislation.representatives | custom | /view/legislation/representatives | 60 | in navigation | ||
| Budget | legislation.budget | dashboard | /view/legislation/budgets/{government} | 71 | legislation.budgets | hidden | |
| Payroll | legislation.payroll | dashboard | /view/legislation/budgets/{government}/payroll | 72 | legislation.budget | hidden | |
| Accounts | legislation.budget_accounts | dashboard | /view/legislation/budgets/{government}/accounts | 73 | legislation.budget | hidden | |
| Audit links | legislation.audit_links | dashboard | /view/legislation/audits/links | 74 | hidden |
Connections · 55
Legislation.Agencies
A government's agencies and public roles from its own payroll files: head counts and pay quantiles per dataset, never names, never summed into a budget.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| government | required |
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/budgets/agenciesHTTP route
Legislation.Atlas
Bounded cited atlas projection; no aggregate totals or coverage-completeness claim.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/atlasHTTP route
Legislation.Atlas.Import
Atomically append cited atlas observations without Municipality, Organization, Budget or payment authority.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| packet | required |
- Output keylegislation.result
- Classificationreal
- POST /legislation/civic/atlas-importHTTP route
Legislation.Atlas.Preview
Bounded cited atlas projection; no aggregate totals or coverage-completeness claim.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| packet | required |
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/atlas-previewHTTP route
Legislation.Ballot.Submit
Submit a user's stance on a bill. Forwards to `Ballot.Submit` (writes BallotResponse + Position on `cre8/legislation/{bill_id}/{option}`) and also writes a `legislation.vote` edge linking (peer, bill, position: yea/nay/abstain). L.3 settlement reads these edges per bill and compares to the legislator's roll-call to mint paired alignment / dissent rep.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| external_id | required | |||
| peer_id | required | |||
| position | required |
- Output keylegislation.result
- Classificationreal
- POST /legislation/ballot/submitHTTP route
Legislation.BudgetOrganize
Build the signed-in account's research organizations and review projects from a city's published departments; no official accounts and no budget mutations.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| government | required |
- Output keylegislation.result
- Classificationreal
- POST /legislation/budgets/organizeHTTP route
Legislation.BudgetSync
Operator read of a city's published budget files into fiscal evidence; no budget mutations.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| government | required |
- Output keylegislation.result
- Classificationreal
- POST /legislation/budgets/syncHTTP route
Legislation.Budgets
A city's published budget, statement by statement; nothing summed across stages, years or governments.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/budgetsHTTP route
Legislation.CivicCatalog
Keyset paging and search across the stored civic catalog.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/catalogHTTP route
Legislation.CivicCatalog.Import
Atomically import bounded bill and representative catalogs without creating votes, memberships or economic effects.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| catalog | required |
- Output keylegislation.result
- Classificationreal
- POST /legislation/civic/catalog-importHTTP route
Legislation.CivicCatalog.Preview
Validate a supplied catalog without writes.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| catalog | required |
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/catalog-previewHTTP route
Legislation.CivicCompare
Informational comparison against one exact motion/revision, without saving a stance or rewarding agreement.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| observation_id | required | |||
| stance | required |
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/compareHTTP route
Legislation.CivicDraft
Build a draft Ballot carrying exact civic evidence and supplied Charter/scope references. No writes or sanction claim.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/draftHTTP route
Legislation.CivicEvent.Ingest
Append a source-attributed roll-call observation; corrections require new revisions. No settlement authority.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| event | required |
- Output keylegislation.result
- Classificationreal
- POST /legislation/civic/eventHTTP route
Legislation.CivicGraph
Bounded bill, voting-event, representative and Person-reference graph; retains source revisions.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| external_id | required | |||
| limit | optional |
- Output keylegislation.result
- Classificationroute_handler
- GET /legislation/civic/graphHTTP route
- POST /legislation/civic/graphHTTP route
Legislation.CivicImport
Atomically import a validated civic bill/representatives/events bundle; conflicting content rolls back.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| bundle | required |
- Output keylegislation.result
- Classificationreal
- POST /legislation/civic/importHTTP route
Legislation.CivicImport.Preview
Validate a provider bundle without writes.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| bundle | required |
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/import-previewHTTP route
Legislation.CivicOrganization
Resolve explicit Organization links through Organization.Get and Budget.Get. No inherited authority or cross-currency total.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| organization_id | required |
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/organizationHTTP route
Legislation.CivicScaffold
Plan a government-inspired workspace using existing Organization and Project connections.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/scaffoldHTTP route
Legislation.CountyWorkspace.Preview
Prepare one sourced public-record workspace for a county without writes.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| jurisdiction_id | required | |||
| county_name | required | |||
| source_url | required | |||
| owner_id | required | |||
| workspace_key | required |
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/county-workspace-previewHTTP route
Legislation.DailyBallot.Generate
Promote N legislation.bill vertices into `Ballot` vertices, one Ballot per bill with a Single-type question carrying yes/no/abstain options bound to `cre8/legislation/{external_id}/{option}` asset strings. Idempotent: ballot ids are deterministic in `bill_external_id`. Civic-tech UX guidance: limit defaults to 1 (one curated bill/day).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| external_id | optional | |||
| jurisdiction | optional | |||
| limit | optional |
- Output keylegislation.result
- Classificationreal
- POST /legislation/ballot/generateHTTP route
Legislation.Fiscal.BudgetPlan
Fiscal evidence and Charter-checked proposal planning; no spending authorization.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/fiscal-budget-planHTTP route
Legislation.Fiscal.Graph
Fiscal evidence and Charter-checked proposal planning; no spending authorization.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/fiscal-graphHTTP route
Legislation.Fiscal.Import
Atomically append immutable fiscal evidence; no budget mutations.
- Output keylegislation.result
- Classificationreal
- POST /legislation/civic/fiscal-importHTTP route
Legislation.Fiscal.Preview
Fiscal evidence and Charter-checked proposal planning; no spending authorization.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/fiscal-previewHTTP route
Legislation.FiscalLink.Preview
Review an explicit owner-held relationship between an institution and fiscal observation.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/fiscal-link-previewHTTP route
Legislation.GetBill
Fetch a single `legislation.bill` vertex by `external_id`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| external_id | required |
- Output keylegislation.result
- Classificationroute_handler
- GET /legislation/billHTTP route
Legislation.GovernmentAudits
Audit filings on file: the confirmed and candidate links of a roster unit with their filings, one filer by UEI, one filing by report number, a state's candidate links, or the years read; dollars are federal awards spent and never a budget.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/government-auditsHTTP route
Legislation.GovernmentAudits.Propose
Operator step that offers candidate links between a state's audit filers and the one roster unit of the same name in that state; nothing is confirmed and no rule promotes a candidate.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| state | required |
- Output keylegislation.result
- Classificationreal
- POST /legislation/government-audits/proposeHTTP route
Legislation.GovernmentAudits.Settle
Operator confirmation or rejection of one link between an audit filer (UEI) and a roster unit; one UEI to a unit, a rejected link is kept, and who settled it is stored and never returned.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| uei | required | |||
| confirm | required |
- Output keylegislation.result
- Classificationreal
- POST /legislation/government-audits/settleHTTP route
Legislation.GovernmentAudits.Sync
Operator read of one audit year of single-audit filings from the Federal Audit Clearinghouse, one record per filing and per filer; federal award dollars as published, no contact columns, no budget mutations.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| year | required |
- Output keylegislation.result
- Classificationreal
- POST /legislation/government-audits/syncHTTP route
Legislation.GovernmentFinance
Finance survey statements by government unit id and year, or one item code added over the units of a state and class with the part that was not reported; items are never added to each other and nothing here is a budget.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/government-financeHTTP route
Legislation.GovernmentFinance.Sync
Operator read of a finance survey's unit file into one statement per government and year, in the publisher's item codes and thousands of dollars; actuals with their flags, never a budget, no budget mutations.
- Output keylegislation.result
- Classificationreal
- POST /legislation/government-finance/syncHTTP route
Legislation.Governments
Cited, partial government research templates.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/governmentsHTTP route
Legislation.Governments.Preview
Prepare Organization-owned institution workspaces and Budget references without writes.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| template_id | required | |||
| owner_id | required | |||
| workspace_key | required |
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/governments-previewHTTP route
Legislation.IngestBill
Ingest or upsert a `legislation.bill` vertex from any open-gov source. Keyed by `external_id` (stable across the source's lifetime, e.g. "HR-1234-118"). Idempotent. Day-1 path for the `congress_gov` provider adapter; later slices add OpenStates / EU adapters with the same target shape.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| external_id | required | |||
| title | required | |||
| sponsor | optional | |||
| jurisdiction | optional | |||
| introduced_at | optional | |||
| body_text | optional | |||
| tags | optional | |||
| source | optional |
- Output keylegislation.result
- Classificationreal
- POST /legislation/billHTTP route
Legislation.InstitutionWorkspace.Preview
Prepare an Organization workspace referencing an exact institution revision.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/institution-workspace-previewHTTP route
Legislation.Institutions
Search and page immutable public identifier observations.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/institutionsHTTP route
Legislation.Institutions.Import
Atomically append revisioned public institution identifiers; no organization membership or budget authority.
- Output keylegislation.result
- Classificationreal
- POST /legislation/civic/institutions-importHTTP route
Legislation.Institutions.Preview
Validate source-attributed institution revisions without writes.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/institutions-previewHTTP route
Legislation.Legislator.Upsert
Register or update a tracked legislator (`legislation.legislator` vertex). `id` is the source-stable identifier (congress.gov bioguide / OpenStates person id / EU parliament id). Settlement scopes by chamber + jurisdiction.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| id | required | |||
| name | required | |||
| chamber | optional | |||
| jurisdiction | optional | |||
| party | optional | |||
| district | optional |
- Output keylegislation.result
- Classificationreal
- POST /legislation/legislatorHTTP route
Legislation.ListBills
List ingested `legislation.bill` vertices, optionally filtered by jurisdiction.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| jurisdiction | optional | |||
| limit | optional |
- Output keylegislation.result
- Classificationroute_handler
- GET /legislation/billsHTTP route
Legislation.PayrollSync
Operator read of a government's published roster, budgeted positions and reimbursements into payroll evidence; names stay as published, no Person profiles, no budget mutations.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| government | required |
- Output keylegislation.result
- Classificationreal
- POST /legislation/budgets/payroll/syncHTTP route
Legislation.Representatives
List tracked representatives with jurisdiction and explicit Person references.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| jurisdiction | optional | |||
| limit | optional |
- Output keylegislation.result
- Classificationroute_handler
- GET /legislation/representativesHTTP route
Legislation.RollCall.Ingest
Record one or more legislators' votes on a bill — the ground truth L.3 settlement compares user votes against. Idempotent per (bill, legislator) so re-ingesting updated roll-call data is safe. Provider-fed in production via congress.gov roll-call API; manual ingest accepted for testing.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| external_id | required | |||
| votes | required | |||
| recorded_at | optional | |||
| source | optional |
- Output keylegislation.result
- Classificationreal
- POST /legislation/rollcallHTTP route
Legislation.Settle
Alignment-manifold settlement for one bill. For each (user vote, legislator roll-call vote) pair: positions match -> mint 1 unit of `cre8/peer/{peer}/rep/alignment/{legislator}/{bill}`; positions differ -> mint 1 unit of `.../rep/dissent/{legislator}/{bill}`. Pure emissive credit via wallet upsert_balance — NO zero-sum burn, NO loser pool. Idempotent at (peer, bill, legislator) granularity; new votes after a prior settle get picked up on the next run.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| external_id | required |
- Output keylegislation.result
- Classificationreal
- POST /legislation/settleHTTP route
Legislation.Status
Legislation subsystem health and counts (bills + votes + ingested rollcalls + mints).
- Output keylegislation.result
- Classificationroute_handler
- GET /legislation/statusHTTP route
Legislation.Trace.CharterDraft
Review source-attributed public decision references without governance mutation.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/trace-charter-draftHTTP route
Legislation.Trace.Graph
Review source-attributed public decision references without governance mutation.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/trace-graphHTTP route
Legislation.Trace.Import
Append immutable reviewed public decision evidence.
- Output keylegislation.result
- Classificationreal
- POST /legislation/civic/trace-importHTTP route
Legislation.Trace.LinkPreview
Review source-attributed public decision references without governance mutation.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/trace-link-previewHTTP route
Legislation.Trace.Preview
Review source-attributed public decision references without governance mutation.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/trace-previewHTTP route
Legislation.Trace.ProjectPreview
Review source-attributed public decision references without governance mutation.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/trace-project-previewHTTP route
Legislation.Traces
Review source-attributed public decision references without governance mutation.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/tracesHTTP route
Legislation.Workspace
Bounded civic bill and representative workspace.
- Output keylegislation.result
- Classificationroute_handler
- POST /legislation/civic/workspaceHTTP route
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authorityhyper_with_sql_compat
- Preferred truthhyper
- App ownerLegislation
- SQL projectioncompatibility_projection · DDL declarations: 6
- Budget
- Charter
- Org
- OrgChild
- OrgMember
- legislation.atlas_observation
- legislation.audit_filer
- legislation.audit_filing
- legislation.audit_unit_link
- legislation.bill
- legislation.civic_event
- legislation.decision_trace
- legislation.fiscal_observation
- legislation.institution_observation
- legislation.legislator
- legislation.unit_finance
- Ballot
- BallotResponse
- legislation.alignment_mint
- legislation.atlas_observation
- legislation.audit_filer
- legislation.audit_filing
- legislation.audit_unit_link
- legislation.bill
- legislation.civic_event
- legislation.decision_trace
- legislation.fiscal_observation
- legislation.institution_observation
- legislation.legislator
- legislation.payroll_record
- legislation.rollcall
- legislation.unit_finance
- organization.org
- project.project
- None declared.
- None declared.
- cre8/legislation
- cre8/peer
- warningApp declares a Hyper graph model and SQL DDL; treat SQL as compatibility/projection until migrated. (hybrid_model)
| Table |
|---|
| legislation_civic_event |
| legislation_bill |
| legislation_vote |
| legislation_legislator |
| legislation_rollcall |
| legislation_alignment_mint |
Capabilities and dependencies
- Ballot
- Wallet
- Organization
- Project
- Schedule
- Budget
- Charter
Structure review · 1
- Legislation · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)