com.getorbyt.community.membership

A user-owned canonical membership link, one record per Community. The record key MUST be base32(sha256(community AT-URI)) truncated to 24 characters, lowercase and unpadded, so writing it twice replaces the record instead of adding a second one and a repo can never hold two memberships for the same Community. The AppView rejects a record whose key is not that derivation, so the invariant is enforced rather than assumed. The key is derived from the AT-URI rather than the Community name, which its owner can change, or the Community's own record key, which is unique only within one repo. Roles, mutes and bans are service-owned and are not asserted by this record.

Repository @getorbyt.com did:plc:2xrqztnmzlckb3xfuuukupso namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritycommunity.getorbyt.com
Indexed
cid bafyreianqsrmtxc36yvm6xgpl7eyg5ywx2rpyf62d3n772bfrgetm4cur4

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A user-owned canonical membership link, one record per Community. The record key MUST be base32(sha256(community AT-URI)) truncated to 24 characters, lowercase and unpadded, so writing it twice replaces the record instead of adding a second one and a repo can never hold two memberships for the same Community. The AppView rejects a record whose key is not that derivation, so the invariant is enforced rather than assumed. The key is derived from the AT-URI rather than the Community name, which its owner can change, or the Community's own record key, which is unique only within one repo. Roles, mutes and bans are service-owned and are not asserted by this record.",
      "key": "any",
      "record": {
        "properties": {
          "community": {
            "description": "The com.getorbyt.community.declaration record this membership is for.",
            "format": "at-uri",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "community",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.getorbyt.community.membership",
  "lexicon": 1
}