Hi,
My company currently makes their courses in four versions, each version has different blocks but are otherwise idential
I'm trying to make a Custom Extension that allows me to keep these four versions as a single course.
I'm currently stuck on the properties.schema, as I have very little experience in JSON.
the project settings menu appears and works as expected, but the block level options aren't appearing at all.
is there anything obvious I'm missing?
thanks,
{
"type":"object",
"$schema":"http://json-schema.org/draft-03/schema",
"id":"http://jsonschema.net",
"globals":{
"courseType":{
"type":"string",
"default":"Select here to close the window.",
"title":"Microlearn CourseType",
"inputType":"Text",
"translatable":true
}
},
"properties":{
"pluginLocations":{
"type":"object",
"properties":{
"course":{
"type":"object",
"properties":{
"_courseType":{
"type":"object",
"legend":"Microlearn CourseType",
"properties":{
"_CourseType":{
"type":"string",
"required":true,
"default":"module",
"title":"Enabled?",
"inputType":{
"type":"Select",
"options":[
"module",
"module-resource",
"video",
"video-plus"
]
},
"validators":[
],
"help":"What Kind of Course is this?"
}
}
}
}
},
"contentobject":{
"type":"object"
},
"article":{
"type":"object"
},
"block":{
"type":"object",
"properties":{
"_MicroLearnCourseType":{
"type":"object",
"required":false,
"legend":"Microlearn CourseTypes",
"properties":{
"_courseType":{
"type":"object",
"required":false,
"title":"What course types will this appear on?",
"properties":{
"_isModule":{
"type":"boolean",
"required":false,
"default":true,
"title":"Module",
"inputType":"Checkbox",
"validators":[
]
},
"_isModuleResource":{
"type":"boolean",
"required":false,
"default":true,
"title":"Module Resource",
"inputType":"Checkbox",
"validators":[
]
},
"_isVideo":{
"type":"boolean",
"required":false,
"default":true,
"title":"Video",
"inputType":"Checkbox",
"validators":[
]
},
"_isVideoPlus":{
"type":"boolean",
"required":false,
"default":true,
"title":"Video Plus",
"inputType":"Checkbox",
"validators":[
]
}
}
}
}
}
}
},
"component":{
"type":"object"
}
}
}
}
}