{"format_version": 1,"id": "board","name": "Board","plural": "Boards","picture": null,"builtin": true,"engine": "boards","columns": [ {"key": "name","name": "Screen","type": "text","required": true,"readonly": true }, {"key": "definition","name": "Board","type": "longtext","required": true }, {"key": "drawn","name": "Drawn from","type": "choice","choices": ["yours","default" ],"labels": {"yours": "This database's own board","default": "The board this build ships" },"readonly": true } ],"title": "name","date": null,"project": null,"order": null,"slip": {"title": "name","subtitle": "drawn","trailing": null,"photo": null,"toggle": null },"tile": {"face": "slip-list" },"empty": {"title": "No boards" },"page": [ {"heading": null,"columns": ["name","drawn","definition" ] } ],"deletion": {"label": "Put back the default","confirm": "Put back the default","undo": false },"delete_when": {"column": "drawn","values": ["yours" ] },"instructions": "A board is what one screen of the app draws, and in what order: home is Home, tools is the Tools screen, database is the database page. Each record's id is the screen's board id and its definition is the board as JSON — {\"id\": <the same id>, \"parts\": [...]} with parts of the kinds head, notices, tools, asked, done, list, facts and about — exactly the shape get_record_by_table answers. To change a screen, update its record's definition with the whole board; the app draws it on the next sync with no new build. A definition this build cannot draw (unknown keys, an unknown part, a bad value) is refused and nothing is saved, and there are no boards beyond these three: a new id is refused. drawn says whether a screen shows this database's own board or the one the build ships; delete_record on a board that is this database's own puts the shipped one back (the board it replaced stays in the change's before), and a board that is already the shipped one is never deleted.","add": false,"tables": []}