{ "format_version": 1, "id": "yoga_class", "name": "Class", "plural": "Classes", "picture": null, "builtin": false, "engine": null, "visibility": "public", "columns": [ { "key": "name", "name": "Class", "type": "text", "required": true, "placeholder": "Iyengar Hatha Flow" }, { "key": "photo", "name": "Photo", "type": "photo" }, { "key": "category", "name": "Kind", "type": "choice", "choices": [ "sharmilas", "daily", "beginners", "prenatal" ], "format": "words", "labels": { "sharmilas": "Sharmila's Classes", "daily": "Daily Practice", "beginners": "Yoga for Beginners", "prenatal": "Pre-natal Yoga" } }, { "key": "level", "name": "Level", "type": "choice", "choices": [ "all_levels", "beginner", "intermediate", "advanced" ], "format": "words", "default": "all_levels", "labels": { "all_levels": "All levels", "beginner": "Beginners", "intermediate": "Intermediate", "advanced": "Advanced" } }, { "key": "minutes", "name": "Minutes", "type": "number", "default": 60, "reading": "{value} min" }, { "key": "capacity", "name": "Places", "type": "number", "required": true, "reading": "{value} places" }, { "key": "description", "name": "About the class", "type": "longtext" } ], "title": "name", "date": null, "project": null, "order": null, "slip": { "title": "name", "photo": "photo", "toggle": null, "subtitle": [ "level", "category" ], "trailing": "minutes" }, "tile": { "face": "slip-list" }, "page": [ { "heading": null, "columns": [ "name", "photo", "category", "level" ] }, { "heading": "About", "columns": [ "description" ] }, { "heading": "Places", "columns": [ "minutes", "capacity" ] } ], "sort": { "column": "name", "descending": false }, "empty": { "title": "No classes", "message": "Add each kind of class the studio teaches." }, "instructions": "One row per kind of class the studio teaches (Iyengar Hatha Flow, Pre-natal, Master Class): its words, level, kind, photo, length and places. When and by whom it runs is the session's, never the class's.", "card": { "face": "sharmila.studio", "fields": [ { "slot": "photo", "column": "photo" }, { "slot": "title", "column": "name" }, { "slot": "subtitle", "column": "level", "also": [ "category" ] }, { "slot": "body", "column": "description" } ], "pages": [ "description" ] } }