1 viewer
Utility reference
3 pages, 5 routes, 5 connections and 0 CLI commands, generated from the declarations of Utility 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 · 5
| Page | View id | Role | Route | Order | Parent | Entity | Navigation |
|---|---|---|---|---|---|---|---|
| Power and water | utility.infrastructure | dashboard | /view/utility | 0 | in navigation | ||
| Power plant | utility.power_plant | detail | /view/utility/power/{code} | 0 | utility.infrastructure | PowerPlant | hidden |
| Wastewater plant | utility.wastewater_plant | detail | /view/utility/wastewater/{npdes} | 0 | utility.infrastructure | WastewaterPlant | hidden |
| What power costs here | utility.rates | dashboard | /view/utility/rates | 10 | utility.infrastructure | in navigation | |
| Nationwide cost map | utility.map | dashboard | /view/utility/map | 15 | utility.infrastructure | in navigation |
Connections · 5
Utility.Consume
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| subject_id | optional | |||
| resource_kind | optional | |||
| resource_id | optional | |||
| amount | optional | |||
| unit | optional | |||
| location_id | optional | |||
| observed_at | optional |
- Output keyutility.result
- Classificationunclassified
- POST /utility/consumeHTTP route
Utility.Energy.Consume
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| subject_id | optional | |||
| resource_id | optional | |||
| amount | optional | |||
| unit | optional | |||
| location_id | optional | |||
| observed_at | optional |
- Output keyutility.result
- Classificationunclassified
- POST /utility/energy/consumeHTTP route
Utility.Infrastructure.Near
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| latitude | required | |||
| longitude | required | |||
| radius_km | optional |
- Output keyutility.result
- Classificationunclassified
- GET /utility/infrastructure/nearHTTP route
Utility.Rates.Near
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| latitude | required | |||
| longitude | required | |||
| kwh_month | optional | |||
| water_gallons_month | optional | |||
| water_usd_per_kgal | optional |
- Output keyutility.result
- Classificationunclassified
- GET /utility/rates/nearHTTP route
Utility.Water.Consume
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| subject_id | optional | |||
| resource_id | optional | |||
| amount | optional | |||
| unit | optional | |||
| location_id | optional | |||
| observed_at | optional |
- Output keyutility.result
- Classificationunclassified
- POST /utility/water/consumeHTTP route
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authoritystateless
- Preferred truthnone
- App ownerUtility
- SQL projectionnone · DDL declarations: 0
- None declared.
- None declared.
- None declared.
- None declared.
- None declared.
- No model warnings were reported.
Capabilities and dependencies
- Action
Structure review · 3
- PowerPlant · warningThis view's entity kind is absent from the app's declared model; model discovery may be incomplete. (entity_kind_not_declared)
- WastewaterPlant · warningThis view's entity kind is absent from the app's declared model; model discovery may be incomplete. (entity_kind_not_declared)
- Utility · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)