Cotton code
95 lines · 1.8 KB · JSONRaw
{  "format_version": 1,  "id": "message_contact",  "name": "Message contact",  "plural": "Message contacts",  "builtin": true,  "visibility": "owner",  "columns": [    {      "key": "phone_e164",      "type": "text",      "readonly": true    },    {      "key": "display_name",      "type": "text",      "readonly": true    },    {      "key": "person_id",      "type": "link",      "link_to": "person",      "readonly": true    },    {      "key": "auth_user_id",      "type": "text",      "readonly": true    },    {      "key": "vip",      "type": "bool",      "readonly": true    },    {      "key": "muted",      "type": "bool",      "readonly": true    },    {      "key": "blocked",      "type": "bool",      "readonly": true    },    {      "key": "on_cotton_at",      "type": "date",      "format": "calendar-datetime",      "readonly": true    },    {      "key": "asked_at",      "name": "Asked to chat on Cotton",      "type": "date",      "format": "calendar-datetime",      "readonly": true    },    {      "key": "avatar_key",      "type": "text",      "readonly": true    },    {      "key": "profile",      "name": "Their own name and picture",      "type": "longtext",      "readonly": true    },    {      "key": "safety",      "name": "Their safety number as last seen",      "type": "longtext",      "readonly": true    },    {      "key": "safety_verified",      "name": "The safety number you verified",      "type": "longtext",      "readonly": true    }  ],  "seal": {    "clear": [      "person_id",      "on_cotton_at"    ],    "blind": [      "display_name"    ],    "blind_exact": [      "phone_e164"    ]  },  "instructions": "The Mac's cotton_msg_contacts, brought with its own ids, times and columns."}