Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
django-representatives
Commits
4e3c6d85
Commit
4e3c6d85
authored
Jun 22, 2013
by
Bram
Browse files
put the standard in the repo
parent
ee237303
Changes
1
Hide whitespace changes
Inline
Side-by-side
format.json
0 → 100644
View file @
4e3c6d85
[{
'id':
''
,
'personal':
{
'first_name':
''
,
'last_name':
''
,
'full_name':
''
,
//
optinional
'gender':
''
,
//
optional
'birth_date':
''
,
'birth_place':
''
,
//
optinional
'cv':
''
,
//
optional
}
'contact':
{
'emails':
[{
'email':
''
,
'type:
""
,
//
optional
}],
'websites':
[{
'website':
""
,
'type':
""
,
//
optional
}],
'phones':
[{
'phone':
""
,
'address':
'for
example
"the phone number of his office in the EP"
'
,
//
optional
,
type
foreignkey
'type':
'fax
,
official
,
personnal
etc
...'
,
//
optional
}],
'address':
[{
'country:
""
,
'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
'current':
false
,
//
optinional
}
]
}]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment