@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,610 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://adcontextprotocol.org/schemas/3.2.0-beta.0/mcp/2026-07-28/profiles/media-buy/account/get-account-financials-request.json",
4
+ "type": "object",
5
+ "allOf": [
6
+ {
7
+ "$ref": "#/$defs/external:core~1version-envelope.json"
8
+ }
9
+ ],
10
+ "properties": {
11
+ "account": {
12
+ "$ref": "#/$defs/external:core~1account-ref.json"
13
+ },
14
+ "period": {
15
+ "$ref": "#/$defs/external:core~1date-range.json"
16
+ },
17
+ "context": {
18
+ "$ref": "#/$defs/external:core~1context.json"
19
+ },
20
+ "ext": {
21
+ "$ref": "#/$defs/external:core~1ext.json"
22
+ }
23
+ },
24
+ "required": [
25
+ "account"
26
+ ],
27
+ "additionalProperties": true,
28
+ "$defs": {
29
+ "external:core/version-envelope.json": {
30
+ "type": "object",
31
+ "properties": {
32
+ "adcp_version": {
33
+ "type": "string",
34
+ "pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)(?:-[a-zA-Z0-9](?:[a-zA-Z0-9.-]*[a-zA-Z0-9])?)?$"
35
+ },
36
+ "adcp_major_version": {
37
+ "type": "integer",
38
+ "deprecated": true,
39
+ "minimum": 1,
40
+ "maximum": 99
41
+ }
42
+ }
43
+ },
44
+ "external:core/account-ref.json": {
45
+ "type": "object",
46
+ "oneOf": [
47
+ {
48
+ "properties": {
49
+ "account_id": {
50
+ "type": "string",
51
+ "x-entity": "account"
52
+ }
53
+ },
54
+ "required": [
55
+ "account_id"
56
+ ],
57
+ "additionalProperties": false
58
+ },
59
+ {
60
+ "properties": {
61
+ "brand": {
62
+ "$ref": "#/$defs/external:core~1brand-ref.json"
63
+ },
64
+ "operator": {
65
+ "type": "string",
66
+ "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$",
67
+ "x-entity": "operator"
68
+ },
69
+ "operator_unit": {
70
+ "$ref": "#/$defs/external:core~1operator-unit.json"
71
+ },
72
+ "currency": {
73
+ "type": "string",
74
+ "pattern": "^[A-Z]{3}$"
75
+ },
76
+ "timezone": {
77
+ "type": "string",
78
+ "minLength": 1
79
+ },
80
+ "sandbox": {
81
+ "type": "boolean",
82
+ "default": false
83
+ }
84
+ },
85
+ "required": [
86
+ "brand",
87
+ "operator"
88
+ ],
89
+ "additionalProperties": false
90
+ }
91
+ ]
92
+ },
93
+ "external:core/brand-ref.json": {
94
+ "type": "object",
95
+ "properties": {
96
+ "domain": {
97
+ "type": "string",
98
+ "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$"
99
+ },
100
+ "brand_id": {
101
+ "$ref": "#/$defs/external:core~1brand-id.json"
102
+ },
103
+ "countries": {
104
+ "type": "array",
105
+ "items": {
106
+ "type": "string",
107
+ "pattern": "^[A-Z]{2}$"
108
+ },
109
+ "minItems": 1,
110
+ "uniqueItems": true
111
+ },
112
+ "industries": {
113
+ "type": "array",
114
+ "items": {
115
+ "type": "string"
116
+ }
117
+ },
118
+ "data_subject_contestation": {
119
+ "type": "object",
120
+ "properties": {
121
+ "url": {
122
+ "type": "string",
123
+ "format": "uri",
124
+ "pattern": "^https://"
125
+ },
126
+ "email": {
127
+ "type": "string",
128
+ "format": "email"
129
+ },
130
+ "languages": {
131
+ "type": "array",
132
+ "items": {
133
+ "type": "string"
134
+ }
135
+ }
136
+ },
137
+ "anyOf": [
138
+ {
139
+ "required": [
140
+ "url"
141
+ ]
142
+ },
143
+ {
144
+ "required": [
145
+ "email"
146
+ ]
147
+ }
148
+ ],
149
+ "additionalProperties": false
150
+ },
151
+ "brand_kit_override": {
152
+ "type": "object",
153
+ "properties": {
154
+ "logo": {
155
+ "$ref": "#/$defs/external:core~1assets~1image-asset.json"
156
+ },
157
+ "colors": {
158
+ "type": "object",
159
+ "properties": {
160
+ "primary": {
161
+ "type": "string",
162
+ "pattern": "^#[0-9a-fA-F]{6}$"
163
+ },
164
+ "secondary": {
165
+ "type": "string",
166
+ "pattern": "^#[0-9a-fA-F]{6}$"
167
+ },
168
+ "accent": {
169
+ "type": "string",
170
+ "pattern": "^#[0-9a-fA-F]{6}$"
171
+ }
172
+ },
173
+ "additionalProperties": true
174
+ },
175
+ "voice": {
176
+ "type": "string"
177
+ },
178
+ "tagline": {
179
+ "type": "string"
180
+ }
181
+ },
182
+ "additionalProperties": true
183
+ }
184
+ },
185
+ "required": [
186
+ "domain"
187
+ ],
188
+ "additionalProperties": false
189
+ },
190
+ "external:core/brand-id.json": {
191
+ "type": "string",
192
+ "pattern": "^[a-z0-9_]+$",
193
+ "x-entity": "advertiser_brand"
194
+ },
195
+ "external:core/assets/image-asset.json": {
196
+ "type": "object",
197
+ "properties": {
198
+ "asset_type": {
199
+ "type": "string",
200
+ "const": "image"
201
+ },
202
+ "url": {
203
+ "type": "string",
204
+ "format": "uri"
205
+ },
206
+ "width": {
207
+ "type": "integer",
208
+ "minimum": 1
209
+ },
210
+ "height": {
211
+ "type": "integer",
212
+ "minimum": 1
213
+ },
214
+ "pixel_ratio": {
215
+ "type": "number",
216
+ "exclusiveMinimum": 0
217
+ },
218
+ "format": {
219
+ "type": "string"
220
+ },
221
+ "alt_text": {
222
+ "type": "string",
223
+ "x-accessibility": true
224
+ },
225
+ "provenance": {
226
+ "$ref": "#/$defs/external:core~1provenance.json"
227
+ }
228
+ },
229
+ "required": [
230
+ "asset_type",
231
+ "url",
232
+ "width",
233
+ "height"
234
+ ],
235
+ "additionalProperties": true
236
+ },
237
+ "external:core/provenance.json": {
238
+ "type": "object",
239
+ "properties": {
240
+ "digital_source_type": {
241
+ "$ref": "#/$defs/external:enums~1digital-source-type.json"
242
+ },
243
+ "synthetic_depiction": {
244
+ "type": "boolean"
245
+ },
246
+ "ai_tool": {
247
+ "type": "object",
248
+ "properties": {
249
+ "name": {
250
+ "type": "string"
251
+ },
252
+ "version": {
253
+ "type": "string"
254
+ },
255
+ "provider": {
256
+ "type": "string"
257
+ }
258
+ },
259
+ "required": [
260
+ "name"
261
+ ]
262
+ },
263
+ "human_oversight": {
264
+ "type": "string",
265
+ "enum": [
266
+ "none",
267
+ "prompt_only",
268
+ "selected",
269
+ "edited",
270
+ "directed"
271
+ ]
272
+ },
273
+ "declared_by": {
274
+ "type": "object",
275
+ "properties": {
276
+ "agent_url": {
277
+ "type": "string",
278
+ "format": "uri"
279
+ },
280
+ "role": {
281
+ "type": "string",
282
+ "enum": [
283
+ "creator",
284
+ "advertiser",
285
+ "agency",
286
+ "platform",
287
+ "tool"
288
+ ]
289
+ }
290
+ },
291
+ "required": [
292
+ "role"
293
+ ]
294
+ },
295
+ "declared_at": {
296
+ "type": "string",
297
+ "format": "date-time"
298
+ },
299
+ "created_time": {
300
+ "type": "string",
301
+ "format": "date-time"
302
+ },
303
+ "c2pa": {
304
+ "type": "object",
305
+ "properties": {
306
+ "manifest_url": {
307
+ "type": "string",
308
+ "format": "uri"
309
+ }
310
+ },
311
+ "required": [
312
+ "manifest_url"
313
+ ]
314
+ },
315
+ "embedded_provenance": {
316
+ "type": "array",
317
+ "minItems": 1,
318
+ "items": {
319
+ "type": "object",
320
+ "properties": {
321
+ "method": {
322
+ "$ref": "#/$defs/external:enums~1embedded-provenance-method.json"
323
+ },
324
+ "standard": {
325
+ "type": "string"
326
+ },
327
+ "provider": {
328
+ "type": "string"
329
+ },
330
+ "verify_agent": {
331
+ "type": "object",
332
+ "properties": {
333
+ "agent_url": {
334
+ "type": "string",
335
+ "format": "uri",
336
+ "pattern": "^https://"
337
+ },
338
+ "feature_id": {
339
+ "type": "string"
340
+ }
341
+ },
342
+ "required": [
343
+ "agent_url"
344
+ ],
345
+ "additionalProperties": false
346
+ },
347
+ "embedded_at": {
348
+ "type": "string",
349
+ "format": "date-time"
350
+ }
351
+ },
352
+ "required": [
353
+ "method",
354
+ "provider"
355
+ ]
356
+ }
357
+ },
358
+ "watermarks": {
359
+ "type": "array",
360
+ "minItems": 1,
361
+ "items": {
362
+ "type": "object",
363
+ "properties": {
364
+ "media_type": {
365
+ "$ref": "#/$defs/external:enums~1watermark-media-type.json"
366
+ },
367
+ "provider": {
368
+ "type": "string"
369
+ },
370
+ "verify_agent": {
371
+ "type": "object",
372
+ "properties": {
373
+ "agent_url": {
374
+ "type": "string",
375
+ "format": "uri",
376
+ "pattern": "^https://"
377
+ },
378
+ "feature_id": {
379
+ "type": "string"
380
+ }
381
+ },
382
+ "required": [
383
+ "agent_url"
384
+ ],
385
+ "additionalProperties": false
386
+ },
387
+ "c2pa_action": {
388
+ "$ref": "#/$defs/external:enums~1c2pa-watermark-action.json"
389
+ },
390
+ "embedded_at": {
391
+ "type": "string",
392
+ "format": "date-time"
393
+ }
394
+ },
395
+ "required": [
396
+ "media_type",
397
+ "provider"
398
+ ]
399
+ }
400
+ },
401
+ "disclosure": {
402
+ "type": "object",
403
+ "properties": {
404
+ "required": {
405
+ "type": "boolean"
406
+ },
407
+ "jurisdictions": {
408
+ "type": "array",
409
+ "items": {
410
+ "type": "object",
411
+ "properties": {
412
+ "country": {
413
+ "type": "string"
414
+ },
415
+ "region": {
416
+ "type": "string"
417
+ },
418
+ "regulation": {
419
+ "type": "string"
420
+ },
421
+ "label_text": {
422
+ "type": "string"
423
+ },
424
+ "render_guidance": {
425
+ "type": "object",
426
+ "minProperties": 1,
427
+ "properties": {
428
+ "persistence": {
429
+ "$ref": "#/$defs/external:enums~1disclosure-persistence.json"
430
+ },
431
+ "min_duration_ms": {
432
+ "type": "integer",
433
+ "minimum": 1
434
+ },
435
+ "positions": {
436
+ "type": "array",
437
+ "items": {
438
+ "$ref": "#/$defs/external:enums~1disclosure-position.json"
439
+ },
440
+ "minItems": 1,
441
+ "uniqueItems": true
442
+ },
443
+ "ext": {
444
+ "$ref": "#/$defs/external:core~1ext.json"
445
+ }
446
+ }
447
+ }
448
+ },
449
+ "required": [
450
+ "country",
451
+ "regulation"
452
+ ]
453
+ },
454
+ "minItems": 1
455
+ }
456
+ },
457
+ "required": [
458
+ "required"
459
+ ]
460
+ },
461
+ "verification": {
462
+ "type": "array",
463
+ "minItems": 1,
464
+ "items": {
465
+ "type": "object",
466
+ "properties": {
467
+ "verified_by": {
468
+ "type": "string"
469
+ },
470
+ "verified_time": {
471
+ "type": "string",
472
+ "format": "date-time"
473
+ },
474
+ "result": {
475
+ "type": "string",
476
+ "enum": [
477
+ "authentic",
478
+ "ai_generated",
479
+ "ai_modified",
480
+ "inconclusive"
481
+ ]
482
+ },
483
+ "confidence": {
484
+ "type": "number",
485
+ "minimum": 0,
486
+ "maximum": 1
487
+ },
488
+ "details_url": {
489
+ "type": "string",
490
+ "format": "uri"
491
+ }
492
+ },
493
+ "required": [
494
+ "verified_by",
495
+ "result"
496
+ ]
497
+ }
498
+ },
499
+ "ext": {
500
+ "$ref": "#/$defs/external:core~1ext.json"
501
+ }
502
+ }
503
+ },
504
+ "external:enums/digital-source-type.json": {
505
+ "type": "string",
506
+ "enum": [
507
+ "digital_capture",
508
+ "digital_creation",
509
+ "trained_algorithmic_media",
510
+ "composite_with_trained_algorithmic_media",
511
+ "algorithmic_media",
512
+ "composite_capture",
513
+ "composite_synthetic",
514
+ "human_edits",
515
+ "data_driven_media"
516
+ ]
517
+ },
518
+ "external:enums/embedded-provenance-method.json": {
519
+ "type": "string",
520
+ "enum": [
521
+ "manifest_wrapper",
522
+ "provenance_markers"
523
+ ]
524
+ },
525
+ "external:enums/watermark-media-type.json": {
526
+ "type": "string",
527
+ "enum": [
528
+ "audio",
529
+ "image",
530
+ "video",
531
+ "text"
532
+ ]
533
+ },
534
+ "external:enums/c2pa-watermark-action.json": {
535
+ "type": "string",
536
+ "enum": [
537
+ "c2pa.watermarked.bound",
538
+ "c2pa.watermarked.unbound"
539
+ ]
540
+ },
541
+ "external:enums/disclosure-persistence.json": {
542
+ "type": "string",
543
+ "enum": [
544
+ "continuous",
545
+ "initial",
546
+ "flexible"
547
+ ]
548
+ },
549
+ "external:enums/disclosure-position.json": {
550
+ "type": "string",
551
+ "enum": [
552
+ "prominent",
553
+ "footer",
554
+ "audio",
555
+ "subtitle",
556
+ "overlay",
557
+ "end_card",
558
+ "pre_roll",
559
+ "companion"
560
+ ]
561
+ },
562
+ "external:core/ext.json": {
563
+ "type": "object",
564
+ "additionalProperties": true
565
+ },
566
+ "external:core/operator-unit.json": {
567
+ "x-entity": "operator_unit",
568
+ "type": "object",
569
+ "properties": {
570
+ "id": {
571
+ "type": "string",
572
+ "minLength": 1,
573
+ "maxLength": 255,
574
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$"
575
+ },
576
+ "name": {
577
+ "type": "string",
578
+ "minLength": 1,
579
+ "maxLength": 200
580
+ }
581
+ },
582
+ "required": [
583
+ "id"
584
+ ],
585
+ "additionalProperties": false
586
+ },
587
+ "external:core/date-range.json": {
588
+ "type": "object",
589
+ "properties": {
590
+ "start": {
591
+ "type": "string",
592
+ "format": "date"
593
+ },
594
+ "end": {
595
+ "type": "string",
596
+ "format": "date"
597
+ }
598
+ },
599
+ "required": [
600
+ "start",
601
+ "end"
602
+ ],
603
+ "additionalProperties": true
604
+ },
605
+ "external:core/context.json": {
606
+ "type": "object",
607
+ "additionalProperties": true
608
+ }
609
+ }
610
+ }