{
    "ok": true,
    "data": {
        "revenue": {
            "generated_at": "2026-08-02T18:57:45+00:00",
            "actual_revenue": 128.08999999999997,
            "potential_revenue": 135.08999999999997,
            "estimated_lost_revenue": 7,
            "recovered": 0,
            "recovery_rate": 0,
            "aov": 25.617999999999995,
            "orders": 5,
            "avg_ticket_minutes": null,
            "opportunities": [
                {
                    "id": "upsell",
                    "source": "Menu Intelligence",
                    "title": "2 missed add-on opportunities",
                    "amount": 7,
                    "confidence": "medium",
                    "reason": "Target attachment rate minus observed add-on orders",
                    "action": "Add personalized checkout and counter prompts",
                    "status": "open"
                }
            ],
            "disclaimer": "Lost revenue values are modeled estimates, not confirmed losses."
        },
        "inventory": {
            "generated_at": "2026-08-02T18:57:45+00:00",
            "items": [],
            "critical": 0,
            "low": 0,
            "sync": {
                "connected": false,
                "source": "local-preview",
                "last_sync": null,
                "item_count": 0,
                "error": null,
                "configured": false
            },
            "disclaimer": "Clover is the inventory source of truth when connected. Forecasts are Aivorei estimates based on sales velocity, lead time, safety stock, and recorded counts."
        },
        "prep_plan": {
            "date": "2026-08-03",
            "items": [],
            "disclaimer": "Prep recommendations are forecasts and should be reviewed against catering orders, weather, events, and actual shelf life."
        },
        "kitchen": {
            "score": 100,
            "avg_ticket_minutes": null,
            "congestion_events": 0,
            "obstructions": 0,
            "idle_events": 0,
            "camera_connected": false,
            "privacy": {
                "audio": false,
                "face_recognition": false
            },
            "events": []
        },
        "shifts": {
            "generated_at": "2026-08-02T18:57:45+00:00",
            "schedule": [
                {
                    "hour": 6,
                    "label": "6 AM",
                    "forecast_orders": 0,
                    "kitchen": 1,
                    "front": 1,
                    "total": 2
                },
                {
                    "hour": 7,
                    "label": "7 AM",
                    "forecast_orders": 0,
                    "kitchen": 1,
                    "front": 1,
                    "total": 2
                },
                {
                    "hour": 8,
                    "label": "8 AM",
                    "forecast_orders": 0,
                    "kitchen": 1,
                    "front": 1,
                    "total": 2
                },
                {
                    "hour": 9,
                    "label": "9 AM",
                    "forecast_orders": 0,
                    "kitchen": 1,
                    "front": 1,
                    "total": 2
                },
                {
                    "hour": 10,
                    "label": "10 AM",
                    "forecast_orders": 0,
                    "kitchen": 1,
                    "front": 1,
                    "total": 2
                },
                {
                    "hour": 11,
                    "label": "11 AM",
                    "forecast_orders": 0,
                    "kitchen": 1,
                    "front": 1,
                    "total": 2
                },
                {
                    "hour": 12,
                    "label": "12 PM",
                    "forecast_orders": 0,
                    "kitchen": 1,
                    "front": 1,
                    "total": 2
                },
                {
                    "hour": 13,
                    "label": "1 PM",
                    "forecast_orders": 0,
                    "kitchen": 1,
                    "front": 1,
                    "total": 2
                },
                {
                    "hour": 14,
                    "label": "2 PM",
                    "forecast_orders": 0,
                    "kitchen": 1,
                    "front": 1,
                    "total": 2
                },
                {
                    "hour": 15,
                    "label": "3 PM",
                    "forecast_orders": 0,
                    "kitchen": 1,
                    "front": 1,
                    "total": 2
                },
                {
                    "hour": 16,
                    "label": "4 PM",
                    "forecast_orders": 0,
                    "kitchen": 1,
                    "front": 1,
                    "total": 2
                },
                {
                    "hour": 17,
                    "label": "5 PM",
                    "forecast_orders": 0,
                    "kitchen": 1,
                    "front": 1,
                    "total": 2
                },
                {
                    "hour": 18,
                    "label": "6 PM",
                    "forecast_orders": 0,
                    "kitchen": 1,
                    "front": 1,
                    "total": 2
                }
            ],
            "staff": [],
            "availability": [],
            "disclaimer": "Recommendations require manager approval and must respect availability, wage-and-hour rules, accommodations, and local policy."
        },
        "employees": {
            "employees": [],
            "disclaimer": "Employee Coach supports fair coaching; it does not use facial recognition, emotion scoring, audio, or automatic discipline."
        },
        "menu_lab": {
            "generated_at": "2026-08-02T18:57:45+00:00",
            "ideas": [
                {
                    "id": "hot-honey-turkey-melt",
                    "name": "Hot Honey Turkey Melt",
                    "category": "Signature Sandwich",
                    "description": "Roasted turkey, pepper jack, crisp bacon, hot honey and a bright pickle crunch on toasted bread.",
                    "ingredients": [
                        {
                            "name": "Turkey",
                            "qty": 5,
                            "unit": "oz",
                            "cost": 1.85
                        },
                        {
                            "name": "Pepper Jack",
                            "qty": 2,
                            "unit": "slices",
                            "cost": 0.58
                        },
                        {
                            "name": "Bacon",
                            "qty": 2,
                            "unit": "slices",
                            "cost": 0.62
                        },
                        {
                            "name": "Bread",
                            "qty": 2,
                            "unit": "slices",
                            "cost": 0.52
                        },
                        {
                            "name": "Hot Honey",
                            "qty": 0.5,
                            "unit": "oz",
                            "cost": 0.24
                        },
                        {
                            "name": "Pickles",
                            "qty": 1,
                            "unit": "oz",
                            "cost": 0.18
                        }
                    ],
                    "prep_minutes": 6,
                    "allergens": [
                        "Milk",
                        "Wheat"
                    ],
                    "season": "All year",
                    "tags": [
                        "inventory-rescue",
                        "signature",
                        "lunch"
                    ],
                    "economics": {
                        "ingredient_cost": 3.9900000000000007,
                        "labor_cost": 1.25,
                        "packaging_cost": 0.4,
                        "total_cost": 5.640000000000001,
                        "suggested_price": 13.5,
                        "gross_profit": 7.859999999999999,
                        "margin_pct": 58.22222222222222,
                        "food_cost_pct": 29.555555555555564
                    },
                    "scores": {
                        "launch": 78,
                        "profitability": 79,
                        "availability": 100,
                        "kitchen_fit": 62,
                        "brand_fit": 94,
                        "waste_reduction": 50
                    },
                    "recommendation": "Test as a limited-time offer",
                    "status": "draft",
                    "inventory_matches": 0
                },
                {
                    "id": "brownie-cold-brew-pairing",
                    "name": "Brownie Cold Brew Pairing",
                    "category": "Bundle",
                    "description": "A premium cold brew paired with a rich bakery brownie at a bundled price designed to increase afternoon attachment.",
                    "ingredients": [
                        {
                            "name": "Brownie",
                            "qty": 1,
                            "unit": "each",
                            "cost": 0.78
                        },
                        {
                            "name": "Cold Brew",
                            "qty": 16,
                            "unit": "oz",
                            "cost": 0.74
                        },
                        {
                            "name": "Cup\/Lid",
                            "qty": 1,
                            "unit": "set",
                            "cost": 0.26
                        }
                    ],
                    "prep_minutes": 2,
                    "allergens": [
                        "Egg",
                        "Milk",
                        "Wheat"
                    ],
                    "season": "Spring\/Summer",
                    "tags": [
                        "bundle",
                        "high-margin",
                        "afternoon"
                    ],
                    "economics": {
                        "ingredient_cost": 1.78,
                        "labor_cost": 1.25,
                        "packaging_cost": 0.4,
                        "total_cost": 3.43,
                        "suggested_price": 6,
                        "gross_profit": 2.57,
                        "margin_pct": 42.83333333333333,
                        "food_cost_pct": 29.666666666666668
                    },
                    "scores": {
                        "launch": 74,
                        "profitability": 58,
                        "availability": 100,
                        "kitchen_fit": 94,
                        "brand_fit": 84,
                        "waste_reduction": 50
                    },
                    "recommendation": "Test as a limited-time offer",
                    "status": "draft",
                    "inventory_matches": 0
                },
                {
                    "id": "garden-pesto-melt",
                    "name": "Garden Pesto Melt",
                    "category": "Vegetarian Sandwich",
                    "description": "Mozzarella, tomato, spinach, pesto and roasted peppers pressed until golden.",
                    "ingredients": [
                        {
                            "name": "Bread",
                            "qty": 2,
                            "unit": "slices",
                            "cost": 0.52
                        },
                        {
                            "name": "Mozzarella",
                            "qty": 2,
                            "unit": "oz",
                            "cost": 0.74
                        },
                        {
                            "name": "Tomato",
                            "qty": 2,
                            "unit": "oz",
                            "cost": 0.24
                        },
                        {
                            "name": "Spinach",
                            "qty": 1,
                            "unit": "oz",
                            "cost": 0.28
                        },
                        {
                            "name": "Pesto",
                            "qty": 0.75,
                            "unit": "oz",
                            "cost": 0.42
                        },
                        {
                            "name": "Roasted Peppers",
                            "qty": 1,
                            "unit": "oz",
                            "cost": 0.31
                        }
                    ],
                    "prep_minutes": 6,
                    "allergens": [
                        "Milk",
                        "Tree nuts",
                        "Wheat"
                    ],
                    "season": "All year",
                    "tags": [
                        "vegetarian",
                        "menu-gap",
                        "lunch"
                    ],
                    "economics": {
                        "ingredient_cost": 2.5100000000000002,
                        "labor_cost": 1.25,
                        "packaging_cost": 0.4,
                        "total_cost": 4.16,
                        "suggested_price": 8.5,
                        "gross_profit": 4.34,
                        "margin_pct": 51.05882352941177,
                        "food_cost_pct": 29.529411764705888
                    },
                    "scores": {
                        "launch": 74,
                        "profitability": 69,
                        "availability": 100,
                        "kitchen_fit": 62,
                        "brand_fit": 84,
                        "waste_reduction": 50
                    },
                    "recommendation": "Test as a limited-time offer",
                    "status": "draft",
                    "inventory_matches": 0
                },
                {
                    "id": "croissant-breakfast-stack",
                    "name": "Croissant Breakfast Stack",
                    "category": "Breakfast",
                    "description": "Flaky croissant layered with egg, cheddar and bacon with an optional maple-pepper glaze.",
                    "ingredients": [
                        {
                            "name": "Croissant",
                            "qty": 1,
                            "unit": "each",
                            "cost": 0.92
                        },
                        {
                            "name": "Egg",
                            "qty": 1,
                            "unit": "each",
                            "cost": 0.31
                        },
                        {
                            "name": "Cheddar",
                            "qty": 1,
                            "unit": "slice",
                            "cost": 0.29
                        },
                        {
                            "name": "Bacon",
                            "qty": 2,
                            "unit": "slices",
                            "cost": 0.62
                        }
                    ],
                    "prep_minutes": 5,
                    "allergens": [
                        "Egg",
                        "Milk",
                        "Wheat"
                    ],
                    "season": "All year",
                    "tags": [
                        "breakfast",
                        "grab-and-go"
                    ],
                    "economics": {
                        "ingredient_cost": 2.14,
                        "labor_cost": 1.25,
                        "packaging_cost": 0.4,
                        "total_cost": 3.79,
                        "suggested_price": 7.25,
                        "gross_profit": 3.46,
                        "margin_pct": 47.724137931034484,
                        "food_cost_pct": 29.517241379310345
                    },
                    "scores": {
                        "launch": 73,
                        "profitability": 64,
                        "availability": 100,
                        "kitchen_fit": 70,
                        "brand_fit": 84,
                        "waste_reduction": 50
                    },
                    "recommendation": "Test as a limited-time offer",
                    "status": "draft",
                    "inventory_matches": 0
                },
                {
                    "id": "turkey-cranberry-catering-sliders",
                    "name": "Turkey Cranberry Catering Sliders",
                    "category": "Catering",
                    "description": "Soft slider rolls filled with turkey, provolone and cranberry spread, sold by the dozen.",
                    "ingredients": [
                        {
                            "name": "Slider Rolls",
                            "qty": 12,
                            "unit": "each",
                            "cost": 3.24
                        },
                        {
                            "name": "Turkey",
                            "qty": 36,
                            "unit": "oz",
                            "cost": 13.32
                        },
                        {
                            "name": "Provolone",
                            "qty": 12,
                            "unit": "slices",
                            "cost": 3.48
                        },
                        {
                            "name": "Cranberry Spread",
                            "qty": 6,
                            "unit": "oz",
                            "cost": 1.74
                        }
                    ],
                    "prep_minutes": 18,
                    "allergens": [
                        "Milk",
                        "Wheat"
                    ],
                    "season": "Fall\/Winter",
                    "tags": [
                        "catering",
                        "bundle",
                        "holiday"
                    ],
                    "economics": {
                        "ingredient_cost": 21.78,
                        "labor_cost": 1.25,
                        "packaging_cost": 0.4,
                        "total_cost": 23.43,
                        "suggested_price": 72.75,
                        "gross_profit": 49.32,
                        "margin_pct": 67.79381443298969,
                        "food_cost_pct": 29.93814432989691
                    },
                    "scores": {
                        "launch": 72,
                        "profitability": 92,
                        "availability": 100,
                        "kitchen_fit": 0,
                        "brand_fit": 84,
                        "waste_reduction": 50
                    },
                    "recommendation": "Test as a limited-time offer",
                    "status": "draft",
                    "inventory_matches": 0
                }
            ],
            "menu_gaps": [
                {
                    "gap": "Children\u2019s option",
                    "priority": "medium"
                },
                {
                    "gap": "Seasonal limited-time offer",
                    "priority": "medium"
                }
            ],
            "sales_profile": {
                "top_items": [
                    {
                        "name": "Triple Chocolate Cupcake",
                        "units": 8
                    },
                    {
                        "name": "Chicken Bacon Wrap",
                        "units": 5
                    },
                    {
                        "name": "Breakfast Sandwich",
                        "units": 1
                    },
                    {
                        "name": "Deli Club",
                        "units": 1
                    },
                    {
                        "name": "White Zombie Latte (12 oz)",
                        "units": 1
                    },
                    {
                        "name": "Steamer (12 oz)",
                        "units": 1
                    }
                ],
                "top_modifiers": []
            },
            "inventory_rescue": [],
            "disclaimer": "Recipe, pricing, allergen, shelf-life, holding-time, and food-safety outputs require manager review and verification before use."
        }
    }
}