diff --git a/format.json b/format.json index 5f042c16b48da283c143c4f1373610785c925d1b..93c1525d8c0840aebde30b559ccb3fb4c1d27992 100644 --- a/format.json +++ b/format.json @@ -1,65 +1,65 @@ [{ - 'id': '', - 'personal': { - 'first_name': '', - 'last_name': '', - 'full_name': '', // optinional - 'gender': '', // optional - 'birth_date': '', - 'birth_place': '', // optinional - 'cv': '', // optional + "id": "", + "personal": { + "first_name": "", + "last_name": "", + "full_name": "", // optinional + "gender": "", // optional + "birth_date": "", + "birth_place": "", // optinional + "cv": "", // optional } - 'contact': { - 'emails': [{ - 'email': '', - 'type: "", // optional + "contact": { + "emails": [{ + "email": "", + "type: "", // optional }], - 'websites': [{ - 'website': "", - 'type': "", // optional + "websites": [{ + "website": "", + "type": "", // optional }], - 'phones': [{ - 'phone': "", - 'address': 'for example "the phone number of his office in the EP"', + "phones": [{ + "phone": "", + "address": "for example "the phone number of his office in the EP"", // optional, type foreignkey - 'type': 'fax, official, personnal etc ...', // optional + "type": "fax, official, personnal etc ...", // optional }], - 'address': [{ - 'country: "", - 'city: "", - 'street: "", - 'number: "", - 'postcode: "", - 'floor': "", // optinional - 'office_number': "", // optinional - 'type': 'stuff like "his official office"', + "address": [{ + "country: "", + "city: "", + "street: "", + "number: "", + "postcode: "", + "floor": "", // optinional + "office_number": "", // optinional + "type": "stuff like "his official office"", // optinional - 'geo': { // optinional - 'lon': '', - 'lat': '', + "geo": { // optinional + "lon": "", + "lat": "", }, - 'phones': [ + "phones": [ "0039xxxx", // Foreign key to a phone instance from above "0039xxxx", ] }], }, - 'mandates': [{ + "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 ...', + "name": "", + "type": "group, committee, delegation ...", + "short_id": "country code, committee/group abbreviation ...", // optinional - 'url_official': '', // optional - 'constituency': "country, voting districts, party, etc", + "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 - 'current': false, // optinional + "role": "", // optional + // either we have membership date or only if it"s the current one + "begin_date": "", // optinional + "end_date": "", // optinional + "current": false, // optinional } ] }]