Cotton code
113 lines · 2.1 KB · JSONRaw
{  "format_version": 1,  "id": "story_costume",  "name": "Costume",  "plural": "Costumes",  "builtin": false,  "visibility": "owner",  "engine": null,  "columns": [    {      "key": "story",      "name": "Story",      "type": "link",      "link_to": "story_story",      "required": true    },    {      "key": "character",      "name": "Worn by",      "type": "link",      "link_to": "story_character",      "required": true    },    {      "key": "name",      "name": "Name",      "type": "text",      "placeholder": "Wedding sari, school uniform"    },    {      "key": "about",      "name": "About",      "type": "longtext"    },    {      "key": "day",      "name": "Story day",      "type": "number"    },    {      "key": "picture",      "name": "Picture",      "type": "photo"    }  ],  "seal": {    "clear": [      "story",      "character",      "day",      "picture"    ],    "blind": [      "name",      "about"    ]  },  "title": "name",  "date": null,  "project": null,  "order": null,  "slip": {    "title": "name",    "subtitle": "about",    "trailing": null,    "photo": "picture",    "toggle": null  },  "tile": {    "face": "slip-list"  },  "page": [    {      "heading": null,      "columns": [        "picture",        "name",        "character",        "day"      ]    },    {      "heading": "About",      "columns": [        "about"      ]    }  ],  "sort": {    "column": "name",    "descending": false  },  "create": {    "label": "New costume"  },  "empty": {    "title": "No costumes yet",    "message": "What each character wears gathers here."  },  "deletion": {    "bin": true  },  "links": [    {      "label": "Deleted",      "table": "bin",      "where": {        "table": "story_costume"      }    }  ],  "instructions": "What one character wears: worn by (a story_character), a name, an about, the story day it is worn on (day, optional) and an optional picture. More pictures are story_picture rows naming the costume. The scenes it is worn in are story_use rows (scene, costume). Nothing is made on its own."}