OpenChainGraph Suite · ART-01 · AP2 Mandate-Chain Validator
v1.0.0

AP2 Mandate-Chain Validator

Reference implementation for AP2 v0.2 mandate-chain validation. Paste your Intent → Cart → Payment mandate JSON trio and validate: signature-chain integrity (parent hash linkage), scope and spend-limit consistency, TTL/expiry at validation time, over-spend detection, and Human-Not-Present (HNP) autonomous-flow flags. Load a built-in PASS or FAIL scenario to explore the validation model, then export conformance test-vector fixtures for CI integration.

AP2 Export Chains: ART-02 · PTG-01 Conformance Fixtures AP2 v0.2 Zero PII · Reference Impl
🔒 All validation runs locally. No data leaves your browser. Use synthetic mandate JSON only.
Mandate 1
Intent
pending
Mandate 2 (optional)
Cart
Mandate 3
Payment
pending
Scenarios — built-in test vectors

Load a pre-built scenario to see how each validation check fires, or paste your own mandate JSON in the editors below.

Mandate JSON editors
Intent Required
paste or load scenario
Cart Optional
leave blank to validate intent→payment directly
Payment Required
paste or load scenario
Validation settings
Leave blank to use current time · Controls TTL/expiry checks
Validation verdict
Conformance test-vector fixture

This fixture captures the full input/output pair for this validation run. Use it in your CI pipeline to regression-test your AP2 mandate-chain implementation. Import into any test framework that accepts JSON assertion fixtures.