forked from h5p/h5p-simple-multiple-choice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsemantics.json
89 lines (89 loc) · 2.12 KB
/
semantics.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
83
84
85
86
87
88
89
[
{
"name": "question",
"label": "Question",
"importance": "high",
"type": "text"
},
{
"name": "inputType",
"label": "Multiple choice type",
"importance": "high",
"type": "select",
"options": [
{
"label": "Multiple answers",
"value": "checkbox"
},
{
"label": "Single answer",
"value": "radio"
}
],
"default": "checkbox"
},
{
"name": "alternatives",
"label": "Answer alternatives",
"type": "list",
"importance": "high",
"entity": "Alternative",
"min": 2,
"field": {
"type": "group",
"name": "alternative",
"label": "Alternative",
"fields": [
{
"name": "text",
"label": "Text",
"importance": "high",
"type": "text"
},
{
"name": "feedback",
"type": "group",
"label": "Feedback",
"importance": "low",
"optional": true,
"fields": [
{
"name": "chosenFeedback",
"type": "text",
"widget": "html",
"label": "Message displayed if answer is selected",
"importance": "low",
"description": "Message will appear below the answer on \"continue\" if this answer is selected.",
"optional": true,
"tags": [
"strong",
"em",
"sub",
"sup",
"a",
"code"
]
},
{
"name": "notChosenFeedback",
"type": "text",
"widget": "html",
"label": "Message displayed if answer is not selected",
"importance": "low",
"description": "Message will appear below the answer on \"continue\" if this answer is not selected.",
"optional": true,
"tags": [
"strong",
"em",
"sub",
"sup",
"a",
"code"
]
}
]
}
]
}
}
]