Skip to content

Instantly share code, notes, and snippets.

@marceloandrader
Created July 15, 2011 14:34
Show Gist options
  • Save marceloandrader/1084802 to your computer and use it in GitHub Desktop.
Save marceloandrader/1084802 to your computer and use it in GitHub Desktop.
event json
{
"event_id": 1,
"survey": {
"title": "Survey 1",
"description": "Description 1",
"questions": [{
"question_id": 1,
"title": "Question 1",
"description": "Desc Question 1",
"question_type": "simple",
"options": null,
"levels": null
}, {
"question_id": 2,
"title": "Question 2",
"description": "Desc Question 2",
"question_type": "single",
"options": [{
"question_option_id": 1,
"title": "option 1"
}, {
"question_option_id": 2,
"title": "option 2"
}],
"levels": null
}, {
"question_id": 3,
"title": "Question 3",
"description": "Desc Question 3",
"question_type": "multiple",
"options": [{
"question_option_id": 5,
"title": "option 6"
}, {
"question_option_id": 5,
"title": "option 6"
}],
"levels": null
}, {
"question_id": 4,
"title": "Question 4",
"description": "Desc Question 4",
"question_type": "matrix",
"options": [{
"question_option_id": 3,
"title": "option 3"
}, {
"question_option_id": 4,
"title": "option 4"
}],
"levels": ["1", "2", "3", "4", "5"]
}]
},
"game": {
"description": "Game description 1",
"prizes": [{
"prize_id": 1,
"title": "prize 1"
}, {
"prize_id": 2,
"title": "prize 2"
}, {
"prize_id": 3,
"title": "prize 3"
}, {
"prize_id": 4,
"title": "prize 4"
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment