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/2609bdd048e2fef59c54 to your computer and use it in GitHub Desktop.
Save freetonik/2609bdd048e2fef59c54 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": "Lesson schema",
"type": "object",
"required": ["name", "language", "mission", "audience", "units"],
"properties": {
"name": {
"type": "string",
"description": "Name of the lesson"
},
"language": {
"type": "string",
"description": "Programming languages used in the lesson"
},
"description": {
"type": "string",
"description": "Description of the lesson"
},
"mission": {
"type": "string",
"description": "What is the mission or a goal of the lesson"
},
"audience": {
"type": "string",
"description": "For whom this lesson is created, prerequisites"
},
"units": {
"type": "array",
"description": "What units this lesson includes",
"minItems": 1,
"items": {
"enum": [ "theory", "quiz", "terminal", "codex", "code" ]
},
"uniqueItems": true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment