Last active
August 29, 2015 14:02
-
-
Save alexanderdean/b05b8fa0f2a1e587d96a to your computer and use it in GitHub Desktop.
Example JSON Schema for a video_played.json
This file contains 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
{ | |
"$schema": "http://json-schema.org/schema#", | |
"description": "Schema for a video_played event", | |
"type": "object", | |
"properties": { | |
"length": { | |
"type": "number" | |
}, | |
"id": { | |
"type": "string" | |
}, | |
"tags": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
}, | |
"required": ["length", "id"], | |
"additionalProperties": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment