app.tempomusic.staff.getAccountModeration

lexicons.tempomusic.fan

{
  "id": "app.tempomusic.staff.getAccountModeration",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "Forbidden",
          "description": "The caller is not an active moderator."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "properties": {
            "setAt": {
              "type": "string",
              "format": "datetime"
            },
            "state": {
              "type": "string",
              "maxLength": 100,
              "knownValues": [
                "suspended",
                "banned"
              ]
            },
            "until": {
              "type": "string",
              "format": "datetime"
            },
            "reason": {
              "type": "string",
              "maxLength": 5000,
              "maxGraphemes": 500
            },
            "setByDid": {
              "type": "string",
              "format": "did"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          }
        }
      },
      "description": "Current account-level moderation state of a DID (suspension or ban), or an empty object when the account is unrestricted. A lapsed suspension is reported with its (past) `until` — interpretation is the caller's. Requires the `moderator` role."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against app.tempomusic.staff.getAccountModeration

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:pxsuqmultto34oks44m2lgxm
CID
bafyreihclbvdxpb3gcgozf2xh36kaqefmc4dimoevnklaw25kjotauspvq
Indexed At
2026-08-24 09:06 UTC
AT-URI
at://did:plc:pxsuqmultto34oks44m2lgxm/com.atproto.lexicon.schema/app.tempomusic.staff.getAccountModeration

Lexicon Garden

@