Cotton code
63 lines · 1.1 KB · JSONRaw
{  "id": "student",  "name": "Student",  "plural": "Students",  "picture": null,  "builtin": false,  "engine": null,  "columns": [    {      "key": "name",      "name": "Name",      "type": "text",      "required": true    },    {      "key": "class",      "name": "Class",      "type": "link",      "link_to": "class"    },    {      "key": "photo",      "name": "Photo",      "type": "photo"    },    {      "key": "attending",      "name": "Attending",      "type": "bool"    }  ],  "title": "name",  "date": null,  "project": null,  "order": null,  "slip": {    "title": "name",    "subtitle": "class",    "trailing": null,    "photo": "photo",    "toggle": "attending"  },  "tile": {    "face": "polaroid-grid"  },  "page": [    {      "heading": null,      "columns": [        "name",        "photo"      ]    },    {      "heading": "Class",      "columns": [        "class",        "attending"      ]    }  ],  "instructions": "Keep students for an invented classroom. Links hold record ids; never invent a missing linked record. Update only the requested columns."}