Skip to content

Commit

Permalink
Fix: _globals schema nesting (adaptlearning#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-allen-89 authored Mar 21, 2023
1 parent a309039 commit 960acc5
Showing 1 changed file with 30 additions and 23 deletions.
53 changes: 30 additions & 23 deletions schema/course.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,39 @@
"type": "object",
"default": {},
"properties": {
"_slider": {
"_components": {
"type": "object",
"default": {},
"properties": {
"ariaRegion": {
"type": "string",
"title": "ARIA region",
"default": "Slider. Respond to the question by selecting a value on the scale and then submit.",
"_adapt": {
"translatable": true
}
},
"labelStart": {
"type": "string",
"title": "Scale start ARIA label",
"default": "Start of the scale",
"_adapt": {
"translatable": true
}
},
"labelEnd": {
"type": "string",
"title": "Scale end ARIA label",
"default": "End of the scale",
"_adapt": {
"translatable": true
"_slider": {
"type": "object",
"title": "Slider",
"default": {},
"properties": {
"ariaRegion": {
"type": "string",
"title": "ARIA region",
"default": "Slider. Respond to the question by selecting a value on the scale and then submit.",
"_adapt": {
"translatable": true
}
},
"labelStart": {
"type": "string",
"title": "Scale start ARIA label",
"default": "Start of the scale",
"_adapt": {
"translatable": true
}
},
"labelEnd": {
"type": "string",
"title": "Scale end ARIA label",
"default": "End of the scale",
"_adapt": {
"translatable": true
}
}
}
}
}
Expand Down

0 comments on commit 960acc5

Please sign in to comment.