Last active
August 29, 2015 14:04
-
-
Save freetonik/2609bdd048e2fef59c54 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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