-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmedia-timed-asset-reference.schema.json
98 lines (98 loc) · 3.35 KB
/
media-timed-asset-reference.schema.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"meta:license": [
"Copyright 2018 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$id": "https://ns.adobe.com/xdm/context/media-timed-asset-reference",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Timed Media Primary Asset Reference",
"type": "object",
"meta:status": "experimental",
"meta:extensible": true,
"description": "Asset information about the main content that was played, but present on all ads and chapters that occur during the content's playback as well.",
"definitions": {
"media-asset-reference": {
"properties": {
"@id": {
"title": "Asset ID",
"type": "string",
"format": "uri",
"description": "Identifier of the content, which can be used to tie back to other industry / CMS IDs."
},
"dc:title": {
"title": "Media Name",
"type": "string",
"description": "The friendly (human-readable) name of the timed media asset."
},
"xmpDM:duration": {
"title": "Media Length/Runtime",
"type": "integer",
"description": "Length of primary media asset in seconds."
},
"xdm:showType": {
"title": "Show Type",
"type": "string",
"description": "The type of content e.g. Trailer, Full Episode."
},
"iptc4xmpExt:Series": {
"title": "Series",
"description": "The series the show belongs to.",
"$ref": "http://www.iptc.org/series"
},
"xdm:streamFormat": {
"title": "Stream Format",
"type": "string",
"description": "Free-form format of the stream (e.g. short, long)."
},
"iptc4xmpExt:Season": {
"title": "Season",
"description": "The season the show belongs to.",
"$ref": "http://www.iptc.org/season"
},
"iptc4xmpExt:Episode": {
"title": "Episode",
"description": "The episode the show belongs to.",
"$ref": "http://www.iptc.org/episode"
},
"iptc4xmpExt:Genre": {
"title": "Genre",
"description": "Type or grouping of content as defined by content producer.",
"type": "array",
"items": {
"type": "string"
}
},
"iptc4xmpExt:Rating": {
"title": "Content Rating",
"description": "The rating as defined by Parental Guidelines.",
"type": "array",
"items": {
"$ref": "http://www.iptc.org/rating"
}
},
"iptc4xmpExt:Creator": {
"title": "Creator",
"description": "Party or parties (person or organisation) which created the video, refinement by the role attribute.",
"type": "array",
"items": {
"$ref": "http://www.iptc.org/creator"
}
}
},
"required": [
"@id",
"xmpDM:duration"
]
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/media-asset-reference"
}
]
}