Cotton code
116 lines · 2.1 KB · JSONRaw
{  "format_version": 1,  "id": "story_thing",  "name": "Thing",  "plural": "Things",  "builtin": false,  "visibility": "owner",  "engine": null,  "columns": [    {      "key": "story",      "name": "Story",      "type": "link",      "link_to": "story_story",      "required": true    },    {      "key": "name",      "name": "Name",      "type": "text",      "required": true,      "placeholder": "The red bicycle, the letter"    },    {      "key": "kind",      "name": "Kind",      "type": "choice",      "default": "prop",      "choices": [        "prop",        "vehicle",        "other"      ],      "labels": {        "prop": "Prop",        "vehicle": "Vehicle",        "other": "Other"      }    },    {      "key": "about",      "name": "About",      "type": "longtext"    },    {      "key": "picture",      "name": "Picture",      "type": "photo"    }  ],  "seal": {    "clear": [      "story",      "kind",      "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",        "kind"      ]    },    {      "heading": "About",      "columns": [        "about"      ]    }  ],  "sort": {    "column": "name",    "descending": false  },  "create": {    "label": "New thing"  },  "empty": {    "title": "No things yet",    "message": "Props and vehicles the story needs gather here."  },  "deletion": {    "bin": true  },  "links": [    {      "label": "Deleted",      "table": "bin",      "where": {        "table": "story_thing"      }    }  ],  "instructions": "A thing a story needs on set: a prop, a vehicle or anything else, by name, with an about and an optional picture. The scenes it is in are story_use rows (scene, thing). Nothing is made on its own: a thing is added by the owner or at their asking."}