Skip to content
1 viewer
View

Municipality reference

1 page, 9 routes, 17 connections and 0 CLI commands, generated from the declarations of Municipality without reading storage or running anything.

AboutCode

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 · 3

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Countymunicipality.countydetail/view/municipality/county/{fips}10hidden
Governmentsmunicipality.governmentsdashboard/view/municipality/governments20in navigation
Governmentmunicipality.governmentdetail/view/municipality/government/{unit}30hidden
3 rows

Connections · 17

Municipality.AddMember

Record that a peer belongs to a place (`muni.member` edge). Membership can also be inferred spatially via `Municipality.Locate` over location presence.

Municipality.AddMember input
FieldTypeRequiredDescriptionAllowed
idrequired
peer_idoptional
2 rows
Calls and output
  • Output keymunicipality.result
  • Classificationreal

Municipality.Ancestors

Municipality.Ancestors input
FieldTypeRequiredDescriptionAllowed
idrequired
1 row
Calls and output
  • Output keymunicipality.result
  • Classificationunclassified

Municipality.Children

Municipality.Children input
FieldTypeRequiredDescriptionAllowed
idrequired
1 row
Calls and output
  • Output keymunicipality.result
  • Classificationunclassified

Municipality.County

One US county by five-digit FIPS code: its Census record from the us_counties map layer and its place on CRE8 if seeded. A place is not a government; the Census status says whether the row has one. No writes.

Municipality.County input
FieldTypeRequiredDescriptionAllowed
fipsrequired
1 row
Calls and output
  • Output keymunicipality.result
  • Classificationreal
  • POST /municipality/countyHTTP route

Municipality.County.Workspace

Start the signed-in account's public-record workspace for one county: an organization on the county's place that records which Census record it represents, with the layer's source and receipt. The account is the founder; officials are not members and the org holds no authority over the county. A second start by the same account finds the same org.

Municipality.County.Workspace input
FieldTypeRequiredDescriptionAllowed
fipsrequired
1 row
Calls and output
  • Output keymunicipality.result
  • Classificationreal
  • POST /municipality/county/workspaceHTTP route

Municipality.Create

Create or update a governed place (a Jurisdiction at any tier — block, neighborhood, district, city, county, state, country). Links to a parent via `parent_id`, forming a containment tree (`muni.contained_in` edges). Boundary is a geohash prefix (preferred — nests cleanly) and/or center + radius_km. Pass `derive_geohash:true` with lat/lng to auto-derive a prefix at the tier's default precision. The `id` doubles as the legislation jurisdiction string and the charter scope_id.

Municipality.Create input
FieldTypeRequiredDescriptionAllowed
idrequired
nameoptional
tieroptional
parent_idoptional
centeroptional
latoptional
lngoptional
radius_kmoptional
geohash_prefixoptional
derive_geohashoptional
charter_idoptional
tagsoptional
12 rows
Calls and output
  • Output keymunicipality.result
  • Classificationreal
  • POST /municipality/createHTTP route

Municipality.Get

Municipality.Get input
FieldTypeRequiredDescriptionAllowed
idrequired
1 row
Calls and output
  • Output keymunicipality.result
  • Classificationunclassified

Municipality.GovernmentUnits

The roster of governments the Census Bureau lists: one unit by `unit_id` (us-gov-unit:100001), or the units matching `state`, `fips` (a county), `kind`, `geoid` or `q`, with counts by kind, or with no filter what each listing's last read held. A unit is a body, not a place: listing one creates no place, organization or account. Reads the store only.

Municipality.GovernmentUnits input
FieldTypeRequiredDescriptionAllowed
unit_idoptional
stateoptional
fipsoptional
kindoptional
geoidoptional
qoptional
limitoptional
offsetoptional
8 rows
Calls and output
  • Output keymunicipality.result
  • Classificationreal
  • POST /municipality/government-unitsHTTP route

Municipality.GovernmentUnits.Project

Hand roster governments to Knowledge's entity spine through Knowledge.Observe: one unit by `unit_id`, or up to a hundred matching `state`, `fips`, `kind`, `geoid` or `q` (`limit`, `offset`; `next_offset` names the following page). Each is a government keyed by its us-gov-unit id with every roster field its own observation. Dependent school and pension systems are counted and not sent; the mailing city, state and ZIP are never sent. The roster is not changed. Runs as a runtime operator.

Municipality.GovernmentUnits.Project input
FieldTypeRequiredDescriptionAllowed
unit_idoptional
stateoptional
fipsoptional
kindoptional
geoidoptional
qoptional
limitoptional
offsetoptional
8 rows
Calls and output
  • Output keymunicipality.result
  • Classificationreal
  • POST /municipality/government-units/projectHTTP route

Municipality.GovernmentUnits.Sync

Read the Census Government Units Listing through Provider's capture and keep every unit under the Bureau's unit id, in the roster's own named graph. Operator-only where operators are configured. A unit a later listing drops is kept and counted as no longer listed; mailing streets and contacts are never read.

Municipality.GovernmentUnits.Sync input
FieldTypeRequiredDescriptionAllowed
dataset_idoptional
cursoroptional
max_pagesoptional
3 rows
Calls and output
  • Output keymunicipality.result
  • Classificationreal
  • POST /municipality/government-units/syncHTTP route

Municipality.List

Municipality.List input
FieldTypeRequiredDescriptionAllowed
tieroptional
parent_idoptional
2 rows
Calls and output
  • Output keymunicipality.result
  • Classificationunclassified

Municipality.Locate

Municipality.Locate input
FieldTypeRequiredDescriptionAllowed
latrequired
lngrequired
2 rows
Calls and output
  • Output keymunicipality.result
  • Classificationunclassified
  • POST /municipality/locateHTTP route

Municipality.Members

Municipality.Members input
FieldTypeRequiredDescriptionAllowed
idrequired
1 row
Calls and output
  • Output keymunicipality.result
  • Classificationunclassified

Municipality.RemoveMember

Municipality.RemoveMember input
FieldTypeRequiredDescriptionAllowed
idrequired
peer_idoptional
2 rows
Calls and output
  • Output keymunicipality.result
  • Classificationunclassified

Municipality.SeedCounties

Write the country, every state and every county in the built us_counties layer as Jurisdictions. Operator-only where operators are configured. Replays change nothing, charters and tags stay, nothing is removed, and no organization or account is created.

Calls and output
  • Output keymunicipality.result
  • Classificationreal
  • POST /municipality/seed-countiesHTTP route

Municipality.Status

Calls and output
  • Output keymunicipality.result
  • Classificationunclassified

Municipality.View

Return the aggregation plan for a place: the exact {connection, params} calls to issue against the civic verticals — Legislation.ListBills (one per jurisdiction id in scope), Commons.Ballot.FromActions, Event.List, Shop.List, Connect.Discover — scoped to this place and, with rollup, its descendants. The plan is the integration contract; live dispatch is a thin later pass.

Municipality.View input
FieldTypeRequiredDescriptionAllowed
idrequired
rollupoptional
2 rows
Calls and output
  • Output keymunicipality.result
  • Classificationreal
  • POST /municipality/viewHTTP route

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
Hyper vertex kinds read
  • None declared.
Hyper vertex kinds written
  • GovernmentUnit
  • GovernmentUnitRead
  • Jurisdiction
  • MuniPeer
  • organization.org
Hyper edge kinds written
  • muni.contained_in
  • muni.member
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • No model warnings were reported.

Structure review · 1

Warnings · 1
  • Municipality · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)