@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,421 @@
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/media-buy/log-event-request.json",
4
+ "type": "object",
5
+ "allOf": [
6
+ {
7
+ "$ref": "#/$defs/external:core~1version-envelope.json"
8
+ }
9
+ ],
10
+ "x-mutates-state": true,
11
+ "properties": {
12
+ "event_source_id": {
13
+ "type": "string",
14
+ "x-entity": "event_source"
15
+ },
16
+ "test_event_code": {
17
+ "type": "string"
18
+ },
19
+ "events": {
20
+ "type": "array",
21
+ "items": {
22
+ "$ref": "#/$defs/external:core~1event.json"
23
+ },
24
+ "minItems": 1,
25
+ "maxItems": 10000
26
+ },
27
+ "idempotency_key": {
28
+ "type": "string",
29
+ "minLength": 16,
30
+ "maxLength": 255,
31
+ "pattern": "^[A-Za-z0-9_.:-]{16,255}$"
32
+ },
33
+ "context": {
34
+ "$ref": "#/$defs/external:core~1context.json"
35
+ },
36
+ "ext": {
37
+ "$ref": "#/$defs/external:core~1ext.json"
38
+ }
39
+ },
40
+ "required": [
41
+ "idempotency_key",
42
+ "event_source_id",
43
+ "events"
44
+ ],
45
+ "additionalProperties": true,
46
+ "$defs": {
47
+ "external:core/version-envelope.json": {
48
+ "type": "object",
49
+ "properties": {
50
+ "adcp_version": {
51
+ "type": "string",
52
+ "pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)(?:-[a-zA-Z0-9](?:[a-zA-Z0-9.-]*[a-zA-Z0-9])?)?$"
53
+ },
54
+ "adcp_major_version": {
55
+ "type": "integer",
56
+ "deprecated": true,
57
+ "minimum": 1,
58
+ "maximum": 99
59
+ }
60
+ }
61
+ },
62
+ "external:core/event.json": {
63
+ "type": "object",
64
+ "properties": {
65
+ "event_id": {
66
+ "type": "string",
67
+ "minLength": 1,
68
+ "maxLength": 256
69
+ },
70
+ "event_type": {
71
+ "$ref": "#/$defs/external:enums~1event-type.json"
72
+ },
73
+ "event_time": {
74
+ "type": "string",
75
+ "format": "date-time"
76
+ },
77
+ "user_match": {
78
+ "$ref": "#/$defs/external:core~1user-match.json"
79
+ },
80
+ "custom_data": {
81
+ "$ref": "#/$defs/external:core~1event-custom-data.json"
82
+ },
83
+ "action_source": {
84
+ "$ref": "#/$defs/external:enums~1action-source.json"
85
+ },
86
+ "surface": {
87
+ "$ref": "#/$defs/external:core~1event-surface.json"
88
+ },
89
+ "event_source_url": {
90
+ "type": "string",
91
+ "format": "uri"
92
+ },
93
+ "custom_event_name": {
94
+ "type": "string"
95
+ },
96
+ "ext": {
97
+ "$ref": "#/$defs/external:core~1ext.json"
98
+ }
99
+ },
100
+ "allOf": [
101
+ {
102
+ "if": {
103
+ "properties": {
104
+ "event_type": {
105
+ "const": "watch_milestone"
106
+ }
107
+ },
108
+ "required": [
109
+ "event_type"
110
+ ]
111
+ },
112
+ "then": {
113
+ "required": [
114
+ "custom_data"
115
+ ],
116
+ "properties": {
117
+ "custom_data": {
118
+ "allOf": [
119
+ {
120
+ "$ref": "#/$defs/external:core~1event-custom-data.json"
121
+ },
122
+ {
123
+ "anyOf": [
124
+ {
125
+ "required": [
126
+ "progress_percent"
127
+ ]
128
+ },
129
+ {
130
+ "required": [
131
+ "progress_seconds"
132
+ ]
133
+ }
134
+ ]
135
+ }
136
+ ]
137
+ }
138
+ }
139
+ }
140
+ }
141
+ ],
142
+ "required": [
143
+ "event_id",
144
+ "event_type",
145
+ "event_time"
146
+ ],
147
+ "additionalProperties": true
148
+ },
149
+ "external:enums/event-type.json": {
150
+ "type": "string",
151
+ "enum": [
152
+ "page_view",
153
+ "view_content",
154
+ "select_content",
155
+ "select_item",
156
+ "search",
157
+ "share",
158
+ "add_to_cart",
159
+ "remove_from_cart",
160
+ "viewed_cart",
161
+ "add_to_wishlist",
162
+ "initiate_checkout",
163
+ "add_payment_info",
164
+ "purchase",
165
+ "refund",
166
+ "lead",
167
+ "qualify_lead",
168
+ "close_convert_lead",
169
+ "disqualify_lead",
170
+ "complete_registration",
171
+ "subscribe",
172
+ "follow",
173
+ "content_view",
174
+ "watch_milestone",
175
+ "start_trial",
176
+ "app_install",
177
+ "app_launch",
178
+ "contact",
179
+ "schedule",
180
+ "donate",
181
+ "submit_application",
182
+ "custom"
183
+ ]
184
+ },
185
+ "external:core/user-match.json": {
186
+ "type": "object",
187
+ "properties": {
188
+ "uids": {
189
+ "type": "array",
190
+ "items": {
191
+ "type": "object",
192
+ "properties": {
193
+ "type": {
194
+ "$ref": "#/$defs/external:enums~1uid-type.json"
195
+ },
196
+ "value": {
197
+ "type": "string"
198
+ }
199
+ },
200
+ "required": [
201
+ "type",
202
+ "value"
203
+ ],
204
+ "additionalProperties": true
205
+ },
206
+ "minItems": 1
207
+ },
208
+ "hashed_email": {
209
+ "type": "string",
210
+ "pattern": "^[a-f0-9]{64}$"
211
+ },
212
+ "hashed_phone": {
213
+ "type": "string",
214
+ "pattern": "^[a-f0-9]{64}$"
215
+ },
216
+ "click_id": {
217
+ "type": "string"
218
+ },
219
+ "click_id_type": {
220
+ "type": "string"
221
+ },
222
+ "client_ip": {
223
+ "type": "string"
224
+ },
225
+ "client_user_agent": {
226
+ "type": "string"
227
+ },
228
+ "ext": {
229
+ "$ref": "#/$defs/external:core~1ext.json"
230
+ }
231
+ },
232
+ "anyOf": [
233
+ {
234
+ "required": [
235
+ "uids"
236
+ ]
237
+ },
238
+ {
239
+ "required": [
240
+ "hashed_email"
241
+ ]
242
+ },
243
+ {
244
+ "required": [
245
+ "hashed_phone"
246
+ ]
247
+ },
248
+ {
249
+ "required": [
250
+ "click_id"
251
+ ]
252
+ },
253
+ {
254
+ "required": [
255
+ "client_ip",
256
+ "client_user_agent"
257
+ ]
258
+ }
259
+ ],
260
+ "additionalProperties": true
261
+ },
262
+ "external:enums/uid-type.json": {
263
+ "type": "string",
264
+ "enum": [
265
+ "rampid",
266
+ "rampid_derived",
267
+ "id5",
268
+ "uid2",
269
+ "euid",
270
+ "pairid",
271
+ "maid",
272
+ "hashed_email",
273
+ "publisher_first_party",
274
+ "world_id_nullifier",
275
+ "other"
276
+ ]
277
+ },
278
+ "external:core/ext.json": {
279
+ "type": "object",
280
+ "additionalProperties": true
281
+ },
282
+ "external:core/event-custom-data.json": {
283
+ "type": "object",
284
+ "properties": {
285
+ "value": {
286
+ "type": "number",
287
+ "minimum": 0
288
+ },
289
+ "currency": {
290
+ "type": "string",
291
+ "pattern": "^[A-Z]{3}$"
292
+ },
293
+ "order_id": {
294
+ "type": "string"
295
+ },
296
+ "content_ids": {
297
+ "type": "array",
298
+ "items": {
299
+ "type": "string"
300
+ }
301
+ },
302
+ "content_type": {
303
+ "type": "string"
304
+ },
305
+ "content_name": {
306
+ "type": "string"
307
+ },
308
+ "content_category": {
309
+ "type": "string"
310
+ },
311
+ "num_items": {
312
+ "type": "integer",
313
+ "minimum": 0
314
+ },
315
+ "search_string": {
316
+ "type": "string"
317
+ },
318
+ "progress_percent": {
319
+ "type": "number",
320
+ "minimum": 0,
321
+ "maximum": 100
322
+ },
323
+ "progress_seconds": {
324
+ "type": "number",
325
+ "minimum": 0
326
+ },
327
+ "contents": {
328
+ "type": "array",
329
+ "items": {
330
+ "type": "object",
331
+ "properties": {
332
+ "id": {
333
+ "type": "string"
334
+ },
335
+ "quantity": {
336
+ "type": "integer",
337
+ "minimum": 1
338
+ },
339
+ "price": {
340
+ "type": "number",
341
+ "minimum": 0
342
+ },
343
+ "brand": {
344
+ "type": "string"
345
+ }
346
+ },
347
+ "required": [
348
+ "id"
349
+ ],
350
+ "additionalProperties": true
351
+ }
352
+ },
353
+ "ext": {
354
+ "$ref": "#/$defs/external:core~1ext.json"
355
+ }
356
+ },
357
+ "additionalProperties": true
358
+ },
359
+ "external:enums/action-source.json": {
360
+ "type": "string",
361
+ "enum": [
362
+ "website",
363
+ "app",
364
+ "offline",
365
+ "phone_call",
366
+ "chat",
367
+ "email",
368
+ "in_store",
369
+ "system_generated",
370
+ "other"
371
+ ]
372
+ },
373
+ "external:core/event-surface.json": {
374
+ "type": "object",
375
+ "properties": {
376
+ "category": {
377
+ "type": "string",
378
+ "enum": [
379
+ "owned_property",
380
+ "website",
381
+ "app",
382
+ "offline",
383
+ "phone_call",
384
+ "chat",
385
+ "email",
386
+ "in_store",
387
+ "system_generated",
388
+ "other"
389
+ ]
390
+ },
391
+ "property_type": {
392
+ "type": "string",
393
+ "minLength": 1,
394
+ "maxLength": 128
395
+ },
396
+ "namespace": {
397
+ "type": "string",
398
+ "minLength": 1,
399
+ "maxLength": 128
400
+ },
401
+ "property_id": {
402
+ "type": "string",
403
+ "minLength": 1,
404
+ "maxLength": 256,
405
+ "x-entity": "property"
406
+ },
407
+ "ext": {
408
+ "$ref": "#/$defs/external:core~1ext.json"
409
+ }
410
+ },
411
+ "required": [
412
+ "category"
413
+ ],
414
+ "additionalProperties": true
415
+ },
416
+ "external:core/context.json": {
417
+ "type": "object",
418
+ "additionalProperties": true
419
+ }
420
+ }
421
+ }