-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdatabase-schema.json
88 lines (88 loc) · 2.21 KB
/
database-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
{
"user": {
"_id": "mongo_generated",
"firstName": "",
"lastName": "",
"fullName": "",
"username": "",
"email": "",
"nickname": "",
"title": ""
},
"idea": {
"_id": "mongo_generated",
"title": "",
"description": "",
"authorId": "one user._id",
"eventId": "",
"timeCreated": "",
"timeModified": "",
"tags": [
"5 strings to assist in searching"
],
"rolereqs": [
"types of backs the author is requesting"
],
"likes": [
{
"_id": "mongo_generated",
"userId": "user._id"
},
"set of objects with user._id"
],
"updates": [
{
"_id": "mongo_generated",
"text": "",
"authorId": "one user._id",
"timeCreated": "",
"timeModified": ""
}
],
"comments": [
{ "commentId": "comment._id" },
"set of objects with comment._id"
],
"backs": [
{
"_id": "mongo_generated",
"text": "",
"authorId": "one user._id",
"types": "",
"timeCreated": "",
"timeModified": ""
}
],
"team": [
{
"_id": "mongo_generated",
"memberId": "idea.authorId"
},
"set of objects with user._id"
],
"complexity": [
{
"stars": "set of indicators if the object is filled according to value",
"value": "value of the rating",
"authorId": "one user._id"
}
]
},
"comment": {
"_id": "mongo_generated",
"parentId": "one idea._id || one comment._id",
"text": "",
"authorId": "one user._id",
"timeCreated": "",
"timeModified": ""
},
"events": [
{
"_id": "mongo_generated",
"name": "",
"location": "",
"startDate": "",
"endDate": ""
}
]
}