2013-01-08 13:04:15 +01:00
|
|
|
{
|
|
|
|
"title": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Title",
|
2013-01-08 13:04:15 +01:00
|
|
|
"description": "Question set title (optional)",
|
|
|
|
"type": "text",
|
|
|
|
"default": ""
|
|
|
|
},
|
|
|
|
"randomOrder": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Randomize order",
|
2013-01-08 13:04:15 +01:00
|
|
|
"description": "Whether questions should be shown in random order",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"initialQuestion": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Initial question",
|
2013-01-08 13:04:15 +01:00
|
|
|
"description": "Which question to start with. Count from 0",
|
|
|
|
"type": "integer",
|
|
|
|
"default": 0
|
|
|
|
},
|
2013-01-09 16:26:52 +01:00
|
|
|
"backgroundImage": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Background image",
|
2013-01-09 16:26:52 +01:00
|
|
|
"description": "An optional background image for the Question set.",
|
2013-01-13 09:43:55 +01:00
|
|
|
"type": "image",
|
|
|
|
"default": ""
|
2013-01-09 16:26:52 +01:00
|
|
|
},
|
2013-01-08 13:04:15 +01:00
|
|
|
"progressType": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Progress indicator",
|
2013-01-08 13:04:15 +01:00
|
|
|
"description": "Question set progress indicator style",
|
|
|
|
"type": "select",
|
|
|
|
"values": [{"text": "Textual", "value": "textual"}, {"text": "Dots", "value": "dots"}],
|
|
|
|
"default": "textual"
|
2013-01-09 16:26:52 +01:00
|
|
|
},
|
2013-01-13 09:43:55 +01:00
|
|
|
"passPercentage": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Pass percentage",
|
2013-01-13 09:43:55 +01:00
|
|
|
"description": "Percentage of total score required for passing the quiz.",
|
|
|
|
"type": "integer",
|
|
|
|
"minValue": 0,
|
|
|
|
"maxValue": 100,
|
|
|
|
"default": 50
|
|
|
|
},
|
2013-01-08 13:04:15 +01:00
|
|
|
"questions": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Questions",
|
2013-01-08 13:04:15 +01:00
|
|
|
"description": "List of questions in this set.",
|
|
|
|
"type": "h5p-library",
|
2013-01-13 09:43:55 +01:00
|
|
|
"validLibs": ["H5P.MultiChoice", "H5P.DragTextMatch", "H5PDragImageIntoPosition"],
|
2013-01-08 13:04:15 +01:00
|
|
|
"array": true,
|
|
|
|
"minEntries": 1,
|
|
|
|
"maxEntries": -1
|
2013-01-13 09:43:55 +01:00
|
|
|
},
|
|
|
|
"introPage": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Intro page",
|
2013-01-13 09:43:55 +01:00
|
|
|
"description": "Data for the intro page",
|
|
|
|
"type": "combined",
|
|
|
|
"fields": {
|
|
|
|
"showIntroPage": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Show intro page?",
|
2013-01-13 09:43:55 +01:00
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"title": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Title",
|
2013-01-13 09:43:55 +01:00
|
|
|
"type": "text"
|
|
|
|
},
|
|
|
|
"introduction": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Introduction text",
|
2013-01-13 09:43:55 +01:00
|
|
|
"type": "text"
|
|
|
|
},
|
|
|
|
"startButtonText": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Start button text",
|
2013-01-13 09:43:55 +01:00
|
|
|
"type": "text"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"texts": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Interface texts in quiz",
|
2013-01-13 09:43:55 +01:00
|
|
|
"type": "combined"
|
|
|
|
"fields": {
|
|
|
|
"prevButton": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Back button",
|
2013-01-13 09:43:55 +01:00
|
|
|
"type": "text",
|
|
|
|
"default": "Previous"
|
|
|
|
},
|
|
|
|
"nextButton": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Next button",
|
2013-01-13 09:43:55 +01:00
|
|
|
"type": "text",
|
|
|
|
"default": "Next"
|
|
|
|
},
|
|
|
|
"finishButton": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Finish button",
|
2013-01-13 09:43:55 +01:00
|
|
|
"type": "text",
|
|
|
|
"default": "Finish"
|
|
|
|
},
|
|
|
|
"textualProgress": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Progress text",
|
2013-01-13 09:43:55 +01:00
|
|
|
"description": "Text used if textual progress is selected.",
|
|
|
|
"type": "text",
|
|
|
|
"default": "Question: @current of @total questions"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"endGame": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "End game data",
|
2013-01-13 09:43:55 +01:00
|
|
|
"type": "combined",
|
|
|
|
"fields" {
|
|
|
|
"showResultPage": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Show result page",
|
2013-01-13 09:43:55 +01:00
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"resultPage": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Result page",
|
2013-01-13 09:43:55 +01:00
|
|
|
"description": "Data and texts for the result page",
|
|
|
|
"type": "combined",
|
|
|
|
"fields": {
|
|
|
|
"successGreeting": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Success greeting",
|
2013-01-13 09:43:55 +01:00
|
|
|
"description": "Title in result page on success",
|
|
|
|
"type": "text"
|
|
|
|
},
|
|
|
|
"successComment": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Success comment",
|
2013-01-13 09:43:55 +01:00
|
|
|
"description": "Comment shown after the score",
|
|
|
|
"type": "text"
|
|
|
|
},
|
|
|
|
"failGreeting": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Failed greeting",
|
2013-01-13 09:43:55 +01:00
|
|
|
"description": "Title in result page on failed quiz",
|
|
|
|
"type": "text"
|
|
|
|
},
|
|
|
|
"failComment": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Failed comment",
|
2013-01-13 09:43:55 +01:00
|
|
|
"description": "Comment shown after the score on failed quiz",
|
|
|
|
"type": "text"
|
|
|
|
},
|
|
|
|
"finishButtonText": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Finish button text",
|
2013-01-13 09:43:55 +01:00
|
|
|
"description": "Text for the finish button",
|
|
|
|
"type": "text"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"animations": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Animations",
|
2013-01-13 09:43:55 +01:00
|
|
|
"type": "combined"
|
|
|
|
"fields": {
|
|
|
|
"showAnimations": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Show animations",
|
2013-01-13 09:43:55 +01:00
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
}
|
|
|
|
"successResultAnimation": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Result animation for success",
|
2013-01-13 09:43:55 +01:00
|
|
|
"description": "Add animation for successful completion of the quiz",
|
|
|
|
"optional": true,
|
|
|
|
"type": "h5p-library",
|
|
|
|
"validLibs": ["H5P.Animation", "H5P.Video", "H5P.Image"]
|
|
|
|
},
|
|
|
|
"failedResultAnimation": {
|
2013-01-14 19:05:02 +01:00
|
|
|
"label": "Result animation for failed quiz",
|
2013-01-13 09:43:55 +01:00
|
|
|
"description": "Add animation for failed completion of the quiz",
|
|
|
|
"optional": true,
|
|
|
|
"type": "h5p-library",
|
|
|
|
"validLibs": ["H5P.Animation", "H5P.Video", "H5P.Image"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-01-08 13:04:15 +01:00
|
|
|
}
|
|
|
|
}
|