Created
October 20, 2012 22:01
-
-
Save nilclass/3924981 to your computer and use it in GitHub Desktop.
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
privateClient.delareType('video', { | |
"description" : "a reference to a place you'd like to return to at some point.", | |
"type" : "object", | |
"properties": { | |
"title": { | |
"type": "string", | |
"description": "the title of the place the video points to", | |
"required": true | |
}, | |
"embed_url": { | |
"type": "string", | |
"description": "location video points to for embedding purposes", | |
"format": "uri" | |
}, | |
"visit_url": { | |
"type": "string" | |
"description": "location video points to for browsing to", | |
"format" : "uri" | |
}, | |
"description": { | |
"type": "string", | |
"description": "description of the video" | |
}, | |
"thumbnail": { | |
"type": "string", | |
"description": "thumbnail image of the video", | |
"format": "uri" | |
}, | |
"thumbnail": { | |
"type": "number", | |
"description": "duration of the video in seconds" | |
}, | |
"source": { | |
"type": "string", | |
"description": "source of the video (ie. youtube, vimeo, local)" | |
} | |
} | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment