From 6343b0d54689ae5d4d2bcefb8c14c4313832c09c Mon Sep 17 00:00:00 2001 From: joe-allen-89 <85872286+joe-allen-89@users.noreply.github.com> Date: Tue, 21 Mar 2023 16:10:29 +0000 Subject: [PATCH] Fix: _globals schema nesting (#102) --- schema/course.schema.json | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/schema/course.schema.json b/schema/course.schema.json index 3b75e81..bf30279 100644 --- a/schema/course.schema.json +++ b/schema/course.schema.json @@ -12,24 +12,31 @@ "type": "object", "default": {}, "properties": { - "_resources": { + "_extensions": { "type": "object", "default": {}, "properties": { - "ariaRegion": { - "type": "string", - "title": "Resources: ARIA region", - "default": "", - "_adapt": { - "translatable": true - } - }, - "resources": { - "type": "string", + "_resources": { + "type": "object", "title": "Resources", - "default": "Additional resources.", - "_adapt": { - "translatable": true + "default": {}, + "properties": { + "ariaRegion": { + "type": "string", + "title": "Resources: ARIA region", + "default": "", + "_adapt": { + "translatable": true + } + }, + "resources": { + "type": "string", + "title": "Resources", + "default": "Additional resources.", + "_adapt": { + "translatable": true + } + } } } }