-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathsemantics.json
63 lines (63 loc) · 1.3 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
[
{
"label": "Task description",
"importance": "medium",
"name": "taskDescription",
"type": "text",
"widget": "html",
"description": "Describe how the user should solve the task.",
"enterMode": "p",
"tags": [
"strong",
"em",
"u",
"a",
"ul",
"ol",
"h2",
"h3",
"hr",
"pre",
"code"
],
"optional": true
},
{
"name": "media",
"type": "group",
"label": "Media",
"importance": "medium",
"fields": [
{
"name": "type",
"type": "library",
"label": "Type",
"importance": "medium",
"options": [
"H5P.Image 1.1",
"H5P.Video 1.6"
],
"optional": true,
"description": "Optional media to display above the question."
}
]
},
{
"label": "Descriptive solution label",
"importance": "low",
"name": "solutionLabel",
"type": "text",
"widget": "textarea",
"default": "Click to see the answer.",
"description": "Clickable text area where the solution will be displayed.",
"optional": true
},
{
"label": "Solution text",
"importance": "high",
"name": "solutionText",
"type": "text",
"widget": "textarea",
"description": "The solution for the picture."
}
]