No description available.
tid
Timestamp-based ID
Properties
acceptedAt
string
datetime
Required
An RFC 3339 formatted timestamp.
attestation
ref
com.atproto.repo.strongRef
Optional
Strong-ref to the dev.cocore.compute.exchangeAttestation whose `signingKeyFingerprint` identifies the key that produced `sig`. Lets a verifier resolve the exchange's signing key and check `sig` without trusting the exchange live. Optional for back-compat with pre-signing acceptances; populated going forward.
exchange
string
did
Required
DID of the exchange whose terms the user is accepting.
policy
ref
com.atproto.repo.strongRef
Required
Strong-ref to the dev.cocore.compute.exchangePolicy that was active at acceptance time. The policy itself carries fee schedule + self-loop rules; the acceptance pins the human-readable terms via the policy's termsUri + termsVersion.
sig
string
Optional
Exchange's ES256 signature (base64url, raw R||S) over the canonical bytes of this record with `sig` removed — the same integer-only, sorted-key canonical form used for receipts and settlements. This is the cocore attestation that the acceptance was witnessed and countersigned by the exchange, not merely written by the user. Optional for back-compat; populated going forward.
termsUri
string
uri
Required
URL of the terms-of-service text the user actually saw. Snapshotted from the policy.
termsVersion
string
Required
Version string of the human-readable terms accepted. Copied from the policy at acceptance time so the acceptance is self-contained even if the policy is later updated.
maxLength: 32 bytesuserAgent
string
Optional
Optional user-agent string from the client at acceptance time. Useful for forensics; not required.
maxLength: 512 bytesView raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"exchange",
"policy",
"termsVersion",
"termsUri",
"acceptedAt"
],
"properties": {
"sig": {
"type": "string",
"description": "Exchange's ES256 signature (base64url, raw R||S) over the canonical bytes of this record with `sig` removed — the same integer-only, sorted-key canonical form used for receipts and settlements. This is the cocore attestation that the acceptance was witnessed and countersigned by the exchange, not merely written by the user. Optional for back-compat; populated going forward."
},
"policy": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"description": "Strong-ref to the dev.cocore.compute.exchangePolicy that was active at acceptance time. The policy itself carries fee schedule + self-loop rules; the acceptance pins the human-readable terms via the policy's termsUri + termsVersion."
},
"exchange": {
"type": "string",
"format": "did",
"description": "DID of the exchange whose terms the user is accepting."
},
"termsUri": {
"type": "string",
"format": "uri",
"description": "URL of the terms-of-service text the user actually saw. Snapshotted from the policy."
},
"userAgent": {
"type": "string",
"maxLength": 512,
"description": "Optional user-agent string from the client at acceptance time. Useful for forensics; not required."
},
"acceptedAt": {
"type": "string",
"format": "datetime"
},
"attestation": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"description": "Strong-ref to the dev.cocore.compute.exchangeAttestation whose `signingKeyFingerprint` identifies the key that produced `sig`. Lets a verifier resolve the exchange's signing key and check `sig` without trusting the exchange live. Optional for back-compat with pre-signing acceptances; populated going forward."
},
"termsVersion": {
"type": "string",
"maxLength": 32,
"description": "Version string of the human-readable terms accepted. Copied from the policy at acceptance time so the acceptance is self-contained even if the policy is later updated."
}
}
}
}