@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,878 @@
1
+ {
2
+ "type": "object",
3
+ "allOf": [
4
+ {
5
+ "$ref": "#/$defs/external:core~1version-envelope.json"
6
+ },
7
+ {
8
+ "if": {
9
+ "properties": {
10
+ "include_pricing": {
11
+ "const": true
12
+ }
13
+ },
14
+ "required": [
15
+ "include_pricing"
16
+ ]
17
+ },
18
+ "then": {
19
+ "required": [
20
+ "account"
21
+ ]
22
+ }
23
+ },
24
+ {
25
+ "if": {
26
+ "properties": {
27
+ "assignment_projection": {
28
+ "const": "matching"
29
+ }
30
+ },
31
+ "required": [
32
+ "assignment_projection"
33
+ ]
34
+ },
35
+ "then": {
36
+ "required": [
37
+ "filters"
38
+ ],
39
+ "properties": {
40
+ "filters": {
41
+ "required": [
42
+ "indicator_types"
43
+ ]
44
+ }
45
+ }
46
+ }
47
+ }
48
+ ],
49
+ "properties": {
50
+ "filters": {
51
+ "$ref": "#/$defs/external:core~1creative-filters.json"
52
+ },
53
+ "sort": {
54
+ "type": "object",
55
+ "properties": {
56
+ "field": {
57
+ "$ref": "#/$defs/external:enums~1creative-sort-field.json"
58
+ },
59
+ "direction": {
60
+ "$ref": "#/$defs/external:enums~1sort-direction.json"
61
+ }
62
+ },
63
+ "additionalProperties": true
64
+ },
65
+ "pagination": {
66
+ "$ref": "#/$defs/external:core~1pagination-request.json"
67
+ },
68
+ "include_assignments": {
69
+ "type": "boolean"
70
+ },
71
+ "assignment_projection": {
72
+ "type": "string",
73
+ "enum": [
74
+ "all",
75
+ "matching"
76
+ ]
77
+ },
78
+ "assignment_limit": {
79
+ "type": "integer"
80
+ },
81
+ "include_snapshot": {
82
+ "type": "boolean"
83
+ },
84
+ "include_items": {
85
+ "type": "boolean"
86
+ },
87
+ "include_variables": {
88
+ "type": "boolean"
89
+ },
90
+ "include_pricing": {
91
+ "type": "boolean"
92
+ },
93
+ "include_purged": {
94
+ "type": "boolean"
95
+ },
96
+ "include_webhook_activity": {
97
+ "type": "boolean"
98
+ },
99
+ "webhook_activity_limit": {
100
+ "type": "integer"
101
+ },
102
+ "account": {
103
+ "$ref": "#/$defs/external:core~1account-ref.json"
104
+ },
105
+ "fields": {
106
+ "type": "array",
107
+ "items": {
108
+ "type": "string",
109
+ "enum": [
110
+ "creative_id",
111
+ "name",
112
+ "format_id",
113
+ "format_kind",
114
+ "format_option_ref",
115
+ "assets",
116
+ "status",
117
+ "created_date",
118
+ "updated_date",
119
+ "tags",
120
+ "rights",
121
+ "rights_attestation_evaluations",
122
+ "localization",
123
+ "localization_unavailable",
124
+ "assignments",
125
+ "snapshot",
126
+ "items",
127
+ "variables",
128
+ "concept",
129
+ "pricing_options"
130
+ ]
131
+ }
132
+ },
133
+ "context": {
134
+ "$ref": "#/$defs/external:core~1context.json"
135
+ },
136
+ "ext": {
137
+ "$ref": "#/$defs/external:core~1ext.json"
138
+ }
139
+ },
140
+ "additionalProperties": true,
141
+ "$defs": {
142
+ "external:core/version-envelope.json": {
143
+ "type": "object",
144
+ "properties": {
145
+ "adcp_version": {
146
+ "type": "string"
147
+ },
148
+ "adcp_major_version": {
149
+ "type": "integer"
150
+ }
151
+ }
152
+ },
153
+ "external:core/creative-filters.json": {
154
+ "type": "object",
155
+ "properties": {
156
+ "accounts": {
157
+ "type": "array",
158
+ "items": {
159
+ "$ref": "#/$defs/external:core~1account-ref.json"
160
+ }
161
+ },
162
+ "statuses": {
163
+ "type": "array",
164
+ "items": {
165
+ "$ref": "#/$defs/external:enums~1creative-status.json"
166
+ }
167
+ },
168
+ "tags": {
169
+ "type": "array",
170
+ "items": {
171
+ "type": "string"
172
+ }
173
+ },
174
+ "tags_any": {
175
+ "type": "array",
176
+ "items": {
177
+ "type": "string"
178
+ }
179
+ },
180
+ "name_contains": {
181
+ "type": "string"
182
+ },
183
+ "creative_ids": {
184
+ "type": "array",
185
+ "items": {
186
+ "type": "string"
187
+ }
188
+ },
189
+ "created_after": {
190
+ "type": "string"
191
+ },
192
+ "created_before": {
193
+ "type": "string"
194
+ },
195
+ "updated_after": {
196
+ "type": "string"
197
+ },
198
+ "updated_before": {
199
+ "type": "string"
200
+ },
201
+ "assigned_to_packages": {
202
+ "type": "array",
203
+ "items": {
204
+ "type": "string"
205
+ }
206
+ },
207
+ "media_buy_ids": {
208
+ "type": "array",
209
+ "items": {
210
+ "type": "string"
211
+ }
212
+ },
213
+ "unassigned": {
214
+ "type": "boolean"
215
+ },
216
+ "has_served": {
217
+ "type": "boolean"
218
+ },
219
+ "indicator_types": {
220
+ "type": "array",
221
+ "items": {
222
+ "$ref": "#/$defs/external:enums~1indicator-type.json"
223
+ }
224
+ },
225
+ "concept_ids": {
226
+ "type": "array",
227
+ "items": {
228
+ "type": "string"
229
+ }
230
+ },
231
+ "format_ids": {
232
+ "type": "array",
233
+ "items": {
234
+ "$ref": "#/$defs/external:core~1format-id.json"
235
+ }
236
+ },
237
+ "format_kinds": {
238
+ "type": "array",
239
+ "items": {
240
+ "$ref": "#/$defs/external:core~1canonical-format-kind.json"
241
+ }
242
+ },
243
+ "asset_types": {
244
+ "type": "array",
245
+ "items": {
246
+ "$ref": "#/$defs/external:enums~1asset-content-type.json"
247
+ }
248
+ },
249
+ "has_variables": {
250
+ "type": "boolean"
251
+ },
252
+ "ext": {
253
+ "$ref": "#/$defs/external:core~1ext.json"
254
+ }
255
+ },
256
+ "additionalProperties": true
257
+ },
258
+ "external:core/account-ref.json": {
259
+ "type": "object",
260
+ "oneOf": [
261
+ {
262
+ "properties": {
263
+ "account_id": {
264
+ "type": "string"
265
+ }
266
+ },
267
+ "required": [
268
+ "account_id"
269
+ ]
270
+ },
271
+ {
272
+ "properties": {
273
+ "brand": {
274
+ "$ref": "#/$defs/external:core~1brand-ref.json"
275
+ },
276
+ "operator": {
277
+ "type": "string"
278
+ },
279
+ "operator_unit": {
280
+ "$ref": "#/$defs/external:core~1operator-unit.json"
281
+ },
282
+ "currency": {
283
+ "type": "string"
284
+ },
285
+ "timezone": {
286
+ "type": "string"
287
+ },
288
+ "sandbox": {
289
+ "type": "boolean"
290
+ }
291
+ },
292
+ "required": [
293
+ "brand",
294
+ "operator"
295
+ ]
296
+ }
297
+ ]
298
+ },
299
+ "external:core/brand-ref.json": {
300
+ "type": "object",
301
+ "properties": {
302
+ "domain": {
303
+ "type": "string"
304
+ },
305
+ "brand_id": {
306
+ "$ref": "#/$defs/external:core~1brand-id.json"
307
+ },
308
+ "countries": {
309
+ "type": "array",
310
+ "items": {
311
+ "type": "string"
312
+ }
313
+ },
314
+ "industries": {
315
+ "type": "array",
316
+ "items": {
317
+ "type": "string"
318
+ }
319
+ },
320
+ "data_subject_contestation": {
321
+ "type": "object",
322
+ "properties": {
323
+ "url": {
324
+ "type": "string"
325
+ },
326
+ "email": {
327
+ "type": "string"
328
+ },
329
+ "languages": {
330
+ "type": "array",
331
+ "items": {
332
+ "type": "string"
333
+ }
334
+ }
335
+ },
336
+ "anyOf": [
337
+ {
338
+ "required": [
339
+ "url"
340
+ ]
341
+ },
342
+ {
343
+ "required": [
344
+ "email"
345
+ ]
346
+ }
347
+ ]
348
+ },
349
+ "brand_kit_override": {
350
+ "type": "object",
351
+ "properties": {
352
+ "logo": {
353
+ "$ref": "#/$defs/external:core~1assets~1image-asset.json"
354
+ },
355
+ "colors": {
356
+ "type": "object",
357
+ "properties": {
358
+ "primary": {
359
+ "type": "string"
360
+ },
361
+ "secondary": {
362
+ "type": "string"
363
+ },
364
+ "accent": {
365
+ "type": "string"
366
+ }
367
+ },
368
+ "additionalProperties": true
369
+ },
370
+ "voice": {
371
+ "type": "string"
372
+ },
373
+ "tagline": {
374
+ "type": "string"
375
+ }
376
+ },
377
+ "additionalProperties": true
378
+ }
379
+ },
380
+ "required": [
381
+ "domain"
382
+ ]
383
+ },
384
+ "external:core/brand-id.json": {
385
+ "type": "string"
386
+ },
387
+ "external:core/assets/image-asset.json": {
388
+ "type": "object",
389
+ "properties": {
390
+ "asset_type": {
391
+ "type": "string",
392
+ "const": "image"
393
+ },
394
+ "url": {
395
+ "type": "string"
396
+ },
397
+ "width": {
398
+ "type": "integer"
399
+ },
400
+ "height": {
401
+ "type": "integer"
402
+ },
403
+ "pixel_ratio": {
404
+ "type": "number"
405
+ },
406
+ "format": {
407
+ "type": "string"
408
+ },
409
+ "alt_text": {
410
+ "type": "string"
411
+ },
412
+ "provenance": {
413
+ "$ref": "#/$defs/external:core~1provenance.json"
414
+ }
415
+ },
416
+ "required": [
417
+ "asset_type",
418
+ "url",
419
+ "width",
420
+ "height"
421
+ ],
422
+ "additionalProperties": true
423
+ },
424
+ "external:core/provenance.json": {
425
+ "type": "object",
426
+ "properties": {
427
+ "digital_source_type": {
428
+ "$ref": "#/$defs/external:enums~1digital-source-type.json"
429
+ },
430
+ "synthetic_depiction": {
431
+ "type": "boolean"
432
+ },
433
+ "ai_tool": {
434
+ "type": "object",
435
+ "properties": {
436
+ "name": {
437
+ "type": "string"
438
+ },
439
+ "version": {
440
+ "type": "string"
441
+ },
442
+ "provider": {
443
+ "type": "string"
444
+ }
445
+ },
446
+ "required": [
447
+ "name"
448
+ ]
449
+ },
450
+ "human_oversight": {
451
+ "type": "string",
452
+ "enum": [
453
+ "none",
454
+ "prompt_only",
455
+ "selected",
456
+ "edited",
457
+ "directed"
458
+ ]
459
+ },
460
+ "declared_by": {
461
+ "type": "object",
462
+ "properties": {
463
+ "agent_url": {
464
+ "type": "string"
465
+ },
466
+ "role": {
467
+ "type": "string",
468
+ "enum": [
469
+ "creator",
470
+ "advertiser",
471
+ "agency",
472
+ "platform",
473
+ "tool"
474
+ ]
475
+ }
476
+ },
477
+ "required": [
478
+ "role"
479
+ ]
480
+ },
481
+ "declared_at": {
482
+ "type": "string"
483
+ },
484
+ "created_time": {
485
+ "type": "string"
486
+ },
487
+ "c2pa": {
488
+ "type": "object",
489
+ "properties": {
490
+ "manifest_url": {
491
+ "type": "string"
492
+ }
493
+ },
494
+ "required": [
495
+ "manifest_url"
496
+ ]
497
+ },
498
+ "embedded_provenance": {
499
+ "type": "array",
500
+ "items": {
501
+ "type": "object",
502
+ "properties": {
503
+ "method": {
504
+ "$ref": "#/$defs/external:enums~1embedded-provenance-method.json"
505
+ },
506
+ "standard": {
507
+ "type": "string"
508
+ },
509
+ "provider": {
510
+ "type": "string"
511
+ },
512
+ "verify_agent": {
513
+ "type": "object",
514
+ "properties": {
515
+ "agent_url": {
516
+ "type": "string"
517
+ },
518
+ "feature_id": {
519
+ "type": "string"
520
+ }
521
+ },
522
+ "required": [
523
+ "agent_url"
524
+ ]
525
+ },
526
+ "embedded_at": {
527
+ "type": "string"
528
+ }
529
+ },
530
+ "required": [
531
+ "method",
532
+ "provider"
533
+ ]
534
+ }
535
+ },
536
+ "watermarks": {
537
+ "type": "array",
538
+ "items": {
539
+ "type": "object",
540
+ "properties": {
541
+ "media_type": {
542
+ "$ref": "#/$defs/external:enums~1watermark-media-type.json"
543
+ },
544
+ "provider": {
545
+ "type": "string"
546
+ },
547
+ "verify_agent": {
548
+ "type": "object",
549
+ "properties": {
550
+ "agent_url": {
551
+ "type": "string"
552
+ },
553
+ "feature_id": {
554
+ "type": "string"
555
+ }
556
+ },
557
+ "required": [
558
+ "agent_url"
559
+ ]
560
+ },
561
+ "c2pa_action": {
562
+ "$ref": "#/$defs/external:enums~1c2pa-watermark-action.json"
563
+ },
564
+ "embedded_at": {
565
+ "type": "string"
566
+ }
567
+ },
568
+ "required": [
569
+ "media_type",
570
+ "provider"
571
+ ]
572
+ }
573
+ },
574
+ "disclosure": {
575
+ "type": "object",
576
+ "properties": {
577
+ "required": {
578
+ "type": "boolean"
579
+ },
580
+ "jurisdictions": {
581
+ "type": "array",
582
+ "items": {
583
+ "type": "object",
584
+ "properties": {
585
+ "country": {
586
+ "type": "string"
587
+ },
588
+ "region": {
589
+ "type": "string"
590
+ },
591
+ "regulation": {
592
+ "type": "string"
593
+ },
594
+ "label_text": {
595
+ "type": "string"
596
+ },
597
+ "render_guidance": {
598
+ "type": "object",
599
+ "properties": {
600
+ "persistence": {
601
+ "$ref": "#/$defs/external:enums~1disclosure-persistence.json"
602
+ },
603
+ "min_duration_ms": {
604
+ "type": "integer"
605
+ },
606
+ "positions": {
607
+ "type": "array",
608
+ "items": {
609
+ "$ref": "#/$defs/external:enums~1disclosure-position.json"
610
+ }
611
+ },
612
+ "ext": {
613
+ "$ref": "#/$defs/external:core~1ext.json"
614
+ }
615
+ }
616
+ }
617
+ },
618
+ "required": [
619
+ "country",
620
+ "regulation"
621
+ ]
622
+ }
623
+ }
624
+ },
625
+ "required": [
626
+ "required"
627
+ ]
628
+ },
629
+ "verification": {
630
+ "type": "array",
631
+ "items": {
632
+ "type": "object",
633
+ "properties": {
634
+ "verified_by": {
635
+ "type": "string"
636
+ },
637
+ "verified_time": {
638
+ "type": "string"
639
+ },
640
+ "result": {
641
+ "type": "string",
642
+ "enum": [
643
+ "authentic",
644
+ "ai_generated",
645
+ "ai_modified",
646
+ "inconclusive"
647
+ ]
648
+ },
649
+ "confidence": {
650
+ "type": "number"
651
+ },
652
+ "details_url": {
653
+ "type": "string"
654
+ }
655
+ },
656
+ "required": [
657
+ "verified_by",
658
+ "result"
659
+ ]
660
+ }
661
+ },
662
+ "ext": {
663
+ "$ref": "#/$defs/external:core~1ext.json"
664
+ }
665
+ }
666
+ },
667
+ "external:enums/digital-source-type.json": {
668
+ "type": "string",
669
+ "enum": [
670
+ "digital_capture",
671
+ "digital_creation",
672
+ "trained_algorithmic_media",
673
+ "composite_with_trained_algorithmic_media",
674
+ "algorithmic_media",
675
+ "composite_capture",
676
+ "composite_synthetic",
677
+ "human_edits",
678
+ "data_driven_media"
679
+ ]
680
+ },
681
+ "external:enums/embedded-provenance-method.json": {
682
+ "type": "string",
683
+ "enum": [
684
+ "manifest_wrapper",
685
+ "provenance_markers"
686
+ ]
687
+ },
688
+ "external:enums/watermark-media-type.json": {
689
+ "type": "string",
690
+ "enum": [
691
+ "audio",
692
+ "image",
693
+ "video",
694
+ "text"
695
+ ]
696
+ },
697
+ "external:enums/c2pa-watermark-action.json": {
698
+ "type": "string",
699
+ "enum": [
700
+ "c2pa.watermarked.bound",
701
+ "c2pa.watermarked.unbound"
702
+ ]
703
+ },
704
+ "external:enums/disclosure-persistence.json": {
705
+ "type": "string",
706
+ "enum": [
707
+ "continuous",
708
+ "initial",
709
+ "flexible"
710
+ ]
711
+ },
712
+ "external:enums/disclosure-position.json": {
713
+ "type": "string",
714
+ "enum": [
715
+ "prominent",
716
+ "footer",
717
+ "audio",
718
+ "subtitle",
719
+ "overlay",
720
+ "end_card",
721
+ "pre_roll",
722
+ "companion"
723
+ ]
724
+ },
725
+ "external:core/ext.json": {
726
+ "type": "object",
727
+ "additionalProperties": true
728
+ },
729
+ "external:core/operator-unit.json": {
730
+ "type": "object",
731
+ "properties": {
732
+ "id": {
733
+ "type": "string"
734
+ },
735
+ "name": {
736
+ "type": "string"
737
+ }
738
+ },
739
+ "required": [
740
+ "id"
741
+ ]
742
+ },
743
+ "external:enums/creative-status.json": {
744
+ "type": "string",
745
+ "enum": [
746
+ "processing",
747
+ "pending_review",
748
+ "approved",
749
+ "suspended",
750
+ "rejected",
751
+ "archived"
752
+ ]
753
+ },
754
+ "external:enums/indicator-type.json": {
755
+ "type": "string",
756
+ "enum": [
757
+ "creative_fatigue",
758
+ "creative_quality_opportunity",
759
+ "creative_diversity_low",
760
+ "audience_saturation",
761
+ "inventory_shortfall_forecast",
762
+ "pacing_risk",
763
+ "budget_constrained"
764
+ ]
765
+ },
766
+ "external:core/format-id.json": {
767
+ "type": "object",
768
+ "properties": {
769
+ "agent_url": {
770
+ "type": "string"
771
+ },
772
+ "id": {
773
+ "type": "string"
774
+ },
775
+ "width": {
776
+ "type": "integer"
777
+ },
778
+ "height": {
779
+ "type": "integer"
780
+ },
781
+ "duration_ms": {
782
+ "type": "number"
783
+ },
784
+ "pixel_ratio": {
785
+ "type": "number"
786
+ }
787
+ },
788
+ "required": [
789
+ "agent_url",
790
+ "id"
791
+ ],
792
+ "additionalProperties": true,
793
+ "dependentRequired": {
794
+ "width": [
795
+ "height"
796
+ ],
797
+ "height": [
798
+ "width"
799
+ ],
800
+ "pixel_ratio": [
801
+ "width",
802
+ "height"
803
+ ]
804
+ }
805
+ },
806
+ "external:core/canonical-format-kind.json": {
807
+ "type": "string",
808
+ "enum": [
809
+ "image",
810
+ "html5",
811
+ "display_tag",
812
+ "image_carousel",
813
+ "video_hosted",
814
+ "video_vast",
815
+ "audio_hosted",
816
+ "audio_daast",
817
+ "sponsored_placement",
818
+ "native_in_feed",
819
+ "responsive_creative",
820
+ "agent_placement",
821
+ "custom"
822
+ ]
823
+ },
824
+ "external:enums/asset-content-type.json": {
825
+ "type": "string",
826
+ "enum": [
827
+ "image",
828
+ "video",
829
+ "audio",
830
+ "text",
831
+ "markdown",
832
+ "html",
833
+ "css",
834
+ "javascript",
835
+ "zip",
836
+ "vast",
837
+ "daast",
838
+ "url",
839
+ "webhook",
840
+ "brief",
841
+ "catalog",
842
+ "published_post"
843
+ ]
844
+ },
845
+ "external:enums/creative-sort-field.json": {
846
+ "type": "string",
847
+ "enum": [
848
+ "created_date",
849
+ "updated_date",
850
+ "name",
851
+ "status",
852
+ "assignment_count"
853
+ ]
854
+ },
855
+ "external:enums/sort-direction.json": {
856
+ "type": "string",
857
+ "enum": [
858
+ "asc",
859
+ "desc"
860
+ ]
861
+ },
862
+ "external:core/pagination-request.json": {
863
+ "type": "object",
864
+ "properties": {
865
+ "max_results": {
866
+ "type": "integer"
867
+ },
868
+ "cursor": {
869
+ "type": "string"
870
+ }
871
+ }
872
+ },
873
+ "external:core/context.json": {
874
+ "type": "object",
875
+ "additionalProperties": true
876
+ }
877
+ }
878
+ }