Skip to content

Instantly share code, notes, and snippets.

@Findeton
Created March 14, 2015 16:18
Show Gist options
  • Select an option

  • Save Findeton/9c4d7ac38d6ec22d6885 to your computer and use it in GitHub Desktop.

Select an option

Save Findeton/9c4d7ac38d6ec22d6885 to your computer and use it in GitHub Desktop.
#0.census.json
[
{
"email": "felrobelv@gmail.com"
},
{
"email": "fel.rob.elv@gmail.com"
}
]
#0.config.json
{
"census": "open",
"auth_method": "email",
"auth_method_config": {},
"extra_fields": []
}
#0.json
{
"authorities": [
"local-auth2"
],
"description": "(Test) \n\nTest election",
"director": "local-auth1",
"end_date": "2015-04-27T16:00:00.001",
"id": 0,
"layout": "",
"presentation": {
"share_text": "",
"theme": "default",
"theme_css": "",
"urls": []
},
"questions": [
{
"answer_total_votes_percentage": "over-total-valid-votes",
"answers": [
{
"category": "",
"details": "",
"id": 0,
"sort_order": 0,
"text": "Option A",
"urls": []
},
{
"category": "",
"details": "",
"id": 1,
"sort_order": 1,
"text": "Option B",
"urls": []
},
{
"category": "",
"details": "",
"id": 2,
"sort_order": 2,
"text": "Option C",
"urls": []
}
],
"description": "(Test) \n\nTest question",
"layout": "simple",
"max": 1,
"min": 1,
"num_winners": 1,
"randomize_answer_order": true,
"tally_type": "plurality-at-large",
"title": "This is a test question"
}
],
"start_date": "2015-01-26T16:00:00.001",
"title": "(Test) Test Election"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment