{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The authenticated account's own Community memberships. Defaults to active and muted memberships.",
      "errors": [
        {
          "name": "InvalidCursor"
        },
        {
          "description": "The request carried no service-auth token, or one this service could not verify for the method. Distinct from InsufficientRole: the caller's identity was never established, so no role decision was made. A client should reauthorize and retry once rather than tell the viewer they lack access.",
          "name": "AuthenticationRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "communities": {
              "items": {
                "ref": "com.getorbyt.community.defs#view",
                "type": "ref"
              },
              "maxLength": 50,
              "type": "array"
            },
            "cursor": {
              "type": "string"
            }
          },
          "required": [
            "communities"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 25,
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          },
          "status": {
            "knownValues": [
              "active",
              "muted",
              "banned"
            ],
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "com.getorbyt.community.listMyCommunities",
  "lexicon": 1
}
