forked from taylortom/adapt-includeResources
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproperties.schema
More file actions
executable file
·85 lines (85 loc) · 2.67 KB
/
properties.schema
File metadata and controls
executable file
·85 lines (85 loc) · 2.67 KB
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
{
"type":"object",
"$schema": "http://json-schema.org/draft-04/schema",
"id": "http://jsonschema.net",
"required":false,
"properties":{
"pluginLocations": {
"type":"object",
"required":true,
"properties":{
"config": {
"type":"object"
},
"course": {
"type":"object",
"properties":{
"_includeResources": {
"type": "object",
"required": false,
"legend": "Include Resources",
"properties": {
"_replaceLinks": {
"type": "boolean",
"required":true,
"default": true,
"title": "Auto link replace enabled",
"inputType": {"type": "Boolean", "options": [true, false]},
"validators": [],
"help": "If set to 'true', resource ids in components body will be replaced with resource path"
},
"_logMismatches": {
"type": "boolean",
"required":true,
"default": false,
"title": "Log mismatches",
"inputType": {"type": "Boolean", "options": [true, false]},
"validators": [],
"help": "If set to 'true', any links found that do not exist in the included resources are output to console.log"
},
"_items": {
"type":"array",
"required":true,
"title": "Resource Items",
"items": {
"type":"object",
"required":true,
"properties":{
"resource": {
"title": "Resource",
"type": "string",
"required": true,
"inputType": "Asset:other",
"validators": ["required"]
},
"id": {
"title": "ID",
"type": "string",
"required": true,
"inputType": "Text",
"help": "Used to reference the resource in the course",
"validators": ["required"]
}
}
}
}
}
}
}
},
"contentobject": {
"type":"object"
},
"article": {
"type":"object"
},
"block": {
"type":"object"
},
"component": {
"type":"object"
}
}
}
}
}