Cotton code
146 lines · 2.7 KB · JSONRaw
{  "format_version": 1,  "id": "story_line",  "name": "Line",  "plural": "Lines",  "builtin": false,  "visibility": "owner",  "engine": null,  "columns": [    {      "key": "story",      "name": "Story",      "type": "link",      "link_to": "story_story",      "required": true    },    {      "key": "scene",      "name": "Scene",      "type": "link",      "link_to": "story_scene",      "required": true    },    {      "key": "position",      "name": "Order",      "type": "number"    },    {      "key": "kind",      "name": "Kind",      "type": "choice",      "default": "action",      "choices": [        "action",        "dialogue",        "note",        "enters"      ],      "labels": {        "action": "Action",        "dialogue": "Speech",        "note": "Note",        "enters": "Enters"      }    },    {      "key": "character",      "name": "Character",      "type": "link",      "link_to": "story_character"    },    {      "key": "who",      "name": "Who",      "type": "text"    },    {      "key": "aside",      "name": "Aside",      "type": "text"    },    {      "key": "form",      "name": "Set as",      "type": "choice",      "choices": [        "transition",        "centered"      ],      "labels": {        "transition": "Cut",        "centered": "Centred"      }    },    {      "key": "text",      "name": "Line",      "type": "longtext"    }  ],  "seal": {    "clear": [      "story",      "scene",      "position",      "character"    ],    "blind": [      "text"    ],    "blind_bytes": {      "text": 1024    }  },  "title": "text",  "date": null,  "project": null,  "order": "position",  "slip": {    "title": "text",    "subtitle": null,    "trailing": null,    "photo": null,    "toggle": null  },  "tile": {    "face": "slip-list"  },  "page": [    {      "heading": null,      "columns": [        "scene",        "position",        "kind",        "character",        "who",        "aside",        "form",        "text"      ]    }  ],  "sort": {    "column": "position",    "descending": false  },  "empty": {    "title": "No lines yet",    "message": "Lines gather here as you write a scene."  },  "deletion": {    "bin": true  },  "links": [    {      "label": "Deleted",      "table": "bin",      "where": {        "table": "story_line"      }    }  ],  "instructions": "One line of a scene as the writer set it down: action, speech (dialogue, with its character), a note to self, or someone entering. position orders a scene's lines and may be a fraction, so a line goes between two others without renumbering. Write lines with Story's own methods: the scene's Fountain body is kept from them."}