Skip to content

Commit

Permalink
Merge pull request danielstorey#9 from KingsOnline/master
Browse files Browse the repository at this point in the history
Updated schema file
  • Loading branch information
danielstorey authored Feb 8, 2017
2 parents 2ad4ad0 + 16bda3b commit 77d8ba9
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 20 deletions.
36 changes: 18 additions & 18 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"name": "adapt-stacklist",
"description": "Items fly in one at a time, alternating from left to right, when the learner clicks a button. Demo available.",
"version": "1.0.2",
"framework": "^2.0.0",
"displayName": "Stack List",
"component": "stacklist",
"main": "/js/adapt-stacklist.js",
"homepage": "https://github.com/danielstorey/adapt-stacklist",
"repository": "git://github.com/danielstorey/adapt-stacklist.git",
"issues": "https://github.com/danielstorey/adapt-stacklist/issues",
"keywords": [
"adapt-plugin",
"adapt-component"
],
"license": "GPLv3",
"authors": [
"Dan Storey <[email protected]>"
]
"name": "adapt-stacklist",
"description": "Items fly in one at a time, alternating from left to right, when the learner clicks a button. Demo available.",
"version": "1.0.3",
"framework": "^2.0.0",
"displayName": "Stack List",
"component": "stacklist",
"main": "/js/adapt-stacklist.js",
"homepage": "https://github.com/danielstorey/adapt-stacklist",
"repository": "git://github.com/danielstorey/adapt-stacklist.git",
"issues": "https://github.com/danielstorey/adapt-stacklist/issues",
"keywords": [
"adapt-plugin",
"adapt-component"
],
"license": "GPLv3",
"authors": [
"Dan Storey <[email protected]>"
]
}
31 changes: 29 additions & 2 deletions properties.schema
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"type":"object",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"id": "http://jsonschema.net",
"$ref": "http://localhost/plugins/content/component/model.schema",
Expand All @@ -13,7 +13,7 @@
"translatable": true
}
},
"properties":{
"properties": {
"_supportedLayout": {
"type": "string",
"required": true,
Expand Down Expand Up @@ -49,6 +49,33 @@
}
}
}
},
"_button": {
"type": "object",
"required": false,
"properties": {
"startText": {
"type": "string",
"required": false,
"default": "Click here to begin",
"inputType": "Text",
"validators": [],
"title": "Start button text",
"help": "",
"translatable": true
},
"continueText": {
"type": "string",
"required": false,
"default": "Next",
"inputType": "Text",
"validators": [],
"title": "Next button text",
"help": "",
"translatable": true
}
}

}
}
}

0 comments on commit 77d8ba9

Please sign in to comment.