Skip to content

Instantly share code, notes, and snippets.

@freetonik
Created August 4, 2014 11:52
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/de32134e27e24d15c50a to your computer and use it in GitHub Desktop.
Save freetonik/de32134e27e24d15c50a 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",
"properties": {
"items": {
"type": "object",
"patternProperties": {
"[A-Za-z0-9_-]" : {
"type": "object",
"required": ["test_file", "name", "description"],
"properties": {
"test_file": {
"type": "string",
"description": "File with tests for the task"
},
"name": {
"type": "string",
"description": "Name of the task"
},
"description": {
"type": "string",
"description": "Description of the task"
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment