Skip to content

Instantly share code, notes, and snippets.

@nilclass
Created October 20, 2012 22:01
Show Gist options
  • Save nilclass/3924981 to your computer and use it in GitHub Desktop.
Save nilclass/3924981 to your computer and use it in GitHub Desktop.
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