forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadvertisingpoddetails.schema.json
More file actions
53 lines (53 loc) · 1.97 KB
/
advertisingpoddetails.schema.json
File metadata and controls
53 lines (53 loc) · 1.97 KB
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
{
"meta:license": [
"Copyright 2022 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/datatypes/advertisingPodDetails",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Advertising Pod details information",
"type": "object",
"meta:status": "stable",
"meta:extensible": true,
"description": "Advertising Pod details information.",
"definitions": {
"advertisingPodDetails": {
"properties": {
"xdm:ID": {
"title": "Ad Break ID",
"type": "string",
"description": "The ID of the ad break."
},
"xdm:friendlyName": {
"title": "Pod Friendly Name",
"type": "string",
"description": "The friendly name of the Ad Break."
},
"xdm:index": {
"title": "Ad In Pod Position (Ad Break Start)",
"type": "integer",
"description": "The index of the ad inside the parent ad break start, for example, the first ad has index 0 and the second ad has index 1."
},
"xdm:offset": {
"title": "Pod Offset",
"type": "integer",
"description": "The offset of the ad break inside the content, in seconds."
}
},
"required": ["xdm:offset"]
}
},
"allOf": [
{
"$ref": "#/definitions/advertisingPodDetails"
}
],
"examples": [
{
"xdm:index": 2,
"xdm:offset": 123
}
]
}