-
Notifications
You must be signed in to change notification settings - Fork 19
/
example.json
113 lines (111 loc) · 4.31 KB
/
example.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
// To go in the course.json file
"_resources": {
"_isEnabled": true,
"_drawerOrder": 1,
"title": "Resources",
"description": "Select here to view resources for this course",
"displayTitle": "",
"body": "",
"instruction": "",
"_enableFilters": true,
"_filterButtons": {
"all": "All",
"document": "PDF",
"media": "Media",
"link": "Link",
"custom1": "Custom type 1",
"custom2": "Custom type 2",
"custom3": "Custom type 3",
"custom4": "Custom type 4",
"custom5": "Custom type 5",
"custom6": "Custom type 6",
"custom7": "Custom type 7",
"custom8": "Custom type 8",
"custom9": "Custom type 9",
"custom10": "Custom type 10"
},
"_comment": "_filterAria is to provide accessibility support for assistive technologies",
"_filterAria": {
"allAria": "View all resources",
"documentAria": "View document resources",
"mediaAria": "View media resources",
"linkAria": "View resource links",
"custom1Aria": "View custom type 1 links",
"custom2Aria": "View custom type 2 links",
"custom3Aria": "View custom type 3 links",
"custom4Aria": "View custom type 4 links",
"custom5Aria": "View custom type 5 links",
"custom6Aria": "View custom type 6 links",
"custom7Aria": "View custom type 7 links",
"custom8Aria": "View custom type 8 links",
"custom9Aria": "View custom type 9 links",
"custom10Aria": "View custom type 10 links"
},
"_resourcesItems": [
{
"_type": "document",
"title": "Button idea",
"description": "Select here to see a proposed button idea",
"_link": "course/en/pdf/adapt-framework-prototypes-buttons.pdf",
"filename": "Buttons.pdf",
"_forceDownload": true
},
{
"_type": "media",
"title": "Adapt Learning YouTube Channel",
"description": "Fancy catching up on some Adapt material",
"_link": "https://www.youtube.com/channel/UCW8SlSFuCc--B66Gf9fAEcQ"
},
{
"_type": "link",
"title": "Community Site",
"description": "Select here to view our community site",
"_link": "https://community.adaptlearning.org"
},
{
"_type": "custom1",
"title": "GitHub",
"description": "Select here to view the Adapt respository on GitHub",
"_link": "https://github.com/adaptlearning"
}
]
}
// To go in the contentObjects.json file
"_resources": {
"_isEnabled": true,
"_resourcesItems": [
{
"_type": "document",
"title": "Button idea",
"description": "Select here to see a proposed button idea",
"_link": "course/en/pdf/adapt-framework-prototypes-buttons.pdf",
"filename": "Buttons.pdf",
"_forceDownload": true
},
{
"_type": "media",
"title": "Adapt Learning YouTube Channel",
"description": "Fancy catching up on some Adapt material",
"_link": "https://www.youtube.com/channel/UCW8SlSFuCc--B66Gf9fAEcQ"
},
{
"_type": "link",
"title": "Community Site",
"description": "Select here to view our community site",
"_link": "https://community.adaptlearning.org"
},
{
"_type": "custom1",
"title": "GitHub",
"description": "Select here to view the Adapt respository on GitHub",
"_link": "https://github.com/adaptlearning"
}
]
}
// Accessibility supported courses require ARIA instruction
// apply to _globals in course.json
// --------------------------------------------------
"_resources": {
"ariaRegion": "",
"resources": "Resources"
}