com.atproto-crates.pds.policyAcceptance

ngerakines.me

Documentation

A record of the account holder accepting a policy document set presented by their PDS. Written to the account's own repository so the acceptance travels with the identity: it survives a migration to another host, and can be read by anyone the holder shows it to rather than only by the server that asked.

main record

A record of the account holder accepting a policy document set presented by their PDS. Written to the account's own repository so the acceptance travels with the identity: it survives a migration to another host, and can be read by anyone the holder shows it to rather than only by the server that asked.

Record Key tid Timestamp-based ID

Properties

acceptedAt string datetime Required

When the holder accepted. Set by the PDS at the moment the acceptance was recorded.

policy string Required

Identifier of the policy document set that was accepted. Opaque to this lexicon; the operator chooses the form. A dated content hash — `2026-08-05-bafkrei...` — names a specific immutable set, so a later revision is a different value and needs its own acceptance.

maxLength: 512 bytes
policyUrl string uri Optional

Where the documents were published at the time of acceptance. Recorded because the identifier alone does not say what was read, and the URL may later move or stop resolving.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "policy",
      "acceptedAt"
    ],
    "properties": {
      "policy": {
        "type": "string",
        "maxLength": 512,
        "description": "Identifier of the policy document set that was accepted. Opaque to this lexicon; the operator chooses the form. A dated content hash — `2026-08-05-bafkrei...` — names a specific immutable set, so a later revision is a different value and needs its own acceptance."
      },
      "policyUrl": {
        "type": "string",
        "format": "uri",
        "description": "Where the documents were published at the time of acceptance. Recorded because the identifier alone does not say what was read, and the URL may later move or stop resolving."
      },
      "acceptedAt": {
        "type": "string",
        "format": "datetime",
        "description": "When the holder accepted. Set by the PDS at the moment the acceptance was recorded."
      }
    }
  },
  "description": "A record of the account holder accepting a policy document set presented by their PDS. Written to the account's own repository so the acceptance travels with the identity: it survives a migration to another host, and can be read by anyone the holder shows it to rather than only by the server that asked."
}

Lexicon Garden

@