Historical proposal: This preserved draft predates the WASIX 01 response-proof pilot. See the SDK integration page for the current implementation. Send feedback on GitHub.
Model: objects, schemas and ownership
The tables define a conceptual schema model, not an alternative wire schema. Profile-specific closed JSON schemas govern exact names, required members, serialization, limits and signatures. Values such as ProofRef are typed in the SDK to prevent accidental interchange of unrelated 32-byte digests.
| Model | Required semantic contents | Issuer or owner | Use |
|---|---|---|---|
TrustConfiguration | profile and version, trusted service origins, issuers and roles, algorithms, keys and validity, appraisal policy, policy vocabulary, state and checkpoint authorities | Each relying party | Establish independent trust and prevent origin or key substitution. |
OriginApproval | origin type, challenge, subject or certified circuit, exact root terms and their digest, intended recipient, expiry | Human authenticator or configured autonomous-origin process | Bind the root to the actual approved terms. Never represent an autonomous certificate as a human signature. |
RootGrant | root ID, subject or origin reference, holder, public key and generation, service, policy, scope, budget, validity, epoch and approval reference | Admission issuer | Establish initial bounded authority. |
ChildJoin and ParentRequest | candidate key and instance, same proposed terms digest, parent, challenge, validity and proof of possession | Child and immediate parent, respectively | Prevent issuance of a child the parent did not authorize or that cannot prove its own key. |
ChildGrant | root and parent references, child holder/key/generation, inherited policy, restrictions, expiry, delegation depth, shared pool, epoch | Delegation issuer | Maintain a verifiable root-to-leaf chain that can only narrow. |
Appraisal | holder, instance key, generation, service, evaluator/policy, measurement or attestation reference, validity | Registered appraiser | Report instance eligibility under an explicit appraisal policy. |
Intent | stable operation meaning: actor scope, destination, action, resource, arguments, input digest, recipient, units and purpose as supported by profile | Acting client | Bind the actual action. Its digest remains stable across an unchanged retry. |
Attempt | operation ID, fresh record ID, intent digest, grant and policy references, actor and generation, method/target or local route, epoch, validity and challenge context | Acting client | Identify this authorization attempt and prevent substitution or replay. |
PublicProof | proof type and version, verifier identity, challenge and context binding, result or witness evidence, verdict and signature | Circuit provider or registered verifier, depending on proof type | Bind the native verification to the context; expose only evidence qualified for that proof type. |
Permit or Certificate | attempt, resource/audience, amount, actor, intent, expiry, epoch and fence, state authority signature | State authority | Reserve or authorize one bounded commitment. Exact semantics differ between W1 and WASIX. |
ResourceOutcome or Closure | operation, claim, original intent, actor, resource observation, units, time and issuer | Resource | Attest to a durable effect or terminal no-effect closure. The resource journal remains the underlying evidence. |
Response | status, intended recipient, request reference, result digest, outcome reference and response authentication | Resource | Bind the response to the intended request and recipient. A native response proof requires the proposed extension. |
LedgerEntry and Checkpoint | sequenced event or state projection, object references, epoch, head and issuer; independent keeper acknowledgment where required | Ledger and checkpoint keeper | Inspect history, verify continuity, and support rollback-safe recovery. |
Inheritance invariants: each child preserves the root, applicable service/account/project/purpose, policy semantics, pool and epoch required by its profile; actions are a subset; time and limits do not expand; depth decreases; child holder and key are distinct as required; survival cannot be added if an ancestor forbids it. Validate at mint and again at use. A parent process exit, revocation, generation replacement and expiration have separate meanings and must follow the selected profile's survival and lineage rules.
Exact W1 request and response model
These are W1 body shapes. Placeholder JWS strings are not valid test vectors. The order and indentation shown are for reading; actual W1 bytes must be canonical. Refer to the companion schema.json for all field types and the exact signed control objects.
{
"p": "http6-w1-00",
"mode": "execute",
"record": "record-42",
"op": "op-42",
"holder": "worker-1",
"key": "worker-key-1",
"gen": 1,
"intent": {
"root": "root-1",
"service": "https://compute.example",
"account": "account-1",
"project": "p7",
"purpose": "research",
"action": "charge",
"units": 6
},
"chain": ["<root-jws>", "<child-grant-jws>"],
"appraisal": "<appraisal-jws>"
}
{
"p": "http6-w1-00",
"code": "COMMITTED",
"op": "op-42",
"recipient": "worker-key-1",
"requestRef": "<64-lowercase-hex-digits>",
"evidence": "<resource-outcome-jws>"
}
The W1 schema has no fields for the arbitrary args, input, policy address or native proof shown in the WASIX model. Unknown fields are rejected. W1 uses /w1/operate and /w1/status; /w1/backend is a demonstration adapter. A retry retains the operation key and original intent, but gets a new record ID. The provider's operation key is (service, account, op) and changing its bound business terms is a conflict for an entitled caller. Disclosure of a prior result requires separate lookup authorization.
W1 signed-object inventory
The following are the required members of each W1 payload, transcribed from the companion schema. Every signed payload has p and kind; terms is the embedded unsigned object. See the schema for types, value ranges, closed-object rules and relationships. The compact JWS protected header is a separate object.
| Object | Required members |
|---|---|
terms | account, actions, budget, depth, epoch, exp, gen, holder, id, key, limit, nbf, parent, per, policy, project, purpose, root, service, survive |
approval | challenge, kind, p, subject, terms |
join | exp, gen, holder, key, kind, nbf, p, service, termsHash |
root | approvalHash, challenge, kind, p, subject, terms |
request_grant | exp, gen, joinHash, key, kind, nbf, p, parent, service, termsHash |
grant | kind, p, terms |
appraisal | exp, gen, holder, key, kind, nbf, p, policy, service |
permit | account, budget, epoch, exp, fence, gen, holder, iat, id, intentHash, key, kind, op, p, policy, project, root, service, units |
outcome | account, at, epoch, holder, intentHash, kind, op, p, permit, project, root, row, service, units |
closure | account, at, epoch, holder, intentHash, kind, op, p, permit, project, root, service, units |
revocation | at, epoch, fence, kind, p, root |
checkpoint | account, epoch, head, kind, p, root, seq, service |
recovery | account, checkpointHash, kind, nextEpoch, p, root, service |
Exact WASIX request relationships
The developer specification describes the WASIX request body as {v, intent, input, request}. request is a holder-signed compact JWS containing an attempt and proof reference. The public proof is separate and is also transmitted in HTTP6-Proof for the specified HTTPS binding. HTTP6-Policy carries the trusted ledger policy address and HTTP6-Certificate carries the state authority certificate. The local pilot supports a bounded policy vocabulary and local fixtures; the wider specification and this SDK guide describe additional integration work. Check the current implementation and its tests before representing any particular route or proof function as available.