Proposal: This page presents the draft API and profile model. Send feedback on GitHub.
Reproducing the synthetic example
From the workspace root:
node examples/build-vectors.mjs
python3 -m json.tool static/artifacts/schema.json > /dev/null
python3 -m json.tool static/artifacts/synthetic-vectors.json > /dev/null
The JSON Schema can also be checked using a draft 2020-12 validator. To validate a particular object independently, use a schema whose root is {"$ref":"#/$defs/requestPacket", "$defs": ...} or the corresponding definition. Then perform all signature, canonical-byte, policy and state checks separately. The vector fixture timestamps, nonces, signing seeds and keys are deliberately public and fixed.
The generator serializes the full synthetic exchange as readable JSON and records exact digest values in its digests object. It reconstructs canonical bytes internally. This validates only its own deterministic construction; it is not an independent implementation or a production conformance report.