@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,1016 @@
1
+ {
2
+ "type": "object",
3
+ "allOf": [
4
+ {
5
+ "$ref": "#/$defs/external:core~1version-envelope.json"
6
+ },
7
+ {
8
+ "not": {
9
+ "properties": {
10
+ "dry_run": {
11
+ "const": true
12
+ }
13
+ },
14
+ "required": [
15
+ "dry_run",
16
+ "item_availability_updates"
17
+ ]
18
+ },
19
+ "errorMessage": "dry_run cannot be combined with item_availability_updates because immediate availability acknowledgements represent applied state, not a preview"
20
+ }
21
+ ],
22
+ "properties": {
23
+ "idempotency_key": {
24
+ "type": "string"
25
+ },
26
+ "account": {
27
+ "$ref": "#/$defs/external:core~1account-ref.json"
28
+ },
29
+ "catalogs": {
30
+ "type": "array",
31
+ "items": {
32
+ "$ref": "#/$defs/external:core~1catalog.json"
33
+ }
34
+ },
35
+ "item_availability_updates": {
36
+ "type": "array",
37
+ "items": {
38
+ "$ref": "#/$defs/external:core~1catalog-item-availability-update.json"
39
+ }
40
+ },
41
+ "item_availability_queries": {
42
+ "type": "array",
43
+ "items": {
44
+ "$ref": "#/$defs/external:core~1catalog-item-availability-ref.json"
45
+ }
46
+ },
47
+ "catalog_ids": {
48
+ "type": "array",
49
+ "items": {
50
+ "type": "string"
51
+ }
52
+ },
53
+ "delete_missing": {
54
+ "type": "boolean"
55
+ },
56
+ "dry_run": {
57
+ "type": "boolean"
58
+ },
59
+ "validation_mode": {
60
+ "$ref": "#/$defs/external:enums~1validation-mode.json"
61
+ },
62
+ "push_notification_config": {
63
+ "$ref": "#/$defs/external:core~1push-notification-config.json"
64
+ },
65
+ "context": {
66
+ "$ref": "#/$defs/external:core~1context.json"
67
+ },
68
+ "ext": {
69
+ "$ref": "#/$defs/external:core~1ext.json"
70
+ }
71
+ },
72
+ "required": [
73
+ "idempotency_key",
74
+ "account"
75
+ ],
76
+ "if": {
77
+ "properties": {
78
+ "delete_missing": {
79
+ "const": true
80
+ }
81
+ },
82
+ "required": [
83
+ "delete_missing"
84
+ ]
85
+ },
86
+ "then": {
87
+ "required": [
88
+ "catalogs"
89
+ ],
90
+ "errorMessage": "catalogs is required when delete_missing is true — omitting it would delete all buyer-managed catalogs on the account"
91
+ },
92
+ "additionalProperties": true,
93
+ "$defs": {
94
+ "external:core/version-envelope.json": {
95
+ "type": "object",
96
+ "properties": {
97
+ "adcp_version": {
98
+ "type": "string"
99
+ },
100
+ "adcp_major_version": {
101
+ "type": "integer"
102
+ }
103
+ }
104
+ },
105
+ "external:core/account-ref.json": {
106
+ "type": "object",
107
+ "oneOf": [
108
+ {
109
+ "properties": {
110
+ "account_id": {
111
+ "type": "string"
112
+ }
113
+ },
114
+ "required": [
115
+ "account_id"
116
+ ]
117
+ },
118
+ {
119
+ "properties": {
120
+ "brand": {
121
+ "$ref": "#/$defs/external:core~1brand-ref.json"
122
+ },
123
+ "operator": {
124
+ "type": "string"
125
+ },
126
+ "operator_unit": {
127
+ "$ref": "#/$defs/external:core~1operator-unit.json"
128
+ },
129
+ "currency": {
130
+ "type": "string"
131
+ },
132
+ "timezone": {
133
+ "type": "string"
134
+ },
135
+ "sandbox": {
136
+ "type": "boolean"
137
+ }
138
+ },
139
+ "required": [
140
+ "brand",
141
+ "operator"
142
+ ]
143
+ }
144
+ ]
145
+ },
146
+ "external:core/brand-ref.json": {
147
+ "type": "object",
148
+ "properties": {
149
+ "domain": {
150
+ "type": "string"
151
+ },
152
+ "brand_id": {
153
+ "$ref": "#/$defs/external:core~1brand-id.json"
154
+ },
155
+ "countries": {
156
+ "type": "array",
157
+ "items": {
158
+ "type": "string"
159
+ }
160
+ },
161
+ "industries": {
162
+ "type": "array",
163
+ "items": {
164
+ "type": "string"
165
+ }
166
+ },
167
+ "data_subject_contestation": {
168
+ "type": "object",
169
+ "properties": {
170
+ "url": {
171
+ "type": "string"
172
+ },
173
+ "email": {
174
+ "type": "string"
175
+ },
176
+ "languages": {
177
+ "type": "array",
178
+ "items": {
179
+ "type": "string"
180
+ }
181
+ }
182
+ },
183
+ "anyOf": [
184
+ {
185
+ "required": [
186
+ "url"
187
+ ]
188
+ },
189
+ {
190
+ "required": [
191
+ "email"
192
+ ]
193
+ }
194
+ ]
195
+ },
196
+ "brand_kit_override": {
197
+ "type": "object",
198
+ "properties": {
199
+ "logo": {
200
+ "$ref": "#/$defs/external:core~1assets~1image-asset.json"
201
+ },
202
+ "colors": {
203
+ "type": "object",
204
+ "properties": {
205
+ "primary": {
206
+ "type": "string"
207
+ },
208
+ "secondary": {
209
+ "type": "string"
210
+ },
211
+ "accent": {
212
+ "type": "string"
213
+ }
214
+ },
215
+ "additionalProperties": true
216
+ },
217
+ "voice": {
218
+ "type": "string"
219
+ },
220
+ "tagline": {
221
+ "type": "string"
222
+ }
223
+ },
224
+ "additionalProperties": true
225
+ }
226
+ },
227
+ "required": [
228
+ "domain"
229
+ ]
230
+ },
231
+ "external:core/brand-id.json": {
232
+ "type": "string"
233
+ },
234
+ "external:core/assets/image-asset.json": {
235
+ "type": "object",
236
+ "properties": {
237
+ "asset_type": {
238
+ "type": "string",
239
+ "const": "image"
240
+ },
241
+ "url": {
242
+ "type": "string"
243
+ },
244
+ "width": {
245
+ "type": "integer"
246
+ },
247
+ "height": {
248
+ "type": "integer"
249
+ },
250
+ "pixel_ratio": {
251
+ "type": "number"
252
+ },
253
+ "format": {
254
+ "type": "string"
255
+ },
256
+ "alt_text": {
257
+ "type": "string"
258
+ },
259
+ "provenance": {
260
+ "$ref": "#/$defs/external:core~1provenance.json"
261
+ }
262
+ },
263
+ "required": [
264
+ "asset_type",
265
+ "url",
266
+ "width",
267
+ "height"
268
+ ],
269
+ "additionalProperties": true
270
+ },
271
+ "external:core/provenance.json": {
272
+ "type": "object",
273
+ "properties": {
274
+ "digital_source_type": {
275
+ "$ref": "#/$defs/external:enums~1digital-source-type.json"
276
+ },
277
+ "synthetic_depiction": {
278
+ "type": "boolean"
279
+ },
280
+ "ai_tool": {
281
+ "type": "object",
282
+ "properties": {
283
+ "name": {
284
+ "type": "string"
285
+ },
286
+ "version": {
287
+ "type": "string"
288
+ },
289
+ "provider": {
290
+ "type": "string"
291
+ }
292
+ },
293
+ "required": [
294
+ "name"
295
+ ]
296
+ },
297
+ "human_oversight": {
298
+ "type": "string",
299
+ "enum": [
300
+ "none",
301
+ "prompt_only",
302
+ "selected",
303
+ "edited",
304
+ "directed"
305
+ ]
306
+ },
307
+ "declared_by": {
308
+ "type": "object",
309
+ "properties": {
310
+ "agent_url": {
311
+ "type": "string"
312
+ },
313
+ "role": {
314
+ "type": "string",
315
+ "enum": [
316
+ "creator",
317
+ "advertiser",
318
+ "agency",
319
+ "platform",
320
+ "tool"
321
+ ]
322
+ }
323
+ },
324
+ "required": [
325
+ "role"
326
+ ]
327
+ },
328
+ "declared_at": {
329
+ "type": "string"
330
+ },
331
+ "created_time": {
332
+ "type": "string"
333
+ },
334
+ "c2pa": {
335
+ "type": "object",
336
+ "properties": {
337
+ "manifest_url": {
338
+ "type": "string"
339
+ }
340
+ },
341
+ "required": [
342
+ "manifest_url"
343
+ ]
344
+ },
345
+ "embedded_provenance": {
346
+ "type": "array",
347
+ "items": {
348
+ "type": "object",
349
+ "properties": {
350
+ "method": {
351
+ "$ref": "#/$defs/external:enums~1embedded-provenance-method.json"
352
+ },
353
+ "standard": {
354
+ "type": "string"
355
+ },
356
+ "provider": {
357
+ "type": "string"
358
+ },
359
+ "verify_agent": {
360
+ "type": "object",
361
+ "properties": {
362
+ "agent_url": {
363
+ "type": "string"
364
+ },
365
+ "feature_id": {
366
+ "type": "string"
367
+ }
368
+ },
369
+ "required": [
370
+ "agent_url"
371
+ ]
372
+ },
373
+ "embedded_at": {
374
+ "type": "string"
375
+ }
376
+ },
377
+ "required": [
378
+ "method",
379
+ "provider"
380
+ ]
381
+ }
382
+ },
383
+ "watermarks": {
384
+ "type": "array",
385
+ "items": {
386
+ "type": "object",
387
+ "properties": {
388
+ "media_type": {
389
+ "$ref": "#/$defs/external:enums~1watermark-media-type.json"
390
+ },
391
+ "provider": {
392
+ "type": "string"
393
+ },
394
+ "verify_agent": {
395
+ "type": "object",
396
+ "properties": {
397
+ "agent_url": {
398
+ "type": "string"
399
+ },
400
+ "feature_id": {
401
+ "type": "string"
402
+ }
403
+ },
404
+ "required": [
405
+ "agent_url"
406
+ ]
407
+ },
408
+ "c2pa_action": {
409
+ "$ref": "#/$defs/external:enums~1c2pa-watermark-action.json"
410
+ },
411
+ "embedded_at": {
412
+ "type": "string"
413
+ }
414
+ },
415
+ "required": [
416
+ "media_type",
417
+ "provider"
418
+ ]
419
+ }
420
+ },
421
+ "disclosure": {
422
+ "type": "object",
423
+ "properties": {
424
+ "required": {
425
+ "type": "boolean"
426
+ },
427
+ "jurisdictions": {
428
+ "type": "array",
429
+ "items": {
430
+ "type": "object",
431
+ "properties": {
432
+ "country": {
433
+ "type": "string"
434
+ },
435
+ "region": {
436
+ "type": "string"
437
+ },
438
+ "regulation": {
439
+ "type": "string"
440
+ },
441
+ "label_text": {
442
+ "type": "string"
443
+ },
444
+ "render_guidance": {
445
+ "type": "object",
446
+ "properties": {
447
+ "persistence": {
448
+ "$ref": "#/$defs/external:enums~1disclosure-persistence.json"
449
+ },
450
+ "min_duration_ms": {
451
+ "type": "integer"
452
+ },
453
+ "positions": {
454
+ "type": "array",
455
+ "items": {
456
+ "$ref": "#/$defs/external:enums~1disclosure-position.json"
457
+ }
458
+ },
459
+ "ext": {
460
+ "$ref": "#/$defs/external:core~1ext.json"
461
+ }
462
+ }
463
+ }
464
+ },
465
+ "required": [
466
+ "country",
467
+ "regulation"
468
+ ]
469
+ }
470
+ }
471
+ },
472
+ "required": [
473
+ "required"
474
+ ]
475
+ },
476
+ "verification": {
477
+ "type": "array",
478
+ "items": {
479
+ "type": "object",
480
+ "properties": {
481
+ "verified_by": {
482
+ "type": "string"
483
+ },
484
+ "verified_time": {
485
+ "type": "string"
486
+ },
487
+ "result": {
488
+ "type": "string",
489
+ "enum": [
490
+ "authentic",
491
+ "ai_generated",
492
+ "ai_modified",
493
+ "inconclusive"
494
+ ]
495
+ },
496
+ "confidence": {
497
+ "type": "number"
498
+ },
499
+ "details_url": {
500
+ "type": "string"
501
+ }
502
+ },
503
+ "required": [
504
+ "verified_by",
505
+ "result"
506
+ ]
507
+ }
508
+ },
509
+ "ext": {
510
+ "$ref": "#/$defs/external:core~1ext.json"
511
+ }
512
+ }
513
+ },
514
+ "external:enums/digital-source-type.json": {
515
+ "type": "string",
516
+ "enum": [
517
+ "digital_capture",
518
+ "digital_creation",
519
+ "trained_algorithmic_media",
520
+ "composite_with_trained_algorithmic_media",
521
+ "algorithmic_media",
522
+ "composite_capture",
523
+ "composite_synthetic",
524
+ "human_edits",
525
+ "data_driven_media"
526
+ ]
527
+ },
528
+ "external:enums/embedded-provenance-method.json": {
529
+ "type": "string",
530
+ "enum": [
531
+ "manifest_wrapper",
532
+ "provenance_markers"
533
+ ]
534
+ },
535
+ "external:enums/watermark-media-type.json": {
536
+ "type": "string",
537
+ "enum": [
538
+ "audio",
539
+ "image",
540
+ "video",
541
+ "text"
542
+ ]
543
+ },
544
+ "external:enums/c2pa-watermark-action.json": {
545
+ "type": "string",
546
+ "enum": [
547
+ "c2pa.watermarked.bound",
548
+ "c2pa.watermarked.unbound"
549
+ ]
550
+ },
551
+ "external:enums/disclosure-persistence.json": {
552
+ "type": "string",
553
+ "enum": [
554
+ "continuous",
555
+ "initial",
556
+ "flexible"
557
+ ]
558
+ },
559
+ "external:enums/disclosure-position.json": {
560
+ "type": "string",
561
+ "enum": [
562
+ "prominent",
563
+ "footer",
564
+ "audio",
565
+ "subtitle",
566
+ "overlay",
567
+ "end_card",
568
+ "pre_roll",
569
+ "companion"
570
+ ]
571
+ },
572
+ "external:core/ext.json": {
573
+ "type": "object",
574
+ "additionalProperties": true
575
+ },
576
+ "external:core/operator-unit.json": {
577
+ "type": "object",
578
+ "properties": {
579
+ "id": {
580
+ "type": "string"
581
+ },
582
+ "name": {
583
+ "type": "string"
584
+ }
585
+ },
586
+ "required": [
587
+ "id"
588
+ ]
589
+ },
590
+ "external:core/catalog.json": {
591
+ "type": "object",
592
+ "properties": {
593
+ "catalog_id": {
594
+ "type": "string"
595
+ },
596
+ "name": {
597
+ "type": "string"
598
+ },
599
+ "type": {
600
+ "$ref": "#/$defs/external:enums~1catalog-type.json"
601
+ },
602
+ "url": {
603
+ "type": "string"
604
+ },
605
+ "feed_format": {
606
+ "$ref": "#/$defs/external:enums~1feed-format.json"
607
+ },
608
+ "update_frequency": {
609
+ "$ref": "#/$defs/external:enums~1update-frequency.json"
610
+ },
611
+ "items": {
612
+ "type": "array",
613
+ "items": {
614
+ "type": "object"
615
+ }
616
+ },
617
+ "ids": {
618
+ "type": "array",
619
+ "items": {
620
+ "type": "string"
621
+ }
622
+ },
623
+ "gtins": {
624
+ "type": "array",
625
+ "items": {
626
+ "type": "string"
627
+ }
628
+ },
629
+ "tags": {
630
+ "type": "array",
631
+ "items": {
632
+ "type": "string"
633
+ }
634
+ },
635
+ "category": {
636
+ "type": "string"
637
+ },
638
+ "query": {
639
+ "type": "string"
640
+ },
641
+ "conversion_events": {
642
+ "type": "array",
643
+ "items": {
644
+ "$ref": "#/$defs/external:enums~1event-type.json"
645
+ }
646
+ },
647
+ "content_id_type": {
648
+ "$ref": "#/$defs/external:enums~1content-id-type.json"
649
+ },
650
+ "feed_field_mappings": {
651
+ "type": "array",
652
+ "items": {
653
+ "$ref": "#/$defs/external:core~1catalog-field-mapping.json"
654
+ }
655
+ }
656
+ },
657
+ "required": [
658
+ "type"
659
+ ],
660
+ "additionalProperties": true
661
+ },
662
+ "external:enums/catalog-type.json": {
663
+ "type": "string",
664
+ "enum": [
665
+ "offering",
666
+ "product",
667
+ "inventory",
668
+ "store",
669
+ "promotion",
670
+ "hotel",
671
+ "flight",
672
+ "job",
673
+ "vehicle",
674
+ "real_estate",
675
+ "education",
676
+ "destination",
677
+ "app"
678
+ ]
679
+ },
680
+ "external:enums/feed-format.json": {
681
+ "type": "string",
682
+ "enum": [
683
+ "google_merchant_center",
684
+ "facebook_catalog",
685
+ "shopify",
686
+ "linkedin_jobs",
687
+ "tiktok_shop",
688
+ "pinterest_catalog",
689
+ "openai_product_feed",
690
+ "custom"
691
+ ]
692
+ },
693
+ "external:enums/update-frequency.json": {
694
+ "type": "string",
695
+ "enum": [
696
+ "realtime",
697
+ "hourly",
698
+ "daily",
699
+ "weekly"
700
+ ]
701
+ },
702
+ "external:enums/event-type.json": {
703
+ "type": "string",
704
+ "enum": [
705
+ "page_view",
706
+ "view_content",
707
+ "select_content",
708
+ "select_item",
709
+ "search",
710
+ "share",
711
+ "add_to_cart",
712
+ "remove_from_cart",
713
+ "viewed_cart",
714
+ "add_to_wishlist",
715
+ "initiate_checkout",
716
+ "add_payment_info",
717
+ "purchase",
718
+ "refund",
719
+ "lead",
720
+ "qualify_lead",
721
+ "close_convert_lead",
722
+ "disqualify_lead",
723
+ "complete_registration",
724
+ "subscribe",
725
+ "follow",
726
+ "content_view",
727
+ "watch_milestone",
728
+ "start_trial",
729
+ "app_install",
730
+ "app_launch",
731
+ "contact",
732
+ "schedule",
733
+ "donate",
734
+ "submit_application",
735
+ "custom"
736
+ ]
737
+ },
738
+ "external:enums/content-id-type.json": {
739
+ "type": "string",
740
+ "enum": [
741
+ "sku",
742
+ "gtin",
743
+ "offering_id",
744
+ "job_id",
745
+ "hotel_id",
746
+ "flight_id",
747
+ "vehicle_id",
748
+ "listing_id",
749
+ "store_id",
750
+ "program_id",
751
+ "destination_id",
752
+ "app_id"
753
+ ]
754
+ },
755
+ "external:core/catalog-field-mapping.json": {
756
+ "type": "object",
757
+ "properties": {
758
+ "feed_field": {
759
+ "type": "string"
760
+ },
761
+ "catalog_field": {
762
+ "type": "string"
763
+ },
764
+ "asset_group_id": {
765
+ "type": "string"
766
+ },
767
+ "value": {},
768
+ "transform": {
769
+ "type": "string",
770
+ "enum": [
771
+ "date",
772
+ "divide",
773
+ "boolean",
774
+ "split"
775
+ ]
776
+ },
777
+ "format": {
778
+ "type": "string"
779
+ },
780
+ "timezone": {
781
+ "type": "string"
782
+ },
783
+ "by": {
784
+ "type": "number"
785
+ },
786
+ "separator": {
787
+ "type": "string"
788
+ },
789
+ "default": {},
790
+ "ext": {
791
+ "$ref": "#/$defs/external:core~1ext.json"
792
+ }
793
+ },
794
+ "allOf": [
795
+ {
796
+ "not": {
797
+ "required": [
798
+ "feed_field",
799
+ "value"
800
+ ]
801
+ }
802
+ },
803
+ {
804
+ "not": {
805
+ "required": [
806
+ "catalog_field",
807
+ "asset_group_id"
808
+ ]
809
+ }
810
+ }
811
+ ],
812
+ "additionalProperties": true
813
+ },
814
+ "external:core/catalog-item-availability-update.json": {
815
+ "type": "object",
816
+ "properties": {
817
+ "catalog_id": {
818
+ "type": "string"
819
+ },
820
+ "catalog_generation": {
821
+ "type": "string"
822
+ },
823
+ "item_id": {
824
+ "type": "string"
825
+ },
826
+ "expected_overlay_revision": {
827
+ "type": "integer"
828
+ },
829
+ "action": {
830
+ "type": "string",
831
+ "enum": [
832
+ "suppress",
833
+ "restore"
834
+ ]
835
+ },
836
+ "reason": {
837
+ "type": "string",
838
+ "enum": [
839
+ "out_of_stock",
840
+ "back_in_stock",
841
+ "content_unavailable",
842
+ "content_available",
843
+ "promotion_start",
844
+ "promotion_end",
845
+ "time_window_started",
846
+ "time_window_expired",
847
+ "buyer_request",
848
+ "other"
849
+ ]
850
+ },
851
+ "reason_detail": {
852
+ "type": "string"
853
+ },
854
+ "expires_at": {
855
+ "type": "string"
856
+ },
857
+ "ext": {
858
+ "$ref": "#/$defs/external:core~1ext.json"
859
+ }
860
+ },
861
+ "required": [
862
+ "catalog_id",
863
+ "catalog_generation",
864
+ "item_id",
865
+ "expected_overlay_revision",
866
+ "action",
867
+ "reason"
868
+ ],
869
+ "if": {
870
+ "properties": {
871
+ "reason": {
872
+ "const": "other"
873
+ }
874
+ },
875
+ "required": [
876
+ "reason"
877
+ ]
878
+ },
879
+ "then": {
880
+ "required": [
881
+ "reason_detail"
882
+ ]
883
+ },
884
+ "allOf": [
885
+ {
886
+ "if": {
887
+ "properties": {
888
+ "action": {
889
+ "const": "suppress"
890
+ }
891
+ },
892
+ "required": [
893
+ "action"
894
+ ]
895
+ },
896
+ "then": {
897
+ "properties": {
898
+ "reason": {
899
+ "enum": [
900
+ "out_of_stock",
901
+ "content_unavailable",
902
+ "promotion_end",
903
+ "time_window_expired",
904
+ "buyer_request",
905
+ "other"
906
+ ]
907
+ }
908
+ }
909
+ },
910
+ "else": {
911
+ "properties": {
912
+ "reason": {
913
+ "enum": [
914
+ "back_in_stock",
915
+ "content_available",
916
+ "promotion_start",
917
+ "time_window_started",
918
+ "buyer_request",
919
+ "other"
920
+ ]
921
+ }
922
+ }
923
+ }
924
+ },
925
+ {
926
+ "if": {
927
+ "required": [
928
+ "expires_at"
929
+ ]
930
+ },
931
+ "then": {
932
+ "properties": {
933
+ "action": {
934
+ "const": "suppress"
935
+ }
936
+ }
937
+ }
938
+ }
939
+ ],
940
+ "additionalProperties": true
941
+ },
942
+ "external:core/catalog-item-availability-ref.json": {
943
+ "type": "object",
944
+ "properties": {
945
+ "catalog_id": {
946
+ "type": "string"
947
+ },
948
+ "catalog_generation": {
949
+ "type": "string"
950
+ },
951
+ "item_id": {
952
+ "type": "string"
953
+ }
954
+ },
955
+ "required": [
956
+ "catalog_id",
957
+ "catalog_generation",
958
+ "item_id"
959
+ ],
960
+ "additionalProperties": true
961
+ },
962
+ "external:enums/validation-mode.json": {
963
+ "type": "string",
964
+ "enum": [
965
+ "strict",
966
+ "lenient"
967
+ ]
968
+ },
969
+ "external:core/push-notification-config.json": {
970
+ "type": "object",
971
+ "properties": {
972
+ "url": {
973
+ "type": "string"
974
+ },
975
+ "operation_id": {
976
+ "type": "string"
977
+ },
978
+ "token": {
979
+ "type": "string"
980
+ },
981
+ "authentication": {
982
+ "type": "object",
983
+ "properties": {
984
+ "schemes": {
985
+ "type": "array",
986
+ "items": {
987
+ "$ref": "#/$defs/external:enums~1auth-scheme.json"
988
+ }
989
+ },
990
+ "credentials": {
991
+ "type": "string"
992
+ }
993
+ },
994
+ "required": [
995
+ "schemes",
996
+ "credentials"
997
+ ]
998
+ }
999
+ },
1000
+ "required": [
1001
+ "url"
1002
+ ]
1003
+ },
1004
+ "external:enums/auth-scheme.json": {
1005
+ "type": "string",
1006
+ "enum": [
1007
+ "Bearer",
1008
+ "HMAC-SHA256"
1009
+ ]
1010
+ },
1011
+ "external:core/context.json": {
1012
+ "type": "object",
1013
+ "additionalProperties": true
1014
+ }
1015
+ }
1016
+ }