Skip to content

Instantly share code, notes, and snippets.

@freetonik
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save freetonik/5bc4a5f031358b3460d4 to your computer and use it in GitHub Desktop.
Save freetonik/5bc4a5f031358b3460d4 to your computer and use it in GitHub Desktop.
{
"id": "http://json-schema.org/draft-04/schema#",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Theory unit schema",
"type": "object",
"required": ["name", "description", "exercise_files"],
"properties": {
"name": {
"type": "string",
"description": "Name of the task"
},
"description": {
"type": "string",
"description": "Description of the task"
},
"exercise_files": {
"type": "array",
"description": "Source files for the task",
"minItems": 1,
"items": {
"type": "string"
},
"uniqueItems": true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment