@adcp/sdk 14.0.0-beta.0 → 14.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/account/get-account-financials-request.json +610 -0
  2. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/account/get-account-financials-response.json +1055 -0
  3. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/account/list-accounts-request.json +629 -0
  4. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/account/list-accounts-response.json +1558 -0
  5. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/account/report-usage-request.json +702 -0
  6. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/account/report-usage-response.json +309 -0
  7. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/account/sync-accounts-request.json +1113 -0
  8. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/account/sync-accounts-response.json +1567 -0
  9. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/account/sync-governance-request.json +662 -0
  10. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/account/sync-governance-response.json +921 -0
  11. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/creative/list-creatives-request.json +992 -0
  12. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/creative/list-creatives-response.json +5965 -0
  13. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/creative/sync-creatives-request.json +3936 -0
  14. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/creative/sync-creatives-response.json +3859 -0
  15. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/manifest.json +206 -0
  16. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/accept-proposal-request.json +601 -0
  17. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/accept-proposal-response.json +4799 -0
  18. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/buy-products-request.json +4107 -0
  19. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/buy-products-response.json +4799 -0
  20. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/control-media-buy-request.json +3365 -0
  21. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/control-media-buy-response.json +656 -0
  22. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/decline-proposals-request.json +334 -0
  23. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/decline-proposals-response.json +271 -0
  24. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/get-media-buy-delivery-request.json +1236 -0
  25. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/get-media-buy-delivery-response.json +2861 -0
  26. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/get-media-buys-request.json +678 -0
  27. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/get-media-buys-response.json +10861 -0
  28. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/list-products-request.json +4229 -0
  29. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/list-products-response.json +3824 -0
  30. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/log-event-request.json +421 -0
  31. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/log-event-response.json +394 -0
  32. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/media-buy-delivery-webhook-result.json +1366 -0
  33. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/provide-performance-feedback-request.json +884 -0
  34. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/provide-performance-feedback-response.json +422 -0
  35. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/refine-proposals-request.json +4335 -0
  36. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/refine-proposals-response.json +7328 -0
  37. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/request-proposals-request.json +4307 -0
  38. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/request-proposals-response.json +7105 -0
  39. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/sync-audiences-request.json +760 -0
  40. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/sync-audiences-response.json +541 -0
  41. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/sync-catalogs-request.json +1142 -0
  42. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/sync-catalogs-response.json +1153 -0
  43. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/sync-event-sources-request.json +743 -0
  44. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/media-buy/sync-event-sources-response.json +619 -0
  45. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/account/get-account-financials-request.json +544 -0
  46. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/account/list-accounts-request.json +557 -0
  47. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/account/report-usage-request.json +617 -0
  48. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/account/sync-accounts-request.json +984 -0
  49. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/account/sync-governance-request.json +581 -0
  50. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/creative/list-creatives-request.json +878 -0
  51. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/creative/sync-creatives-request.json +3456 -0
  52. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/manifest.json +175 -0
  53. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/media-buy/accept-proposal-request.json +498 -0
  54. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/media-buy/buy-products-request.json +3675 -0
  55. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/media-buy/control-media-buy-request.json +3030 -0
  56. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/media-buy/decline-proposals-request.json +282 -0
  57. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/media-buy/get-media-buy-delivery-request.json +1136 -0
  58. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/media-buy/get-media-buys-request.json +597 -0
  59. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/media-buy/list-products-request.json +3780 -0
  60. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/media-buy/log-event-request.json +386 -0
  61. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/media-buy/provide-performance-feedback-request.json +784 -0
  62. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/media-buy/refine-proposals-request.json +3878 -0
  63. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/media-buy/request-proposals-request.json +3852 -0
  64. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/media-buy/sync-audiences-request.json +682 -0
  65. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/media-buy/sync-catalogs-request.json +1016 -0
  66. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/media-buy/sync-event-sources-request.json +660 -0
  67. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/protocol/get-adcp-capabilities-request.json +51 -0
  68. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/protocol/get-task-status-request.json +534 -0
  69. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/protocol/list-tasks-request.json +692 -0
  70. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/model-context/protocol/sync-agent-notification-configs-request.json +129 -0
  71. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/protocol/get-adcp-capabilities-request.json +58 -0
  72. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/protocol/get-adcp-capabilities-response.json +8069 -0
  73. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/protocol/get-task-status-request.json +601 -0
  74. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/protocol/get-task-status-response.json +612 -0
  75. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/protocol/list-tasks-request.json +775 -0
  76. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/protocol/list-tasks-response.json +483 -0
  77. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/protocol/sync-agent-notification-configs-request.json +155 -0
  78. package/dist/lib/schemas-data/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/protocol/sync-agent-notification-configs-response.json +382 -0
  79. package/dist/lib/schemas-data/v2.5/_provenance.json +1 -1
  80. package/dist/lib/server/create-adcp-server.d.mts +27 -0
  81. package/dist/lib/server/create-adcp-server.d.ts +27 -0
  82. package/dist/lib/server/create-adcp-server.d.ts.map +1 -1
  83. package/dist/lib/server/create-adcp-server.js +120 -4
  84. package/dist/lib/server/create-adcp-server.js.map +1 -1
  85. package/dist/lib/server/create-adcp-server.mjs +121 -6
  86. package/dist/lib/server/create-adcp-server.mjs.map +1 -1
  87. package/dist/lib/server/decisioning/context.d.mts +6 -0
  88. package/dist/lib/server/decisioning/context.d.ts +6 -0
  89. package/dist/lib/server/decisioning/context.d.ts.map +1 -1
  90. package/dist/lib/server/decisioning/context.js.map +1 -1
  91. package/dist/lib/server/decisioning/index.d.mts +1 -1
  92. package/dist/lib/server/decisioning/index.d.ts +1 -1
  93. package/dist/lib/server/decisioning/index.d.ts.map +1 -1
  94. package/dist/lib/server/decisioning/index.js.map +1 -1
  95. package/dist/lib/server/decisioning/index.mjs.map +1 -1
  96. package/dist/lib/server/decisioning/platform.d.mts +21 -6
  97. package/dist/lib/server/decisioning/platform.d.ts +21 -6
  98. package/dist/lib/server/decisioning/platform.d.ts.map +1 -1
  99. package/dist/lib/server/decisioning/platform.js.map +1 -1
  100. package/dist/lib/server/decisioning/runtime/from-platform.d.ts.map +1 -1
  101. package/dist/lib/server/decisioning/runtime/from-platform.js +201 -18
  102. package/dist/lib/server/decisioning/runtime/from-platform.js.map +1 -1
  103. package/dist/lib/server/decisioning/runtime/from-platform.mjs +203 -19
  104. package/dist/lib/server/decisioning/runtime/from-platform.mjs.map +1 -1
  105. package/dist/lib/server/decisioning/runtime/to-context.d.ts.map +1 -1
  106. package/dist/lib/server/decisioning/runtime/to-context.js +6 -0
  107. package/dist/lib/server/decisioning/runtime/to-context.js.map +1 -1
  108. package/dist/lib/server/decisioning/runtime/to-context.mjs +6 -0
  109. package/dist/lib/server/decisioning/runtime/to-context.mjs.map +1 -1
  110. package/dist/lib/server/decisioning/runtime/validate-platform.d.ts.map +1 -1
  111. package/dist/lib/server/decisioning/runtime/validate-platform.js +35 -4
  112. package/dist/lib/server/decisioning/runtime/validate-platform.js.map +1 -1
  113. package/dist/lib/server/decisioning/runtime/validate-platform.mjs +35 -4
  114. package/dist/lib/server/decisioning/runtime/validate-platform.mjs.map +1 -1
  115. package/dist/lib/server/decisioning/specialisms/sales.d.mts +39 -0
  116. package/dist/lib/server/decisioning/specialisms/sales.d.ts +39 -0
  117. package/dist/lib/server/decisioning/specialisms/sales.d.ts.map +1 -1
  118. package/dist/lib/server/decisioning/specialisms/sales.js.map +1 -1
  119. package/dist/lib/testing/storyboard/validations.d.mts +1 -1
  120. package/dist/lib/testing/storyboard/validations.d.ts +1 -1
  121. package/dist/lib/validation/schema-loader.d.mts +2 -0
  122. package/dist/lib/validation/schema-loader.d.ts +2 -0
  123. package/dist/lib/validation/schema-loader.d.ts.map +1 -1
  124. package/dist/lib/validation/schema-loader.js +31 -0
  125. package/dist/lib/validation/schema-loader.js.map +1 -1
  126. package/dist/lib/validation/schema-loader.mjs +30 -0
  127. package/dist/lib/validation/schema-loader.mjs.map +1 -1
  128. package/dist/lib/version.d.mts +3 -3
  129. package/dist/lib/version.d.ts +3 -3
  130. package/dist/lib/version.js +3 -3
  131. package/dist/lib/version.js.map +1 -1
  132. package/dist/lib/version.mjs +3 -3
  133. package/dist/lib/version.mjs.map +1 -1
  134. package/docs/guides/BUILD-AN-AGENT.md +10 -1
  135. package/docs/guides/MEDIA-BUY-3.2-COMPATIBILITY.md +119 -0
  136. package/docs/llms.txt +1 -1
  137. package/docs/migration-12-to-14.md +8 -0
  138. package/docs/migration-13-to-14.md +30 -4
  139. package/docs/releases/14.0.0-beta.0.md +19 -1
  140. package/package.json +2 -1
@@ -0,0 +1,1136 @@
1
+ {
2
+ "type": "object",
3
+ "allOf": [
4
+ {
5
+ "$ref": "#/$defs/external:core~1version-envelope.json"
6
+ }
7
+ ],
8
+ "properties": {
9
+ "account": {
10
+ "$ref": "#/$defs/external:core~1account-ref.json"
11
+ },
12
+ "media_buy_ids": {
13
+ "type": "array",
14
+ "items": {
15
+ "type": "string"
16
+ }
17
+ },
18
+ "status_filter": {
19
+ "oneOf": [
20
+ {
21
+ "$ref": "#/$defs/external:enums~1media-buy-status.json"
22
+ },
23
+ {
24
+ "type": "array",
25
+ "items": {
26
+ "$ref": "#/$defs/external:enums~1media-buy-status.json"
27
+ }
28
+ }
29
+ ]
30
+ },
31
+ "start_date": {
32
+ "type": "string"
33
+ },
34
+ "end_date": {
35
+ "type": "string"
36
+ },
37
+ "include_package_daily_breakdown": {
38
+ "type": "boolean"
39
+ },
40
+ "time_granularity": {
41
+ "$ref": "#/$defs/external:enums~1reporting-frequency.json"
42
+ },
43
+ "include_window_breakdown": {
44
+ "type": "boolean"
45
+ },
46
+ "attribution_window": {
47
+ "type": "object",
48
+ "properties": {
49
+ "post_click": {
50
+ "allOf": [
51
+ {
52
+ "$ref": "#/$defs/external:core~1duration.json"
53
+ }
54
+ ]
55
+ },
56
+ "post_view": {
57
+ "allOf": [
58
+ {
59
+ "$ref": "#/$defs/external:core~1duration.json"
60
+ }
61
+ ]
62
+ },
63
+ "model": {
64
+ "$ref": "#/$defs/external:enums~1attribution-model.json"
65
+ }
66
+ },
67
+ "additionalProperties": true
68
+ },
69
+ "reporting_dimensions": {
70
+ "type": "object",
71
+ "properties": {
72
+ "geo": {
73
+ "type": "object",
74
+ "properties": {
75
+ "geo_level": {
76
+ "$ref": "#/$defs/external:enums~1geo-level.json"
77
+ },
78
+ "system": {
79
+ "anyOf": [
80
+ {
81
+ "$ref": "#/$defs/external:enums~1metro-system.json"
82
+ },
83
+ {
84
+ "$ref": "#/$defs/external:enums~1postal-system.json"
85
+ },
86
+ {
87
+ "$ref": "#/$defs/external:enums~1legacy-postal-system.json"
88
+ }
89
+ ]
90
+ },
91
+ "country": {
92
+ "type": "string"
93
+ },
94
+ "limit": {
95
+ "type": "integer"
96
+ },
97
+ "sort_by": {
98
+ "$ref": "#/$defs/external:enums~1sort-metric.json"
99
+ }
100
+ },
101
+ "required": [
102
+ "geo_level"
103
+ ],
104
+ "allOf": [
105
+ {
106
+ "if": {
107
+ "properties": {
108
+ "geo_level": {
109
+ "enum": [
110
+ "country",
111
+ "region"
112
+ ]
113
+ }
114
+ },
115
+ "required": [
116
+ "geo_level"
117
+ ]
118
+ },
119
+ "then": {
120
+ "not": {
121
+ "anyOf": [
122
+ {
123
+ "required": [
124
+ "country"
125
+ ]
126
+ },
127
+ {
128
+ "required": [
129
+ "system"
130
+ ]
131
+ }
132
+ ]
133
+ }
134
+ }
135
+ },
136
+ {
137
+ "if": {
138
+ "properties": {
139
+ "geo_level": {
140
+ "const": "metro"
141
+ }
142
+ },
143
+ "required": [
144
+ "geo_level"
145
+ ]
146
+ },
147
+ "then": {
148
+ "anyOf": [
149
+ {
150
+ "not": {
151
+ "required": [
152
+ "system"
153
+ ]
154
+ }
155
+ },
156
+ {
157
+ "properties": {
158
+ "system": {
159
+ "$ref": "#/$defs/external:enums~1metro-system.json"
160
+ }
161
+ },
162
+ "required": [
163
+ "system"
164
+ ]
165
+ }
166
+ ],
167
+ "not": {
168
+ "required": [
169
+ "country"
170
+ ]
171
+ }
172
+ }
173
+ },
174
+ {
175
+ "if": {
176
+ "properties": {
177
+ "geo_level": {
178
+ "const": "postal_area"
179
+ }
180
+ },
181
+ "required": [
182
+ "geo_level"
183
+ ]
184
+ },
185
+ "then": {
186
+ "anyOf": [
187
+ {
188
+ "not": {
189
+ "anyOf": [
190
+ {
191
+ "required": [
192
+ "country"
193
+ ]
194
+ },
195
+ {
196
+ "required": [
197
+ "system"
198
+ ]
199
+ }
200
+ ]
201
+ }
202
+ },
203
+ {
204
+ "$ref": "#/$defs/external:core~1postal-country-system.json"
205
+ },
206
+ {
207
+ "properties": {
208
+ "system": {
209
+ "$ref": "#/$defs/external:enums~1legacy-postal-system.json"
210
+ }
211
+ },
212
+ "required": [
213
+ "system"
214
+ ],
215
+ "not": {
216
+ "required": [
217
+ "country"
218
+ ]
219
+ }
220
+ }
221
+ ]
222
+ }
223
+ }
224
+ ],
225
+ "additionalProperties": true
226
+ },
227
+ "device_type": {
228
+ "type": "object",
229
+ "properties": {
230
+ "limit": {
231
+ "type": "integer"
232
+ },
233
+ "sort_by": {
234
+ "$ref": "#/$defs/external:enums~1sort-metric.json"
235
+ }
236
+ },
237
+ "additionalProperties": true
238
+ },
239
+ "device_platform": {
240
+ "type": "object",
241
+ "properties": {
242
+ "limit": {
243
+ "type": "integer"
244
+ },
245
+ "sort_by": {
246
+ "$ref": "#/$defs/external:enums~1sort-metric.json"
247
+ }
248
+ },
249
+ "additionalProperties": true
250
+ },
251
+ "audience": {
252
+ "type": "object",
253
+ "properties": {
254
+ "limit": {
255
+ "type": "integer"
256
+ },
257
+ "sort_by": {
258
+ "$ref": "#/$defs/external:enums~1sort-metric.json"
259
+ }
260
+ },
261
+ "additionalProperties": true
262
+ },
263
+ "demographic": {
264
+ "type": "object",
265
+ "properties": {
266
+ "age_ranges": {
267
+ "type": "array",
268
+ "items": {
269
+ "$ref": "#/$defs/external:core~1demographic-age-range.json"
270
+ }
271
+ },
272
+ "limit": {
273
+ "type": "integer"
274
+ },
275
+ "sort_by": {
276
+ "$ref": "#/$defs/external:enums~1sort-metric.json"
277
+ }
278
+ }
279
+ },
280
+ "spot": {
281
+ "type": "object",
282
+ "properties": {
283
+ "limit": {
284
+ "type": "integer"
285
+ }
286
+ },
287
+ "additionalProperties": true
288
+ },
289
+ "placement": {
290
+ "type": "object",
291
+ "properties": {
292
+ "limit": {
293
+ "type": "integer"
294
+ },
295
+ "sort_by": {
296
+ "$ref": "#/$defs/external:enums~1sort-metric.json"
297
+ }
298
+ },
299
+ "additionalProperties": true
300
+ }
301
+ },
302
+ "additionalProperties": true
303
+ },
304
+ "context": {
305
+ "$ref": "#/$defs/external:core~1context.json"
306
+ },
307
+ "ext": {
308
+ "$ref": "#/$defs/external:core~1ext.json"
309
+ }
310
+ },
311
+ "additionalProperties": true,
312
+ "$defs": {
313
+ "external:core/version-envelope.json": {
314
+ "type": "object",
315
+ "properties": {
316
+ "adcp_version": {
317
+ "type": "string"
318
+ },
319
+ "adcp_major_version": {
320
+ "type": "integer"
321
+ }
322
+ }
323
+ },
324
+ "external:core/account-ref.json": {
325
+ "type": "object",
326
+ "oneOf": [
327
+ {
328
+ "properties": {
329
+ "account_id": {
330
+ "type": "string"
331
+ }
332
+ },
333
+ "required": [
334
+ "account_id"
335
+ ]
336
+ },
337
+ {
338
+ "properties": {
339
+ "brand": {
340
+ "$ref": "#/$defs/external:core~1brand-ref.json"
341
+ },
342
+ "operator": {
343
+ "type": "string"
344
+ },
345
+ "operator_unit": {
346
+ "$ref": "#/$defs/external:core~1operator-unit.json"
347
+ },
348
+ "currency": {
349
+ "type": "string"
350
+ },
351
+ "timezone": {
352
+ "type": "string"
353
+ },
354
+ "sandbox": {
355
+ "type": "boolean"
356
+ }
357
+ },
358
+ "required": [
359
+ "brand",
360
+ "operator"
361
+ ]
362
+ }
363
+ ]
364
+ },
365
+ "external:core/brand-ref.json": {
366
+ "type": "object",
367
+ "properties": {
368
+ "domain": {
369
+ "type": "string"
370
+ },
371
+ "brand_id": {
372
+ "$ref": "#/$defs/external:core~1brand-id.json"
373
+ },
374
+ "countries": {
375
+ "type": "array",
376
+ "items": {
377
+ "type": "string"
378
+ }
379
+ },
380
+ "industries": {
381
+ "type": "array",
382
+ "items": {
383
+ "type": "string"
384
+ }
385
+ },
386
+ "data_subject_contestation": {
387
+ "type": "object",
388
+ "properties": {
389
+ "url": {
390
+ "type": "string"
391
+ },
392
+ "email": {
393
+ "type": "string"
394
+ },
395
+ "languages": {
396
+ "type": "array",
397
+ "items": {
398
+ "type": "string"
399
+ }
400
+ }
401
+ },
402
+ "anyOf": [
403
+ {
404
+ "required": [
405
+ "url"
406
+ ]
407
+ },
408
+ {
409
+ "required": [
410
+ "email"
411
+ ]
412
+ }
413
+ ]
414
+ },
415
+ "brand_kit_override": {
416
+ "type": "object",
417
+ "properties": {
418
+ "logo": {
419
+ "$ref": "#/$defs/external:core~1assets~1image-asset.json"
420
+ },
421
+ "colors": {
422
+ "type": "object",
423
+ "properties": {
424
+ "primary": {
425
+ "type": "string"
426
+ },
427
+ "secondary": {
428
+ "type": "string"
429
+ },
430
+ "accent": {
431
+ "type": "string"
432
+ }
433
+ },
434
+ "additionalProperties": true
435
+ },
436
+ "voice": {
437
+ "type": "string"
438
+ },
439
+ "tagline": {
440
+ "type": "string"
441
+ }
442
+ },
443
+ "additionalProperties": true
444
+ }
445
+ },
446
+ "required": [
447
+ "domain"
448
+ ]
449
+ },
450
+ "external:core/brand-id.json": {
451
+ "type": "string"
452
+ },
453
+ "external:core/assets/image-asset.json": {
454
+ "type": "object",
455
+ "properties": {
456
+ "asset_type": {
457
+ "type": "string",
458
+ "const": "image"
459
+ },
460
+ "url": {
461
+ "type": "string"
462
+ },
463
+ "width": {
464
+ "type": "integer"
465
+ },
466
+ "height": {
467
+ "type": "integer"
468
+ },
469
+ "pixel_ratio": {
470
+ "type": "number"
471
+ },
472
+ "format": {
473
+ "type": "string"
474
+ },
475
+ "alt_text": {
476
+ "type": "string"
477
+ },
478
+ "provenance": {
479
+ "$ref": "#/$defs/external:core~1provenance.json"
480
+ }
481
+ },
482
+ "required": [
483
+ "asset_type",
484
+ "url",
485
+ "width",
486
+ "height"
487
+ ],
488
+ "additionalProperties": true
489
+ },
490
+ "external:core/provenance.json": {
491
+ "type": "object",
492
+ "properties": {
493
+ "digital_source_type": {
494
+ "$ref": "#/$defs/external:enums~1digital-source-type.json"
495
+ },
496
+ "synthetic_depiction": {
497
+ "type": "boolean"
498
+ },
499
+ "ai_tool": {
500
+ "type": "object",
501
+ "properties": {
502
+ "name": {
503
+ "type": "string"
504
+ },
505
+ "version": {
506
+ "type": "string"
507
+ },
508
+ "provider": {
509
+ "type": "string"
510
+ }
511
+ },
512
+ "required": [
513
+ "name"
514
+ ]
515
+ },
516
+ "human_oversight": {
517
+ "type": "string",
518
+ "enum": [
519
+ "none",
520
+ "prompt_only",
521
+ "selected",
522
+ "edited",
523
+ "directed"
524
+ ]
525
+ },
526
+ "declared_by": {
527
+ "type": "object",
528
+ "properties": {
529
+ "agent_url": {
530
+ "type": "string"
531
+ },
532
+ "role": {
533
+ "type": "string",
534
+ "enum": [
535
+ "creator",
536
+ "advertiser",
537
+ "agency",
538
+ "platform",
539
+ "tool"
540
+ ]
541
+ }
542
+ },
543
+ "required": [
544
+ "role"
545
+ ]
546
+ },
547
+ "declared_at": {
548
+ "type": "string"
549
+ },
550
+ "created_time": {
551
+ "type": "string"
552
+ },
553
+ "c2pa": {
554
+ "type": "object",
555
+ "properties": {
556
+ "manifest_url": {
557
+ "type": "string"
558
+ }
559
+ },
560
+ "required": [
561
+ "manifest_url"
562
+ ]
563
+ },
564
+ "embedded_provenance": {
565
+ "type": "array",
566
+ "items": {
567
+ "type": "object",
568
+ "properties": {
569
+ "method": {
570
+ "$ref": "#/$defs/external:enums~1embedded-provenance-method.json"
571
+ },
572
+ "standard": {
573
+ "type": "string"
574
+ },
575
+ "provider": {
576
+ "type": "string"
577
+ },
578
+ "verify_agent": {
579
+ "type": "object",
580
+ "properties": {
581
+ "agent_url": {
582
+ "type": "string"
583
+ },
584
+ "feature_id": {
585
+ "type": "string"
586
+ }
587
+ },
588
+ "required": [
589
+ "agent_url"
590
+ ]
591
+ },
592
+ "embedded_at": {
593
+ "type": "string"
594
+ }
595
+ },
596
+ "required": [
597
+ "method",
598
+ "provider"
599
+ ]
600
+ }
601
+ },
602
+ "watermarks": {
603
+ "type": "array",
604
+ "items": {
605
+ "type": "object",
606
+ "properties": {
607
+ "media_type": {
608
+ "$ref": "#/$defs/external:enums~1watermark-media-type.json"
609
+ },
610
+ "provider": {
611
+ "type": "string"
612
+ },
613
+ "verify_agent": {
614
+ "type": "object",
615
+ "properties": {
616
+ "agent_url": {
617
+ "type": "string"
618
+ },
619
+ "feature_id": {
620
+ "type": "string"
621
+ }
622
+ },
623
+ "required": [
624
+ "agent_url"
625
+ ]
626
+ },
627
+ "c2pa_action": {
628
+ "$ref": "#/$defs/external:enums~1c2pa-watermark-action.json"
629
+ },
630
+ "embedded_at": {
631
+ "type": "string"
632
+ }
633
+ },
634
+ "required": [
635
+ "media_type",
636
+ "provider"
637
+ ]
638
+ }
639
+ },
640
+ "disclosure": {
641
+ "type": "object",
642
+ "properties": {
643
+ "required": {
644
+ "type": "boolean"
645
+ },
646
+ "jurisdictions": {
647
+ "type": "array",
648
+ "items": {
649
+ "type": "object",
650
+ "properties": {
651
+ "country": {
652
+ "type": "string"
653
+ },
654
+ "region": {
655
+ "type": "string"
656
+ },
657
+ "regulation": {
658
+ "type": "string"
659
+ },
660
+ "label_text": {
661
+ "type": "string"
662
+ },
663
+ "render_guidance": {
664
+ "type": "object",
665
+ "properties": {
666
+ "persistence": {
667
+ "$ref": "#/$defs/external:enums~1disclosure-persistence.json"
668
+ },
669
+ "min_duration_ms": {
670
+ "type": "integer"
671
+ },
672
+ "positions": {
673
+ "type": "array",
674
+ "items": {
675
+ "$ref": "#/$defs/external:enums~1disclosure-position.json"
676
+ }
677
+ },
678
+ "ext": {
679
+ "$ref": "#/$defs/external:core~1ext.json"
680
+ }
681
+ }
682
+ }
683
+ },
684
+ "required": [
685
+ "country",
686
+ "regulation"
687
+ ]
688
+ }
689
+ }
690
+ },
691
+ "required": [
692
+ "required"
693
+ ]
694
+ },
695
+ "verification": {
696
+ "type": "array",
697
+ "items": {
698
+ "type": "object",
699
+ "properties": {
700
+ "verified_by": {
701
+ "type": "string"
702
+ },
703
+ "verified_time": {
704
+ "type": "string"
705
+ },
706
+ "result": {
707
+ "type": "string",
708
+ "enum": [
709
+ "authentic",
710
+ "ai_generated",
711
+ "ai_modified",
712
+ "inconclusive"
713
+ ]
714
+ },
715
+ "confidence": {
716
+ "type": "number"
717
+ },
718
+ "details_url": {
719
+ "type": "string"
720
+ }
721
+ },
722
+ "required": [
723
+ "verified_by",
724
+ "result"
725
+ ]
726
+ }
727
+ },
728
+ "ext": {
729
+ "$ref": "#/$defs/external:core~1ext.json"
730
+ }
731
+ }
732
+ },
733
+ "external:enums/digital-source-type.json": {
734
+ "type": "string",
735
+ "enum": [
736
+ "digital_capture",
737
+ "digital_creation",
738
+ "trained_algorithmic_media",
739
+ "composite_with_trained_algorithmic_media",
740
+ "algorithmic_media",
741
+ "composite_capture",
742
+ "composite_synthetic",
743
+ "human_edits",
744
+ "data_driven_media"
745
+ ]
746
+ },
747
+ "external:enums/embedded-provenance-method.json": {
748
+ "type": "string",
749
+ "enum": [
750
+ "manifest_wrapper",
751
+ "provenance_markers"
752
+ ]
753
+ },
754
+ "external:enums/watermark-media-type.json": {
755
+ "type": "string",
756
+ "enum": [
757
+ "audio",
758
+ "image",
759
+ "video",
760
+ "text"
761
+ ]
762
+ },
763
+ "external:enums/c2pa-watermark-action.json": {
764
+ "type": "string",
765
+ "enum": [
766
+ "c2pa.watermarked.bound",
767
+ "c2pa.watermarked.unbound"
768
+ ]
769
+ },
770
+ "external:enums/disclosure-persistence.json": {
771
+ "type": "string",
772
+ "enum": [
773
+ "continuous",
774
+ "initial",
775
+ "flexible"
776
+ ]
777
+ },
778
+ "external:enums/disclosure-position.json": {
779
+ "type": "string",
780
+ "enum": [
781
+ "prominent",
782
+ "footer",
783
+ "audio",
784
+ "subtitle",
785
+ "overlay",
786
+ "end_card",
787
+ "pre_roll",
788
+ "companion"
789
+ ]
790
+ },
791
+ "external:core/ext.json": {
792
+ "type": "object",
793
+ "additionalProperties": true
794
+ },
795
+ "external:core/operator-unit.json": {
796
+ "type": "object",
797
+ "properties": {
798
+ "id": {
799
+ "type": "string"
800
+ },
801
+ "name": {
802
+ "type": "string"
803
+ }
804
+ },
805
+ "required": [
806
+ "id"
807
+ ]
808
+ },
809
+ "external:enums/media-buy-status.json": {
810
+ "type": "string",
811
+ "enum": [
812
+ "pending_creatives",
813
+ "pending_start",
814
+ "active",
815
+ "paused",
816
+ "completed",
817
+ "rejected",
818
+ "canceled"
819
+ ]
820
+ },
821
+ "external:enums/reporting-frequency.json": {
822
+ "type": "string",
823
+ "enum": [
824
+ "hourly",
825
+ "daily",
826
+ "weekly",
827
+ "monthly",
828
+ "quarterly",
829
+ "post_campaign"
830
+ ]
831
+ },
832
+ "external:core/duration.json": {
833
+ "type": "object",
834
+ "properties": {
835
+ "interval": {
836
+ "type": "integer"
837
+ },
838
+ "unit": {
839
+ "type": "string",
840
+ "enum": [
841
+ "seconds",
842
+ "minutes",
843
+ "hours",
844
+ "days",
845
+ "campaign"
846
+ ]
847
+ }
848
+ },
849
+ "required": [
850
+ "interval",
851
+ "unit"
852
+ ]
853
+ },
854
+ "external:enums/attribution-model.json": {
855
+ "type": "string",
856
+ "enum": [
857
+ "last_touch",
858
+ "first_touch",
859
+ "linear",
860
+ "time_decay",
861
+ "data_driven"
862
+ ]
863
+ },
864
+ "external:enums/geo-level.json": {
865
+ "type": "string",
866
+ "enum": [
867
+ "country",
868
+ "region",
869
+ "metro",
870
+ "postal_area"
871
+ ]
872
+ },
873
+ "external:enums/metro-system.json": {
874
+ "type": "string",
875
+ "enum": [
876
+ "nielsen_dma",
877
+ "uk_itl1",
878
+ "uk_itl2",
879
+ "eurostat_nuts2",
880
+ "custom"
881
+ ]
882
+ },
883
+ "external:enums/postal-system.json": {
884
+ "type": "string",
885
+ "enum": [
886
+ "postal_code",
887
+ "zip",
888
+ "zip_plus_four",
889
+ "outward",
890
+ "full",
891
+ "fsa",
892
+ "plz",
893
+ "code_postal",
894
+ "postcode",
895
+ "cep",
896
+ "pin",
897
+ "custom",
898
+ "us_zip",
899
+ "us_zip_plus_four",
900
+ "gb_outward",
901
+ "gb_full",
902
+ "ca_fsa",
903
+ "ca_full",
904
+ "de_plz",
905
+ "fr_code_postal",
906
+ "au_postcode",
907
+ "ch_plz",
908
+ "at_plz"
909
+ ]
910
+ },
911
+ "external:enums/legacy-postal-system.json": {
912
+ "type": "string",
913
+ "enum": [
914
+ "us_zip",
915
+ "us_zip_plus_four",
916
+ "gb_outward",
917
+ "gb_full",
918
+ "ca_fsa",
919
+ "ca_full",
920
+ "de_plz",
921
+ "fr_code_postal",
922
+ "au_postcode",
923
+ "ch_plz",
924
+ "at_plz"
925
+ ]
926
+ },
927
+ "external:enums/sort-metric.json": {
928
+ "type": "string",
929
+ "enum": [
930
+ "impressions",
931
+ "spend",
932
+ "clicks",
933
+ "ctr",
934
+ "views",
935
+ "completed_views",
936
+ "completion_rate",
937
+ "conversions",
938
+ "conversion_value",
939
+ "roas",
940
+ "cost_per_acquisition",
941
+ "new_to_brand_rate",
942
+ "leads",
943
+ "grps",
944
+ "reach",
945
+ "frequency",
946
+ "engagements",
947
+ "follows",
948
+ "saves",
949
+ "profile_visits",
950
+ "engagement_rate",
951
+ "cost_per_click"
952
+ ]
953
+ },
954
+ "external:core/postal-country-system.json": {
955
+ "type": "object",
956
+ "properties": {
957
+ "country": {
958
+ "type": "string"
959
+ },
960
+ "system": {
961
+ "$ref": "#/$defs/external:enums~1postal-system.json"
962
+ }
963
+ },
964
+ "required": [
965
+ "country",
966
+ "system"
967
+ ],
968
+ "anyOf": [
969
+ {
970
+ "properties": {
971
+ "country": {
972
+ "const": "US"
973
+ },
974
+ "system": {
975
+ "enum": [
976
+ "zip",
977
+ "zip_plus_four"
978
+ ]
979
+ }
980
+ }
981
+ },
982
+ {
983
+ "properties": {
984
+ "country": {
985
+ "const": "GB"
986
+ },
987
+ "system": {
988
+ "enum": [
989
+ "outward",
990
+ "full"
991
+ ]
992
+ }
993
+ }
994
+ },
995
+ {
996
+ "properties": {
997
+ "country": {
998
+ "const": "CA"
999
+ },
1000
+ "system": {
1001
+ "enum": [
1002
+ "fsa",
1003
+ "full"
1004
+ ]
1005
+ }
1006
+ }
1007
+ },
1008
+ {
1009
+ "properties": {
1010
+ "country": {
1011
+ "enum": [
1012
+ "DE",
1013
+ "CH",
1014
+ "AT"
1015
+ ]
1016
+ },
1017
+ "system": {
1018
+ "const": "plz"
1019
+ }
1020
+ }
1021
+ },
1022
+ {
1023
+ "properties": {
1024
+ "country": {
1025
+ "const": "FR"
1026
+ },
1027
+ "system": {
1028
+ "const": "code_postal"
1029
+ }
1030
+ }
1031
+ },
1032
+ {
1033
+ "properties": {
1034
+ "country": {
1035
+ "const": "AU"
1036
+ },
1037
+ "system": {
1038
+ "const": "postcode"
1039
+ }
1040
+ }
1041
+ },
1042
+ {
1043
+ "properties": {
1044
+ "country": {
1045
+ "const": "BR"
1046
+ },
1047
+ "system": {
1048
+ "const": "cep"
1049
+ }
1050
+ }
1051
+ },
1052
+ {
1053
+ "properties": {
1054
+ "country": {
1055
+ "const": "IN"
1056
+ },
1057
+ "system": {
1058
+ "const": "pin"
1059
+ }
1060
+ }
1061
+ },
1062
+ {
1063
+ "properties": {
1064
+ "country": {
1065
+ "const": "ZA"
1066
+ },
1067
+ "system": {
1068
+ "const": "postal_code"
1069
+ }
1070
+ }
1071
+ },
1072
+ {
1073
+ "properties": {
1074
+ "country": {
1075
+ "not": {
1076
+ "enum": [
1077
+ "US",
1078
+ "GB",
1079
+ "CA",
1080
+ "DE",
1081
+ "CH",
1082
+ "AT",
1083
+ "FR",
1084
+ "AU",
1085
+ "BR",
1086
+ "IN",
1087
+ "ZA"
1088
+ ]
1089
+ }
1090
+ },
1091
+ "system": {
1092
+ "enum": [
1093
+ "postal_code",
1094
+ "custom"
1095
+ ]
1096
+ }
1097
+ }
1098
+ }
1099
+ ]
1100
+ },
1101
+ "external:core/demographic-age-range.json": {
1102
+ "type": "object",
1103
+ "properties": {
1104
+ "min": {
1105
+ "type": "integer"
1106
+ },
1107
+ "max": {
1108
+ "type": "integer"
1109
+ },
1110
+ "include_unknown": {
1111
+ "type": "boolean"
1112
+ }
1113
+ },
1114
+ "required": [
1115
+ "include_unknown"
1116
+ ],
1117
+ "anyOf": [
1118
+ {
1119
+ "required": [
1120
+ "min"
1121
+ ]
1122
+ },
1123
+ {
1124
+ "required": [
1125
+ "max"
1126
+ ]
1127
+ }
1128
+ ],
1129
+ "additionalProperties": true
1130
+ },
1131
+ "external:core/context.json": {
1132
+ "type": "object",
1133
+ "additionalProperties": true
1134
+ }
1135
+ }
1136
+ }