{ "views": [ { "id": "me", "label": "Me", "is_default": true, "visibility": "customer", "read": { "table": "yoga_member" }, "face": "cards" }, { "id": "plans", "label": "My plans", "is_default": false, "visibility": "customer", "read": { "table": "yoga_pack" }, "face": "cards", "sort": { "column": "expires", "descending": true } }, { "id": "attended", "label": "Attended", "is_default": false, "visibility": "customer", "read": { "table": "yoga_attendance" }, "face": "cards", "sort": { "column": "attended_on", "descending": true } }, { "id": "prices", "label": "Prices", "is_default": false, "visibility": "public", "read": { "table": "yoga_offer" }, "face": "cards", "sort": { "column": "valid_days", "descending": false } } ], "id": "yoga_membership", "name": "Membership", "picture": "tool-members", "card_stock": "slate", "tables": [], "instructions": "Membership is the member's own: their member card (yoga_member), what they bought (yoga_pack), the classes they came to (yoga_attendance), and the plans the studio sells (yoga_offer). A member sees only their own rows.", "automations": [], "author": { "device": "cotton", "name": "Cotton" }, "signature": null, "purpose": "A member's own card: their membership, the classes they came to, and the plans on offer." }