Cotton code
131 lines · 2.5 KB · JSONRaw
{  "format_version": 1,  "id": "story_draft_scene",  "name": "Draft scene",  "plural": "Draft scenes",  "builtin": false,  "visibility": "owner",  "engine": null,  "columns": [    {      "key": "draft",      "name": "Draft",      "type": "link",      "link_to": "story_draft",      "required": true    },    {      "key": "story",      "name": "Story",      "type": "link",      "link_to": "story_story",      "required": true    },    {      "key": "scene",      "name": "Scene",      "type": "text",      "required": true    },    {      "key": "position",      "name": "Order",      "type": "number"    },    {      "key": "heading",      "name": "Scene heading",      "type": "text"    },    {      "key": "setting",      "name": "Inside or out",      "type": "text"    },    {      "key": "place",      "name": "Place",      "type": "text"    },    {      "key": "time",      "name": "Time",      "type": "text"    },    {      "key": "day",      "name": "Story day",      "type": "number"    },    {      "key": "summary",      "name": "What happens",      "type": "text"    },    {      "key": "body",      "name": "Scene",      "type": "longtext"    },    {      "key": "lines",      "name": "Lines",      "type": "longtext"    }  ],  "seal": {    "clear": [      "draft",      "story",      "scene",      "position",      "day"    ],    "blind": []  },  "title": "heading",  "date": null,  "project": null,  "order": "position",  "slip": {    "title": "heading",    "subtitle": "summary",    "trailing": null,    "photo": null,    "toggle": null  },  "tile": {    "face": "slip-list"  },  "page": [    {      "heading": null,      "columns": [        "heading",        "summary",        "body"      ]    }  ],  "sort": {    "column": "position",    "descending": false  },  "empty": {    "title": "No scenes in this draft",    "message": "A draft keeps its scenes as they stood."  },  "deletion": {    "bin": true  },  "links": [    {      "label": "Deleted",      "table": "bin",      "where": {        "table": "story_draft_scene"      }    }  ],  "instructions": "One scene of a draft as it stood when the draft was marked: scene is the scene's id (the scene may have changed or gone since), position its order then, its heading parts, summary, Fountain body and lines (JSON: [{ id, kind, who, character, aside, form, text }], each line's own id). Written only by story_draft_mark; never changed."}