h5p-question-set/schema.json

42 lines
1.1 KiB
JSON

{
"title": {
"name": "Title",
"description": "Question set title (optional)",
"type": "text",
"default": ""
},
"randomOrder": {
"name": "Randomize order",
"description": "Whether questions should be shown in random order",
"type": "boolean",
"default": false
},
"initialQuestion": {
"name": "Initial question",
"description": "Which question to start with. Count from 0",
"type": "integer",
"default": 0
},
"backgroundImage": {
"name": "Background image",
"description": "An optional background image for the Question set.",
"type": "image"
},
"progressType": {
"name": "Progress indicator",
"description": "Question set progress indicator style",
"type": "select",
"values": [{"text": "Textual", "value": "textual"}, {"text": "Dots", "value": "dots"}],
"default": "textual"
},
"questions": {
"name": "Questions",
"description": "List of questions in this set.",
"type": "h5p-library",
"validLibs": ["H5P.MultiChoice"],
"array": true,
"minEntries": 1,
"maxEntries": -1
}
}