-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsemantics.json
executable file
·119 lines (119 loc) · 3.13 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[
{
"label": "Task Description",
"name": "taskDescription",
"type": "text",
"default": "Drag images from the left to match them with corresponding images on the right",
"description": "A guide telling the user how to solve this task.",
"importance": "high"
},
{
"name": "cards",
"type": "list",
"widgets": [
{
"name": "VerticalTabs",
"label": "Default"
}
],
"label": "Cards",
"importance": "high",
"entity": "card",
"min": 2,
"max": 100,
"field": {
"type": "group",
"name": "card",
"label": "Card",
"importance": "high",
"fields": [
{
"name": "image",
"type": "image",
"label": "Image",
"importance": "high",
"ratio": 1
},
{
"name": "imageAlt",
"type": "text",
"label": "Alternative text for Image",
"importance": "high",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"name": "match",
"type": "image",
"label": "Matching Image",
"importance": "low",
"optional": true,
"description": "An optional image to match against instead of using two cards with the same image.",
"ratio": 1
},
{
"name": "matchAlt",
"type": "text",
"label": "Alternative text for Matching Image",
"importance": "low",
"optional": true,
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
}
]
}
},
{
"name": "behaviour",
"type": "group",
"label": "Behavioural settings",
"importance": "low",
"description": "These options will let you control how the game behaves.",
"optional": true,
"fields": [
{
"name": "allowRetry",
"type": "boolean",
"label": "Add button for retrying when the game is over",
"importance": "low",
"default": true
}
]
},
{
"label": "Localization",
"importance": "low",
"name": "l10n",
"type": "group",
"common": true,
"fields": [
{
"label": "Text for \"Check\" button",
"importance": "low",
"name": "checkAnswer",
"type": "text",
"default": "Check"
},
{
"label": "Text for \"Retry\" button",
"importance": "low",
"name": "tryAgain",
"type": "text",
"default": "Retry"
},
{
"label": "Text for \"ShowSolution\" button",
"importance": "low",
"name": "showSolution",
"type": "text",
"default": "Show Solution"
},
{
"label": "Feedback text",
"importance": "low",
"name": "score",
"type": "text",
"default": "You got @score of @total points",
"description": "Feedback text, variables available: @score and @total. Example: 'You got @score of @total possible points'"
}
]
}
]