@adcp/sdk 7.11.0 → 7.11.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 (282) hide show
  1. package/compliance/cache/3.1.0-rc.2/domains/brand/index.yaml +160 -0
  2. package/compliance/cache/3.1.0-rc.2/domains/brand/scenarios/distributed_brand_resolution.yaml +415 -0
  3. package/compliance/cache/3.1.0-rc.2/domains/brand/scenarios/single_side_trust_extension.yaml +454 -0
  4. package/compliance/cache/3.1.0-rc.2/domains/creative/index.yaml +339 -0
  5. package/compliance/cache/3.1.0-rc.2/domains/creative/scenarios/billing_out_of_band.yaml +153 -0
  6. package/compliance/cache/3.1.0-rc.2/domains/creative/scenarios/canonical_supported_formats.yaml +212 -0
  7. package/compliance/cache/3.1.0-rc.2/domains/creative/scenarios/creative_lifecycle_webhooks.yaml +389 -0
  8. package/compliance/cache/3.1.0-rc.2/domains/creative/scenarios/native_in_feed.yaml +543 -0
  9. package/compliance/cache/3.1.0-rc.2/domains/governance/index.yaml +682 -0
  10. package/compliance/cache/3.1.0-rc.2/domains/media-buy/index.yaml +789 -0
  11. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/audience_buy_flow.yaml +380 -0
  12. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/available_actions.yaml +565 -0
  13. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/billing_finality_delivery.yaml +354 -0
  14. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/canonical_formats.yaml +861 -0
  15. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/clicks_buy_flow.yaml +264 -0
  16. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/completed_views_buy_flow.yaml +344 -0
  17. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/create_media_buy_async.yaml +234 -0
  18. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/creative_fate_after_cancellation.yaml +419 -0
  19. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/creative_reception.yaml +247 -0
  20. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/delivery_reporting.yaml +357 -0
  21. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/dependency_impairment.yaml +633 -0
  22. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/dependency_impairment_cardinality.yaml +800 -0
  23. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/event_dedup_flow.yaml +399 -0
  24. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/frequency_cap_enforcement.yaml +309 -0
  25. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/governance_approved.yaml +214 -0
  26. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/governance_conditions.yaml +199 -0
  27. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/governance_denied.yaml +204 -0
  28. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/governance_denied_recovery.yaml +252 -0
  29. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/invalid_transitions.yaml +289 -0
  30. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/inventory_list_no_match.yaml +148 -0
  31. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/inventory_list_targeting.yaml +276 -0
  32. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/measurement_accountability.yaml +244 -0
  33. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/measurement_terms_rejected.yaml +203 -0
  34. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/package_correlation_legacy_fallback.yaml +113 -0
  35. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/pending_creatives_to_start.yaml +292 -0
  36. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/per_creative_conversion_attribution.yaml +500 -0
  37. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/performance_buy_flow.yaml +428 -0
  38. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/performance_buy_flow_roas.yaml +470 -0
  39. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/product_signal_targeting.yaml +373 -0
  40. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/proposal_finalize.yaml +399 -0
  41. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/proposal_finalize_asap_timing.yaml +264 -0
  42. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/proposal_not_found_errors.yaml +257 -0
  43. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/provenance_audit_observation.yaml +333 -0
  44. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/provenance_enforcement.yaml +517 -0
  45. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/provenance_truth_of_claim.yaml +294 -0
  46. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/reach_buy_flow.yaml +823 -0
  47. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/refine_finalize_exclusivity.yaml +360 -0
  48. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/refine_products.yaml +148 -0
  49. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/vendor_metric_accountability.yaml +293 -0
  50. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/vendor_metric_catalog_precondition.yaml +307 -0
  51. package/compliance/cache/3.1.0-rc.2/domains/media-buy/scenarios/vendor_metric_optimization_flow.yaml +576 -0
  52. package/compliance/cache/3.1.0-rc.2/domains/media-buy/state-machine.yaml +442 -0
  53. package/compliance/cache/3.1.0-rc.2/domains/signals/index.yaml +266 -0
  54. package/compliance/cache/3.1.0-rc.2/domains/sponsored-intelligence/index.yaml +256 -0
  55. package/compliance/cache/3.1.0-rc.2/index.json +356 -0
  56. package/compliance/cache/3.1.0-rc.2/protocols/brand/index.yaml +160 -0
  57. package/compliance/cache/3.1.0-rc.2/protocols/brand/scenarios/distributed_brand_resolution.yaml +415 -0
  58. package/compliance/cache/3.1.0-rc.2/protocols/brand/scenarios/single_side_trust_extension.yaml +454 -0
  59. package/compliance/cache/3.1.0-rc.2/protocols/creative/index.yaml +339 -0
  60. package/compliance/cache/3.1.0-rc.2/protocols/creative/scenarios/billing_out_of_band.yaml +153 -0
  61. package/compliance/cache/3.1.0-rc.2/protocols/creative/scenarios/canonical_supported_formats.yaml +212 -0
  62. package/compliance/cache/3.1.0-rc.2/protocols/creative/scenarios/creative_lifecycle_webhooks.yaml +389 -0
  63. package/compliance/cache/3.1.0-rc.2/protocols/creative/scenarios/native_in_feed.yaml +543 -0
  64. package/compliance/cache/3.1.0-rc.2/protocols/governance/index.yaml +682 -0
  65. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/index.yaml +789 -0
  66. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/audience_buy_flow.yaml +380 -0
  67. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/available_actions.yaml +565 -0
  68. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/billing_finality_delivery.yaml +354 -0
  69. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/canonical_formats.yaml +861 -0
  70. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/clicks_buy_flow.yaml +264 -0
  71. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/completed_views_buy_flow.yaml +344 -0
  72. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/create_media_buy_async.yaml +234 -0
  73. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/creative_fate_after_cancellation.yaml +419 -0
  74. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/creative_reception.yaml +247 -0
  75. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/delivery_reporting.yaml +357 -0
  76. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/dependency_impairment.yaml +633 -0
  77. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/dependency_impairment_cardinality.yaml +800 -0
  78. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/event_dedup_flow.yaml +399 -0
  79. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/frequency_cap_enforcement.yaml +309 -0
  80. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/governance_approved.yaml +214 -0
  81. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/governance_conditions.yaml +199 -0
  82. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/governance_denied.yaml +204 -0
  83. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/governance_denied_recovery.yaml +252 -0
  84. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/invalid_transitions.yaml +289 -0
  85. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/inventory_list_no_match.yaml +148 -0
  86. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/inventory_list_targeting.yaml +276 -0
  87. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/measurement_accountability.yaml +244 -0
  88. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/measurement_terms_rejected.yaml +203 -0
  89. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/package_correlation_legacy_fallback.yaml +113 -0
  90. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/pending_creatives_to_start.yaml +292 -0
  91. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/per_creative_conversion_attribution.yaml +500 -0
  92. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/performance_buy_flow.yaml +428 -0
  93. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/performance_buy_flow_roas.yaml +470 -0
  94. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/product_signal_targeting.yaml +373 -0
  95. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/proposal_finalize.yaml +399 -0
  96. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/proposal_finalize_asap_timing.yaml +264 -0
  97. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/proposal_not_found_errors.yaml +257 -0
  98. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/provenance_audit_observation.yaml +333 -0
  99. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/provenance_enforcement.yaml +517 -0
  100. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/provenance_truth_of_claim.yaml +294 -0
  101. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/reach_buy_flow.yaml +823 -0
  102. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/refine_finalize_exclusivity.yaml +360 -0
  103. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/refine_products.yaml +148 -0
  104. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/vendor_metric_accountability.yaml +293 -0
  105. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/vendor_metric_catalog_precondition.yaml +307 -0
  106. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/scenarios/vendor_metric_optimization_flow.yaml +576 -0
  107. package/compliance/cache/3.1.0-rc.2/protocols/media-buy/state-machine.yaml +442 -0
  108. package/compliance/cache/3.1.0-rc.2/protocols/signals/index.yaml +266 -0
  109. package/compliance/cache/3.1.0-rc.2/protocols/sponsored-intelligence/index.yaml +256 -0
  110. package/compliance/cache/3.1.0-rc.2/specialisms/audience-sync/index.yaml +313 -0
  111. package/compliance/cache/3.1.0-rc.2/specialisms/brand-rights/index.yaml +350 -0
  112. package/compliance/cache/3.1.0-rc.2/specialisms/brand-rights/scenarios/governance_denied.yaml +226 -0
  113. package/compliance/cache/3.1.0-rc.2/specialisms/collection-lists/index.yaml +359 -0
  114. package/compliance/cache/3.1.0-rc.2/specialisms/content-standards/index.yaml +572 -0
  115. package/compliance/cache/3.1.0-rc.2/specialisms/creative-ad-server/index.yaml +409 -0
  116. package/compliance/cache/3.1.0-rc.2/specialisms/creative-generative/generative-seller.yaml +807 -0
  117. package/compliance/cache/3.1.0-rc.2/specialisms/creative-generative/index.yaml +758 -0
  118. package/compliance/cache/3.1.0-rc.2/specialisms/creative-template/index.yaml +510 -0
  119. package/compliance/cache/3.1.0-rc.2/specialisms/governance-aware-seller/index.yaml +143 -0
  120. package/compliance/cache/3.1.0-rc.2/specialisms/governance-aware-seller/scenarios/governance_multi_agent_rejected.yaml +117 -0
  121. package/compliance/cache/3.1.0-rc.2/specialisms/governance-delivery-monitor/index.yaml +441 -0
  122. package/compliance/cache/3.1.0-rc.2/specialisms/governance-spend-authority/denied.yaml +221 -0
  123. package/compliance/cache/3.1.0-rc.2/specialisms/governance-spend-authority/index.yaml +330 -0
  124. package/compliance/cache/3.1.0-rc.2/specialisms/property-lists/index.yaml +482 -0
  125. package/compliance/cache/3.1.0-rc.2/specialisms/sales-broadcast-tv/index.yaml +738 -0
  126. package/compliance/cache/3.1.0-rc.2/specialisms/sales-catalog-driven/index.yaml +840 -0
  127. package/compliance/cache/3.1.0-rc.2/specialisms/sales-guaranteed/index.yaml +601 -0
  128. package/compliance/cache/3.1.0-rc.2/specialisms/sales-non-guaranteed/index.yaml +546 -0
  129. package/compliance/cache/3.1.0-rc.2/specialisms/sales-proposal-mode/index.yaml +586 -0
  130. package/compliance/cache/3.1.0-rc.2/specialisms/sales-social/index.yaml +919 -0
  131. package/compliance/cache/3.1.0-rc.2/specialisms/signal-marketplace/index.yaml +424 -0
  132. package/compliance/cache/3.1.0-rc.2/specialisms/signal-marketplace/scenarios/governance_denied.yaml +210 -0
  133. package/compliance/cache/3.1.0-rc.2/specialisms/signal-owned/index.yaml +317 -0
  134. package/compliance/cache/3.1.0-rc.2/specialisms/sponsored-intelligence/index.yaml +59 -0
  135. package/compliance/cache/3.1.0-rc.2/test-kits/acme-outdoor-live.yaml +78 -0
  136. package/compliance/cache/3.1.0-rc.2/test-kits/acme-outdoor.yaml +223 -0
  137. package/compliance/cache/3.1.0-rc.2/test-kits/billing-gate-runner.yaml +115 -0
  138. package/compliance/cache/3.1.0-rc.2/test-kits/bistro-oranje.yaml +126 -0
  139. package/compliance/cache/3.1.0-rc.2/test-kits/distributed-brand-runner.yaml +281 -0
  140. package/compliance/cache/3.1.0-rc.2/test-kits/nova-motors.yaml +262 -0
  141. package/compliance/cache/3.1.0-rc.2/test-kits/osei-natural.yaml +126 -0
  142. package/compliance/cache/3.1.0-rc.2/test-kits/parallel-dispatch-runner.yaml +196 -0
  143. package/compliance/cache/3.1.0-rc.2/test-kits/rate-limit-trip-runner.yaml +172 -0
  144. package/compliance/cache/3.1.0-rc.2/test-kits/signed-requests-runner.yaml +155 -0
  145. package/compliance/cache/3.1.0-rc.2/test-kits/single-side-trust-runner.yaml +294 -0
  146. package/compliance/cache/3.1.0-rc.2/test-kits/substitution-observer-runner.yaml +688 -0
  147. package/compliance/cache/3.1.0-rc.2/test-kits/summit-foods.yaml +125 -0
  148. package/compliance/cache/3.1.0-rc.2/test-kits/webhook-receiver-runner.yaml +265 -0
  149. package/compliance/cache/3.1.0-rc.2/test-vectors/plan-hash/001-minimal-plan.json +43 -0
  150. package/compliance/cache/3.1.0-rc.2/test-vectors/plan-hash/002-full-plan.json +217 -0
  151. package/compliance/cache/3.1.0-rc.2/test-vectors/plan-hash/003-bookkeeping-stripped.json +60 -0
  152. package/compliance/cache/3.1.0-rc.2/test-vectors/plan-hash/004a-human-review-omitted.json +43 -0
  153. package/compliance/cache/3.1.0-rc.2/test-vectors/plan-hash/004b-human-review-explicit-null.json +49 -0
  154. package/compliance/cache/3.1.0-rc.2/test-vectors/plan-hash/005a-policy-categories-order-1.json +53 -0
  155. package/compliance/cache/3.1.0-rc.2/test-vectors/plan-hash/005b-policy-categories-order-2.json +57 -0
  156. package/compliance/cache/3.1.0-rc.2/test-vectors/plan-hash/006a-ext-trace-v1.json +49 -0
  157. package/compliance/cache/3.1.0-rc.2/test-vectors/plan-hash/006b-ext-trace-v2.json +53 -0
  158. package/compliance/cache/3.1.0-rc.2/test-vectors/plan-hash/007-unicode-objectives.json +43 -0
  159. package/compliance/cache/3.1.0-rc.2/test-vectors/plan-hash/008-numeric-canonicalization.json +65 -0
  160. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/README.md +220 -0
  161. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/canonicalization.json +241 -0
  162. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/keys.json +60 -0
  163. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/001-no-signature-header.json +24 -0
  164. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/002-wrong-tag.json +26 -0
  165. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/003-expired-signature.json +26 -0
  166. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/004-window-too-long.json +26 -0
  167. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/005-alg-not-allowed.json +26 -0
  168. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/006-missing-covered-component.json +26 -0
  169. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/007-missing-content-digest.json +26 -0
  170. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/008-unknown-keyid.json +26 -0
  171. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/009-key-ops-missing-verify.json +27 -0
  172. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/010-content-digest-mismatch.json +33 -0
  173. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/011-malformed-header.json +27 -0
  174. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/012-missing-expires-param.json +26 -0
  175. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/013-expires-le-created.json +27 -0
  176. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/014-missing-nonce-param.json +27 -0
  177. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/015-signature-invalid.json +28 -0
  178. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/016-replayed-nonce.json +35 -0
  179. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/017-key-revoked.json +38 -0
  180. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/018-digest-covered-when-forbidden.json +28 -0
  181. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/019-signature-without-signature-input.json +26 -0
  182. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/020-rate-abuse.json +34 -0
  183. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/021-duplicate-signature-input-label.json +31 -0
  184. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/022-multi-valued-content-type.json +31 -0
  185. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/023-multi-valued-content-digest.json +32 -0
  186. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/024-unquoted-string-param.json +31 -0
  187. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/025-jwk-alg-crv-mismatch.json +43 -0
  188. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/026-non-ascii-host.json +31 -0
  189. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/027-webhook-registration-authentication-unsigned.json +25 -0
  190. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/negative/028-unsigned-protocol-method-required.json +26 -0
  191. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/positive/001-basic-post.json +30 -0
  192. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/positive/002-post-with-content-digest.json +31 -0
  193. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/positive/003-es256-post.json +30 -0
  194. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/positive/004-multiple-signature-labels.json +26 -0
  195. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/positive/005-default-port-stripped.json +30 -0
  196. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/positive/006-dot-segment-path.json +30 -0
  197. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/positive/007-query-byte-preserved.json +30 -0
  198. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/positive/008-percent-encoded-path.json +30 -0
  199. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/positive/009-percent-encoded-unreserved-decoded.json +30 -0
  200. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/positive/010-percent-encoded-slash-preserved.json +30 -0
  201. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/positive/011-ipv6-authority.json +30 -0
  202. package/compliance/cache/3.1.0-rc.2/test-vectors/request-signing/positive/012-ipv6-authority-default-port-stripped.json +30 -0
  203. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/README.md +211 -0
  204. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/keys.json +61 -0
  205. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/001-wrong-tag.json +26 -0
  206. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/002-expired-signature.json +26 -0
  207. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/003-window-too-long.json +26 -0
  208. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/004-alg-not-allowed.json +26 -0
  209. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/005-missing-authority-component.json +26 -0
  210. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/006-missing-content-digest.json +25 -0
  211. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/007-unknown-keyid.json +26 -0
  212. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/008-wrong-adcp-use.json +26 -0
  213. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/009-content-digest-mismatch.json +26 -0
  214. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/010-malformed-signature-input.json +26 -0
  215. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/011-signature-without-input.json +25 -0
  216. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/012-missing-expires-param.json +26 -0
  217. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/013-expires-le-created.json +26 -0
  218. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/014-missing-nonce-param.json +26 -0
  219. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/015-signature-invalid.json +26 -0
  220. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/016-replayed-nonce.json +37 -0
  221. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/017-key-revoked.json +32 -0
  222. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/018-rate-abuse.json +33 -0
  223. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/019-revocation-stale.json +32 -0
  224. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/020-key-ops-missing-verify.json +41 -0
  225. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/negative/021-base64-alphabet-mixing.json +26 -0
  226. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/positive/001-basic-post.json +24 -0
  227. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/positive/002-es256-post.json +24 -0
  228. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/positive/003-multiple-signature-labels.json +24 -0
  229. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/positive/004-default-port-stripped.json +24 -0
  230. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/positive/005-percent-encoded-path.json +24 -0
  231. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/positive/006-query-byte-preserved.json +24 -0
  232. package/compliance/cache/3.1.0-rc.2/test-vectors/webhook-signing/positive/007-body-without-idempotency-key.json +25 -0
  233. package/compliance/cache/3.1.0-rc.2/universal/billing-gate-dispatch.yaml +450 -0
  234. package/compliance/cache/3.1.0-rc.2/universal/canonical-format-validate-input.yaml +640 -0
  235. package/compliance/cache/3.1.0-rc.2/universal/capability-discovery.yaml +125 -0
  236. package/compliance/cache/3.1.0-rc.2/universal/collection-lists-pagination-integrity.yaml +306 -0
  237. package/compliance/cache/3.1.0-rc.2/universal/comply-controller-mode-gate.yaml +141 -0
  238. package/compliance/cache/3.1.0-rc.2/universal/content-standards-pagination-integrity.yaml +326 -0
  239. package/compliance/cache/3.1.0-rc.2/universal/deterministic-testing.yaml +1430 -0
  240. package/compliance/cache/3.1.0-rc.2/universal/error-compliance-signals.yaml +377 -0
  241. package/compliance/cache/3.1.0-rc.2/universal/error-compliance.yaml +528 -0
  242. package/compliance/cache/3.1.0-rc.2/universal/fictional-entities.yaml +307 -0
  243. package/compliance/cache/3.1.0-rc.2/universal/get-media-buys-pagination-integrity.yaml +160 -0
  244. package/compliance/cache/3.1.0-rc.2/universal/get-signals-pagination-integrity.yaml +210 -0
  245. package/compliance/cache/3.1.0-rc.2/universal/idempotency.yaml +861 -0
  246. package/compliance/cache/3.1.0-rc.2/universal/notification-config-event-scope.yaml +119 -0
  247. package/compliance/cache/3.1.0-rc.2/universal/notification-config-lifecycle.yaml +337 -0
  248. package/compliance/cache/3.1.0-rc.2/universal/notification-config-rejections.yaml +107 -0
  249. package/compliance/cache/3.1.0-rc.2/universal/pagination-integrity-creative-formats.yaml +265 -0
  250. package/compliance/cache/3.1.0-rc.2/universal/pagination-integrity-list-accounts.yaml +245 -0
  251. package/compliance/cache/3.1.0-rc.2/universal/pagination-integrity.yaml +263 -0
  252. package/compliance/cache/3.1.0-rc.2/universal/property-lists-pagination-integrity.yaml +307 -0
  253. package/compliance/cache/3.1.0-rc.2/universal/read-tool-idempotency.yaml +405 -0
  254. package/compliance/cache/3.1.0-rc.2/universal/runner-output-contract.yaml +1285 -0
  255. package/compliance/cache/3.1.0-rc.2/universal/schema-validation-signals.yaml +181 -0
  256. package/compliance/cache/3.1.0-rc.2/universal/schema-validation.yaml +548 -0
  257. package/compliance/cache/3.1.0-rc.2/universal/security.yaml +539 -0
  258. package/compliance/cache/3.1.0-rc.2/universal/signed-requests.yaml +217 -0
  259. package/compliance/cache/3.1.0-rc.2/universal/stale-response-advisory.yaml +295 -0
  260. package/compliance/cache/3.1.0-rc.2/universal/storyboard-schema.yaml +2194 -0
  261. package/compliance/cache/3.1.0-rc.2/universal/v3-envelope-integrity.yaml +117 -0
  262. package/compliance/cache/3.1.0-rc.2/universal/version-negotiation.yaml +130 -0
  263. package/compliance/cache/3.1.0-rc.2/universal/webhook-emission.yaml +411 -0
  264. package/compliance/cache/3.1.0-rc.2/universal/wholesale-feed-bulk-webhooks.yaml +82 -0
  265. package/compliance/cache/3.1.0-rc.2/universal/wholesale-feed-product-webhooks.yaml +83 -0
  266. package/compliance/cache/3.1.0-rc.2/universal/wholesale-feed-products.yaml +151 -0
  267. package/compliance/cache/3.1.0-rc.2/universal/wholesale-feed-signal-webhooks.yaml +83 -0
  268. package/compliance/cache/3.1.0-rc.2/universal/wholesale-feed-signals.yaml +149 -0
  269. package/dist/lib/schemas-data/v2.5/_provenance.json +1 -1
  270. package/dist/lib/testing/storyboard/default-invariants.js +23 -0
  271. package/dist/lib/testing/storyboard/default-invariants.js.map +1 -1
  272. package/dist/lib/testing/storyboard/runner.d.ts.map +1 -1
  273. package/dist/lib/testing/storyboard/runner.js +84 -21
  274. package/dist/lib/testing/storyboard/runner.js.map +1 -1
  275. package/dist/lib/testing/storyboard/types.d.ts +21 -0
  276. package/dist/lib/testing/storyboard/types.d.ts.map +1 -1
  277. package/dist/lib/testing/storyboard/types.js.map +1 -1
  278. package/dist/lib/testing/types.d.ts +9 -0
  279. package/dist/lib/testing/types.d.ts.map +1 -1
  280. package/dist/lib/version.d.ts +3 -3
  281. package/dist/lib/version.js +3 -3
  282. package/package.json +1 -1
@@ -0,0 +1,789 @@
1
+ id: media_buy_seller
2
+ version: "1.0.0"
3
+ title: "Media buy seller agent"
4
+ category: media_buy_seller
5
+ summary: "Seller agent that receives briefs, returns products, accepts media buys, and reports delivery."
6
+ track: media_buy
7
+ required_tools:
8
+ - get_products
9
+ - create_media_buy
10
+ requires_scenarios:
11
+ - media_buy_seller/refine_products
12
+ - media_buy_seller/delivery_reporting
13
+ - media_buy_seller/measurement_terms_rejected
14
+ - media_buy_seller/pending_creatives_to_start
15
+ - media_buy_seller/inventory_list_targeting
16
+ - media_buy_seller/inventory_list_no_match
17
+ - media_buy_seller/product_signal_targeting
18
+ - media_buy_seller/available_actions
19
+ - media_buy_seller/invalid_transitions
20
+ - media_buy_seller/creative_fate_after_cancellation
21
+ - media_buy_seller/create_media_buy_async
22
+ - media_buy_seller/dependency_impairment
23
+ - media_buy_seller/dependency_impairment_cardinality
24
+
25
+ narrative: |
26
+ You run a sell-side platform — a publisher, SSP, retail media network, or any system that
27
+ sells advertising inventory. A buyer agent connects to discover your products, create
28
+ media buys, sync creatives, and monitor delivery. Your agent handles the full lifecycle
29
+ from brief to reporting.
30
+
31
+ This storyboard walks through the core media buy flow: account setup, product discovery,
32
+ buy creation, creative sync, and delivery monitoring.
33
+
34
+ Governance integration, product refinement, and proposal finalization are tested by
35
+ required scenarios that run alongside this storyboard. See requires_scenarios for the
36
+ full set of seller behaviors validated.
37
+
38
+ agent:
39
+ interaction_model: media_buy_seller
40
+ capabilities:
41
+ - sells_media
42
+ - accepts_briefs
43
+ - supports_guaranteed
44
+ - supports_non_guaranteed
45
+ examples:
46
+ - "Yahoo"
47
+ - "Retail media networks"
48
+ - "Publisher platforms"
49
+ - "SSPs"
50
+
51
+ caller:
52
+ role: buyer_agent
53
+ example: "Scope3 (DSP)"
54
+
55
+ prerequisites:
56
+ description: |
57
+ The caller needs a brand identity and operator credentials for account setup.
58
+ The test kit provides a sample brand (Acme Outdoor) with campaign parameters
59
+ suitable for testing the full media buy flow.
60
+ test_kit: "test-kits/acme-outdoor.yaml"
61
+ controller_seeding: true
62
+
63
+ fixtures:
64
+ products:
65
+ - product_id: "sports_preroll_q2"
66
+ delivery_type: "guaranteed"
67
+ channels: ["video"]
68
+ format_ids:
69
+ - id: "video_30s"
70
+ - product_id: "lifestyle_display_q2"
71
+ delivery_type: "guaranteed"
72
+ channels: ["display"]
73
+ format_ids:
74
+ - id: "display_300x250"
75
+ pricing_options:
76
+ - product_id: "sports_preroll_q2"
77
+ pricing_option_id: "cpm_guaranteed"
78
+ pricing_model: "cpm"
79
+ currency: "USD"
80
+ fixed_price: 22.0
81
+ - product_id: "lifestyle_display_q2"
82
+ pricing_option_id: "cpm_standard"
83
+ pricing_model: "cpm"
84
+ currency: "USD"
85
+ fixed_price: 8.0
86
+
87
+ phases:
88
+ - id: capability_discovery
89
+ title: "Capability discovery"
90
+ narrative: |
91
+ The buyer calls get_adcp_capabilities to confirm the agent supports media buying before sending briefs or creating buys.
92
+
93
+ steps:
94
+ - id: get_capabilities
95
+ title: "Check agent capabilities"
96
+ narrative: |
97
+ Verify that the agent declares the expected protocol support before
98
+ proceeding with domain-specific operations.
99
+ task: get_adcp_capabilities
100
+ schema_ref: "protocol/get-adcp-capabilities-request.json"
101
+ response_schema_ref: "protocol/get-adcp-capabilities-response.json"
102
+ doc_ref: "/protocol/get_adcp_capabilities"
103
+ comply_scenario: capability_discovery
104
+ stateful: false
105
+ expected: |
106
+ Return capabilities declaring media_buy in supported_protocols, confirming the agent sells media.
107
+ sample_request:
108
+ context:
109
+ correlation_id: "media_buy_seller--get_capabilities"
110
+ validations:
111
+ - check: response_schema
112
+ description: "Response matches get-adcp-capabilities-response.json schema"
113
+ - check: field_present
114
+ path: "supported_protocols"
115
+ description: "Agent declares supported protocols"
116
+ - check: field_present
117
+ path: "context"
118
+ description: "Response echoes back the context object"
119
+ - check: field_value
120
+ path: "context.correlation_id"
121
+ value: "media_buy_seller--get_capabilities"
122
+ description: "Context correlation_id returned unchanged"
123
+
124
+ - id: account_setup
125
+ title: "Account setup"
126
+ narrative: |
127
+ Before buying anything, the buyer establishes an account relationship with
128
+ your platform. This is the handshake: the buyer tells you which brand and
129
+ agency (operator) they represent, and you return an account ID, status, and
130
+ any setup requirements.
131
+
132
+ Some platforms approve accounts instantly. Others require human review — the
133
+ buyer gets back a pending_approval status and a URL to complete setup. The
134
+ buyer polls or waits for a webhook until the account is active.
135
+
136
+ steps:
137
+ - id: sync_accounts
138
+ title: "Establish account relationship"
139
+ narrative: |
140
+ The buyer registers their brand and operator with your platform. This is
141
+ the first call in any new relationship. Your platform validates the request,
142
+ provisions the account, and returns its status.
143
+
144
+ If your platform requires manual approval (credit checks, sales team review),
145
+ return the account with status pending_approval and account.setup.url populated.
146
+ The buyer directs the human to that URL to complete setup, then polls list_accounts
147
+ until the account status changes to active.
148
+ task: sync_accounts
149
+ schema_ref: "account/sync-accounts-request.json"
150
+ response_schema_ref: "account/sync-accounts-response.json"
151
+ doc_ref: "/accounts/tasks/sync_accounts"
152
+ # No TestScenario exists for account setup
153
+ stateful: true
154
+ expected: |
155
+ Return the account with:
156
+ - account_id: your platform's identifier for this relationship
157
+ - action: created or updated
158
+ - status: active (instant approval) or pending_approval (requires human review)
159
+ - account_scope: operator, brand, operator_brand, or agent
160
+ - setup.url and setup.message: populated on the account when status is pending_approval (where the human completes onboarding)
161
+ - rate_card: pricing tiers if applicable
162
+ - payment_terms: net_30, prepay, etc.
163
+
164
+ sample_request:
165
+ accounts:
166
+ - brand:
167
+ domain: "acmeoutdoor.example"
168
+ operator: "pinnacle-agency.example"
169
+ billing: "operator"
170
+ payment_terms: "net_30"
171
+ idempotency_key: "$generate:uuid_v4#media_buy_seller_account_setup_sync_accounts"
172
+ context:
173
+ correlation_id: "media_buy_seller--sync_accounts"
174
+
175
+ validations:
176
+ - check: response_schema
177
+ description: "Response matches sync-accounts-response.json schema"
178
+ - check: field_present
179
+ path: "accounts[0].account_id"
180
+ description: "Account has a platform-assigned ID"
181
+ - check: field_present
182
+ path: "accounts[0].status"
183
+ description: "Account has a status (active or pending_approval)"
184
+ - check: field_present
185
+ path: "context"
186
+ description: "Response echoes back the context object"
187
+ - check: field_value
188
+ path: "context.correlation_id"
189
+ value: "media_buy_seller--sync_accounts"
190
+ description: "Context correlation_id returned unchanged"
191
+
192
+ - id: governance_setup
193
+ title: "Governance agent registration"
194
+ narrative: |
195
+ The buyer registers their governance agent with your platform. This tells your
196
+ platform where to call check_governance before confirming media buys.
197
+
198
+ steps:
199
+ - id: sync_governance
200
+ title: "Register governance agents"
201
+ narrative: |
202
+ The buyer tells your platform: "Before you confirm any media buy for this
203
+ account, call this governance agent to validate it."
204
+ task: sync_governance
205
+ schema_ref: "account/sync-governance-request.json"
206
+ response_schema_ref: "account/sync-governance-response.json"
207
+ doc_ref: "/accounts/tasks/sync_governance"
208
+ requires_tool: sync_governance
209
+ stateful: true
210
+ expected: |
211
+ Acknowledge the governance agents. Your platform should:
212
+ - Store the governance agent URLs for the specified accounts
213
+ - Return confirmation that agents were registered
214
+
215
+ sample_request:
216
+ accounts:
217
+ - account:
218
+ brand:
219
+ domain: "acmeoutdoor.example"
220
+ operator: "pinnacle-agency.example"
221
+ governance_agents:
222
+ - url: "https://governance.pinnacle-agency.example"
223
+ authentication:
224
+ schemes: ["Bearer"]
225
+ credentials: "gov-token-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
226
+ idempotency_key: "$generate:uuid_v4#media_buy_seller_governance_setup_sync_governance"
227
+ context:
228
+ correlation_id: "media_buy_seller--sync_governance"
229
+ ext:
230
+ test_platform:
231
+ governance_tier: "standard"
232
+
233
+ validations:
234
+ - check: response_schema
235
+ description: "Response matches sync-governance-response.json schema"
236
+ - check: field_present
237
+ path: "context"
238
+ description: "Response echoes back the context object"
239
+ - check: field_value
240
+ path: "context.correlation_id"
241
+ value: "media_buy_seller--sync_governance"
242
+ description: "Context correlation_id returned unchanged"
243
+
244
+ - id: product_discovery
245
+ title: "Product discovery"
246
+ narrative: |
247
+ The buyer sends a natural-language brief describing what they want to buy.
248
+ Your platform interprets the brief against your inventory and returns products —
249
+ structured representations of what you can sell, with pricing, delivery forecasts,
250
+ targeting options, and creative requirements.
251
+
252
+ This is where seller differentiation happens. The same brief sent to three sellers
253
+ produces three different product sets. Your AI interprets "premium video on sports
254
+ and outdoor lifestyle" against your specific inventory, audiences, and pricing.
255
+
256
+ steps:
257
+ - id: get_products_brief
258
+ title: "Send a brief"
259
+ narrative: |
260
+ The buyer describes what they want in natural language. Your platform returns
261
+ up to five representative products that match the brief, including pricing
262
+ options, delivery forecasts, and creative format requirements. Exhaustive
263
+ catalog enumeration is not required for this compliance step.
264
+
265
+ This call may take up to 60 seconds — your platform is running AI inference
266
+ against your inventory catalog. If the brief is ambiguous, you can return
267
+ input-required to ask clarifying questions before producing results.
268
+ task: get_products
269
+ schema_ref: "media-buy/get-products-request.json"
270
+ response_schema_ref: "media-buy/get-products-response.json"
271
+ doc_ref: "/media-buy/task-reference/get_products"
272
+ comply_scenario: full_sales_flow
273
+ stateful: false
274
+ expected: |
275
+ Return up to five products matching the brief. Each product should include:
276
+ - product_id: unique identifier
277
+ - name and description
278
+ - delivery_type: guaranteed or non_guaranteed
279
+ - pricing_models: available pricing options (CPM, CPC, etc.)
280
+ - forecast: estimated impressions, reach
281
+ - creative_format_ids: what creative formats this product requires
282
+ - targeting: what audiences or contexts this product reaches
283
+
284
+ Optionally return proposals — curated media plans that bundle products
285
+ with budget allocations the buyer can accept or refine.
286
+
287
+ If the brief is unclear, return input-required with clarifying questions.
288
+
289
+ sample_request:
290
+ buying_mode: "brief"
291
+ brief: "Premium video inventory on sports and outdoor lifestyle publishers. Q2 flight, $50K budget. Adults 25-54, US and Canada."
292
+ pagination:
293
+ max_results: 5
294
+ account:
295
+ brand:
296
+ domain: "acmeoutdoor.example"
297
+ operator: "pinnacle-agency.example"
298
+ context:
299
+ correlation_id: "media_buy_seller--get_products_brief"
300
+
301
+ context_outputs:
302
+ - name: product_format_id
303
+ path: 'products[0].format_ids[0]'
304
+ - name: product_id
305
+ path: 'products[0].product_id'
306
+ - name: pricing_option_id
307
+ path: 'products[0].pricing_options[0].pricing_option_id'
308
+ validations:
309
+ - check: response_schema
310
+ description: "Response matches get-products-response.json schema"
311
+ - check: field_present
312
+ path: "products"
313
+ description: "Response contains a products array"
314
+ - check: field_present
315
+ path: "products[0].product_id"
316
+ description: "Each product has a product_id"
317
+ - check: field_present
318
+ path: "products[0].delivery_type"
319
+ description: "Each product declares guaranteed or non_guaranteed delivery"
320
+ - check: field_present
321
+ path: "products[0].format_ids"
322
+ description: "Products include format_ids for creative requirements"
323
+ - check: field_present
324
+ path: "products[0].format_ids[0].agent_url"
325
+ description: "Format IDs include agent_url — must match this agent's URL"
326
+ - check: field_present
327
+ path: "products[0].format_ids[0].id"
328
+ description: "Format IDs include id — must be accepted back in sync_creatives"
329
+ - check: field_present
330
+ path: "context"
331
+ description: "Response echoes back the context object"
332
+ - check: field_value
333
+ path: "context.correlation_id"
334
+ value: "media_buy_seller--get_products_brief"
335
+ description: "Context correlation_id returned unchanged"
336
+
337
+ - check: field_present
338
+ path: "products[0].publisher_properties"
339
+ description: "Products include publisher_properties"
340
+ - id: list_formats_integrity
341
+ title: "Verify format_ids on products resolve to real formats"
342
+ narrative: |
343
+ The buyer asks the sales agent to filter `list_creative_formats` by
344
+ `products[0].format_ids[0]`. The sales agent MUST return the format
345
+ it advertised on its own product — whether it hosts that format
346
+ directly or proxies to the creative agent named in
347
+ `format_ids[0].agent_url`. An empty `formats[]` means the sales
348
+ agent's product catalog references a format that does not resolve —
349
+ a stale or typo'd entry that would have failed silently at
350
+ `sync_creatives` after the media buy was already committed.
351
+ task: list_creative_formats
352
+ schema_ref: "creative/list-creative-formats-request.json"
353
+ response_schema_ref: "creative/list-creative-formats-response.json"
354
+ doc_ref: "/creative/task-reference/list_creative_formats"
355
+ comply_scenario: creative_lifecycle
356
+ stateful: false
357
+ expected: |
358
+ The sales agent resolves `products[0].format_ids[0]` and returns
359
+ the matching format entry:
360
+ - formats[] contains at least one entry
361
+ - formats[0].format_id matches the id captured from get_products
362
+
363
+ An empty formats[] means the sales agent's product catalog references
364
+ a format that does not resolve — a common production failure mode
365
+ when creative agents deprecate formats without sellers updating
366
+ their product catalog.
367
+ sample_request:
368
+ format_ids:
369
+ - "$context.product_format_id"
370
+ context:
371
+ correlation_id: "media_buy_seller--list_formats_integrity"
372
+ # The @adcp/client `list_creative_formats` request builder up
373
+ # through 5.10.0 (the currently-published release) returns `{}`,
374
+ # and the runner's post-builder merge only forwards envelope
375
+ # fields (context / ext / idempotency_key /
376
+ # push_notification_config) from sample_request — so `format_ids`
377
+ # above never reaches the wire and the seller answers with its
378
+ # full format catalog. `context_inputs` is applied after the
379
+ # builder runs, so this injects the captured `product_format_id`
380
+ # (the `{agent_url, id}` object from `products[0].format_ids[0]`)
381
+ # at `format_ids[0]` and lets the round-trip invariant actually
382
+ # grade. Drop once we bump past the @adcp/client release that
383
+ # ships adcontextprotocol/adcp-client#789.
384
+ context_inputs:
385
+ - key: product_format_id
386
+ inject_at: "format_ids[0]"
387
+ validations:
388
+ - check: response_schema
389
+ description: "Response matches list-creative-formats-response.json schema"
390
+ - check: field_present
391
+ path: "formats[0]"
392
+ description: "Sales agent resolves the format_id — products[0].format_ids[0] exists in the catalog"
393
+ - check: field_value
394
+ path: "formats[0].format_id"
395
+ value: "$context.product_format_id"
396
+ description: "Returned format_id round-trips verbatim — the agent cannot substitute a different format in response to the filter"
397
+ - check: field_present
398
+ path: "context"
399
+ description: "Response echoes back the context object"
400
+ - check: field_value
401
+ path: "context.correlation_id"
402
+ value: "media_buy_seller--list_formats_integrity"
403
+ description: "Context correlation_id returned unchanged"
404
+ - id: create_buy
405
+ title: "Create the media buy"
406
+ narrative: |
407
+ The buyer is satisfied with the products and creates a media buy. This is the
408
+ equivalent of signing an IO — the buyer commits to specific products, budgets,
409
+ and flight dates.
410
+
411
+ This operation may be synchronous (completed immediately), short-async (working
412
+ while your platform processes), or long-async (task stays submitted while a human
413
+ signs the IO internally; task completion delivers the final media_buy_id). There
414
+ is no "pending_approval" media buy status — IO review is modelled at the task
415
+ layer, not as a MediaBuy.status value.
416
+
417
+ If the buyer registered governance agents in Phase 2, your platform calls
418
+ check_governance before confirming the buy. The governance agent validates budget
419
+ authority, brand safety, and compliance. If governance denies the buy, return the
420
+ denial — don't override it.
421
+
422
+ steps:
423
+ - id: create_media_buy
424
+ title: "Create a media buy"
425
+ narrative: |
426
+ The buyer commits to specific products with budgets and flight dates. Your
427
+ platform validates the request, optionally calls governance, and either confirms
428
+ the buy or sends it through an approval workflow.
429
+
430
+ Two creation modes:
431
+ - Manual: buyer specifies packages array with explicit product selections
432
+ - Proposal: buyer passes a proposal_id from get_products to execute a proposal
433
+
434
+ The response status tells the buyer what happens next:
435
+ - completed: buy is active and live
436
+ - working: your platform is processing (poll or wait for webhook)
437
+ - submitted: long-running async — approval workflow, IO signing, etc.
438
+ - input-required: need more information (budget clarification, approval)
439
+ task: create_media_buy
440
+ schema_ref: "media-buy/create-media-buy-request.json"
441
+ response_schema_ref: "media-buy/create-media-buy-response.json"
442
+ doc_ref: "/media-buy/task-reference/create_media_buy"
443
+ comply_scenario: create_media_buy
444
+ stateful: true
445
+ expected: |
446
+ Process the media buy request and return one of:
447
+
448
+ Synchronous (completed):
449
+ - media_buy_id: your platform's identifier
450
+ - media_buy_status: active, pending_start, or pending_creatives (deprecated top-level status may mirror this during the 3.1 migration window)
451
+ - packages: line items with pricing
452
+ - confirmed_at: seller commitment timestamp, or null only for a provisional buy that already exists and is retrievable
453
+ - revision: optimistic concurrency token
454
+ - valid_actions: what the buyer can do next
455
+
456
+ Asynchronous (working):
457
+ - percentage: 0-100 completion
458
+ - current_step: what's happening ("Validating inventory", "Checking governance")
459
+
460
+ Async with human approval (submitted):
461
+ - task_id / taskId: handle the buyer polls or receives webhooks on
462
+ - message (optional): explanation of what the seller is waiting on (e.g., "Awaiting IO signature from sales team; typical turnaround 2–4 hours")
463
+ - No media_buy_id yet — it is issued on task completion. If you allocate media_buy_id before commitment, return synchronous success with confirmed_at: null instead, and make the provisional buy retrievable via get_media_buys.
464
+ - Seller-side IO signing is modelled here (task stays submitted until signed). Do not emit a "pending_approval" media buy status — that value is not in MediaBuy.status
465
+
466
+ Needs input (input-required):
467
+ - reason: APPROVAL_REQUIRED, BUDGET_EXCEEDS_LIMIT, CLARIFICATION_NEEDED
468
+ - errors: what needs to be resolved
469
+ - Used only when the seller needs the buyer to respond (e.g., confirm a budget). If the blocker is account-level (credit application, funding), the resolution path is list_accounts / sync_accounts, where account.setup.url surfaces on the pending_approval account
470
+
471
+ sample_request:
472
+ brand:
473
+ domain: "acmeoutdoor.example"
474
+ account:
475
+ brand:
476
+ domain: "acmeoutdoor.example"
477
+ operator: "pinnacle-agency.example"
478
+ sandbox: true
479
+ start_time: "2026-04-01T00:00:00Z"
480
+ end_time: "2026-06-30T23:59:59Z"
481
+ packages:
482
+ - product_id: "sports_preroll_q2"
483
+ budget: 25000
484
+ pricing_option_id: "cpm_guaranteed"
485
+ creative_assignments:
486
+ - creative_id: "video_30s_trail_pro"
487
+ - product_id: "lifestyle_display_q2"
488
+ budget: 15000
489
+ pricing_option_id: "cpm_standard"
490
+ push_notification_config:
491
+ url: "https://buyer.example/webhooks/adcp"
492
+ authentication:
493
+ schemes:
494
+ - "HMAC-SHA256"
495
+ credentials: "media-buy-seller-webhook-secret-token"
496
+ idempotency_key: "$generate:uuid_v4#media_buy_seller_create_buy_create_media_buy"
497
+ context:
498
+ correlation_id: "media_buy_seller--create_media_buy"
499
+
500
+ context_outputs:
501
+ - name: media_buy_id
502
+ path: 'media_buy_id'
503
+ validations:
504
+ - check: response_schema
505
+ description: "Response matches create-media-buy-response.json schema"
506
+ - check: field_present
507
+ path: "context"
508
+ description: "Response echoes back the context object"
509
+ - check: field_value
510
+ path: "context.correlation_id"
511
+ value: "media_buy_seller--create_media_buy"
512
+ description: "Context correlation_id returned unchanged"
513
+
514
+ - id: check_buy_status
515
+ title: "Check media buy status"
516
+ narrative: |
517
+ Once create_media_buy has completed and a media_buy_id is issued, the buyer
518
+ calls get_media_buys to read current state — pending_creatives, pending_start,
519
+ active, paused, completed, rejected, or canceled.
520
+
521
+ While the create_media_buy task is still submitted (e.g., waiting on internal
522
+ IO signing), the media buy does not exist as a queryable MediaBuy yet. IO
523
+ review is tracked at the task layer, not as a MediaBuy.status value. The buyer
524
+ polls tasks/get or waits on the webhook until the task completes and a
525
+ media_buy_id is delivered.
526
+ task: get_media_buys
527
+ schema_ref: "media-buy/get-media-buys-request.json"
528
+ response_schema_ref: "media-buy/get-media-buys-response.json"
529
+ doc_ref: "/media-buy/task-reference/get_media_buys"
530
+ comply_scenario: media_buy_lifecycle
531
+ stateful: true
532
+ expected: |
533
+ Return the current state of the media buy:
534
+ - media_buy_id: matches what was returned from create_media_buy
535
+ - status: pending_creatives, pending_start, active, paused, completed, rejected, canceled
536
+ - packages: line items with current delivery status
537
+ - valid_actions: what operations are available in this state
538
+
539
+ If pending_creatives:
540
+ - Include message explaining what creatives are needed
541
+ - valid_actions should include sync_creatives
542
+
543
+ sample_request:
544
+ account:
545
+ brand:
546
+ domain: "acmeoutdoor.example"
547
+ operator: "pinnacle-agency.example"
548
+ media_buy_ids:
549
+ - "$context.media_buy_id"
550
+ context:
551
+ correlation_id: "media_buy_seller--check_buy_status"
552
+
553
+ validations:
554
+ - check: response_schema
555
+ description: "Response matches get-media-buys-response.json schema"
556
+ - check: field_present
557
+ path: "media_buys[0].status"
558
+ description: "Each media buy has a status"
559
+ - check: field_present
560
+ path: "context"
561
+ description: "Response echoes back the context object"
562
+ - check: field_value
563
+ path: "context.correlation_id"
564
+ value: "media_buy_seller--check_buy_status"
565
+ description: "Context correlation_id returned unchanged"
566
+ - check: field_equals_context
567
+ path: "media_buys[0].media_buy_id"
568
+ context_key: "media_buy_id"
569
+ description: "get_media_buys returns the media_buy_id created earlier"
570
+ - check: field_value
571
+ path: "media_buys[0].context.correlation_id"
572
+ value: "media_buy_seller--create_media_buy"
573
+ description: "get_media_buys includes persisted media-buy context from create_media_buy"
574
+
575
+ - id: creative_sync
576
+ title: "Creative sync"
577
+ narrative: |
578
+ With the media buy confirmed, the buyer syncs creative assets to your platform.
579
+ Each package in the buy has creative format requirements — the buyer discovered
580
+ these during product discovery and now pushes matching assets.
581
+
582
+ The format_ids used in sync_creatives must match those returned by your platform
583
+ in get_products and list_creative_formats. If your platform returns a format_id
584
+ in a product but rejects it when the buyer echoes it back in sync_creatives, the
585
+ buyer cannot fulfill the creative requirements. This is a common compliance failure.
586
+
587
+ Your platform validates each creative against the format specs and returns
588
+ per-creative status. If assets need review or transcoding, the operation may
589
+ go async.
590
+
591
+ steps:
592
+ - id: list_formats
593
+ title: "Check creative format requirements"
594
+ narrative: |
595
+ The buyer confirms the first creative format referenced by the discovered
596
+ product. Your platform returns that format spec with asset requirements,
597
+ dimensions, and constraints. This is a bounded integrity check, not a
598
+ full format-catalog dump.
599
+ task: list_creative_formats
600
+ schema_ref: "creative/list-creative-formats-request.json"
601
+ response_schema_ref: "creative/list-creative-formats-response.json"
602
+ doc_ref: "/creative/task-reference/list_creative_formats"
603
+ comply_scenario: creative_lifecycle
604
+ stateful: false
605
+ expected: |
606
+ Return the creative format referenced by the discovered product. The format should define:
607
+ - format_id with your agent_url and unique id
608
+ - Asset requirements (dimensions, file sizes, mime types)
609
+ - Render dimensions
610
+
611
+ sample_request:
612
+ format_ids:
613
+ - "$context.product_format_id"
614
+ pagination:
615
+ max_results: 1
616
+ context:
617
+ correlation_id: "media_buy_seller--list_formats"
618
+
619
+ validations:
620
+ - check: response_schema
621
+ description: "Response matches list-creative-formats-response.json schema"
622
+ - check: field_present
623
+ path: "formats"
624
+ description: "Response contains formats array"
625
+ - check: field_present
626
+ path: "formats[0].format_id.agent_url"
627
+ description: "Format IDs include agent_url"
628
+ - check: field_present
629
+ path: "formats[0].format_id.id"
630
+ description: "Format IDs include id — must match those in get_products"
631
+ - check: field_present
632
+ path: "context"
633
+ description: "Response echoes back the context object"
634
+ - check: field_value
635
+ path: "context.correlation_id"
636
+ value: "media_buy_seller--list_formats"
637
+ description: "Context correlation_id returned unchanged"
638
+ - check: refs_resolve
639
+ description: |
640
+ The captured format_id returned on the first product resolves to a
641
+ format in this agent's list_creative_formats. Broken references here surface as a
642
+ grading failure instead of a silent mismatch that only breaks at
643
+ sync_creatives time, after the buy is committed. Third-party
644
+ format_ids (agent_url pointing at a different creative agent)
645
+ can't be verified without calling that agent and are reported as
646
+ observations rather than failures.
647
+ source:
648
+ from: context
649
+ path: "product_format_id"
650
+ target:
651
+ from: current_step
652
+ path: "formats[*].format_id"
653
+ match_keys: [agent_url, id]
654
+ scope:
655
+ key: agent_url
656
+ equals: $agent_url
657
+ on_out_of_scope: warn
658
+
659
+ - id: sync_creatives
660
+ title: "Push creative assets (format_id roundtrip)"
661
+ narrative: |
662
+ The buyer uploads creative assets for the confirmed packages. The first
663
+ creative uses $context.product_format_id — the exact format_id object
664
+ returned by get_products. This is the roundtrip test: the seller must
665
+ accept its own format_ids without modification. If the seller's validation
666
+ rejects a format_id that it returned in products, this step fails.
667
+
668
+ Your platform validates each creative against the format specs, transcodes
669
+ if necessary, and returns per-creative status.
670
+ task: sync_creatives
671
+ schema_ref: "creative/sync-creatives-request.json"
672
+ response_schema_ref: "creative/sync-creatives-response.json"
673
+ doc_ref: "/creative/task-reference/sync_creatives"
674
+ comply_scenario: creative_sync
675
+ stateful: true
676
+ expected: |
677
+ Accept and validate creatives:
678
+ - Per-creative action: created or updated
679
+ - Per-creative status: accepted, pending_review, or rejected
680
+ - Validation errors for rejected creatives
681
+ - Platform-assigned IDs if applicable
682
+
683
+ The first creative uses a format_id extracted from get_products.
684
+ If this is rejected, your format_ids do not roundtrip correctly.
685
+
686
+ sample_request:
687
+ account:
688
+ brand:
689
+ domain: "acmeoutdoor.example"
690
+ operator: "pinnacle-agency.example"
691
+ creatives:
692
+ - creative_id: "video_30s_trail_pro"
693
+ name: "Trail Pro 3000 - 30s CTV Spot"
694
+ format_id: "$context.product_format_id"
695
+ assets:
696
+ video:
697
+ asset_type: "video"
698
+ url: "https://cdn.pinnacle-agency.example/trail-pro-30s.mp4"
699
+ width: 1920
700
+ height: 1080
701
+ duration_ms: 30000
702
+ mime_type: "video/mp4"
703
+ - creative_id: "display_trail_pro_300x250"
704
+ name: "Trail Pro 3000 - Display 300x250"
705
+ format_id:
706
+ agent_url: "https://your-platform.example.com"
707
+ id: "display_300x250"
708
+ assets:
709
+ image:
710
+ asset_type: "image"
711
+ url: "https://cdn.pinnacle-agency.example/trail-pro-300x250.png"
712
+ width: 300
713
+ height: 250
714
+ mime_type: "image/png"
715
+ idempotency_key: "$generate:uuid_v4#media_buy_seller_creative_sync_sync_creatives"
716
+ context:
717
+ correlation_id: "media_buy_seller--sync_creatives"
718
+
719
+ validations:
720
+ - check: response_schema
721
+ description: "Response matches sync-creatives-response.json schema"
722
+ - check: field_present
723
+ path: "creatives[0].action"
724
+ description: "Each creative has an action (created/updated)"
725
+ - check: field_present
726
+ path: "context"
727
+ description: "Response echoes back the context object"
728
+ - check: field_value
729
+ path: "context.correlation_id"
730
+ value: "media_buy_seller--sync_creatives"
731
+ description: "Context correlation_id returned unchanged"
732
+
733
+ - id: delivery_monitoring
734
+ title: "Delivery and reporting"
735
+ narrative: |
736
+ The campaign is live. The buyer monitors delivery through two tasks:
737
+ get_media_buys for status and get_media_buy_delivery for performance metrics.
738
+
739
+ Your platform reports in a standard format — impressions, clicks, spend,
740
+ completion rates — so the buyer can compare delivery across multiple sellers
741
+ in a single view.
742
+
743
+ steps:
744
+ - id: get_delivery
745
+ title: "Check delivery metrics"
746
+ narrative: |
747
+ The buyer requests delivery data for the active media buy. Your platform
748
+ returns performance metrics — impressions, clicks, spend, completion rates —
749
+ broken down by package and optionally by day.
750
+
751
+ This call may take up to 60 seconds as your platform aggregates reporting
752
+ data across delivery systems.
753
+ task: get_media_buy_delivery
754
+ schema_ref: "media-buy/get-media-buy-delivery-request.json"
755
+ response_schema_ref: "media-buy/get-media-buy-delivery-response.json"
756
+ doc_ref: "/media-buy/task-reference/get_media_buy_delivery"
757
+ comply_scenario: reporting_flow
758
+ stateful: true
759
+ expected: |
760
+ Return delivery metrics for the media buy:
761
+ - Per-package delivery: impressions, clicks, spend, completion rates
762
+ - Daily breakdown if requested (include_package_daily_breakdown)
763
+ - Pacing information: on track, ahead, behind
764
+ - Budget utilization: spent vs. committed
765
+
766
+ sample_request:
767
+ account:
768
+ brand:
769
+ domain: "acmeoutdoor.example"
770
+ operator: "pinnacle-agency.example"
771
+ media_buy_ids:
772
+ - "$context.media_buy_id"
773
+ include_package_daily_breakdown: true
774
+ context:
775
+ correlation_id: "media_buy_seller--get_delivery"
776
+
777
+ validations:
778
+ - check: response_schema
779
+ description: "Response matches get-media-buy-delivery-response.json schema"
780
+ - check: field_present
781
+ path: "media_buy_deliveries"
782
+ description: "Response contains media buy delivery data"
783
+ - check: field_present
784
+ path: "context"
785
+ description: "Response echoes back the context object"
786
+ - check: field_value
787
+ path: "context.correlation_id"
788
+ value: "media_buy_seller--get_delivery"
789
+ description: "Context correlation_id returned unchanged"