{ "views": [ { "id": "plans", "label": "Plans", "is_default": true, "read": { "table": "kitchen_plan" }, "visibility": "public" }, { "id": "active", "label": "Active", "is_default": false, "read": { "table": "kitchen_subscription", "where": { "status": "active" } }, "visibility": "customer" }, { "id": "ending", "label": "Ending soon", "is_default": false, "read": { "table": "kitchen_subscription", "period": "next_7_days", "where": { "status": "active" } }, "visibility": "customer" } ], "id": "kitchen_plans", "name": "Plans", "purpose": "Meal plans on offer and the subscriptions customers hold.", "picture": { "photo": "photo:116b7043feeed0389ae0452a08f6591f2867f8ebf8a34f811701ef7c3fe4a140" }, "card_stock": "sage", "tables": [], "instructions": "Plans is the meal plans on offer (weekday lunch, 5, 10 or 20 meals, a month) and the subscriptions customers bought, active ones and those ending this week. Its views read the Kitchen tool's tables (install Kitchen first).", "automations": [], "author": { "device": "cotton", "name": "Cotton" }, "signature": null }