Cotton code
63 lines · 1.5 KB · JSONRaw
{  "format_version": 1,  "id": "event_attendee",  "name": "Event attendee",  "plural": "Event attendees",  "builtin": true,  "visibility": "owner",  "columns": [    {      "key": "event_id",      "type": "link",      "link_to": "event",      "required": true,      "readonly": true    },    {      "key": "email",      "type": "text",      "readonly": true    },    {      "key": "phone",      "type": "text",      "readonly": true    },    {      "key": "display_name",      "type": "text",      "readonly": true    },    {      "key": "response",      "type": "text",      "readonly": true    },    {      "key": "via",      "type": "text",      "readonly": true    },    {      "key": "sent",      "type": "text",      "readonly": true    },    {      "key": "removed_at",      "type": "date",      "readonly": true    },    {      "key": "role",      "type": "text",      "readonly": true    }  ],  "seal": {    "clear": [      "event_id"    ]  },  "instructions": "The Mac's cotton_event_attendees, brought with its own ids, times and columns. Days keeps, for each person on an event: via, how they hear of it (cotton: in their Days; google: an email from Google Calendar), fixed when they are added; sent, the event's version that last reached them through Cotton, or off once told they are off it; removed_at, when they were taken off, kept until they are told; role, organizer for the person who sent an invitation."}