Cotton code
81 lines · 1.3 KB · JSONRaw
{  "format_version": 1,  "id": "yoga_picture",  "name": "Picture",  "plural": "Gallery",  "picture": null,  "builtin": false,  "engine": null,  "visibility": "public",  "columns": [    {      "key": "name",      "name": "Picture",      "type": "text",      "required": true    },    {      "key": "photo",      "name": "Photo",      "type": "photo",      "required": true    },    {      "key": "caption",      "name": "Caption",      "type": "text"    }  ],  "title": "name",  "date": null,  "project": null,  "order": null,  "slip": {    "title": "name",    "photo": "photo",    "toggle": null,    "subtitle": [      "caption"    ],    "trailing": null  },  "tile": {    "face": "slip-list"  },  "page": [    {      "heading": null,      "columns": [        "name",        "photo",        "caption"      ]    }  ],  "sort": {    "column": "name",    "descending": false  },  "empty": {    "title": "No pictures",    "message": "Pictures of the studio and its classes."  },  "card": {    "face": "photo.print",    "fields": [      {        "slot": "photo",        "column": "photo"      },      {        "slot": "title",        "column": "name"      },      {        "slot": "subtitle",        "column": "caption"      }    ]  },  "instructions": "The studio's gallery, public: one row per picture."}