Feature(challenges): challenges define their own requires

This commit is contained in:
Berkeley Martinez
2016-07-28 21:54:29 -07:00
parent 5a974e47dc
commit 1c9b419c2f
3 changed files with 33 additions and 10 deletions

View File

@@ -106,6 +106,25 @@
"translations": {
"type": "object",
"default": "{}"
},
"required": {
"type": [{
"type": {
"link": {
"type": "string",
"description": "Used for css files"
},
"src": {
"type": "string",
"description": "Used for script files"
},
"crossDomain": {
"type": "boolean",
"description": "Files coming from FreeCodeCamp must mark this true"
}
}
}],
"default": []
}
},
"validations": [],