{
"_id": String,
"name": String,
"questions": [ // for v1 questionnaires
{
"text": String,
"type": {
"id": String,
"name": String
},
"required": Boolean,
"_id": String,
"response": String, //if type is a single answer question
"responses": Object //if type is a multiple answer question
}
],
"sections": [ // for v2 questionnaires
{
"questions": [
{
"text": String,
"type": {
"id": String,
"name": String
},
"required": Boolean,
"_id": String,
"response": String, //if type is a single answer question
"responses": Object //if type is a multiple answer question
}
]
}
],
"message_template": {
"type": String,
"body": String
},
"options": {
"move_to": Object
},
"acting_user": { User },
"questionnaire_id": { Questionnaire._id },
"creation_date": Date,
"updated_date": Date,
"status": "sent | completed"
}