-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.json
104 lines (104 loc) · 2.25 KB
/
sample.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
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"tasks": [
{
"id": 1,
"uuid": "b72d5761-c0ee-4e9e-8795-1635cdecb411",
"name": [
"finish making this example"
],
"required by": [
"93cc8909-890d-4fdf-b7a9-0cce47cc89c8"
],
"tag": [
"sample project"
],
"value": 3,
"hours": 0.5,
"reasons": [
"need something for a new user to look at initially"
]
},
{
"id": 2,
"uuid": "93cc8909-890d-4fdf-b7a9-0cce47cc89c8",
"name": [
"publish this example"
],
"value": 4,
"hours": 1.0,
"reasons": [
"people can't see it if it isn't published"
],
"requires": [
"b72d5761-c0ee-4e9e-8795-1635cdecb411"
],
"status": ""
},
{
"id": 3,
"uuid": "68d16370-0732-4db0-8526-21f0846de292",
"name": [
"a task"
],
"tag": [
"sample"
],
"value": 3,
"reasons": [
"because it's on this list"
],
"complexity": [
"it's not very well defined"
],
"hours": 2.0,
"status": "done"
}
],
"known_fields": {
"id": "Integer",
"uuid": "UUID",
"name": "Array",
"tag": "Array",
"value": "Integer",
"reasons": "Array",
"complexity": "Array",
"hours": "Float",
"required by": "UUID_Array",
"requires": "UUID_Array",
"status": "String"
},
"sort_rules": {
"default": "0",
"div": "((task[\"value\"]||0) * 6 + (task[\"reason\"]||[]).count * 6 + (task[\"required by\"]||[]).count * 3)/((task[\"complexity\"]||[]).count * 5 + (task[\"hours\"]||0) * 1 + (task[\"cost\"]||0) * 0.1 + 0.0001)"
},
"foundations": {
"default": [
{
"field": "status",
"comparison": "is",
"target": "done",
"negate": true
}
]
},
"display_fields": [
"name",
"status"
],
"creation_fields": [
"name"
],
"inverse_keys": {
"required by": "requires",
"requires": "required by"
},
"display_calculations": [
"hours"
],
"calculations": {
"hours": "(task[\"hours\"]||0)"
},
"render_count": 10,
"show_count": true,
"sort_rule_selected": "div"
}