Skip to content

Instantly share code, notes, and snippets.

@dpowell
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpowell/f5ccd57054fcf99bdd79 to your computer and use it in GitHub Desktop.
Save dpowell/f5ccd57054fcf99bdd79 to your computer and use it in GitHub Desktop.
{
"completions": [
{
"id": 1,
"quiz_id": 8,
"is_completed": true,
"answers": [
{
"id": 1,
"type": "text_answer"
},
{
"id": 2,
"type": "multiple_choice_answer"
},
{
"id": 3,
"type": "slider_answer"
},
{
"id": 7,
"type": "date_answer"
}
]
},
{
"id": 2,
"quiz_id": 11,
"is_completed": false
}
],
"text_answers": [
{
"id": 1,
"question": {
"id": 5,
"type": "text_question"
},
"value": "Answer text"
}
],
"date_answers": [
{
"id": 7,
"question": {
"id": 7,
"type": "date_question"
},
"value": "2014-07-03T04:00:00Z"
}
],
"text_questions": [
{
"id": 5,
"name": "TextInput",
"description": "Multiplelinesoftext.Descriptiongoeshere.",
"is_optional": true,
"is_multiple_lines": false,
"is_required_for_passing": false
}
],
"slider_answers": [
{
"id": 3,
"question": {
"id": 6,
"type": "slider_question"
},
"value_id": "6.2",
"is_na": false
},
{
"id": 10,
"question": {
"id": 10,
"type": "slider_question"
},
"value_id": "10.3",
"is_na": false
}
],
"slider_questions": [
{
"id": 6,
"name": "Slider- Required",
"option_ids": [
"6.0",
"6.1",
"6.2",
"6.3"
],
"description": "Select from a range (1-5)",
"is_optional": false,
"can_have_na": true,
"is_required_for_passing": true
},
{
"id": 10,
"name": "Slider 2",
"option_ids": [
"10.0",
"10.1",
"10.2",
"10.3"
],
"description": "Select from a range (1-2)",
"is_required_to_pass": true,
"is_optional": false,
"can_have_na": false
}
],
"multiple_choice_questions": [
{
"id": 1,
"name": "Multiple Choice Question - Optional",
"description": "Multiple answers maybe chosen. This question is not required.",
"is_optional": true,
"min_selections": 2,
"max_selections": 3,
"option_ids": [
"1.1",
"1.2",
"1.3",
"1.4"
],
"is_required_for_passing": false
}
],
"multiple_choice_answers": [
{
"id": 2,
"question": {
"id": 1,
"type": "multiple_choice_question"
},
"value_ids": [
"1.1",
"1.2"
]
}
],
"quizzes": [
{
"id": 8,
"code": "BBBB",
"event_id": 1,
"description": "Surveys, quizzes, assessments, and certifications use this icon.",
"duration": 500,
"ends_at": "2015-01-04T00:00:00Z",
"icon": "quiz",
"is_pausable": true,
"is_retakeable": true,
"name": "Career Choices Survey",
"password": "",
"background_image_id": 4,
"passing_score": 10,
"show_score": true,
"show_answer_summary": true,
"starts_at": null,
"page_ids": [
"8.1",
"8.2"
],
"is_certification": false,
"is_timer_soft": false
},
{
"id": 11,
"code": "AAAB",
"event_id": 1,
"description": "Surveys, quizzes, assessments, and certifications use this icon.",
"duration": null,
"ends_at": null,
"icon": "quiz",
"is_pausable": true,
"is_retakeable": true,
"is_certification": true,
"name": "Quiz 11",
"password": "",
"background_image_id": null,
"starts_at": "2014-04-04T00:00:00Z",
"passing_score": 60,
"show_score": true,
"show_answer_summary": false,
"page_ids": [
"11.1"
],
"is_timer_soft": false
}
],
"options": [
{
"id": 1.1,
"label": "Option 1",
"is_correct": true
},
{
"id": 1.2,
"label": "Option 2"
}
],
"slider_options": [
{
"id": "6.0",
"label": "None",
"value": 1
},
{
"id": "6.1",
"label": "Low",
"value": 2
},
{
"id": "6.2",
"label": "Medium",
"value": 3
},
{
"id": "6.3",
"label": "High",
"value": 4
},
{
"id": "10.0",
"label": "10 Years",
"value": 10
},
{
"id": "10.1",
"label": "20 Years",
"value": 20
},
{
"id": "10.2",
"label": "30 Years",
"value": 30
},
{
"id": "10.3",
"label": "40 Years",
"value": 40
}
],
"assets": [],
"tags": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment