2013-01-30 17:58:50 +01:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "title",
|
|
|
|
"type": "text",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Title",
|
|
|
|
"description": "Question set title (optional)",
|
|
|
|
"default": ""
|
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "randomOrder",
|
|
|
|
"type": "boolean",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Randomize order",
|
|
|
|
"description": "Whether questions should be shown in random order",
|
|
|
|
"default": false
|
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "initialQuestion",
|
|
|
|
"type": "number",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Initial question",
|
|
|
|
"description": "Which question to start with. Count from 0",
|
|
|
|
"default": 0
|
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "backgroundImage",
|
|
|
|
"type": "image",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Background image",
|
|
|
|
"description": "An optional background image for the Question set.",
|
|
|
|
"default": ""
|
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "progressType",
|
|
|
|
"type": "select",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Progress indicator",
|
|
|
|
"description": "Question set progress indicator style",
|
2013-01-30 17:58:50 +01:00
|
|
|
"values": [
|
|
|
|
{
|
|
|
|
"text": "Textual",
|
|
|
|
"value": "textual"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Dots",
|
|
|
|
"value": "dots"
|
|
|
|
}
|
|
|
|
],
|
2013-01-27 23:11:17 +01:00
|
|
|
"default": "textual"
|
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "passPercentage",
|
|
|
|
"type": "number",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Pass percentage",
|
|
|
|
"description": "Percentage of total score required for passing the quiz.",
|
2013-01-30 17:58:50 +01:00
|
|
|
"min": 0,
|
|
|
|
"max": 100,
|
2013-01-27 23:11:17 +01:00
|
|
|
"default": 50
|
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "questions",
|
|
|
|
"type": "list",
|
|
|
|
"entity": "question",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "library",
|
|
|
|
"type": "library",
|
|
|
|
"label": "Question library",
|
|
|
|
"description": "Library for this question",
|
|
|
|
"validLibs": [
|
|
|
|
"H5P.MultiChoice"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2013-01-27 23:11:17 +01:00
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "introPage",
|
|
|
|
"type": "group",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Intro page",
|
|
|
|
"description": "Data for the intro page",
|
2013-01-30 17:58:50 +01:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "showIntroPage",
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Show intro page?"
|
2013-01-27 23:11:17 +01:00
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "title",
|
|
|
|
"type": "text",
|
|
|
|
"label": "Title"
|
2013-01-27 23:11:17 +01:00
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "introduction",
|
|
|
|
"type": "text",
|
|
|
|
"label": "Introduction text"
|
2013-01-27 23:11:17 +01:00
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "startButtonText",
|
|
|
|
"type": "text",
|
|
|
|
"label": "Start button text"
|
2013-01-27 23:11:17 +01:00
|
|
|
}
|
2013-01-30 17:58:50 +01:00
|
|
|
]
|
2013-01-27 23:11:17 +01:00
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "texts",
|
|
|
|
"type": "group",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Interface texts in quiz",
|
2013-01-30 17:58:50 +01:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "prevButton",
|
2013-01-27 23:11:17 +01:00
|
|
|
"type": "text",
|
2013-01-30 17:58:50 +01:00
|
|
|
"label": "Back button",
|
2013-01-27 23:11:17 +01:00
|
|
|
"default": "Previous"
|
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "nextButton",
|
2013-01-27 23:11:17 +01:00
|
|
|
"type": "text",
|
2013-01-30 17:58:50 +01:00
|
|
|
"label": "Next button",
|
2013-01-27 23:11:17 +01:00
|
|
|
"default": "Next"
|
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "finishButton",
|
2013-01-27 23:11:17 +01:00
|
|
|
"type": "text",
|
2013-01-30 17:58:50 +01:00
|
|
|
"label": "Finish button",
|
2013-01-27 23:11:17 +01:00
|
|
|
"default": "Finish"
|
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "textualProgress",
|
|
|
|
"type": "text",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Progress text",
|
|
|
|
"description": "Text used if textual progress is selected.",
|
|
|
|
"default": "Question: @current of @total questions"
|
|
|
|
}
|
2013-01-30 17:58:50 +01:00
|
|
|
]
|
2013-01-27 23:11:17 +01:00
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "endGame",
|
|
|
|
"type": "group",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "End game data",
|
2013-01-30 17:58:50 +01:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "showResultPage",
|
2013-01-27 23:11:17 +01:00
|
|
|
"type": "boolean",
|
2013-01-30 17:58:50 +01:00
|
|
|
"label": "Show result page",
|
2013-01-27 23:11:17 +01:00
|
|
|
"default": true
|
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "resultPage",
|
|
|
|
"type": "group",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Result page",
|
|
|
|
"description": "Data and texts for the result page",
|
2013-01-30 17:58:50 +01:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "successGreeting",
|
|
|
|
"type": "text",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Success greeting",
|
2013-01-30 17:58:50 +01:00
|
|
|
"description": "Title in result page on success"
|
2013-01-27 23:11:17 +01:00
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "successComment",
|
|
|
|
"type": "text",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Success comment",
|
2013-01-30 17:58:50 +01:00
|
|
|
"description": "Comment shown after the score"
|
2013-01-27 23:11:17 +01:00
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "failGreeting",
|
|
|
|
"type": "text",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Failed greeting",
|
2013-01-30 17:58:50 +01:00
|
|
|
"description": "Title in result page on failed quiz"
|
2013-01-27 23:11:17 +01:00
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "failComment",
|
|
|
|
"type": "text",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Failed comment",
|
2013-01-30 17:58:50 +01:00
|
|
|
"description": "Comment shown after the score on failed quiz"
|
2013-01-27 23:11:17 +01:00
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "finishButtonText",
|
|
|
|
"type": "text",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Finish button text",
|
2013-01-30 17:58:50 +01:00
|
|
|
"description": "Text for the finish button"
|
2013-01-27 23:11:17 +01:00
|
|
|
}
|
2013-01-30 17:58:50 +01:00
|
|
|
]
|
2013-01-27 23:11:17 +01:00
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "animations",
|
|
|
|
"type": "group",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Animations",
|
2013-01-30 17:58:50 +01:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "showAnimations",
|
2013-01-27 23:11:17 +01:00
|
|
|
"type": "boolean",
|
2013-01-30 17:58:50 +01:00
|
|
|
"label": "Show animations",
|
2013-01-27 23:11:17 +01:00
|
|
|
"default": false
|
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "successVideo",
|
|
|
|
"type": "video",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Success video",
|
2013-01-30 17:58:50 +01:00
|
|
|
"description": "Video displayed on successful quiz"
|
2013-01-27 23:11:17 +01:00
|
|
|
},
|
2013-01-30 17:58:50 +01:00
|
|
|
{
|
|
|
|
"name": "failVideo",
|
|
|
|
"type": "video",
|
2013-01-27 23:11:17 +01:00
|
|
|
"label": "Fail video",
|
2013-01-30 17:58:50 +01:00
|
|
|
"description": "Video displayed on failed quiz"
|
2013-01-27 23:11:17 +01:00
|
|
|
}
|
2013-01-30 17:58:50 +01:00
|
|
|
]
|
2013-01-27 23:11:17 +01:00
|
|
|
}
|
2013-01-30 17:58:50 +01:00
|
|
|
]
|
2013-01-27 23:11:17 +01:00
|
|
|
}
|
2013-01-30 17:58:50 +01:00
|
|
|
]
|