-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathproperties.schema
92 lines (92 loc) · 2.77 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
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
{
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"id": "http://jsonschema.net",
"required": false,
"globals": {},
"properties": {
"pluginLocations": {
"type": "object",
"required": true,
"properties": {
"config": {
"type": "object"
},
"contentobject": {
"type": "object"
},
"article": {
"type": "object",
"properties": {
"_blockBranching": {
"type": "object",
"required": false,
"legend": "Block branching",
"properties": {
"_isEnabled": {
"type": "boolean",
"default": false,
"title": "Enable Block Branching",
"inputType": "Checkbox"
},
"_resetOnRevisit": {
"type": "boolean",
"default": false,
"title": "Reset scenario on revisit",
"inputType": "Checkbox",
"help": "Reset the scenario if the learner leaves and then returns to the page"
}
}
}
}
},
"block": {
"type": "object",
"properties": {
"_blockBranching": {
"type": "object",
"required": false,
"legend": "Block branching",
"properties": {
"_isEnabled": {
"type": "boolean",
"default": false,
"title": "Enable Block Branching",
"inputType": "Checkbox"
},
"_scenarioId": {
"type": "string",
"default": "",
"require": true,
"title": "Scenario ID",
"help": "An ID assigned to this block so that it can be revealed by another block",
"inputType": "Text",
"help": "help"
},
"_userAnswer": {
"type": "array",
"required": true,
"title": "Answers",
"items": {
"type": "string",
"default": "",
"require": true,
"title": "Scenario ID",
"help": "These options should align with the answers in the question component inside this block. Whichever option is selected that scenario ID is revealed next",
"inputType": "Text"
}
}
}
}
}
},
"component": {
"type": "object"
},
"course": {
"type": "object"
}
}
}
}
}