-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathformat.json
More file actions
70 lines (70 loc) · 2.27 KB
/
format.json
File metadata and controls
70 lines (70 loc) · 2.27 KB
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
[{
"id": "",
"personal": {
"first_name": "",
"last_name": "",
"full_name": "", // optinional
"gender": "", // optional
"birth_date": "",
"birth_place": "", // optinional
"cv": "", // optional
"photo": "", // optional
},
"contact": {
"emails": [{
"email": "",
"type": "", // optional
}],
"websites": [{
"website": "",
"type": "", // optional
}],
"phones": [{
"id": "", // needed for address
"phone": "",
"address": "for example \"the phone number of his office in the EP\"",
// optional, type foreignkey
"type": "fax, official, personnal etc ...", // optional
}],
"address": [{
"id": "", // needed for phone
"country": {
"name": "",
"code": "",
},
"city": "",
"street": "",
"number": "",
"postcode": "",
"floor": "", // optinional
"office_number": "", // optinional
"type": "stuff like \"his official office\"",
// optinional
"geo": { // optinional
"lon": "",
"lat": "",
},
"phones": [
"0039xxxx", // Foreign key to a phone instance from above
"0039xxxx",
]
}],
},
"mandates": [{
// a dude is elected for this country,
// in this political group,
// for this party, for this region etc...
"name": "",
"type": "group, committee, delegation ...",
"short_id": "country code, committee/group abbreviation ...",
// optinional
"url_official": "", // optional
"constituency": "country, voting districts, party, etc",
// optional
"role": "", // optional
// either we have membership date or only if it's the current one
"begin_date": "", // optinional
"end_date": "", // optinional
}
]
}]