-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproperties.schema
58 lines (58 loc) · 2.17 KB
/
properties.schema
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
{
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"id": "http://jsonschema.net",
"properties": {
"pluginLocations": {
"type": "object",
"properties": {
"course": {
"type": "object",
"properties": {
"_instructionError": {
"type": "object",
"required": false,
"legend": "Instruction Error",
"properties": {
"_isEnabled": {
"type": "boolean",
"required": false,
"title": "Enable Instruction Error",
"inputType": "Checkbox",
"validators": []
},
"_showAsPopup": {
"type": "boolean",
"required": false,
"default": false,
"title": "Show as popup",
"help": "When set to `true`, the instruction error is shown in a notify popup. The default is `false`.",
"inputType": "Checkbox",
"validators": []
},
"title": {
"type": "string",
"required": false,
"default": "Instructions",
"title": "Title",
"inputType": "Text",
"validators": [],
"help": "When using the 'show as popup' option, this is the notify title for the instruction error"
},
"body": {
"type": "string",
"required": false,
"default": "{{#if instruction}}{{{instruction}}}{{else}}Please complete the question and then click Submit.{{/if}}",
"title": "Body",
"inputType": "Text",
"validators": [],
"help": "When using the 'show as popup' option, this is the notify body for the instruction error. Otherwise, this replaces the existing instruction text. Defaults to the question instruction text. If instruction text is not set, a generic message is used."
}
}
}
}
}
}
}
}
}