-
Notifications
You must be signed in to change notification settings - Fork 0
/
datastructure.json
43 lines (43 loc) · 968 Bytes
/
datastructure.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"rooms": {
"jk34z0": {},
"x5tyz8": {
"storedActivities": [
{
"type": "poll",
"state": "open | result | close",
"text": "How do you feel?",
"options": [
{ "text": "Good", "votes": 0 },
{ "text": "Okay", "votes": 0 }
]
},
{
"type": "question",
"state": "open | result | close",
"text": "Explain how you feel",
"answers": [
{ "text": "i feel Good", "user": "xyz" },
{ "text": "i feel Okay", "user": "zyx" }
]
}
],
"questions": [
{
"id": 1,
"text": "how do i ask a question?",
"upvotes": 0,
"answered": false
}
],
"chat": [
{
"id": 1,
"text": "hello!",
"user": "Anonymous user 23",
"timestamp": "1:10:10::00:20:12"
}
]
}
}
}