com.getorbyt.community.manageMember

getorbyt.com

{
  "id": "com.getorbyt.community.manageMember",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "community",
            "did",
            "action"
          ],
          "properties": {
            "did": {
              "type": "string",
              "format": "did"
            },
            "role": {
              "type": "string",
              "knownValues": [
                "moderator",
                "member"
              ]
            },
            "action": {
              "type": "string",
              "knownValues": [
                "setRole",
                "mute",
                "unmute",
                "ban",
                "unban"
              ]
            },
            "reason": {
              "type": "string",
              "maxLength": 1000,
              "description": "Recorded on the membership row for the acting moderator's own reference. Orbyt keeps no moderation audit log."
            },
            "community": {
              "type": "string",
              "format": "at-uri"
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "CommunityNotFound"
        },
        {
          "name": "InsufficientRole"
        },
        {
          "name": "InvalidAction"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "status"
          ],
          "properties": {
            "status": {
              "type": "string",
              "knownValues": [
                "none",
                "active",
                "muted",
                "banned"
              ]
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Mute, ban, or re-role a member. Only an owner may set a role; a moderator may mute and ban, but never a peer or the owner."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against com.getorbyt.community.manageMember

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:2xrqztnmzlckb3xfuuukupso
CID
bafyreibjubfgywwq2n5axyv2d7mlylzg4ji354jkhvyh4ergrfya6ewv5i
Indexed At
2026-08-28 23:34 UTC
AT-URI
at://did:plc:2xrqztnmzlckb3xfuuukupso/com.atproto.lexicon.schema/com.getorbyt.community.manageMember

Lexicon Garden

@