/
kiva-combined.datashape
80 lines (80 loc) · 1.96 KB
/
kiva-combined.datashape
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
var * {
id: int64,
name: string,
description: {
languages: var * string[2],
texts: json # map[string[2] * string]
},
status: string,
funded_amount: float64,
basket_amount: ?float64,
paid_amount: ?float64,
image: {
id: int64,
template_id: int64,
},
video: json, # ?{
# id: int64,
# youtube_id: string
#},
activity: string,
sector: string,
use: string,
delinquent: bool,
location: {
country_code: string[2],
country: string,
town: ?string,
geo: {
level: string,
pairs: string,
type: string,
}
},
partner_id: int64,
posted_date: ?datetime,
planned_expiration_date: ?datetime,
loan_amount: float64,
currency_exchange_loss_amount: ?float64,
borrowers: var * {
first_name: string,
last_name: string,
gender: string[1], # GenderType
pictured: bool,
},
terms: {
disbursal_date: ?datetime,
disbursal_currency: ?string,
disbursal_amount: float64,
loan_amount: float64,
local_payments: var * {
due_date: datetime,
amount: float64,
},
scheduled_payments: var * {
due_date: datetime,
amount: float64,
},
loss_liability: {
nonpayment: string, # categorical[string, [\"lender\", \"partner\"]],
currency_exchange: string,
currency_exchange_coverage_rate: ?float64,
}
},
payments: var * {
amount: float64,
local_amount: float64,
processed_date: datetime,
settlement_date: datetime,
rounded_local_amount: float64,
currency_exchange_loss_amount: float64,
payment_id: int64,
comment: ?string,
},
funded_date: ?datetime,
paid_date: ?datetime,
journal_totals: {
entries: int64,
bulkEntries: int64,
}
}