2013-04-04 15:44:06 +02:00
[
{
"name" : "introPage" ,
"type" : "group" ,
2013-05-02 14:41:39 +02:00
"label" : "Quiz introduction" ,
2013-04-04 15:44:06 +02:00
"fields" : [
{
"name" : "showIntroPage" ,
"type" : "boolean" ,
2013-05-02 14:41:39 +02:00
"label" : "Display introduction"
2013-04-04 15:44:06 +02:00
} ,
{
"name" : "title" ,
"type" : "text" ,
2015-09-25 11:13:05 +02:00
"widget" : "html" ,
"tags" : [ "p" , "br" , "strong" , "em" ] ,
2013-05-02 14:41:39 +02:00
"label" : "Title" ,
"optional" : true ,
2015-09-25 11:13:05 +02:00
"description" : "This title will be displayed above the introduction text."
2013-04-04 15:44:06 +02:00
} ,
{
"name" : "introduction" ,
"type" : "text" ,
2013-07-10 10:34:17 +02:00
"widget" : "html" ,
2013-05-02 14:41:39 +02:00
"label" : "Introduction text" ,
"optional" : true ,
2013-07-10 10:34:17 +02:00
"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" ,
2013-05-02 14:41:39 +02:00
"label" : "Start button text" ,
"optional" : true ,
"default" : "Start Quiz"
2014-04-30 12:19:55 +02:00
} ,
{
"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" : [
2015-04-07 19:00:11 +02:00
"H5P.MultiChoice 1.3" ,
2015-05-15 10:42:20 +02:00
"H5P.DragQuestion 1.4" ,
2015-04-07 19:00:11 +02:00
"H5P.Blanks 1.3" ,
"H5P.MarkTheWords 1.3" ,
"H5P.DragText 1.3"
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" ,
"default" : "Previous"
} ,
{
"name" : "nextButton" ,
"type" : "text" ,
"label" : "Next button" ,
"default" : "Next"
} ,
{
"name" : "finishButton" ,
"type" : "text" ,
"label" : "Finish button" ,
"default" : "Finish"
} ,
{
"name" : "textualProgress" ,
"type" : "text" ,
"label" : "Progress text" ,
"description" : "Text used if textual progress is selected." ,
2013-07-15 09:27:13 +02:00
"default" : "Question: @current of @total questions" ,
"tags" : [
"strong" ,
"em"
]
2013-04-04 15:44:06 +02:00
}
]
} ,
{
"name" : "endGame" ,
"type" : "group" ,
2013-05-02 14:41:39 +02:00
"label" : "Quiz finished" ,
2013-04-04 15:44:06 +02:00
"fields" : [
{
"name" : "showResultPage" ,
"type" : "boolean" ,
2013-05-02 14:41:39 +02:00
"label" : "Display results" ,
2013-04-04 15:44:06 +02:00
"default" : true
} ,
2013-10-31 13:39:51 +01:00
{
"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"
]
} ,
2013-11-08 10:25:49 +01:00
{
"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. " ,
2013-11-08 10:25:49 +01:00
"default" : "You got @score points of @total possible." ,
"optional" : true
} ,
2013-04-04 15:44:06 +02:00
{
2013-05-02 14:41:39 +02:00
"name" : "successGreeting" ,
"type" : "text" ,
2013-10-31 13:39:51 +01:00
"label" : "Quiz passed greeting" ,
2013-05-02 14:41:39 +02:00
"placeholder" : "Congratulations!" ,
"default" : "Congratulations!" ,
2013-05-12 00:08:05 +02:00
"optional" : true ,
2013-10-31 13:39:51 +01:00
"description" : "This text will be displayed above the score if the user has successfully passed the quiz." ,
2013-07-15 09:27:13 +02:00
"tags" : [
"strong" ,
"em"
]
2013-05-02 14:41:39 +02:00
} ,
{
"name" : "successComment" ,
"type" : "text" ,
2013-07-09 15:51:27 +02:00
"widget" : "html" ,
2013-05-02 14:41:39 +02:00
"label" : "Passed comment" ,
"default" : "You did very well!" ,
2013-05-12 00:08:05 +02:00
"optional" : true ,
2013-07-15 09:27:13 +02:00
"description" : "This comment will be displayed after the score if the user has successfully passed the quiz." ,
"tags" : [
"sub" ,
"sup" ,
"strong" ,
"em" ,
"p"
]
2013-05-02 14:41:39 +02:00
} ,
{
"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 ,
2013-10-31 13:39:51 +01:00
"description" : "This text will be displayed above the score if the user has failed the quiz." ,
2013-07-15 09:27:13 +02:00
"tags" : [
"strong" ,
"em"
]
2013-05-02 14:41:39 +02:00
} ,
{
"name" : "failComment" ,
"type" : "text" ,
2013-07-09 15:51:27 +02:00
"widget" : "html" ,
2013-05-02 14:41:39 +02:00
"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 ,
2013-07-15 09:27:13 +02:00
"description" : "This comment will be displayed after the score if the user has failed the quiz." ,
"tags" : [
"sub" ,
"sup" ,
"strong" ,
"em" ,
"p"
]
2013-05-02 14:41:39 +02:00
} ,
2013-05-03 15:24:17 +02:00
{
"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."
} ,
2013-05-02 14:41:39 +02:00
{
"name" : "finishButtonText" ,
"type" : "text" ,
"label" : "Finish button text" ,
2013-05-03 18:51:10 +02:00
"default" : "Finish"
2013-05-02 14:41:39 +02:00
} ,
{
"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"
2013-05-02 14:41:39 +02:00
} ,
{
"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" ,
2014-11-28 15:39:19 +01:00
"label" : "Settings for \"Show solution\" button and \"Retry\"." ,
"description" : "These options will let you override when to display \"Show solution\" button and \"Retry\" in integrated h5p content." ,
2014-11-27 11:01:47 +01:00
"optional" : true ,
"fields" : [
{
"name" : "overrideButtons" ,
"type" : "boolean" ,
2014-11-27 13:39:39 +01:00
"label" : "Enable override for \"Show solution\" and \"Retry\" settings." ,
"description" : "If this is enabled the questions own settings will be ignored and the below settings will be used instead." ,
2014-11-27 11:01:47 +01:00
"default" : false
} ,
{
"name" : "overrideShowSolutionButton" ,
"type" : "boolean" ,
2014-11-27 13:39:39 +01:00
"label" : "Enable \"Show solution\" buttons." ,
"description" : "Enabling this option will make questions show the \"Show solution\" button." ,
2014-11-27 11:01:47 +01:00
"default" : false
} ,
{
2014-11-28 15:39:19 +01:00
"name" : "overrideRetry" ,
2014-11-27 11:01:47 +01:00
"type" : "boolean" ,
2014-11-28 15:39:19 +01:00
"label" : "Enable \"Retry\"." ,
"description" : "Enabling this option will make the user able to \"Retry\" ." ,
2014-11-27 11:01:47 +01:00
"default" : false
}
]
2015-06-19 15:40:35 +02:00
} ,
{
"name" : "questionLabel" ,
"type" : "text" ,
"label" : "Question label text" ,
"default" : "Question"
2013-04-04 15:44:06 +02:00
}
2014-10-08 14:53:43 +02:00
]