Cotton code
90 lines · 1.8 KB · JSONRaw
{  "views": [    {      "id": "all",      "label": "Screenplays",      "visibility": "owner",      "is_default": true,      "read": {        "table": "screenplay"      }    },    {      "id": "act_one",      "label": "Act I",      "visibility": "owner",      "is_default": false,      "read": {        "table": "screenplay_scene",        "where": {          "act": "1"        }      }    },    {      "id": "act_two",      "label": "Act II",      "visibility": "owner",      "is_default": false,      "read": {        "table": "screenplay_scene",        "where": {          "act": "2"        }      }    },    {      "id": "act_three",      "label": "Act III",      "visibility": "owner",      "is_default": false,      "read": {        "table": "screenplay_scene",        "where": {          "act": "3"        }      }    },    {      "id": "characters",      "label": "Characters",      "visibility": "owner",      "is_default": false,      "read": {        "table": "screenplay_character"      }    },    {      "id": "places",      "label": "Places",      "visibility": "owner",      "is_default": false,      "read": {        "table": "screenplay_place"      }    }  ],  "id": "screenplays",  "name": "Screenplays",  "purpose": "Scripts, their scenes, the people and the places in your story.",  "picture": {    "photo": "photo:7420f14aef6d78f71091bb2de82c0c23ba4b209c6689837f648db0617e629138",    "object": "tool-screenplays"  },  "card_stock": "cream",  "tables": [    "screenplay",    "screenplay_scene",    "screenplay_character",    "screenplay_place",    "screenplay_draft",    "screenplay_document"  ],  "instructions": "",  "automations": [],  "author": {    "device": "cotton",    "name": "Cotton"  },  "signature": null}