@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,334 @@
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/decline-proposals-request.json",
4
+ "type": "object",
5
+ "x-mutates-state": true,
6
+ "x-operation-family": "decline_proposals",
7
+ "x-added-in": "3.2.0",
8
+ "x-legacy-fallback": {
9
+ "mode": "none"
10
+ },
11
+ "properties": {
12
+ "adcp_version": {
13
+ "$ref": "#/$defs/external:core~1version-envelope.json/properties/adcp_version"
14
+ },
15
+ "adcp_major_version": {
16
+ "$ref": "#/$defs/external:core~1version-envelope.json/properties/adcp_major_version"
17
+ },
18
+ "context_id": {
19
+ "type": "string",
20
+ "minLength": 1
21
+ },
22
+ "context": {
23
+ "allOf": [
24
+ {
25
+ "$ref": "#/$defs/external:core~1context.json"
26
+ }
27
+ ],
28
+ "x-adcp-schema-uri": "/schemas/core/context.json"
29
+ },
30
+ "governance_context": {
31
+ "type": "string",
32
+ "minLength": 1,
33
+ "maxLength": 4096
34
+ },
35
+ "push_notification_config": {
36
+ "allOf": [
37
+ {
38
+ "$ref": "#/$defs/external:core~1push-notification-config.json"
39
+ }
40
+ ],
41
+ "x-adcp-schema-uri": "/schemas/core/push-notification-config.json"
42
+ },
43
+ "idempotency_key": {
44
+ "type": "string",
45
+ "minLength": 16,
46
+ "maxLength": 255,
47
+ "pattern": "^[A-Za-z0-9_.:-]{16,255}$"
48
+ },
49
+ "declines": {
50
+ "type": "array",
51
+ "items": {
52
+ "$ref": "#/$defs/external:media-buy~1proposal-decline.json"
53
+ },
54
+ "minItems": 1,
55
+ "maxItems": 25,
56
+ "uniqueItems": true
57
+ },
58
+ "opportunity": {
59
+ "$ref": "#/$defs/external:core~1opportunity-context.json"
60
+ }
61
+ },
62
+ "required": [
63
+ "idempotency_key",
64
+ "declines"
65
+ ],
66
+ "additionalProperties": false,
67
+ "$defs": {
68
+ "external:core/version-envelope.json": {
69
+ "type": "object",
70
+ "properties": {
71
+ "adcp_version": {
72
+ "type": "string",
73
+ "pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)(?:-[a-zA-Z0-9](?:[a-zA-Z0-9.-]*[a-zA-Z0-9])?)?$"
74
+ },
75
+ "adcp_major_version": {
76
+ "type": "integer",
77
+ "deprecated": true,
78
+ "minimum": 1,
79
+ "maximum": 99
80
+ }
81
+ }
82
+ },
83
+ "external:core/context.json": {
84
+ "type": "object",
85
+ "additionalProperties": true
86
+ },
87
+ "external:core/push-notification-config.json": {
88
+ "type": "object",
89
+ "properties": {
90
+ "url": {
91
+ "type": "string",
92
+ "format": "uri"
93
+ },
94
+ "operation_id": {
95
+ "type": "string",
96
+ "minLength": 1,
97
+ "maxLength": 255,
98
+ "pattern": "^[A-Za-z0-9_.:-]{1,255}$"
99
+ },
100
+ "token": {
101
+ "type": "string",
102
+ "minLength": 16,
103
+ "maxLength": 4096
104
+ },
105
+ "authentication": {
106
+ "type": "object",
107
+ "deprecated": true,
108
+ "properties": {
109
+ "schemes": {
110
+ "type": "array",
111
+ "items": {
112
+ "$ref": "#/$defs/external:enums~1auth-scheme.json"
113
+ },
114
+ "minItems": 1,
115
+ "maxItems": 1
116
+ },
117
+ "credentials": {
118
+ "type": "string",
119
+ "minLength": 32
120
+ }
121
+ },
122
+ "required": [
123
+ "schemes",
124
+ "credentials"
125
+ ],
126
+ "additionalProperties": false
127
+ }
128
+ },
129
+ "required": [
130
+ "url"
131
+ ]
132
+ },
133
+ "external:enums/auth-scheme.json": {
134
+ "deprecated": true,
135
+ "type": "string",
136
+ "enum": [
137
+ "Bearer",
138
+ "HMAC-SHA256"
139
+ ]
140
+ },
141
+ "external:media-buy/proposal-decline.json": {
142
+ "type": "object",
143
+ "properties": {
144
+ "proposal_id": {
145
+ "type": "string",
146
+ "minLength": 1,
147
+ "maxLength": 255,
148
+ "x-entity": "proposal"
149
+ },
150
+ "reason": {
151
+ "$ref": "#/$defs/external:enums~1proposal-decline-reason.json"
152
+ },
153
+ "detail": {
154
+ "type": "string",
155
+ "minLength": 1,
156
+ "maxLength": 500
157
+ }
158
+ },
159
+ "required": [
160
+ "proposal_id",
161
+ "reason"
162
+ ],
163
+ "allOf": [
164
+ {
165
+ "if": {
166
+ "properties": {
167
+ "reason": {
168
+ "const": "other"
169
+ }
170
+ },
171
+ "required": [
172
+ "reason"
173
+ ]
174
+ },
175
+ "then": {
176
+ "required": [
177
+ "detail"
178
+ ]
179
+ }
180
+ }
181
+ ],
182
+ "additionalProperties": false
183
+ },
184
+ "external:enums/proposal-decline-reason.json": {
185
+ "type": "string",
186
+ "enum": [
187
+ "price",
188
+ "inventory_fit",
189
+ "audience_fit",
190
+ "creative_unsupported",
191
+ "measurement_unsupported",
192
+ "policy",
193
+ "timing",
194
+ "budget_changed",
195
+ "selected_alternative",
196
+ "other"
197
+ ]
198
+ },
199
+ "external:core/opportunity-context.json": {
200
+ "type": "object",
201
+ "properties": {
202
+ "opportunity_id": {
203
+ "type": "string",
204
+ "minLength": 1,
205
+ "maxLength": 255,
206
+ "pattern": "^[A-Za-z0-9_.:-]{1,255}$",
207
+ "x-entity": "opportunity"
208
+ },
209
+ "phase": {
210
+ "type": "string",
211
+ "enum": [
212
+ "exploratory",
213
+ "planning",
214
+ "active_sourcing"
215
+ ]
216
+ },
217
+ "intent": {
218
+ "type": "string",
219
+ "enum": [
220
+ "test",
221
+ "speculative",
222
+ "planning",
223
+ "live_rfp"
224
+ ]
225
+ },
226
+ "planning_horizon": {
227
+ "$ref": "#/$defs/external:core~1date-range.json"
228
+ },
229
+ "response_deadline": {
230
+ "type": "string",
231
+ "format": "date-time"
232
+ },
233
+ "status": {
234
+ "type": "string",
235
+ "enum": [
236
+ "open",
237
+ "closed"
238
+ ]
239
+ },
240
+ "close_reason": {
241
+ "type": "string",
242
+ "enum": [
243
+ "accepted_with_seller",
244
+ "purchased_elsewhere",
245
+ "selected_alternative",
246
+ "not_pursued",
247
+ "budget_changed",
248
+ "timing_changed",
249
+ "other"
250
+ ]
251
+ },
252
+ "close_detail": {
253
+ "type": "string",
254
+ "minLength": 1,
255
+ "maxLength": 500
256
+ }
257
+ },
258
+ "required": [
259
+ "opportunity_id"
260
+ ],
261
+ "allOf": [
262
+ {
263
+ "if": {
264
+ "properties": {
265
+ "status": {
266
+ "const": "closed"
267
+ }
268
+ },
269
+ "required": [
270
+ "status"
271
+ ]
272
+ },
273
+ "then": {
274
+ "required": [
275
+ "close_reason"
276
+ ]
277
+ },
278
+ "else": {
279
+ "not": {
280
+ "anyOf": [
281
+ {
282
+ "required": [
283
+ "close_reason"
284
+ ]
285
+ },
286
+ {
287
+ "required": [
288
+ "close_detail"
289
+ ]
290
+ }
291
+ ]
292
+ }
293
+ }
294
+ },
295
+ {
296
+ "if": {
297
+ "properties": {
298
+ "close_reason": {
299
+ "const": "other"
300
+ }
301
+ },
302
+ "required": [
303
+ "close_reason"
304
+ ]
305
+ },
306
+ "then": {
307
+ "required": [
308
+ "close_detail"
309
+ ]
310
+ }
311
+ }
312
+ ],
313
+ "additionalProperties": false
314
+ },
315
+ "external:core/date-range.json": {
316
+ "type": "object",
317
+ "properties": {
318
+ "start": {
319
+ "type": "string",
320
+ "format": "date"
321
+ },
322
+ "end": {
323
+ "type": "string",
324
+ "format": "date"
325
+ }
326
+ },
327
+ "required": [
328
+ "start",
329
+ "end"
330
+ ],
331
+ "additionalProperties": true
332
+ }
333
+ }
334
+ }
@@ -0,0 +1,271 @@
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/decline-proposals-response.json",
4
+ "type": "object",
5
+ "anyOf": [
6
+ {
7
+ "required": [
8
+ "results"
9
+ ],
10
+ "not": {
11
+ "anyOf": [
12
+ {
13
+ "required": [
14
+ "status"
15
+ ]
16
+ },
17
+ {
18
+ "required": [
19
+ "task_id"
20
+ ]
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "$ref": "#/$defs/external:core~1compact-task-submitted.json"
27
+ }
28
+ ],
29
+ "properties": {
30
+ "results": {
31
+ "type": "array",
32
+ "minItems": 1,
33
+ "items": {
34
+ "type": "object",
35
+ "discriminator": {
36
+ "propertyName": "outcome"
37
+ },
38
+ "properties": {
39
+ "proposal_id": {
40
+ "type": "string",
41
+ "minLength": 1,
42
+ "x-entity": "proposal"
43
+ },
44
+ "outcome": {
45
+ "type": "string",
46
+ "enum": [
47
+ "declined",
48
+ "unable"
49
+ ]
50
+ },
51
+ "reason": {
52
+ "type": "string",
53
+ "minLength": 1
54
+ }
55
+ },
56
+ "required": [
57
+ "proposal_id",
58
+ "outcome"
59
+ ],
60
+ "oneOf": [
61
+ {
62
+ "properties": {
63
+ "outcome": {
64
+ "const": "declined"
65
+ }
66
+ },
67
+ "required": [
68
+ "outcome"
69
+ ],
70
+ "not": {
71
+ "required": [
72
+ "reason"
73
+ ]
74
+ }
75
+ },
76
+ {
77
+ "properties": {
78
+ "outcome": {
79
+ "const": "unable"
80
+ }
81
+ },
82
+ "required": [
83
+ "outcome",
84
+ "reason"
85
+ ]
86
+ }
87
+ ],
88
+ "additionalProperties": false
89
+ }
90
+ },
91
+ "status": {
92
+ "type": "string",
93
+ "const": "submitted"
94
+ },
95
+ "task_id": {
96
+ "type": "string",
97
+ "minLength": 1,
98
+ "x-entity": "task"
99
+ },
100
+ "message": {
101
+ "type": "string",
102
+ "maxLength": 2000
103
+ },
104
+ "errors": {
105
+ "type": "array",
106
+ "items": {
107
+ "$ref": "#/$defs/external:core~1error.json"
108
+ }
109
+ },
110
+ "context": {
111
+ "$ref": "#/$defs/external:core~1context.json"
112
+ },
113
+ "ext": {
114
+ "$ref": "#/$defs/external:core~1ext.json"
115
+ },
116
+ "replayed": {
117
+ "type": "boolean",
118
+ "const": true
119
+ }
120
+ },
121
+ "additionalProperties": false,
122
+ "$defs": {
123
+ "external:core/compact-task-submitted.json": {
124
+ "type": "object",
125
+ "properties": {
126
+ "status": {
127
+ "type": "string",
128
+ "const": "submitted"
129
+ },
130
+ "task_id": {
131
+ "type": "string",
132
+ "minLength": 1,
133
+ "x-entity": "task"
134
+ },
135
+ "message": {
136
+ "type": "string",
137
+ "maxLength": 2000
138
+ },
139
+ "errors": {
140
+ "type": "array",
141
+ "items": {
142
+ "$ref": "#/$defs/external:core~1error.json"
143
+ }
144
+ },
145
+ "context": {
146
+ "$ref": "#/$defs/external:core~1context.json"
147
+ },
148
+ "ext": {
149
+ "$ref": "#/$defs/external:core~1ext.json"
150
+ }
151
+ },
152
+ "required": [
153
+ "status",
154
+ "task_id"
155
+ ],
156
+ "additionalProperties": true
157
+ },
158
+ "external:core/error.json": {
159
+ "type": "object",
160
+ "properties": {
161
+ "code": {
162
+ "type": "string",
163
+ "minLength": 1,
164
+ "maxLength": 64
165
+ },
166
+ "message": {
167
+ "type": "string"
168
+ },
169
+ "field": {
170
+ "type": "string"
171
+ },
172
+ "suggestion": {
173
+ "type": "string"
174
+ },
175
+ "retry_after": {
176
+ "type": "number",
177
+ "minimum": 1,
178
+ "maximum": 3600
179
+ },
180
+ "issues": {
181
+ "type": "array",
182
+ "items": {
183
+ "type": "object",
184
+ "properties": {
185
+ "pointer": {
186
+ "type": "string"
187
+ },
188
+ "message": {
189
+ "type": "string"
190
+ },
191
+ "keyword": {
192
+ "type": "string"
193
+ },
194
+ "schemaPath": {
195
+ "type": "string"
196
+ },
197
+ "schema_id": {
198
+ "type": "string"
199
+ },
200
+ "discriminator": {
201
+ "type": "array",
202
+ "items": {
203
+ "type": "object",
204
+ "properties": {
205
+ "property_name": {
206
+ "type": "string"
207
+ },
208
+ "value": {
209
+ "type": [
210
+ "string",
211
+ "number",
212
+ "boolean",
213
+ "null"
214
+ ]
215
+ }
216
+ },
217
+ "required": [
218
+ "property_name",
219
+ "value"
220
+ ],
221
+ "additionalProperties": false
222
+ }
223
+ }
224
+ },
225
+ "required": [
226
+ "pointer",
227
+ "message",
228
+ "keyword"
229
+ ],
230
+ "additionalProperties": true
231
+ }
232
+ },
233
+ "details": {
234
+ "type": "object",
235
+ "additionalProperties": true
236
+ },
237
+ "recovery": {
238
+ "type": "string",
239
+ "enum": [
240
+ "transient",
241
+ "correctable",
242
+ "terminal"
243
+ ]
244
+ },
245
+ "source": {
246
+ "type": "string",
247
+ "enum": [
248
+ "producer",
249
+ "sdk"
250
+ ]
251
+ },
252
+ "sdk_id": {
253
+ "type": "string"
254
+ }
255
+ },
256
+ "required": [
257
+ "code",
258
+ "message"
259
+ ],
260
+ "additionalProperties": true
261
+ },
262
+ "external:core/context.json": {
263
+ "type": "object",
264
+ "additionalProperties": true
265
+ },
266
+ "external:core/ext.json": {
267
+ "type": "object",
268
+ "additionalProperties": true
269
+ }
270
+ }
271
+ }