|
| 1 | +{ |
| 2 | + "id": 1, |
| 3 | + "applicationId": 2, |
| 4 | + "status": "notStarted | inProgress | completed", |
| 5 | + "stakeholders": [1, 2, 3], |
| 6 | + "stakeholderGroups": [1, 2], |
| 7 | + "questionnaire": { |
| 8 | + "title": "Questionnaire #1", |
| 9 | + "description": "This questionnaire is for...", |
| 10 | + "language": "en", |
| 11 | + "sections": [ |
| 12 | + { |
| 13 | + "id": 1, |
| 14 | + "order": 0, |
| 15 | + "title": "General questions", |
| 16 | + "comments": "It was hard to answer these questions, I hope I did it well", |
| 17 | + "questions": [ |
| 18 | + { |
| 19 | + "id": 1, |
| 20 | + "order": 0, |
| 21 | + "question": "What's you favorite movie?", |
| 22 | + "description": "This represents a multiple option choice", |
| 23 | + "variant": "checkbox", |
| 24 | + "options": [ |
| 25 | + { |
| 26 | + "id": 1, |
| 27 | + "order": 0, |
| 28 | + "option": "Titanic", |
| 29 | + "checked": true |
| 30 | + }, |
| 31 | + { |
| 32 | + "id": 2, |
| 33 | + "order": 1, |
| 34 | + "option": "Start war", |
| 35 | + "checked": false |
| 36 | + }, |
| 37 | + { |
| 38 | + "id": 3, |
| 39 | + "order": 2, |
| 40 | + "option": "Dr. Strange", |
| 41 | + "checked": true |
| 42 | + } |
| 43 | + ] |
| 44 | + }, |
| 45 | + { |
| 46 | + "id": 2, |
| 47 | + "order": 1, |
| 48 | + "question": "How old are you?", |
| 49 | + "description": "This represents a single option choice", |
| 50 | + "type": "radioButton", |
| 51 | + "options": [ |
| 52 | + { |
| 53 | + "id": 4, |
| 54 | + "order": 0, |
| 55 | + "option": "I'm younger than 30", |
| 56 | + "checked": true |
| 57 | + }, |
| 58 | + { |
| 59 | + "id": 5, |
| 60 | + "order": 1, |
| 61 | + "option": "I'm older than 30", |
| 62 | + "checked": false |
| 63 | + }, |
| 64 | + { |
| 65 | + "id": 6, |
| 66 | + "order": 2, |
| 67 | + "option": "I'm too old to tell you", |
| 68 | + "checked": false |
| 69 | + } |
| 70 | + ] |
| 71 | + }, |
| 72 | + { |
| 73 | + "id": 3, |
| 74 | + "order": 0, |
| 75 | + "question": "What is your name?", |
| 76 | + "description": "This represents an inputText", |
| 77 | + "type": "inputText", |
| 78 | + "textValue": "Gabriel García Márquez" |
| 79 | + } |
| 80 | + ] |
| 81 | + } |
| 82 | + ] |
| 83 | + } |
| 84 | +} |
0 commit comments