Check register / Discount-Consent-Identity

DSC-020

A requirement the spck.dev suite checks on UCP servers. The quoted text is the normative requirement; the citation links to the exact line of the pinned spec source it was taken from.

2026-01-11:

Each buyer consent state (analytics, preferences, marketing, sale_of_data), when present, must be a boolean.

2026-01-23:

Each buyer consent state (analytics, preferences, marketing, sale_of_data), when present, must be a boolean.

2026-04-08:

Discount amounts in discounts.applied are positive integers (value of the discount)
Keyword
MUST
Area
Discount-Consent-Identity
Versions
2026-01-11 2026-01-23 2026-04-08
Testability
testable
Spec source
ucp:source/schemas/shopping/buyer_consent.json#L14 2026-01-11
ucp:source/schemas/shopping/buyer_consent.json#L14 2026-01-23
ucp:docs/specification/discount.md#L313 2026-04-08

How this is graded

A deviation on a MUST fails the run and shows the requirement next to the actual response. Checks the suite cannot validate soundly are reported inconclusive or not-tested — never a silent pass. The full verdict semantics are on the grading rubric.

Run it against your store

The hosted check covers the read-only surface; the CLI and GitHub Action run the full suite, including this check when your store declares the capability it belongs to.