Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (29 sloc) 1.4 KB
{
"type" : "object",
"title" : "media_link",
"description" : "Visual representation of an object in the form of an image, video or embedded HTML fragments",
"properties": {
"duration" : {
"title" : "duration",
"type" : "number",
"optional" : "true",
"description" :"A hint to the consumer about the length, in seconds, of the media resource identified by the url property. A media link MAY contain a \"duration\" property when the target resource is a time-based media item such as an audio or video."
},
"height" : {
"title" : "height",
"type" : "number",
"optional" : "true",
"description" :"A hint to the consumer about the height, in pixels, of the media resource identified by the url property. A media link MAY contain a height property when the target resource is a visual media item such as an image, video or embeddable HTML page."
},
"width" : {
"title" : "width",
"type" : "number",
"optional" : "true",
"description" :"A hint to the consumer about the width, in pixels, of the media resource identified by the url property. A media link MAY contain a width property when the target resource is a visual media item such as an image, video or embeddable HTML page."
},
"url" : {
"type": "string",
"description" : "The IRI of the media resource being linked. A media link MUST have a url property."
}
}
}