{ "views": [ { "id": "running", "label": "Running", "is_default": true, "visibility": "staff", "read": { "table": "yoga_pack", "where": { "expires": { "within_days": 1 } } }, "face": "cards", "sort": { "column": "expires", "descending": false } }, { "id": "ending", "label": "Ending this week", "is_default": false, "visibility": "staff", "read": { "table": "yoga_pack", "period": "next_7_days" }, "face": "cards", "sort": { "column": "expires", "descending": false } }, { "id": "all", "label": "All", "is_default": false, "visibility": "staff", "read": { "table": "yoga_pack" }, "face": "cards", "sort": { "column": "bought_on", "descending": true } } ], "id": "yoga_memberships", "name": "Memberships", "picture": "tool-calendar", "card_stock": "slate", "tables": [], "instructions": "Memberships is every plan a member bought (yoga_pack): the ones still running, those ending in the next seven days, and all of them.", "automations": [], "author": { "device": "cotton", "name": "Cotton" }, "signature": null, "purpose": "What members bought: running, ending this week, and every one." }