{"_id":"5a67a36c73eb28003485e614","project":"54ee19c23749bf0d00c76515","version":{"_id":"5a60f64d792a330012d72140","project":"54ee19c23749bf0d00c76515","__v":2,"createdAt":"2018-01-18T19:32:29.915Z","releaseDate":"2018-01-18T19:32:29.915Z","categories":["5a60f64d792a330012d72141","5a60f64d792a330012d72142","5a60f64d792a330012d72143","5a60f64d792a330012d72144","5a60f64d792a330012d72145","5a60f64d792a330012d72146","5a60f64d792a330012d72147","5a660cc7dc0f1c001c2b5568"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3"},"category":{"_id":"5a660cc7dc0f1c001c2b5568","project":"54ee19c23749bf0d00c76515","version":"5a60f64d792a330012d72140","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2018-01-22T16:09:43.634Z","from_sync":false,"order":1,"slug":"object-models","title":"Object Models"},"user":"575f003663430e0e008a8704","githubsync":"","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-01-23T21:04:44.106Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"_id\\\": String,\\n  \\\"name\\\": String,\\n  \\\"questions\\\": [\\n    {\\n      \\\"text\\\": String,\\n      \\\"type\\\": {\\n        \\\"id\\\": String,\\n        \\\"name\\\": String\\n      },\\n      \\\"required\\\": Boolean,\\n      \\\"_id\\\": String,\\n      \\\"response\\\": String, //if type is a single answer question \\n      \\\"responses\\\": Object //if type is a multiple answer question\\n    }\\n  ],\\n  \\\"message_template\\\": {\\n    \\\"type\\\": String,\\n    \\\"body\\\": String\\n  },\\n  \\\"options\\\": {\\n    \\\"move_to\\\": Object\\n  },\\n  \\\"acting_user\\\": { User },\\n  \\\"questionnaire_id\\\": { Questionnaire._id },\\n  \\\"creation_date\\\": Date,\\n  \\\"updated_date\\\": Date,\\n  \\\"status\\\": \\\"sent | completed\\\"\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"model-candidate-questionnaire","type":"basic","title":"Candidate Questionnaire"}

Candidate Questionnaire


[block:code] { "codes": [ { "code": "{\n \"_id\": String,\n \"name\": String,\n \"questions\": [\n {\n \"text\": String,\n \"type\": {\n \"id\": String,\n \"name\": String\n },\n \"required\": Boolean,\n \"_id\": String,\n \"response\": String, //if type is a single answer question \n \"responses\": Object //if type is a multiple answer question\n }\n ],\n \"message_template\": {\n \"type\": String,\n \"body\": String\n },\n \"options\": {\n \"move_to\": Object\n },\n \"acting_user\": { User },\n \"questionnaire_id\": { Questionnaire._id },\n \"creation_date\": Date,\n \"updated_date\": Date,\n \"status\": \"sent | completed\"\n}", "language": "json" } ] } [/block]