Cotton code
487 lines · 10.1 KB · JSONRaw
{  "_about": "chat.callScreen on invented group calls, written by cotton-core messages::app::calls_tests::write_group_call_seed",  "group": {    "shown": true,    "phase": "live",    "name": "Invented Family",    "picture": {      "initials": "AE",      "tint": 3    },    "liveAt": 1300,    "video": true,    "camera": true,    "controls": [      {        "id": "mute",        "label": "Mute",        "on": false      },      {        "id": "speaker",        "label": "Speaker",        "on": false      },      {        "id": "video",        "label": "Camera",        "on": true      },      {        "id": "flip",        "label": "Flip",        "on": false      },      {        "id": "end",        "label": "Leave",        "on": false      }    ],    "bar": "Invented Family · tap to return",    "endedFor": 2000,    "group": true,    "tiles": [      {        "member": "m1",        "name": "Asha Example",        "picture": {          "initials": "AE",          "tint": 1        },        "you": false,        "joined": true,        "speaking": true,        "muted": false,        "camera": true,        "notes": false      },      {        "member": "m2",        "name": "Ravi Example",        "picture": {          "initials": "RE",          "tint": 1        },        "you": false,        "joined": true,        "speaking": false,        "muted": true,        "camera": false,        "notes": false      },      {        "member": "m3",        "name": "Meera Example",        "picture": {          "initials": "ME",          "tint": 1        },        "you": false,        "joined": false,        "state": "Ringing…",        "speaking": false,        "muted": false,        "camera": false,        "notes": false      },      {        "member": "caller",        "name": "You",        "picture": {          "initials": "TO",          "tint": 1        },        "you": true,        "joined": true,        "speaking": false,        "muted": false,        "camera": true,        "notes": false      }    ],    "grid": {      "columns": 2,      "rows": 2    },    "privacy": "Protected in transit",    "privacyDetail": "A group call is encrypted between each phone and Cotton's call server, which passes it on. It is not end to end, as one-to-one calls are."  },  "group8": {    "shown": true,    "phase": "live",    "name": "Invented Book Club",    "picture": {      "initials": "AE",      "tint": 3    },    "liveAt": 1300,    "video": false,    "camera": false,    "controls": [      {        "id": "mute",        "label": "Mute",        "on": false      },      {        "id": "speaker",        "label": "Speaker",        "on": true      },      {        "id": "end",        "label": "Leave",        "on": false      }    ],    "bar": "Invented Book Club · tap to return",    "endedFor": 2000,    "group": true,    "tiles": [      {        "member": "v1",        "name": "Asha Example",        "picture": {          "initials": "AE",          "tint": 0        },        "you": false,        "joined": true,        "speaking": false,        "muted": false,        "camera": false,        "notes": false      },      {        "member": "v2",        "name": "Ravi Example",        "picture": {          "initials": "RE",          "tint": 0        },        "you": false,        "joined": true,        "speaking": true,        "muted": false,        "camera": false,        "notes": false      },      {        "member": "v3",        "name": "Meera Example",        "picture": {          "initials": "ME",          "tint": 1        },        "you": false,        "joined": true,        "speaking": false,        "muted": true,        "camera": false,        "notes": false      },      {        "member": "v4",        "name": "Kofi Example",        "picture": {          "initials": "KE",          "tint": 0        },        "you": false,        "joined": true,        "speaking": false,        "muted": false,        "camera": false,        "notes": false      },      {        "member": "v5",        "name": "Lena Example",        "picture": {          "initials": "LE",          "tint": 0        },        "you": false,        "joined": true,        "speaking": false,        "muted": false,        "camera": false,        "notes": false      },      {        "member": "v6",        "name": "Tomas Example",        "picture": {          "initials": "TE",          "tint": 1        },        "you": false,        "joined": true,        "speaking": false,        "muted": true,        "camera": false,        "notes": false      },      {        "member": "v7",        "name": "Yuki Example",        "picture": {          "initials": "YE",          "tint": 0        },        "you": false,        "joined": true,        "speaking": false,        "muted": false,        "camera": false,        "notes": false      },      {        "member": "caller",        "name": "You",        "picture": {          "initials": "TO",          "tint": 3        },        "you": true,        "joined": true,        "speaking": false,        "muted": false,        "camera": false,        "notes": false      }    ],    "grid": {      "columns": 2,      "rows": 4    },    "privacy": "Protected in transit",    "privacyDetail": "A group call is encrypted between each phone and Cotton's call server, which passes it on. It is not end to end, as one-to-one calls are."  },  "group-notes": {    "shown": true,    "phase": "live",    "name": "Invented Family",    "picture": {      "initials": "AE",      "tint": 3    },    "liveAt": 1300,    "video": true,    "camera": true,    "controls": [      {        "id": "mute",        "label": "Mute",        "on": false      },      {        "id": "speaker",        "label": "Speaker",        "on": false      },      {        "id": "video",        "label": "Camera",        "on": true      },      {        "id": "flip",        "label": "Flip",        "on": false      },      {        "id": "end",        "label": "Leave",        "on": false      }    ],    "bar": "Invented Family · tap to return",    "endedFor": 2000,    "group": true,    "tiles": [      {        "member": "m1",        "name": "Asha Example",        "picture": {          "initials": "AE",          "tint": 1        },        "you": false,        "joined": true,        "speaking": false,        "muted": false,        "camera": true,        "notes": true      },      {        "member": "m2",        "name": "Ravi Example",        "picture": {          "initials": "RE",          "tint": 1        },        "you": false,        "joined": true,        "speaking": false,        "muted": true,        "camera": false,        "notes": false      },      {        "member": "m3",        "name": "Meera Example",        "picture": {          "initials": "ME",          "tint": 1        },        "you": false,        "joined": false,        "state": "Ringing…",        "speaking": false,        "muted": false,        "camera": false,        "notes": false      },      {        "member": "caller",        "name": "You",        "picture": {          "initials": "TO",          "tint": 1        },        "you": true,        "joined": true,        "speaking": false,        "muted": false,        "camera": true,        "notes": false      }    ],    "grid": {      "columns": 2,      "rows": 2    },    "privacy": "Protected in transit",    "privacyDetail": "A group call is encrypted between each phone and Cotton's call server, which passes it on. It is not end to end, as one-to-one calls are.",    "notes": {      "by": [        {          "member": "m1",          "name": "Asha Example"        }      ],      "line": "Asha Example is taking notes",      "mark": true    }  },  "group-notice": {    "shown": true,    "phase": "live",    "name": "Invented Family",    "picture": {      "initials": "AE",      "tint": 3    },    "liveAt": 1300,    "video": true,    "camera": true,    "controls": [      {        "id": "mute",        "label": "Mute",        "on": false      },      {        "id": "speaker",        "label": "Speaker",        "on": false      },      {        "id": "video",        "label": "Camera",        "on": true      },      {        "id": "flip",        "label": "Flip",        "on": false      },      {        "id": "end",        "label": "Leave",        "on": false      }    ],    "bar": "Invented Family · tap to return",    "endedFor": 2000,    "group": true,    "tiles": [      {        "member": "m1",        "name": "Asha Example",        "picture": {          "initials": "AE",          "tint": 1        },        "you": false,        "joined": true,        "speaking": true,        "muted": false,        "camera": true,        "notes": false      },      {        "member": "m2",        "name": "Ravi Example",        "picture": {          "initials": "RE",          "tint": 1        },        "you": false,        "joined": true,        "speaking": false,        "muted": true,        "camera": false,        "notes": false      },      {        "member": "m3",        "name": "Meera Example",        "picture": {          "initials": "ME",          "tint": 1        },        "you": false,        "joined": false,        "state": "Ringing…",        "speaking": false,        "muted": false,        "camera": false,        "notes": false      },      {        "member": "caller",        "name": "You",        "picture": {          "initials": "TO",          "tint": 1        },        "you": true,        "joined": true,        "speaking": false,        "muted": false,        "camera": true,        "notes": false      }    ],    "grid": {      "columns": 2,      "rows": 2    },    "privacy": "Protected in transit",    "privacyDetail": "A group call is encrypted between each phone and Cotton's call server, which passes it on. It is not end to end, as one-to-one calls are.",    "notice": "Notes can't be taken: Ravi Example's Comms needs updating."  }}