Cotton code
81 lines · 1.3 KB · JSONRaw
{  "format_version": 1,  "id": "kitchen_photo",  "name": "Photo",  "plural": "Kitchen photos",  "picture": null,  "builtin": false,  "engine": null,  "visibility": "public",  "columns": [    {      "key": "name",      "name": "Caption",      "type": "text",      "required": true    },    {      "key": "photo",      "name": "Photo",      "type": "photo"    },    {      "key": "on",      "name": "Taken",      "type": "date"    }  ],  "title": "name",  "date": "on",  "project": null,  "order": null,  "slip": {    "title": "name",    "photo": "photo",    "toggle": null,    "subtitle": [      "on"    ],    "trailing": null  },  "tile": {    "face": "slip-list"  },  "page": [    {      "heading": null,      "columns": [        "photo",        "name",        "on"      ]    }  ],  "sort": {    "column": "on",    "descending": true,    "tie": "name"  },  "empty": {    "title": "No photos",    "message": "Show customers the kitchen."  },  "card": {    "face": "photo.print",    "fields": [      {        "slot": "photo",        "column": "photo"      },      {        "slot": "title",        "column": "name"      },      {        "slot": "date",        "column": "on"      }    ]  },  "instructions": "Photos of the kitchen customers may see, each with a caption."}