Skip to content

Instantly share code, notes, and snippets.

@clockwork189
Last active January 3, 2016 03:29
Show Gist options
  • Save clockwork189/8402335 to your computer and use it in GitHub Desktop.
Save clockwork189/8402335 to your computer and use it in GitHub Desktop.
Data the server spits back
[
{
"researcherId": "52b127eca3c1a14b54000021",
"updated": "1389560418512",
"created": "1389560418512",
"_id": "52d302c43dcd64f52bfa4f60",
"__v": 0,
"blocks": [
{
"name": "Skip Questions",
"_id": "52d302c43dcd64f52bfa4f61",
"triggers": [
{
"start": "2014-01-11T05:00:00.000Z",
"end": "2014-01-19T05:00:00.000Z",
"notification": true,
"frequency": 1,
"type": "ONGOING",
"_id": "52d302c43dcd64f52bfa4f62"
}
],
"questions": [
{
"question": "Q1",
"type": "MULTIPLE_CHOICE",
"_id": "52d302c43dcd64f52bfa4f66",
"choices": [
"A",
"B",
"C"
]
},
{
"question": "Q2",
"type": "SINGLE_CHOICE",
"_id": "52d302c43dcd64f52bfa4f65",
"choices": [
"A",
"B",
"C"
]
},
{
"question": "Q3",
"type": "SINGLE_CHOICE",
"_id": "52d302c43dcd64f52bfa4f64",
"choices": [
"A",
"B",
"C"
]
},
{
"question": "Q4",
"type": "SINGLE_CHOICE",
"_id": "52d302c43dcd64f52bfa4f63",
"displayCondition": {
"type": "MULTIPLE_CHOICE_QUESTION_ANSWERED",
"question": "52d302c43dcd64f52bfa4f66",
"answer": 0
},
"choices": [
"A",
"B",
"C"
]
}
]
}
],
"settings": {
"invite": true,
"consent": "",
"rollingEnrollment": false
},
"information": {
"name": "Skip Study",
"about": "We want to study skip logic",
"importance": "it will skip"
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment