133 lines · 2.5 KB · JSONRaw
{ "format_version": 1, "id": "kitchen_catering", "name": "Catering", "plural": "Catering", "picture": null, "builtin": false, "engine": null, "visibility": "public", "columns": [ { "key": "name", "name": "Catering", "type": "text", "required": true, "placeholder": "Naga dinner for a party" }, { "key": "description", "name": "What she cooks", "type": "longtext" }, { "key": "guests_from", "name": "For", "type": "number", "units": { "one": "guest", "other": "guests" }, "reading": "from {value} guests" }, { "key": "price_from", "name": "A plate from", "type": "amount", "currency": "currency" }, { "key": "currency", "name": "Currency", "type": "text" }, { "key": "notice_days", "name": "Notice", "type": "number", "units": { "one": "day", "other": "days" }, "reading": "{value} days' notice" }, { "key": "available", "name": "Taking orders", "type": "bool" } ], "title": "name", "date": null, "project": null, "order": null, "slip": { "title": "name", "photo": null, "toggle": null, "subtitle": [ "guests_from", "notice_days" ], "trailing": "price_from" }, "tile": { "face": "slip-list" }, "page": [ { "heading": null, "columns": [ "name", "guests_from", "price_from", "currency", "notice_days", "available" ] }, { "heading": "What she cooks", "columns": [ "description" ] } ], "sort": { "column": "name", "descending": false }, "empty": { "title": "No catering", "message": "Say what catering the kitchen takes." }, "card": { "face": "nancy.catering", "fields": [ { "slot": "title", "column": "name" }, { "slot": "subtitle", "column": "guests_from", "also": [ "notice_days" ] }, { "slot": "body", "column": "description" }, { "slot": "facts", "column": "price_from", "also": [ "guests_from", "notice_days" ] } ] }, "instructions": "The catering the kitchen takes: for how many guests, from what price a plate and with how many days' notice. A customer asks about it by messaging the chef; nothing here is booked."}