h5p-question-set/semantics.json

371 lines
9.4 KiB
JSON
Raw Normal View History

2013-04-04 15:44:06 +02:00
[
{
"name": "introPage",
"type": "group",
"label": "Quiz introduction",
2013-04-04 15:44:06 +02:00
"fields": [
{
"name": "showIntroPage",
"type": "boolean",
"label": "Display introduction"
2013-04-04 15:44:06 +02:00
},
{
"name": "title",
"type": "text",
"label": "Title",
"optional": true,
"description": "This title will be displayed above the introduction text.",
"tags": [
"sub",
"sup",
"strong",
"em"
]
2013-04-04 15:44:06 +02:00
},
{
"name": "introduction",
"type": "text",
"widget": "html",
"label": "Introduction text",
"optional": true,
"description": "This text will be displayed before the quiz starts.",
"enterMode": "p",
"tags": [
"sub",
"sup",
"strong",
"em",
"p"
]
2013-04-04 15:44:06 +02:00
},
{
"name": "startButtonText",
"type": "text",
"label": "Start button text",
"optional": true,
"default": "Start Quiz"
},
{
"name": "backgroundImage",
"type": "image",
"label": "Background image",
"optional": true,
"description": "An optional background image for the introduction."
2013-04-04 15:44:06 +02:00
}
]
},
2014-10-08 14:53:43 +02:00
{
"name": "backgroundImage",
"type": "image",
"label": "Background image",
"optional": true,
"description": "An optional background image for the Question set."
},
{
"name": "progressType",
"type": "select",
"label": "Progress indicator",
"description": "Question set progress indicator style.",
"options": [
{
"value": "textual",
"label": "Textual"
},
{
"value": "dots",
"label": "Dots"
}
],
"default": "dots"
},
{
"name": "passPercentage",
"type": "number",
"label": "Pass percentage",
"description": "Percentage of Total score required for passing the quiz.",
"min": 0,
"max": 100,
"step": 1,
"default": 50
},
{
"name": "questions",
"label": "Questions",
"type": "list",
2014-12-03 13:02:31 +01:00
"widgets": [
{
"name": "VerticalTabs",
"label": "Default"
},
{
"name": "QuestionSetTextualEditor",
"label": "Textual"
}
],
2014-10-08 14:53:43 +02:00
"min": 1,
"entity": "question",
"field": {
"name": "question",
"type": "library",
"label": "Question type",
"description": "Library for this question.",
"options": [
2016-05-27 13:13:33 +02:00
"H5P.MultiChoice 1.7",
2016-06-06 11:32:46 +02:00
"H5P.DragQuestion 1.6",
2016-05-27 13:13:33 +02:00
"H5P.Blanks 1.6",
"H5P.MarkTheWords 1.6",
"H5P.DragText 1.5"
2014-10-08 14:53:43 +02:00
]
}
},
2013-04-04 15:44:06 +02:00
{
"name": "texts",
"type": "group",
"label": "Interface texts in quiz",
"common": true,
"fields": [
{
"name": "prevButton",
"type": "text",
"label": "Back button",
2016-04-08 16:07:24 +02:00
"default": "Previous question"
2013-04-04 15:44:06 +02:00
},
{
"name": "nextButton",
"type": "text",
"label": "Next button",
2016-04-08 16:07:24 +02:00
"default": "Next question"
2013-04-04 15:44:06 +02:00
},
{
"name": "finishButton",
"type": "text",
"label": "Finish button",
"default": "Finish"
},
{
"name": "textualProgress",
"type": "text",
"label": "Progress text",
"description": "Text used if textual progress is selected.",
"default": "Question: @current of @total questions",
"tags": [
"strong",
"em"
]
},
{
"name": "jumpToQuestion",
"type": "text",
"label": "Label for jumping to a certain question",
"description": "You must use the placeholder '%d' instead of the question number.",
"default": "Jump to question %d"
},
{
"name": "questionLabel",
"type": "text",
"label": "Copyright dialog question label",
"default": "Question"
},
{
"name": "readSpeakerProgress",
"type": "text",
"label": "Readspeaker progress",
"description": "May use @current and @total question variables",
"default": "Question @current of @total"
2013-04-04 15:44:06 +02:00
}
]
},
{
"name": "endGame",
"type": "group",
"label": "Quiz finished",
2013-04-04 15:44:06 +02:00
"fields": [
{
"name": "showResultPage",
"type": "boolean",
"label": "Display results",
2013-04-04 15:44:06 +02:00
"default": true
},
{
"name": "noResultMessage",
"type": "text",
"label": "No results message",
"description": "Text displayed on end page when \"Display results\" is disabled",
"default": "Finished",
"optional": true
},
{
"name": "message",
"type": "text",
"label": "Feedback heading",
"default": "Your result:",
"optional": true,
"description": "This heading will be displayed at the end of the quiz when the user has answered all questions.",
"tags": [
"strong",
"em"
]
},
{
"name": "scoreString",
"type": "text",
"label": "Score display text",
2014-04-14 13:32:54 +02:00
"description": "Text used to display Total user score. \"@score\" will be replaced by calculated score, \"@total\" will be replaced by maximum possible score. ",
"default": "You got @score of @total points",
"optional": true
},
2013-04-04 15:44:06 +02:00
{
"name": "successGreeting",
"type": "text",
"label": "Quiz passed greeting",
"placeholder": "Congratulations!",
"default": "Congratulations!",
2013-05-12 00:08:05 +02:00
"optional": true,
"description": "This text will be displayed above the score if the user has successfully passed the quiz.",
"tags": [
"strong",
"em"
]
},
{
"name": "successComment",
"type": "text",
2013-07-09 15:51:27 +02:00
"widget": "html",
"label": "Passed comment",
"default": "You did very well!",
2013-05-12 00:08:05 +02:00
"optional": true,
"description": "This comment will be displayed after the score if the user has successfully passed the quiz.",
"tags": [
"sub",
"sup",
"strong",
"em",
"a",
"p"
]
},
{
"name": "failGreeting",
"type": "text",
"label": "Quiz failed title",
2014-04-14 13:32:54 +02:00
"default": "You did not pass this time.",
2013-05-12 00:08:05 +02:00
"optional": true,
"description": "This text will be displayed above the score if the user has failed the quiz.",
"tags": [
"strong",
"em"
]
},
{
"name": "failComment",
"type": "text",
2013-07-09 15:51:27 +02:00
"widget": "html",
"label": "Failed comment",
2014-04-14 13:32:54 +02:00
"default": "Have another try!",
2013-05-12 00:08:05 +02:00
"optional": true,
"description": "This comment will be displayed after the score if the user has failed the quiz.",
"tags": [
"sub",
"sup",
"strong",
"em",
"a",
"p"
]
},
{
"name": "solutionButtonText",
"type": "text",
"label": "Solution button label",
"default": "Show solution",
"description": "Text for the solution button."
},
2014-11-27 11:01:47 +01:00
{
"name": "retryButtonText",
"type": "text",
"label": "Retry button label",
"default": "Retry",
"description": "Text for the retry button."
},
{
"name": "finishButtonText",
"type": "text",
"label": "Finish button text",
2013-05-03 18:51:10 +02:00
"default": "Finish"
},
{
"name": "showAnimations",
"type": "boolean",
"label": "Display video before quiz results"
},
{
"name": "skippable",
"type": "boolean",
"label": "Enable skip video button"
},
{
"name": "skipButtonText",
"type": "text",
"label": "Skip video button label",
2014-11-27 11:01:47 +01:00
"default": "Skip video"
},
{
"name": "successVideo",
"type": "video",
"label": "Passed video",
"optional": true,
"description": "This video will be played if the user successfully passed the quiz."
},
{
"name": "failVideo",
"type": "video",
"label": "Fail video",
"optional": true,
"description": "This video will be played if the user failes the quiz."
2013-04-04 15:44:06 +02:00
}
]
2014-11-27 11:01:47 +01:00
},
{
"name": "override",
"type": "group",
2016-04-04 15:50:41 +02:00
"label": "Settings for \"Show solution\" and \"Retry\" buttons",
2014-11-27 11:01:47 +01:00
"optional": true,
"fields": [
{
2016-04-04 15:50:41 +02:00
"name": "showSolutionButton",
"type": "select",
"label": "Override \"Show Solution\" button",
"description": "This option determines if the \"Show Solution\" button will be shown for all questions, disabled for all or configured for each question individually.",
"optional": true,
"options": [
{
"value": "on",
"label": "Enabled"
},
{
"value": "off",
"label": "Disabled"
}
]
2014-11-27 11:01:47 +01:00
},
{
2016-04-04 15:50:41 +02:00
"name": "retryButton",
"type": "select",
"label": "Override \"Retry\" button",
"description": "This option determines if the \"Retry\" button will be shown for all questions, disabled for all or configured for each question individually.",
"optional": true,
"options": [
{
"value": "on",
"label": "Enabled"
},
{
"value": "off",
"label": "Disabled"
}
]
2014-11-27 11:01:47 +01:00
}
]
2013-04-04 15:44:06 +02:00
}
2016-06-06 11:32:46 +02:00
]