Skip to content

Instantly share code, notes, and snippets.

@freetonik
Created August 4, 2014 11:54
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/e824266cd10ca2dbc1bd to your computer and use it in GitHub Desktop.
Save freetonik/e824266cd10ca2dbc1bd 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": ["description"],
"properties": {
"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