Cotton code
111 lines · 2.2 KB · JSONRaw
{  "format_version": 1,  "id": "meetings_speaker",  "name": "Speaker",  "plural": "Speakers",  "builtin": false,  "visibility": "owner",  "engine": null,  "columns": [    {      "key": "meeting",      "name": "Meeting",      "type": "link",      "link_to": "meetings_meeting",      "required": true    },    {      "key": "label",      "name": "Label",      "type": "text",      "readonly": true    },    {      "key": "name",      "name": "Name",      "type": "text",      "placeholder": "Who is this?"    },    {      "key": "person",      "name": "Person",      "type": "link",      "link_to": "person"    },    {      "key": "lines",      "name": "Lines",      "type": "number",      "readonly": true    },    {      "key": "talk_ms",      "name": "Spoke for",      "type": "number",      "readonly": true    },    {      "key": "first_ms",      "name": "First spoke at",      "type": "number",      "readonly": true    }  ],  "seal": {    "clear": [      "meeting",      "label",      "person",      "lines",      "talk_ms",      "first_ms"    ],    "blind": [      "name"    ]  },  "title": "name",  "date": null,  "project": null,  "order": "first_ms",  "slip": {    "title": "name",    "subtitle": "label",    "trailing": "lines",    "photo": null,    "toggle": null  },  "tile": {    "face": "slip-list"  },  "page": [    {      "heading": null,      "columns": [        "name",        "person",        "label",        "lines",        "talk_ms"      ]    }  ],  "sort": {    "column": "first_ms",    "descending": false  },  "add": false,  "commands": [    {      "id": "name_speaker",      "label": "Name",      "kind": "update",      "method": "meetings.speaker.name",      "bindings": {        "id": "$id"      },      "object": "slip"    }  ],  "instructions": "A speaker is one voice in one meeting: label is what the transcriber called it (S1, S2…), in order of first speech. Naming a speaker (name, and person when it is someone in People) holds for this meeting only: no voice is remembered across meetings, and no voice print is ever kept. lines, talk_ms and first_ms are worked out from the meeting's lines."}