Built Word Documents (.docx):
Spensara Overview (.docx)
Capability Assessment (.docx)
Brink POS Ingestion Analysis (.docx)
The Borg Ingestion Architecture (.docx)
Categories
Warehouse Model (93)
Analytical data warehouse schemas, curated tables, and Redshift/Athena data models.
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/customers.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/employees.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/index.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/inventory_items.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/kitchen_item_status_events.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/kitchen_orders.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/kitchen_order_items.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/labor_shifts.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/loyalty_customers.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_catalog_items.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_destinations.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_hourly_sales.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_jobs.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_menu_items.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_modifiers.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_orders.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_order_items.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_tables.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_table_definitions.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_tenders.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_transactions.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_transaction_items.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_transaction_tenders.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_kitchen_get_order_bump_times.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_kitchen_get_order_item_bump_times.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_labor_get_shifts.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_sales2_get_current_business_date.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_sales2_get_orders.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_brands.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_destinations.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_employees.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_items.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_jobs.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_kitchen_queues.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_last_modified_time.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_menu.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_tables.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_taxes.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_day_parts.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_item_groups.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_modifier_codes.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_modifier_groups.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_registers.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_revenue_centers.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_sections.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_tenders.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/index.md
- docs/features/ETL/warehouse-data/curated-model/customers.md
- docs/features/ETL/warehouse-data/curated-model/employees.md
- docs/features/ETL/warehouse-data/curated-model/index.md
- docs/features/ETL/warehouse-data/curated-model/inventory_items.md
- docs/features/ETL/warehouse-data/curated-model/kitchen_item_status_events.md
- docs/features/ETL/warehouse-data/curated-model/kitchen_orders.md
- docs/features/ETL/warehouse-data/curated-model/kitchen_order_items.md
- docs/features/ETL/warehouse-data/curated-model/labor_shifts.md
- docs/features/ETL/warehouse-data/curated-model/loyalty_customers.md
- docs/features/ETL/warehouse-data/curated-model/pos_catalog_items.md
- docs/features/ETL/warehouse-data/curated-model/pos_destinations.md
- docs/features/ETL/warehouse-data/curated-model/pos_hourly_sales.md
- docs/features/ETL/warehouse-data/curated-model/pos_jobs.md
- docs/features/ETL/warehouse-data/curated-model/pos_menu_items.md
- docs/features/ETL/warehouse-data/curated-model/pos_modifiers.md
- docs/features/ETL/warehouse-data/curated-model/pos_orders.md
- docs/features/ETL/warehouse-data/curated-model/pos_order_items.md
- docs/features/ETL/warehouse-data/curated-model/pos_tables.md
- docs/features/ETL/warehouse-data/curated-model/pos_table_definitions.md
- docs/features/ETL/warehouse-data/curated-model/pos_tenders.md
- docs/features/ETL/warehouse-data/curated-model/pos_transactions.md
- docs/features/ETL/warehouse-data/curated-model/pos_transaction_items.md
- docs/features/ETL/warehouse-data/curated-model/pos_transaction_tenders.md
- docs/features/ETL/warehouse-data/curated-model/todo.md
- docs/features/ETL/warehouse-data/index.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_gnditem.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_gndsale.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_gndslsum.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_gndtndr.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_itm.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_mod.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_tab.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_tabdef.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_tdr.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/index.md
- docs/features/ETL/warehouse-data/logic-control-kds-staging-model/index.md
- docs/features/ETL/warehouse-data/logic-control-kds-staging-model/kds_customers.md
- docs/features/ETL/warehouse-data/logic-control-kds-staging-model/kds_items.md
- docs/features/ETL/warehouse-data/logic-control-kds-staging-model/kds_item_bumps.md
- docs/features/ETL/warehouse-data/logic-control-kds-staging-model/kds_orders.md
- docs/features/ETL/warehouse-data/logic-control-pos-staging-model/index.md
- docs/features/ETL/warehouse-data/logic-control-pos-staging-model/labpos_inventory_items.md
- docs/features/ETL/warehouse-data/logic-control-pos-staging-model/labpos_wp_loyalty.md
- docs/features/ETL/warehouse-data/logic-control-pos-staging-model/labpos_wp_pos_items.md
- docs/features/ETL/warehouse-data/logic-control-pos-staging-model/labpos_wp_pos_orders.md
- docs/features/ETL/warehouse-data/logic-control-pos-staging-model/labpos_wp_pos_order_items.md
Curated Model
Purpose
This folder documents the current shared curated schema created by the bootstrap SQL under backend/Kds.Ai.Warehouse/Sql/Bootstrap/Tenant/Curated/.
This is the business-facing warehouse layer that AI agents should use first. The model is meant to be shared across integrations, so each table should expose stable business meaning rather than vendor-specific payload shape.
For this folder, the source of truth for table existence and columns is the deployed SQL. The documentation explains:
- what business entity each table represents
- what value it gives to PO, analysts, and AI agents
- what the current schema contract looks like
- how the model is intended to support multi-source ingestion
Current priority
Current active curated tables are:
curated.pos_orderscurated.pos_order_itemscurated.pos_menu_itemscurated.employeescurated.pos_jobscurated.labor_shiftscurated.pos_destinations
Modeling principles for PO
curatedis the semantic contract for downstream AI and business use, not a copy of staging.- The model must stay broad enough to accept data from multiple POS systems.
- If a source does not provide a field yet, the field may stay
NULL; this is better than silently widening ETL scope. - Shared business terms such as order, item, status, business date, service channel, and source lineage are more important than vendor-native field names.
- Order-centric and transaction-centric facts can coexist, but their business meaning must stay explicit.
- Source-specific population rules and mappings belong in source-mapping documents, not in the curated schema contract.
Cross-table summary
| Table | Primary role | Grain | Key business columns | Strong sides | Main modeling risk | Most important next step |
|---|---|---|---|---|---|---|
curated.employees | Employee dimension | One row per employee snapshot | employee_id, display_name, is_active, hire_date | Stable workforce reference for joins and attribution | Snapshot semantics must stay explicit | Keep source-agnostic employee identity fields stable |
curated.labor_shifts | Labor fact | One row per labor shift | shift_id, employee_id, business_date, minutes_worked, pay_rate | Shift timing and labor-cost analysis surface | Vendor-specific break semantics can leak through | Keep shift grain explicit |
curated.pos_destinations | Destination dimension | One row per destination snapshot | destination_id, name, is_delivery, is_active | Order-channel and routing context | Snapshot semantics must stay explicit | Keep source-agnostic destination identity fields stable |
curated.pos_jobs | Job dimension | One row per job snapshot | job_id, name, is_bartender, is_delivery_driver | Workforce role context for orders and labor | Source role semantics can drift by vendor | Keep canonical job meaning narrow |
curated.pos_menu_items | Menu-state snapshot | One row per menu item per snapshot | item_id, item_name, price, is_active, category_id | Good availability and routing context | Can drift into serving or UI model | Keep it as canonical sellable menu state |
curated.pos_order_items | Business order-line fact | One row per order line item | order_id, item_id, item_name, unit_price, quantity | Good basket and order composition context | Can overlap with transaction-line model | Separate order semantics from settlement semantics |
curated.pos_orders | Business order header fact | One row per business order | order_id, order_type, subtotal, total, business_date, service_channel | Strong commercial order surface | Still partly serving-like and source-shaped | Strengthen canonical order lifecycle and channel semantics |
Table type classification
| Table | Recommended type |
|---|---|
curated.employees | dimension |
curated.labor_shifts | fact |
curated.pos_destinations | dimension |
curated.pos_jobs | dimension |
curated.pos_menu_items | snapshot |
curated.pos_order_items | fact |
curated.pos_orders | fact |
Tables
employees.mdlabor_shifts.mdpos_destinations.mdpos_jobs.mdpos_menu_items.mdpos_order_items.mdpos_orders.mdtodo.md