1 viewer
Food reference
5 pages, 22 routes, 22 connections and 0 CLI commands, generated from the declarations of Food 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 |
|---|---|---|---|---|---|---|---|
| Availability | food.heatmap | custom | /view/food/heatmap | 0 | in navigation | ||
| Availability | food.heatmap | custom | /view/food/heatmap/{region} | 0 | hidden | ||
| Producer | food.producer | detail | /view/food/producer/{ref} | 0 | food.supply | FoodProducer | hidden |
| Meal mirror | food.nutrition_map | dashboard | /view/food/nutrition | 10 | in navigation | ||
| Supply map | food.supply | dashboard | /view/food/supply | 11 | in navigation | ||
| Nourishment compass | food.nourishment_compass | custom | /view/food/compass | 60 | in navigation | ||
| Trace | food.trace | detail | /view/food/trace/{lot_or_item} | 70 | FoodLot | hidden | |
| Food trace | food.trace | /view/food/trace | in navigation |
Connections · 22
Food.AnalyzeMeal
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| meal_name | optional | |||
| ingredients | required | |||
| goals | optional | |||
| target_share | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/analyze-mealHTTP route
Food.CommodityList
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| limit | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/commodities/listHTTP route
Food.CommodityUpsert
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| food_id | optional | |||
| name | optional | |||
| fao_item | optional | |||
| fao_species | optional | |||
| sctg2 | optional | |||
| fdc_id | optional | |||
| commodities | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/commoditiesHTTP route
Food.Consume
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| subject_id | optional | |||
| food_id | optional | |||
| amount | optional | |||
| unit | optional | |||
| necessity | optional | |||
| satisfaction | optional | |||
| location_id | optional | |||
| lat | optional | |||
| lng | optional | |||
| geohash | optional | |||
| observed_at | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/consumeHTTP route
Food.FlowList
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| food_id | optional | |||
| from_ref | optional | |||
| to_ref | optional | |||
| year | optional | |||
| mode | optional | |||
| source | optional | |||
| limit | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/flowsHTTP route
Food.GlobalMap
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| food_id | optional | |||
| kind | optional | |||
| element | optional | |||
| year | optional | |||
| bbox | optional | |||
| limit | optional | |||
| route_limit | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/global-mapHTTP route
Food.Heatmap
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| geohash | optional | |||
| cell_precision | optional | |||
| min_demand | optional | |||
| limit | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/heatmapHTTP route
Food.ImportSources
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| records | required |
- Output keyfood.result
- Classificationunclassified
- POST /food/import-sourcesHTTP route
Food.IngestFaostat
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| csv | optional | |||
| source_url | optional | |||
| path | optional | |||
| from_year | optional | |||
| to_year | optional | |||
| food_ids | optional | |||
| keep_years | optional | |||
| dry_run | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/ingest/faostatHTTP route
Food.IngestFishstat
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| csv | optional | |||
| source_url | optional | |||
| path | optional | |||
| production | optional | |||
| from_year | optional | |||
| to_year | optional | |||
| food_ids | optional | |||
| keep_years | optional | |||
| dry_run | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/ingest/fishstatHTTP route
Food.IngestFreightLanes
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| year | optional | |||
| per_group | optional | |||
| dry_run | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/ingest/freight-lanesHTTP route
Food.NourishmentCompass
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| focus_axis | required | |||
| geohash | optional | |||
| limit | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/nourishment-compassHTTP route
Food.NutritionCatalog
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| query | optional |
- Output keyfood.result
- Classificationunclassified
- GET /food/nutrition-catalogHTTP route
Food.NutritionMap
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| meal_name | optional | |||
| nutrients | required | |||
| goals | optional | |||
| target_share | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/nutrition-mapHTTP route
Food.ProducerGet
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| ref | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/producerHTTP route
Food.ProducerList
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| kind | optional | |||
| country | optional | |||
| food_id | optional | |||
| bbox | optional | |||
| limit | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/producers/listHTTP route
Food.ProducerUpsert
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| ref | optional | |||
| name | optional | |||
| kind | optional | |||
| lat | optional | |||
| lng | optional | |||
| country | optional | |||
| annual_tonnes | optional | |||
| commodities | optional | |||
| source | optional | |||
| source_year | optional | |||
| producers | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/producersHTTP route
Food.PromoteToShop
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| source_name | optional | |||
| source_kind | optional | |||
| owner_peer_id | optional | |||
| lat | optional | |||
| lng | optional | |||
| source_id | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/promote-to-shopHTTP route
Food.RecordMeal
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| meal_name | optional | |||
| ingredients | required | |||
| subject_id | optional | |||
| observed_at | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/record-mealHTTP route
Food.Source
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| source_kind | optional | |||
| source_name | optional | |||
| food_id | optional | |||
| amount | optional | |||
| unit | optional | |||
| lat | optional | |||
| lng | optional | |||
| geohash | optional | |||
| cell_precision | optional | |||
| observed_at | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/sourceHTTP route
Food.Trace
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| lot_id | optional | |||
| item_id | optional | |||
| food_id | optional | |||
| depth | optional | |||
| max_lots | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/traceHTTP route
Food.VirtualSync
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| food_id | optional | |||
| kind | optional | |||
| year | optional | |||
| bbox | optional | |||
| limit | optional | |||
| flow_limit | optional | |||
| include_aggregates | optional | |||
| dry_run | optional |
- Output keyfood.result
- Classificationunclassified
- POST /food/virtual-syncHTTP route
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authoritystateless
- Preferred truthnone
- App ownerFood
- 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 · 4
- food.trace · errorStructure metadata must enrich an already registered route. (unregistered_view_structure)
- FoodLot · warningThis view's entity kind is absent from the app's declared model; model discovery may be incomplete. (entity_kind_not_declared)
- FoodProducer · warningThis view's entity kind is absent from the app's declared model; model discovery may be incomplete. (entity_kind_not_declared)
- Food · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)