-
Notifications
You must be signed in to change notification settings - Fork 1
/
schema.json
91 lines (91 loc) · 2.63 KB
/
schema.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"accounts": {
"$uid(account)": {
"title": "title",
"admins": {
"$uid(user)": 123456789 // added date
},
"members": {
"$uid(user)": 123456789 // added date
},
"boards": {
"$uid(board)": true
}
}
},
"boards": {
"$uid(board)" : {
"title": "title",
"description": "description",
"owner": "$uid",
"members": {
"$uid(user)": 123456789 // user's last activity
}
}
},
"join-board-request": {
"$uid(board)": { // Board owner can see its join requests.
"uid(user)": 123456789 // date the request was generated
}
},
"sessions": {
"$uid(board)": { // permission granted based on user's access to board
"$uid(session)": {
"categories": {
"$uid(category)": 1 // uid and order of the included category
},
"targetTime": 3600, // duration members hope to limit the retro to.
"startTime": 123456789, // presentation start timestamp
"endTime": 123456789 // presentation end timestamp
}
}
},
"categories": {
"$uid(board)": {
"$uid(session)": {
"$uid(category)" : {
"title": "title",
"description": "description"
}
}
}
},
"items": {
"$uid(board)": {
"$uid(session)": {
"$uid(item)" : {
"owner": "$uid",
"text": "text",
"time": 3600, // amount of time spent discussing this item
"category": "$uid(category)",
"notes": {
"$uid(note)": true
},
"supporters": {
"$uid(user)": "shout out!" // brief reply to item text
},
"visible": true
}
}
}
},
"notes": { // TODO: items and notes are very similar...
"$uid(board)": {
"$uid(session)": {
"$uid(note)": {
"owner": "$uid(user)",
"text": "text",
"visible": true
}
}
}
},
"users": {
"$uid(user)": {
"name": "name",
"boards": {
"$uid(board)": 123456789 // date user joined the board
}
}
}
}