Renamed name->label in schema

d3summaryChart
Frank Ronny Larsen 2013-01-14 19:05:02 +01:00
parent 8bb04c69b7
commit 5ad15675f8
1 changed files with 29 additions and 29 deletions

View File

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