Skip to content
Extraits de code Groupes Projets
Valider a1dc39e3 rédigé par Bram's avatar Bram
Parcourir les fichiers

[mod] ' -> " in format.json

parent 4e3c6d85
Aucune branche associée trouvée
Aucune étiquette associée trouvée
2 requêtes de fusion!158Attempt at fixing tests in the restructure branch,!157WIP - Restructure the repository
[{ [{
'id': '', "id": "",
'personal': { "personal": {
'first_name': '', "first_name": "",
'last_name': '', "last_name": "",
'full_name': '', // optinional "full_name": "", // optinional
'gender': '', // optional "gender": "", // optional
'birth_date': '', "birth_date": "",
'birth_place': '', // optinional "birth_place": "", // optinional
'cv': '', // optional "cv": "", // optional
} }
'contact': { "contact": {
'emails': [{ "emails": [{
'email': '', "email": "",
'type: "", // optional "type: "", // optional
}], }],
'websites': [{ "websites": [{
'website': "", "website": "",
'type': "", // optional "type": "", // optional
}], }],
'phones': [{ "phones": [{
'phone': "", "phone": "",
'address': 'for example "the phone number of his office in the EP"', "address": "for example "the phone number of his office in the EP"",
// optional, type foreignkey // optional, type foreignkey
'type': 'fax, official, personnal etc ...', // optional "type": "fax, official, personnal etc ...", // optional
}], }],
'address': [{ "address": [{
'country: "", "country: "",
'city: "", "city: "",
'street: "", "street: "",
'number: "", "number: "",
'postcode: "", "postcode: "",
'floor': "", // optinional "floor": "", // optinional
'office_number': "", // optinional "office_number": "", // optinional
'type': 'stuff like "his official office"', "type": "stuff like "his official office"",
// optinional // optinional
'geo': { // optinional "geo": { // optinional
'lon': '', "lon": "",
'lat': '', "lat": "",
}, },
'phones': [ "phones": [
"0039xxxx", // Foreign key to a phone instance from above "0039xxxx", // Foreign key to a phone instance from above
"0039xxxx", "0039xxxx",
] ]
}], }],
}, },
'mandates': [{ "mandates": [{
// a dude is elected for this country, // a dude is elected for this country,
// in this political group, // in this political group,
// for this party, for this region etc... // for this party, for this region etc...
'name': '', "name": "",
'type': 'group, committee, delegation ...', "type": "group, committee, delegation ...",
'short_id': 'country code, committee/group abbreviation ...', "short_id": "country code, committee/group abbreviation ...",
// optinional // optinional
'url_official': '', // optional "url_official": "", // optional
'constituency': "country, voting districts, party, etc", "constituency": "country, voting districts, party, etc",
// optional // optional
'role': '', // optional "role": "", // optional
// either we have membership date or only if it's the current one // either we have membership date or only if it"s the current one
'begin_date': '', // optinional "begin_date": "", // optinional
'end_date': '', // optinional "end_date": "", // optinional
'current': false, // optinional "current": false, // optinional
} }
] ]
}] }]
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter