-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.js
130 lines (128 loc) · 2.94 KB
/
schema.js
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
const schema = {
'Project': {
prop: 'project_id',
type: Number,
required: true
},
'Project Description': {
prop: 'description',
type: String,
required: true
},
'Output': {
prop: 'output',
type: Number,
required: true
},
'Output Description': {
prop: 'output_description',
type: String,
required: true
},
'Location': {
prop: 'location',
type: String,
required: true
},
'Output Status (ongoing or Operationally Closed)': {
prop: 'output_status',
type: String,
required: true
},
'Fund Description': {
prop: 'fund_description',
type: String,
required: true
},
'Donor': {
prop: 'donor',
type: Number,
required: true
},
'Donor Description': {
prop: 'donor_description',
type: String,
required: true
},
'ASL': {
prop: 'ASL',
type: Number,
required: false
},
'Opening Cash Balance': {
prop: 'opening_cash_balance',
type: Number,
required: false
},
'Revenue Collected': {
prop: 'revenue_collected',
type: Number,
required: false
},
'Total Resources (ASL+Opening balance+Revenue Coleacted)': {
prop: 'total_resources',
type: Number,
required: false
},
'Current Year Budget': {
prop: 'current_year_budget',
type: Number,
required: false
},
'Next Year Budget': {
prop: 'next_year_budget',
type: Number,
required: false
},
'Future Years Budget': {
prop: 'future_year_budget',
type: Number,
required: false
},
'Total Budget': {
prop: 'total_budget',
type: Number,
required: false
},
'Expenses + Full Asset Cost': {
prop: 'expenses_full_asset_cost',
type: Number,
required: false
},
'Commitments': {
prop: 'commitments',
type: Number,
required: false
},
'Total Delivery (Expenses and commitments)': {
prop: 'total_delivery',
type: Number,
required: false
},
'Delivery % (Total Delivery/Current Year Budget)': {
prop: 'delivery',
type: Number,
required: false
},
'Outstanding NEX Advances': {
prop: 'outstanding_nex_advances',
type: Number,
required: false
},
'Total Utilization( Total Delivery+Outstanding NEX Advances)': {
prop: 'total_utilization',
type: Number,
required: false
},
'Resource Balance (Total resources - Total Utilization)': {
prop: 'resource_balance',
type: Number,
required: false
},
'Funding Agreement end date': {
prop: 'funding_agreement_end_date',
type: Date,
required: false
}
}
module.exports = schema