network.attested.entitlement
recordnetwork.attestedShared protocol vocabulary
network.attested.* is defined upstream by attested.network. The drafts here are our proposed contributions; both brokers and point-of-sale services implement subsets of this namespace.
Record Schema
| Name | Type | Required | Description |
|---|---|---|---|
| subject | string (did) | optional | DID of the entitled party. Absent (null) when marked as private. |
| entitlements | array<com.atproto.repo.strongRef> | optional | Strong references to the records the subject is entitled to. Lexicon-agnostic: refs may point at any record type. Empty (or absent) when marked as private. |
| payment | com.atproto.repo.strongRef | required | StrongRef to the `network.attested.payment` record that justified this entitlement. Entitlements reference payments; payments do not reference carts or entitlements back. |
| createdAt | string (datetime) | required | |
| signatures | array<network.attested.signature | com.atproto.repo.strongRef> | required | PoS attestation(s). Each entry is either an inline `network.attested.signature` or a `com.atproto.repo.strongRef` pointing at a remote `network.attested.proof` record. The canonical signing payload covers `payment`, `createdAt`, plus `subject` and `entitlements` when present. Mutating any of those fields invalidates every signature in this array. |
Usage
This endpoint is part of the shared network.attested protocol vocabulary. Call it via a standard XrpcClient until @atiproto/agent exposes a dedicated namespace for it.