The SignedTree record format
Document version 1, 10 November 2026. This document describes the records SignedTree exports today and the rules its checker applies to them. The protocol identifier is signedtree/v1.
You can check a record in your browser. The same document is available as plain Markdown.
What a record is
A SignedTree record is a JSON file, or a ZIP package that contains it, which both people in a promise, agreement or licence can keep. It holds that record's signed history, with the receipts and signed log heads of the SignedTree service that wrote it.
Anyone can check a record without an account and without contacting SignedTree. A check needs two inputs:
- the record;
- a trust file, obtained independently of the record, naming the service key and any witness keys to trust.
A trust file supplied by the same party as the record does not establish independent trust. The ZIP package includes a copy of the service's trust file for convenience only.
Conventions
- Canonical JSON. Every hashed or signed JSON value uses the JSON Canonicalization Scheme (RFC 8785): object keys sorted, no insignificant whitespace, strings and numbers written as ECMAScript
JSON.stringifywrites them. Strings must not contain unpaired surrogates. A canonical value is at most 65,536 bytes, 32 levels deep and 10,000 encoded items, keys included. A field that carries canonical text must already be canonical: parsing and re-encoding it must give the same text. - Hashes. SHA-256, written as 64 lowercase hexadecimal characters.
- Domain separation. A hash or signature never covers a bare value. It covers the UTF-8 bytes of a prefix, one zero byte and the canonical value:
- log values:
signedtree/v1/<domain>, with domainsevent,label,commitment-tag,headandreceipt; - record values:
signedtree-human/v1/<kind>, with kindsrequest,identity,version,authority,delegated,delegated-proposal,approved-termsandlimit-choice.
- log values:
- Keys. An Ed25519 public key is the base64url encoding, without padding, of its DER SubjectPublicKeyInfo. Its key ID is
ed25519:followed by the SHA-256 of those DER bytes. - Signatures. Ed25519 over the domain-separated bytes, base64url without padding (86 characters).
- Times. UTC, exactly as ECMAScript
Date.prototype.toISOStringwrites them, for example2026-11-10T09:30:00.000Z. Every time in a record is the service's assertion. - Email addresses. Lower case, with no surrounding spaces.
- Signed record. An object
{"canonical": "<canonical JSON text>", "signature": "<signature>"}.
Values in angle brackets, and …, in the examples below are placeholders. They are not valid values.
The default record: signedtree-human-bundle/v1
This is the record SignedTree exports for a promise, agreement or licence between two people, each named by email address. Its top-level fields are exactly these:
{
"format": "signedtree-human-bundle/v1",
"protocol": "signedtree/v1",
"server": { "origin": "https://<service origin>", "key_id": "ed25519:<64 hex>" },
"commitment_id": "human_<uuid>",
"head": { "canonical": "…", "signature": "…" },
"leaves": [ { "hash": "<64 hex>", "label": { "…": "…" } } ],
"events": [ { "canonical": "…", "hash": "<64 hex>" } ],
"owners": [],
"retained": [ { "retained_by": "…", "receipt": { "…": "…" }, "head": { "…": "…" }, "label": { "…": "…" } } ],
"witness": null
}
server must equal the trust file's server origin and key ID. The origin is an https: origin with no path. The bundle itself need not be canonical JSON: the canonical strings inside it are what is hashed and signed.
The service log
The service keeps one append-only log of events for every record it holds.
- Leaves.
leaveslists every event in that log, in order, from the first event to the one theheadcovers: each event's hash and label. A bundle discloses the content of this record's events only. For other events it includes their hash and label (a class and a hash tag or agent key ID), not their content. The current export covers a log of at most 4,096 events. - Event hash.
SHA-256("signedtree/v1/event" + 0x00 + canonical event). - Label. Fields
protocol,global_seq(the event's position, from 1),event_hashandclass.- A content label has
classcontentand acommitment_tag. - An authority label has
classauthority, akind(delegatedorrevoked) and anagent_key_id. - Its hash is
SHA-256("signedtree/v1/label" + 0x00 + canonical label).
- A content label has
- Commitment tag.
SHA-256("signedtree/v1/commitment-tag" + 0x00 + <hash of this record's first event, as hex>). Every content label with this record's tag must have its event inevents, andeventsmust contain nothing else. - Merkle trees. Two RFC 6962 trees of the same size, one over event hashes and one over label hashes.
- A leaf node is
SHA-256(0x00 || the 32 raw hash bytes). - An interior node is
SHA-256(0x01 || left || right). - The empty tree is
SHA-256("").
- A leaf node is
Signed heads and receipts
- Head. Signed by the service key with domain
head. Fields:protocol,server,global_seq,event_hash,server_time,tree_head,label_hash,label_head. Bothtree_headandlabel_headare{"size", "root_hash"}, withsizeequal toglobal_seq. The bundle'sheadmust cover exactly the listed leaves. - Receipt. Signed by the service key with domain
receipt. Fields:protocol,server,global_seq,event_hash,server_time,tree_head, withtree_head.sizeequal toglobal_seq. A receipt must match the event hash and tree root at its position and, for this record's events, the event'sserver_time. - Retained rows. The receipts a person's browser kept as each event was written, plus one for the latest head when the record was exported. Each row is
{"retained_by", "receipt", "head", "label"}.headandlabelare both present or bothnull.- A retained head, without its two label fields, must have the same canonical text as its receipt.
- Its label must equal the leaf label at that position.
At least one retained row is required. Either a retained head must cover the latest leaf, or the bundle's head must be witnessed. Two different signed heads of the same size are rejected.
Events
An event's canonical JSON has exactly these fields: protocol, server, global_seq, commitment_id, commitment_seq, server_time, actor, type, payload, prev_hash.
global_seqvalues ineventsincrease, and each event hash must equal the leaf hash at its position.prev_hashis the hash of the previous event in the log: 64 zeros for the first.typeishuman.followed by the action, for examplehuman.propose.actorishuman_followed by the first 48 hex characters of the SHA-256 of the actor's email address.commitment_seqcounts this record's events from 1, up to 500.
The payload is one of three kinds.
A personal request. {"canonical", "signature", "identity"}, plus company for a signature made for a company.
- The request. The request's canonical JSON has these fields:
format:signedtree-human-request/v1to/v7, matched to the version format;server;actor: the email address;action;version;expected_seq;confirmation;service_terms: a hash;adult: alwaystrue;nonce: 43 base64url characters, never reused;expires_at;- as the profile requires,
delivery,completion,occurrenceorcapacity.
- The identity attestation.
signedtree-human-identity/v1, schemeemail-control. Fields:format,scheme,server,actor,public_key,request_hash,issued_at,expires_at,access.- The service key signs it with kind
identity. - It records that the service confirmed control of the actor's email address, and that
public_keysigns this exact request.request_hashisSHA-256("signedtree-human/v1/request" + 0x00 + canonical request).
- The service key signs it with kind
- The signature. The attested
public_keysigns the request with kindrequest. - Validity window. The attestation's
expires_atequals the request's, exactly five minutes afterissued_at. The event'sserver_timemust fall inside that window. - Access.
accessisaccount:<64 hex>for a signed-in account, orlink:<uuid>:<n>:<32 hex>for a private link. A record's first version must be proposed from an account.
A delegated acceptance. {"canonical", "signature", "authority"}: an agent accepted a version under the person's signed acceptance authority (signedtree-human-acceptance-authority/v1 or /v2).
- The acceptance. Format
signedtree-human-delegated-acceptance/v1. Fields:format,server,actor,action,version,version_hash,expected_seq,authority,agent_key_id,client_id,statement,service_terms,nonce,expires_at. - Who signs. The key the authority names signs it with kind
delegated: the agent's key under v1, the service key under v2. - The statement must read:
Accepted version <n> by an automated agent acting under acceptance authority <id>. This is not a personal signature.
A delegated send. signedtree-human-delegated-proposal/v1, under the person's signed send-only authority signedtree-human-proposal-authority/v1.
- What it covers. The service key sent the first version of the person's own promise or agreement, signing with kind
delegated-proposal. - The statement must read:
Sent version <n> by an automated agent acting under proposal authority <id>. This is not a personal signature.
In both delegated kinds, the authority itself is signed (kind authority) by a key the service attested for that person from their account (kind identity). The checker reports these events as an agent acting under authority, never as the person's own signature. It does not prove:
- that the authority had not been revoked or stopped;
- that the connection was still active;
- cumulative limits or counts;
- legal effect.
Versions and actions
version is the exact signed version, in one of these formats:
signedtree-human-version/v1: a promise or agreement withsignedtree-agreement-terms/v2terms;signedtree-human-version/v2: an agreement with contract details and included files;signedtree-human-version/v3: a completed contract document, withsignedtree-document-terms/v1terms;signedtree-human-version/v4: a promise both people keep;signedtree-human-version/v5: a licence (signedtree-human-licence/v1or/v2);signedtree-human-version/v6: a repeating promise.
Every version has these fields:
format;id, equal tocommitment_id;number, from 1 to 100;fromandto, two different email addresses;performer;due_at;terms;- whatever its format adds:
contract,contract_file_id,performers,licenceorrepeat.
Agreement terms (signedtree-agreement-terms/v2) may not contain web links: URLs, www., mailto:, data: or file: addresses, or Markdown links. A document title (signedtree-document-terms/v1) has no such check. An included file is referenced as {"id", "name", "bytes", "sha256"}. A list holds at most 8 files, each at most 8 MiB and 32 MiB together.
Payment terms. Agreement terms may carry payment: {"amount_minor", "currency", "method", "schedule"}, or null. method is Cash, Bank transfer, Agree later or Card through SignedTree.
Card through SignedTree has these rules:
- Where it can appear. Only in a
signedtree-human-version/v2version, with theservice_agreementtemplate and thelegal_agreementintention. - What it allows. One payment of 50 to 99,999,999 minor units, in
GBP,EURorUSD, with an emptyschedule. - Its fixed meaning. The person who is not the
performerpays theperformerthis exact amount, once, by card through SignedTree, after accepting a delivery of this version. - What it does not record. Agreeing, or accepting a delivery, records no payment.
Checkers released before this method existed report records that use it as HUMAN_INVALID_PAYMENT.
The version fingerprint, used in check links and on printed copies, is SHA-256("signedtree-human/v1/version" + 0x00 + canonical version).
Actions are replayed in order:
propose: version 1, byfrom;change: the next version number, with the same people, intention and format;accept: by the person who did not propose the current version;decline(by that same person) orwithdraw(by the person who proposed it);- completion:
done, or for a promise both people keep,mark_kept,confirm_keptandnot_yet; - delivery, for contracts, documents and licences:
deliver,accept_deliveryandrequest_delivery_changes; - repeating promises:
occurrence_done,occurrence_confirmandstop.
Delivery. A delivery action's delivery is {"reference", "note", "files"}. Under Card through SignedTree it is {"reference", "note", "files", "previews"}:
filesare the final files.previewsare separate files. They are not the finals.- Finals and previews together keep one list's limits.
- No preview has the same
sha256andbytesas a final in that delivery. accept_deliveryandrequest_delivery_changescarry no files and no previews.
expected_seq must equal this record's last commitment_seq. A version is agreed once both people have signed that exact version. A later change is a new version that needs its own answer; until then the agreed version stays in force, and declining or withdrawing the change leaves it in force.
propose, change and accept carry the exact confirmation sentence for the version, and every other action carries an empty string. The sentences, with <n> the version number:
- Promise:
I agree to this promise, version <n>. - Repeating promise:
I agree to this repeating promise, version <n>. One yes covers every occurrence until either of us stops it with the agreed notice. - Agreement:
I agree to the terms of this agreement, version <n>, and intend to be legally bound by them.For an agreement with contract details this is followed byI have read the final wording and included files, completed any template blanks and resolved conflicting details. I confirm my own name, signing role and authority to sign for the party shown. - Contract document:
I agree to the completed contract and every file listed as included in version <n>, and intend to be legally bound by them. I have read these exact documents, completed any template blanks and resolved conflicting details. I confirm my own name, signing role and authority to sign for the party shown. - Licence:
I agree to licence version <n>: its licence terms, the work identified by the fingerprint shown and every file listed as included, and intend to be legally bound by them. I have read these exact terms and included files and resolved conflicting details. I confirm my own name, signing role and authority to sign for the party shown.For the licensor (from) this is followed byI have authority to grant every permission selected in this licence, for the named works and the scope stated here.
The ZIP package
Container rules:
- At most 96 MiB and 160 entries.
- Only the stored method: no compression, encryption, data descriptors, ZIP64, extra fields or comments. Each entry's CRC-32 must match.
- Names are UTF-8 (flag
0x800), relative, at most 240 characters, and unique ignoring case. They contain no backslash, control or bidirectional formatting characters, or: * ? " < > |. No part of a name starts or ends with a dot or space, or is a reserved Windows device name.
Contents. The package contains exactly these entries:
record.json: the bundle above, at most 16 MiB;manifest.json: at most 256 KiB;trust.json: a copy of the service's trust file, which cannot establish independent trust;Read me.txt;Agreement.html: a readable copy;Agreement.pdf: a print copy, required insignedtree-record-package/v1and optional insignedtree-record-package/v2and/v3(a package without one must have a non-emptyAgreement.html);- each included contract or delivery file, a delivery's previews included, at
files/<id>/<name>.
The manifest is {"format", "record_id", "files"}, and in v3 also "withheld".
formatissignedtree-record-package/v1,/v2or/v3.record_idequals the bundle'scommitment_id.fileslists{"path", "file"}once for every file any version or delivery in the record references, except a withheld one.withheld(v3 only, at least one) lists{"file"}, the exact signed reference, for each final file left out.
Withheld finals (v3). The service releases a Card through SignedTree final to the person paying only if it is in the delivery they accepted, and only once their card payment for that version is confirmed. A refund in full or a dispute pauses new downloads. A final in a delivery that was sent back, or replaced by a change, is never released to them. A package they save leaves such finals out:
- Only a final of a
Card through SignedTreedelivery can be withheld. A contract document, a preview, or a file that also appears in any of those roles, never can. - A withheld file has no entry under
files/. - The check reports each one in
files_withheldand does not check it.files_verifiedcounts only the files that were included, andpackage_completeisfalse. - The signed history still names every withheld file by its fingerprint.
Checkers released before v3 report a v3 package as incomplete.
Checks. Each included file's length and SHA-256 must match its reference. A missing entry, any other entry, or a withheld declaration that does not match a final that can be withheld, fails the check. The readable copy and the print copy are not part of the signature check.
The trust file: signedtree-verifier-trust/v1
{
"format": "signedtree-verifier-trust/v1",
"protocol": "signedtree/v1",
"server": { "origin": "https://<service origin>", "key_id": "ed25519:<64 hex>", "public_key": "<base64url SPKI>" },
"issuers": [
{
"scheme": "email-control",
"issuer": "https://<service origin>/identity/email-control",
"key_id": "ed25519:<64 hex>",
"public_key": "<base64url SPKI>",
"maximum_assurance": "email_control"
}
],
"witnesses": [],
"minimum_assurance": "email_control",
"require_disclosed_identity_evidence": true
}
server.key_idmust be the key ID ofserver.public_key.- To check the default record, two conditions apply:
minimum_assurancemust beemail_control;issuersmust include theemail-controlissuer for the same origin, with the service's own key.
- A trust file lists at most 32 issuers and 32 witnesses.
- A record can never appoint its own server, issuer or witness.
A witness entry pins one Rekor log (Rekor is Sigstore's public transparency log, an append-only public list that anyone can check):
provider:rekor;api_version: 1;origin;log_id: the SHA-256 of the log key;checkpoint_nameandcheckpoint_origin;keys: exactly one key, as{"algorithm": "ecdsa-p256-sha256", "public_key": "<base64url SPKI>", "fingerprint": "sha256:<64 hex>"}.
The witness: Rekor v1
A witness is optional. When witness is not null, it shows that the service published its signed head to an independent transparency log by a given time.
Supported profile. Narrow: Rekor v1 hashedrekord entries, API version 0.0.1, with the log's ECDSA P-256 key pinned in the trust file.
Fields:
provider;published_head, which must equal the bundle'shead;entry_reference,entry_bytes_base64andinclusion_proof;signed_checkpoint, withenvelope,log_id,log_index,integrated_timeandsigned_entry_timestamp.
Published artefact. The canonical JSON {"format": "signedtree-witness-publication/v2", "head": <the bundle's head>}.
What the checker confirms:
- that the entry's hash is the SHA-256 of that artefact, and its publication signature;
- the signed entry timestamp and the signed checkpoint, with the pinned key;
- the inclusion proof;
- that the entry reference names the verified entry.
The integration time is an upper bound only; it does not show when events first happened.
Records SignedTree exports today set witness to null. Checking one confirms the history against the retained receipts only, and the result says no independent witness was checked.
What a check means
A record passes when every hash, signature, chain link, label, receipt and replayed action is consistent with the keys in the trust file.
- Full check. With a valid witness, the result is a full check (
verified, withfull_verificationtrue). - History-only check. Without one, the standalone checker fails with
WITNESS_REQUIREDunless its history-only option is chosen. The result is thenhistory_verified_witness_pending, which the web checker shows as "History checked. Witness missing."
A check detects alteration and omission relative to the supplied receipts and the witnessed tree head. It does not prove:
- That the copy is the latest. Later events can exist that this copy does not include.
- Who someone is. Email control is the service's attestation, not proof of a legal name. A new device can use a new key after fresh authentication.
- When anything happened, beyond the service's own time assertions and, with a witness, an upper bound.
- Legal and practical effect: legal enforceability, authority beyond what the signed bytes fix, delivery, payment, rights, or performance.
For a Card through SignedTree agreement, the result adds service_payment. It holds:
- who pays and who is paid;
- the signed amount and currency;
- the current delivery's finals and previews, by fingerprint;
payment_recorded: false.
A card payment is never part of the signed record, and a check never proves one.
Failures
A failed check returns a stable reason code. The web checker groups them:
- Did not pass: something was changed, left out, or signed by a key the trust file does not support.
- Does not match your trust file: a different service, or an untrusted issuer or witness.
- Trust file not usable.
- Incomplete: missing receipts, files or evidence.
- Cannot be checked here: a profile or capability this checker lacks.
- Unreadable: not a record, not JSON, or too large.
None of these means anyone broke a promise.
Limits
- A JSON record is at most 16 MiB, a ZIP package at most 96 MiB and a trust file at most 1 MiB.
- A record holds at most 4,096 events or receipts.
- Each canonical record is at most 64 KiB.
Other formats the checker reads
These are separate profiles. This document does not specify them in full.
signedtree-verifier-bundle/v1. The core commitment log, between agent keys under owners' signed delegations. The web checker reads it too. The public synthetic example uses this profile: bundle.json and trust.json. They use public test keys and a simulated witness, and prove no real commitment.- Standalone checker only:
signedtree-selective-bundle/v1,signedtree-amu-verifier-bundle/v1,signedtree-amu-decision-bundle/v1and/v2(records of permission decisions for agent actions), andsignedtree-licence-evidence/v1. - The optional
ans-scitt-v1identity profile ties an agent's key to an identity certificate issued outside SignedTree (ANS) and recorded in a public transparency log (SCITT). It needs a separate offline helper.
The web checker's limits
The checker page runs the same rules in your browser with WebCrypto, and nothing is uploaded. Its limits:
- Profiles. It reads
signedtree-human-bundle/v1, as JSON or in the ZIP package, andsignedtree-verifier-bundle/v1. It refuses every other profile. - Browser support. It needs a browser whose WebCrypto supports Ed25519.
- Witness keys. A witness publication key must be in the exact PEM layout Node.js writes: 64-character lines and a final newline.
- What it cannot use: the optional ANS helper, private identity evidence, or any check that needs RSA keys.
- Check size. It stops a check that needs too many rounds.
- Malformed keys. Browser Ed25519 implementations can differ from Node.js on deliberately malformed keys. The standalone checker is the reference.
A reference after # in a check link names the record's final event or a version fingerprint. It only says what to expect: it never stands in for the record or the trust file.
Changes to this format
signedtree/v1 is frozen. An incompatible change to signed bytes needs a new version. Additions get new format identifiers, or new values and fields that only new records use, such as Card through SignedTree and previews. Records written under earlier formats keep checking unchanged.
Copyright © 2026 SignedTree Ltd. Published for reference only. No licence to reuse this document is granted, and nothing here grants a licence to any SignedTree software, including its checker.