-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmedia_link.json
27 lines (27 loc) · 1.35 KB
/
media_link.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"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",
"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",
"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",
"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",
"required" : true,
"description" : "The IRI of the media resource being linked. A media link MUST have a url property."
}
}
}