-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquestionnaire.json
82 lines (82 loc) · 2.24 KB
/
questionnaire.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"data": {
"questionnaire": {
"questionnaire_id": 1,
"questions": [
{
"question_id": 1,
"type": 1,
"title": "Numeric slider",
"description": "This is an obligatory slider, with a minimum value of 30, default value of 120 and a maximum value of 220.",
"obligatory": true,
"min_value": 30,
"default_value": 120,
"max_value": 220
},
{
"question_id": 2,
"type": 3,
"title": "Single choice",
"description": "This is a single choice question that is obligatory and has a default value (option 2).",
"obligatory": true,
"options": [
{
"option_id": 1,
"description": "Yes"
},
{
"option_id": 2,
"description": "No"
}
],
"default_option": 2
},
{
"question_id": 3,
"type": 5,
"title": "Numeric input",
"description": "This is a numeric input that is obligatory, has a minimum value of 1, maximum value of 999999, a placeholder of 123, and a default value of 999.",
"obligatory": true,
"min_value": 1,
"default_value": 999,
"max_value": 999999,
"placeholder": 123
},
{
"question_id": 4,
"type": 4,
"title": "Multiple choice",
"description": "This is a multiple choice question, that is not obligatory, and has no default options.",
"obligatory": false,
"options": [
{
"option_id": 6,
"description": "First"
},
{
"option_id": 7,
"description": "Second"
},
{
"option_id": 8,
"description": "Third"
},
{
"option_id": 9,
"description": "Fourth"
},
{
"option_id": 10,
"description": "Fifth"
},
{
"option_id": 11,
"description": "Sixth"
}
],
"default_options": []
}
]
}
}
}