{
  "openapi": "3.1.0",
  "info": {
    "title": "Bluesky HTTP API Reference — Bluesky App",
    "summary": "HTTP/XRPC endpoint reference for Bluesky and AT Protocol lexicons.",
    "description": "This is the HTTP API reference for Bluesky. It covers the `app.bsky.*`, `com.atproto.*`, `chat.bsky.*`, and `tools.ozone.*` Lexicon namespaces — the Lexicons implemented by the Bluesky application, its related services (DMs, Ozone moderation), and the AT Protocol [PDS](https://atproto.com/guides/the-at-stack#pds) those services build on. Use the document switcher in the top left to move between endpoints.\n\nThe wider AT Protocol Lexicon ecosystem is open and any service can publish its own Lexicons. For an index of community Lexicons see [lexicon.garden](https://lexicon.garden/), and for the schema language itself see the [Lexicon guide](https://atproto.com/guides/lexicon).\n\n## Authentication and request routing\n\nThese endpoints don't all live on the same host, and where a request should be sent depends on whether the caller is authenticated:\n\n- **Most `app.bsky.*` `GET`s are public** and can be called without authentication against the Bluesky AppView at `https://public.api.bsky.app`. `POST`s (writes) and any endpoint that returns account-private data require auth.\n- **Authenticated requests should be sent to the user's own PDS**. The PDS validates the session and, if needed, proxies the request to the correct backend. Proxied requests should [include an `atproto-proxy` header](https://atproto.com/specs/xrpc#service-proxying). [Bluesky DMs](#bluesky-dms/description/introduction) and [Ozone Moderation](#ozone-moderation/description/introduction) requests always require proxying.\n\nFor client libraries that handle session management and proxying for you, see the [AT Protocol SDKs](https://atproto.com/sdks).\n\nTo consume the whole network as a live, filterable JSON firehose (or replay a slice of it), see the [Jetstream API](#jetstream/description/introduction).",
    "version": ""
  },
  "servers": [
    {
      "url": "https://public.api.bsky.app",
      "description": "Public Bluesky AppView. Use this for unauthenticated `app.bsky.*` reads — no token required."
    },
    {
      "url": "https://{host}",
      "description": "Provide your PDS hostname. Use `bsky.social` if your account is hosted by Bluesky; replace it with your own PDS hostname (e.g. `pds.example.com`) if you're self-hosted. The PDS handles auth and proxies `app.bsky` / `chat.bsky` / `tools.ozone` calls onward. To get a token to make requests from this page, call `com.atproto.server.createSession` with your handle and an [app password](https://bsky.app/settings/app-passwords), and paste the returned `accessJwt` into the **Authentication** panel below. The token is then attached to every test request automatically.",
      "variables": {
        "host": {
          "default": "bsky.social"
        }
      }
    },
    {
      "url": "https://bsky.network",
      "description": "Bluesky Relay. Serves the `com.atproto.sync.*` repo-sync reads (`listRepos`, `getRepo`, `listReposByCollection`, …) unauthenticated. Use when testing a `com.atproto.sync` method."
    }
  ],
  "paths": {
    "/xrpc/app.bsky.actor.getPreferences": {
      "get": {
        "tags": [
          "app.bsky.actor"
        ],
        "description": "Get private preferences attached to the current account. Expected use is synchronization between multiple devices, and import/export during account migration. Requires auth.",
        "operationId": "app.bsky.actor.getPreferences",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "preferences"
                  ],
                  "properties": {
                    "preferences": {
                      "$ref": "#/components/schemas/app.bsky.actor.defs.preferences"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.actor.getPreferences)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.ActorGetPreferences(ctx, client)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.actor.getPreferences' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.actor.getProfile": {
      "get": {
        "tags": [
          "app.bsky.actor"
        ],
        "description": "Get detailed profile view of an actor. Does not require auth, but contains relevant metadata with auth.",
        "operationId": "app.bsky.actor.getProfile",
        "parameters": [
          {
            "name": "actor",
            "in": "query",
            "description": "Handle or DID of account to fetch profile of.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Handle or DID of account to fetch profile of.",
              "format": "at-identifier"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app.bsky.actor.defs.profileViewDetailed"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.actor.getProfile, {\n  actor: 'alice.bsky.social',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.ActorGetProfile(ctx, client,\n\t\"alice.bsky.social\", // actor\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.actor.getProfile?actor=alice.bsky.social' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.actor.getProfiles": {
      "get": {
        "tags": [
          "app.bsky.actor"
        ],
        "description": "Get detailed profile views of multiple actors.",
        "operationId": "app.bsky.actor.getProfiles",
        "parameters": [
          {
            "name": "actors",
            "in": "query",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "at-identifier"
              },
              "maxItems": 25
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "profiles"
                  ],
                  "properties": {
                    "profiles": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.actor.defs.profileViewDetailed"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.actor.getProfiles, {\n  actors: [],\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.ActorGetProfiles(ctx, client,\n\tnil, // actors\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.actor.getProfiles?actors=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.actor.getSuggestions": {
      "get": {
        "tags": [
          "app.bsky.actor"
        ],
        "description": "Get a list of suggested actors. Expected use is discovery of accounts to follow during new account onboarding.",
        "operationId": "app.bsky.actor.getSuggestions",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "actors"
                  ],
                  "properties": {
                    "actors": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    },
                    "recIdStr": {
                      "type": "string",
                      "description": "Snowflake for this recommendation, use when submitting recommendation events."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.actor.getSuggestions, {\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.ActorGetSuggestions(ctx, client,\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.actor.getSuggestions?limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.actor.putPreferences": {
      "post": {
        "tags": [
          "app.bsky.actor"
        ],
        "description": "Set the private preferences attached to the account.",
        "operationId": "app.bsky.actor.putPreferences",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "preferences"
                ],
                "properties": {
                  "preferences": {
                    "$ref": "#/components/schemas/app.bsky.actor.defs.preferences"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.actor.putPreferences, {\n  preferences: undefined,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.ActorPutPreferences_Input{\n\tPreferences: nil,\n}\n\nout, err := appbsky.ActorPutPreferences(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.actor.putPreferences' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"preferences\": null\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.actor.searchActors": {
      "get": {
        "tags": [
          "app.bsky.actor"
        ],
        "description": "Find actors (profiles) matching search criteria. Does not require auth.",
        "operationId": "app.bsky.actor.searchActors",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended."
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "actors"
                  ],
                  "properties": {
                    "actors": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.actor.searchActors, {\n  q: '',\n  term: '',\n  limit: 25,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.ActorSearchActors(ctx, client,\n\t\"\", // cursor\n\t25, // limit\n\t\"\", // q\n\t\"\", // term\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.actor.searchActors?q=&term=&limit=25&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.actor.searchActorsTypeahead": {
      "get": {
        "tags": [
          "app.bsky.actor"
        ],
        "description": "Find actor suggestions for a prefix search term. Expected use is for auto-completion during text field entry. Does not require auth.",
        "operationId": "app.bsky.actor.searchActorsTypeahead",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "Search query prefix; not a full query string.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Search query prefix; not a full query string."
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "actors"
                  ],
                  "properties": {
                    "actors": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.actor.defs.profileViewBasic"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.actor.searchActorsTypeahead, {\n  q: '',\n  term: '',\n  limit: 10,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.ActorSearchActorsTypeahead(ctx, client,\n\t10, // limit\n\t\"\", // q\n\t\"\", // term\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.actor.searchActorsTypeahead?q=&term=&limit=10' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.ageassurance.begin": {
      "post": {
        "tags": [
          "app.bsky.ageassurance"
        ],
        "description": "Initiate Age Assurance for an account.",
        "operationId": "app.bsky.ageassurance.begin",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email",
                  "language",
                  "countryCode"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "description": "The user's email address to receive Age Assurance instructions."
                  },
                  "language": {
                    "type": "string",
                    "description": "The user's preferred language for communication during the Age Assurance process."
                  },
                  "regionCode": {
                    "type": "string",
                    "description": "An optional ISO 3166-2 code of the user's region or state within the country."
                  },
                  "countryCode": {
                    "type": "string",
                    "description": "An ISO 3166-1 alpha-2 code of the user's location."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app.bsky.ageassurance.defs.state"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "InvalidEmail",
                        "DidTooLong",
                        "InvalidInitiation",
                        "RegionNotSupported"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.ageassurance.begin, {\n  email: '',\n  language: '',\n  regionCode: '',\n  countryCode: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.AgeassuranceBegin_Input{\n\tEmail: \"\",\n\tLanguage: \"\",\n\tRegionCode: \"\",\n\tCountryCode: \"\",\n}\n\nout, err := appbsky.AgeassuranceBegin(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.ageassurance.begin' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"email\": \"\",\n  \"language\": \"\",\n  \"regionCode\": \"\",\n  \"countryCode\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.ageassurance.getConfig": {
      "get": {
        "tags": [
          "app.bsky.ageassurance"
        ],
        "description": "Returns Age Assurance configuration for use on the client.",
        "operationId": "app.bsky.ageassurance.getConfig",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app.bsky.ageassurance.defs.config"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.ageassurance.getConfig)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.AgeassuranceGetConfig(ctx, client)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.ageassurance.getConfig' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.ageassurance.getState": {
      "get": {
        "tags": [
          "app.bsky.ageassurance"
        ],
        "description": "Returns server-computed Age Assurance state, if available, and any additional metadata needed to compute Age Assurance state client-side.",
        "operationId": "app.bsky.ageassurance.getState",
        "parameters": [
          {
            "name": "regionCode",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "countryCode",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "state",
                    "metadata"
                  ],
                  "properties": {
                    "state": {
                      "$ref": "#/components/schemas/app.bsky.ageassurance.defs.state"
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/app.bsky.ageassurance.defs.stateMetadata"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.ageassurance.getState, {\n  regionCode: '',\n  countryCode: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.AgeassuranceGetState(ctx, client,\n\t\"\", // countryCode\n\t\"\", // regionCode\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.ageassurance.getState?regionCode=&countryCode=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.bookmark.createBookmark": {
      "post": {
        "tags": [
          "app.bsky.bookmark"
        ],
        "description": "Creates a private bookmark for the specified record. Currently, only `app.bsky.feed.post` records are supported. Requires authentication.",
        "operationId": "app.bsky.bookmark.createBookmark",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "uri",
                  "cid"
                ],
                "properties": {
                  "cid": {
                    "type": "string",
                    "format": "cid"
                  },
                  "uri": {
                    "type": "string",
                    "format": "at-uri"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "UnsupportedCollection"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.bookmark.createBookmark, {\n  cid: 'bafyrei...',\n  uri: 'at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.BookmarkCreateBookmark_Input{\n\tCid: \"bafyrei...\",\n\tUri: \"at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2\",\n}\n\nout, err := appbsky.BookmarkCreateBookmark(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.bookmark.createBookmark' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"cid\": \"bafyrei...\",\n  \"uri\": \"at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.bookmark.deleteBookmark": {
      "post": {
        "tags": [
          "app.bsky.bookmark"
        ],
        "description": "Deletes a private bookmark for the specified record. Currently, only `app.bsky.feed.post` records are supported. Requires authentication.",
        "operationId": "app.bsky.bookmark.deleteBookmark",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "uri"
                ],
                "properties": {
                  "uri": {
                    "type": "string",
                    "format": "at-uri"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "UnsupportedCollection"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.bookmark.deleteBookmark, {\n  uri: 'at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.BookmarkDeleteBookmark_Input{\n\tUri: \"at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2\",\n}\n\nout, err := appbsky.BookmarkDeleteBookmark(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.bookmark.deleteBookmark' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"uri\": \"at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.bookmark.getBookmarks": {
      "get": {
        "tags": [
          "app.bsky.bookmark"
        ],
        "description": "Gets views of records bookmarked by the authenticated user. Requires authentication.",
        "operationId": "app.bsky.bookmark.getBookmarks",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "bookmarks"
                  ],
                  "properties": {
                    "cursor": {
                      "type": "string"
                    },
                    "bookmarks": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.bookmark.defs.bookmarkView"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.bookmark.getBookmarks, {\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.BookmarkGetBookmarks(ctx, client,\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.bookmark.getBookmarks?limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.contact.dismissMatch": {
      "post": {
        "tags": [
          "app.bsky.contact"
        ],
        "description": "Removes a match that was found via contact import. It shouldn't appear again if the same contact is re-imported. Requires authentication.",
        "operationId": "app.bsky.contact.dismissMatch",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "subject"
                ],
                "properties": {
                  "subject": {
                    "type": "string",
                    "description": "The subject's DID to dismiss the match with.",
                    "format": "did"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "InvalidDid",
                        "InternalError"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.contact.dismissMatch, {\n  subject: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.ContactDismissMatch_Input{\n\tSubject: \"\",\n}\n\nout, err := appbsky.ContactDismissMatch(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.contact.dismissMatch' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"subject\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.contact.getMatches": {
      "get": {
        "tags": [
          "app.bsky.contact"
        ],
        "description": "Returns the matched contacts (contacts that were mutually imported). Excludes dismissed matches. Requires authentication.",
        "operationId": "app.bsky.contact.getMatches",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "matches"
                  ],
                  "properties": {
                    "cursor": {
                      "type": "string"
                    },
                    "matches": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "InvalidDid",
                        "InvalidLimit",
                        "InvalidCursor",
                        "InternalError"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.contact.getMatches, {\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.ContactGetMatches(ctx, client,\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.contact.getMatches?limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.contact.getSyncStatus": {
      "get": {
        "tags": [
          "app.bsky.contact"
        ],
        "description": "Gets the user's current contact import status. Requires authentication.",
        "operationId": "app.bsky.contact.getSyncStatus",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "syncStatus": {
                      "$ref": "#/components/schemas/app.bsky.contact.defs.syncStatus"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "InvalidDid",
                        "InternalError"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.contact.getSyncStatus)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.ContactGetSyncStatus(ctx, client)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.contact.getSyncStatus' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.contact.importContacts": {
      "post": {
        "tags": [
          "app.bsky.contact"
        ],
        "description": "Import contacts for securely matching with other users. This follows the protocol explained in https://docs.bsky.app/blog/contact-import-rfc. Requires authentication.",
        "operationId": "app.bsky.contact.importContacts",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "token",
                  "contacts"
                ],
                "properties": {
                  "token": {
                    "type": "string",
                    "description": "JWT to authenticate the call. Use the JWT received as a response to the call to `app.bsky.contact.verifyPhone`."
                  },
                  "contacts": {
                    "type": "array",
                    "description": "List of phone numbers in global E.164 format (e.g., '+12125550123'). Phone numbers that cannot be normalized into a valid phone number will be discarded. Should not repeat the 'phone' input used in `app.bsky.contact.verifyPhone`.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 1000
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "matchesAndContactIndexes"
                  ],
                  "properties": {
                    "matchesAndContactIndexes": {
                      "type": "array",
                      "description": "The users that matched during import and their indexes on the input contacts, so the client can correlate with its local list.",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.contact.defs.matchAndContactIndex"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "InvalidDid",
                        "InvalidContacts",
                        "TooManyContacts",
                        "InvalidToken",
                        "InternalError"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.contact.importContacts, {\n  token: '',\n  contacts: [],\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.ContactImportContacts_Input{\n\tToken: \"\",\n\tContacts: nil,\n}\n\nout, err := appbsky.ContactImportContacts(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.contact.importContacts' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"token\": \"\",\n  \"contacts\": []\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.contact.removeData": {
      "post": {
        "tags": [
          "app.bsky.contact"
        ],
        "description": "Removes all stored hashes used for contact matching, existing matches, and sync status. Requires authentication.",
        "operationId": "app.bsky.contact.removeData",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "InvalidDid",
                        "InternalError"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.contact.removeData)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.ContactRemoveData_Input{}\n\nout, err := appbsky.ContactRemoveData(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.contact.removeData' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.contact.sendNotification": {
      "post": {
        "tags": [
          "app.bsky.contact"
        ],
        "description": "System endpoint to send notifications related to contact imports. Requires role authentication.",
        "operationId": "app.bsky.contact.sendNotification",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "from",
                  "to"
                ],
                "properties": {
                  "to": {
                    "type": "string",
                    "description": "The DID of who this notification should go to.",
                    "format": "did"
                  },
                  "from": {
                    "type": "string",
                    "description": "The DID of who this notification comes from.",
                    "format": "did"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.contact.sendNotification, {\n  to: '',\n  from: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.ContactSendNotification_Input{\n\tTo: \"\",\n\tFrom: \"\",\n}\n\nout, err := appbsky.ContactSendNotification(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.contact.sendNotification' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"to\": \"\",\n  \"from\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.contact.startPhoneVerification": {
      "post": {
        "tags": [
          "app.bsky.contact"
        ],
        "description": "Starts a phone verification flow. The phone passed will receive a code via SMS that should be passed to `app.bsky.contact.verifyPhone`. Requires authentication.",
        "operationId": "app.bsky.contact.startPhoneVerification",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "phone": {
                    "type": "string",
                    "description": "The phone number to receive the code via SMS."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "RateLimitExceeded",
                        "InvalidDid",
                        "InvalidPhone",
                        "InternalError"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.contact.startPhoneVerification, {\n  phone: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.ContactStartPhoneVerification_Input{\n\tPhone: \"\",\n}\n\nout, err := appbsky.ContactStartPhoneVerification(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.contact.startPhoneVerification' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"phone\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.contact.verifyPhone": {
      "post": {
        "tags": [
          "app.bsky.contact"
        ],
        "description": "Verifies control over a phone number with a code received via SMS and starts a contact import session. Requires authentication.",
        "operationId": "app.bsky.contact.verifyPhone",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "phone",
                  "code"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "description": "The code received via SMS as a result of the call to `app.bsky.contact.startPhoneVerification`."
                  },
                  "phone": {
                    "type": "string",
                    "description": "The phone number to verify. Should be the same as the one passed to `app.bsky.contact.startPhoneVerification`."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "token"
                  ],
                  "properties": {
                    "token": {
                      "type": "string",
                      "description": "JWT to be used in a call to `app.bsky.contact.importContacts`. It is only valid for a single call."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "RateLimitExceeded",
                        "InvalidDid",
                        "InvalidPhone",
                        "InvalidCode",
                        "InternalError"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.contact.verifyPhone, {\n  code: '',\n  phone: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.ContactVerifyPhone_Input{\n\tCode: \"\",\n\tPhone: \"\",\n}\n\nout, err := appbsky.ContactVerifyPhone(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.contact.verifyPhone' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"code\": \"\",\n  \"phone\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.draft.createDraft": {
      "post": {
        "tags": [
          "app.bsky.draft"
        ],
        "description": "Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication.",
        "operationId": "app.bsky.draft.createDraft",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "draft"
                ],
                "properties": {
                  "draft": {
                    "$ref": "#/components/schemas/app.bsky.draft.defs.draft"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The ID of the created draft."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "DraftLimitReached"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.draft.createDraft, {\n  draft: undefined,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.DraftCreateDraft_Input{\n\tDraft: nil,\n}\n\nout, err := appbsky.DraftCreateDraft(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.draft.createDraft' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"draft\": null\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.draft.deleteDraft": {
      "post": {
        "tags": [
          "app.bsky.draft"
        ],
        "description": "Deletes a draft by ID. Requires authentication.",
        "operationId": "app.bsky.draft.deleteDraft",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "tid"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.draft.deleteDraft, {\n  id: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.DraftDeleteDraft_Input{\n\tId: \"\",\n}\n\nout, err := appbsky.DraftDeleteDraft(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.draft.deleteDraft' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"id\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.draft.getDrafts": {
      "get": {
        "tags": [
          "app.bsky.draft"
        ],
        "description": "Gets views of user drafts. Requires authentication.",
        "operationId": "app.bsky.draft.getDrafts",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "drafts"
                  ],
                  "properties": {
                    "cursor": {
                      "type": "string"
                    },
                    "drafts": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.draft.defs.draftView"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.draft.getDrafts, {\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.DraftGetDrafts(ctx, client,\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.draft.getDrafts?limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.draft.updateDraft": {
      "post": {
        "tags": [
          "app.bsky.draft"
        ],
        "description": "Updates a draft using private storage (stash). If the draft ID points to a non-existing ID, the update will be silently ignored. This is done because updates don't enforce draft limit, so it accepts all writes, but will ignore invalid ones. Requires authentication.",
        "operationId": "app.bsky.draft.updateDraft",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "draft"
                ],
                "properties": {
                  "draft": {
                    "$ref": "#/components/schemas/app.bsky.draft.defs.draftWithId"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.draft.updateDraft, {\n  draft: undefined,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.DraftUpdateDraft_Input{\n\tDraft: nil,\n}\n\nout, err := appbsky.DraftUpdateDraft(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.draft.updateDraft' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"draft\": null\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.describeFeedGenerator": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Get information about a feed generator, including policies and offered feed URIs. Does not require auth; implemented by Feed Generator services (not App View).",
        "operationId": "app.bsky.feed.describeFeedGenerator",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "did",
                    "feeds"
                  ],
                  "properties": {
                    "did": {
                      "type": "string",
                      "format": "did"
                    },
                    "feeds": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.feed.describeFeedGenerator.feed"
                      }
                    },
                    "links": {
                      "$ref": "#/components/schemas/app.bsky.feed.describeFeedGenerator.links"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.describeFeedGenerator)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedDescribeFeedGenerator(ctx, client)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.describeFeedGenerator' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.getActorFeeds": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Get a list of feeds (feed generator records) created by the actor (in the actor's repo).",
        "operationId": "app.bsky.feed.getActorFeeds",
        "parameters": [
          {
            "name": "actor",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "at-identifier"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "feeds"
                  ],
                  "properties": {
                    "feeds": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.feed.defs.generatorView"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.getActorFeeds, {\n  actor: 'alice.bsky.social',\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedGetActorFeeds(ctx, client,\n\t\"alice.bsky.social\", // actor\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.getActorFeeds?actor=alice.bsky.social&limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.getActorLikes": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Get a list of posts liked by an actor. Requires auth, actor must be the requesting account.",
        "operationId": "app.bsky.feed.getActorLikes",
        "parameters": [
          {
            "name": "actor",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "at-identifier"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "feed"
                  ],
                  "properties": {
                    "feed": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.feed.defs.feedViewPost"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "BlockedActor",
                        "BlockedByActor"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.getActorLikes, {\n  actor: 'alice.bsky.social',\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedGetActorLikes(ctx, client,\n\t\"alice.bsky.social\", // actor\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.getActorLikes?actor=alice.bsky.social&limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.getAuthorFeed": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Get a view of an actor's 'author feed' (post and reposts by the author). Does not require auth.",
        "operationId": "app.bsky.feed.getAuthorFeed",
        "parameters": [
          {
            "name": "actor",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "at-identifier"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "description": "Combinations of post/repost types to include in response.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Combinations of post/repost types to include in response.",
              "default": "posts_with_replies",
              "enum": [
                "posts_with_replies",
                "posts_no_replies",
                "posts_with_media",
                "posts_and_author_threads",
                "posts_with_video"
              ]
            }
          },
          {
            "name": "includePins",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "feed"
                  ],
                  "properties": {
                    "feed": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.feed.defs.feedViewPost"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "BlockedActor",
                        "BlockedByActor"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.getAuthorFeed, {\n  actor: 'alice.bsky.social',\n  limit: 50,\n  cursor: '',\n  filter: 'posts_with_replies',\n  includePins: false,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedGetAuthorFeed(ctx, client,\n\t\"alice.bsky.social\", // actor\n\t\"\", // cursor\n\t\"posts_with_replies\", // filter\n\tfalse, // includePins\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.getAuthorFeed?actor=alice.bsky.social&limit=50&cursor=&filter=posts_with_replies&includePins=false' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.getFeed": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Get a hydrated feed from an actor's selected feed generator. Implemented by App View.",
        "operationId": "app.bsky.feed.getFeed",
        "parameters": [
          {
            "name": "feed",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "at-uri"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "feed"
                  ],
                  "properties": {
                    "feed": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.feed.defs.feedViewPost"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "UnknownFeed"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.getFeed, {\n  feed: '',\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedGetFeed(ctx, client,\n\t\"\", // cursor\n\t\"\", // feed\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.getFeed?feed=&limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.getFeedGenerator": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Get information about a feed generator. Implemented by AppView.",
        "operationId": "app.bsky.feed.getFeedGenerator",
        "parameters": [
          {
            "name": "feed",
            "in": "query",
            "description": "AT-URI of the feed generator record.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "AT-URI of the feed generator record.",
              "format": "at-uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "view",
                    "isOnline",
                    "isValid"
                  ],
                  "properties": {
                    "view": {
                      "$ref": "#/components/schemas/app.bsky.feed.defs.generatorView"
                    },
                    "isValid": {
                      "type": "boolean",
                      "description": "Indicates whether the feed generator service is compatible with the record declaration."
                    },
                    "isOnline": {
                      "type": "boolean",
                      "description": "Indicates whether the feed generator service has been online recently, or else seems to be inactive."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.getFeedGenerator, {\n  feed: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedGetFeedGenerator(ctx, client,\n\t\"\", // feed\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.getFeedGenerator?feed=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.getFeedGenerators": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Get information about a list of feed generators.",
        "operationId": "app.bsky.feed.getFeedGenerators",
        "parameters": [
          {
            "name": "feeds",
            "in": "query",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "at-uri"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "feeds"
                  ],
                  "properties": {
                    "feeds": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.feed.defs.generatorView"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.getFeedGenerators, {\n  feeds: [],\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedGetFeedGenerators(ctx, client,\n\tnil, // feeds\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.getFeedGenerators?feeds=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.getFeedSkeleton": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Get a skeleton of a feed provided by a feed generator. Auth is optional, depending on provider requirements, and provides the DID of the requester. Implemented by Feed Generator Service.",
        "operationId": "app.bsky.feed.getFeedSkeleton",
        "parameters": [
          {
            "name": "feed",
            "in": "query",
            "description": "Reference to feed generator record describing the specific feed being requested.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Reference to feed generator record describing the specific feed being requested.",
              "format": "at-uri"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "feed"
                  ],
                  "properties": {
                    "feed": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.feed.defs.skeletonFeedPost"
                      }
                    },
                    "reqId": {
                      "type": "string",
                      "description": "Unique identifier per request that may be passed back alongside interactions.",
                      "maxLength": 100
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "UnknownFeed"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.getFeedSkeleton, {\n  feed: '',\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedGetFeedSkeleton(ctx, client,\n\t\"\", // cursor\n\t\"\", // feed\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.getFeedSkeleton?feed=&limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.getLikes": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Get like records which reference a subject (by AT-URI and CID).",
        "operationId": "app.bsky.feed.getLikes",
        "parameters": [
          {
            "name": "cid",
            "in": "query",
            "description": "CID of the subject record (aka, specific version of record), to filter likes.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "CID of the subject record (aka, specific version of record), to filter likes.",
              "format": "cid"
            }
          },
          {
            "name": "uri",
            "in": "query",
            "description": "AT-URI of the subject (eg, a post record).",
            "required": true,
            "schema": {
              "type": "string",
              "description": "AT-URI of the subject (eg, a post record).",
              "format": "at-uri"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "uri",
                    "likes"
                  ],
                  "properties": {
                    "cid": {
                      "type": "string",
                      "format": "cid"
                    },
                    "uri": {
                      "type": "string",
                      "format": "at-uri"
                    },
                    "likes": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.feed.getLikes.like"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.getLikes, {\n  cid: 'bafyrei...',\n  uri: 'at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2',\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedGetLikes(ctx, client,\n\t\"bafyrei...\", // cid\n\t\"\", // cursor\n\t50, // limit\n\t\"at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2\", // uri\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.getLikes?cid=bafyrei...&uri=at%3A%2F%2Fdid%3Aplc%3A...%2Fapp.bsky.feed.post%2F3jxf7z2k3q2&limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.getListFeed": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Get a feed of recent posts from a list (posts and reposts from any actors on the list). Does not require auth.",
        "operationId": "app.bsky.feed.getListFeed",
        "parameters": [
          {
            "name": "list",
            "in": "query",
            "description": "Reference (AT-URI) to the list record.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Reference (AT-URI) to the list record.",
              "format": "at-uri"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "feed"
                  ],
                  "properties": {
                    "feed": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.feed.defs.feedViewPost"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "UnknownList"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.getListFeed, {\n  list: '',\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedGetListFeed(ctx, client,\n\t\"\", // cursor\n\t50, // limit\n\t\"\", // list\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.getListFeed?list=&limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.getPostThread": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Get posts in a thread. Does not require auth, but additional metadata and filtering will be applied for authed requests.",
        "operationId": "app.bsky.feed.getPostThread",
        "parameters": [
          {
            "name": "uri",
            "in": "query",
            "description": "Reference (AT-URI) to post record.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Reference (AT-URI) to post record.",
              "format": "at-uri"
            }
          },
          {
            "name": "depth",
            "in": "query",
            "description": "How many levels of reply depth should be included in response.",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "How many levels of reply depth should be included in response.",
              "minimum": 0,
              "maximum": 1000,
              "default": 6
            }
          },
          {
            "name": "parentHeight",
            "in": "query",
            "description": "How many levels of parent (and grandparent, etc) post to include.",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "How many levels of parent (and grandparent, etc) post to include.",
              "minimum": 0,
              "maximum": 1000,
              "default": 80
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "thread"
                  ],
                  "properties": {
                    "thread": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/app.bsky.feed.defs.threadViewPost"
                        },
                        {
                          "$ref": "#/components/schemas/app.bsky.feed.defs.notFoundPost"
                        },
                        {
                          "$ref": "#/components/schemas/app.bsky.feed.defs.blockedPost"
                        }
                      ]
                    },
                    "threadgate": {
                      "$ref": "#/components/schemas/app.bsky.feed.defs.threadgateView"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "NotFound"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.getPostThread, {\n  uri: 'at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2',\n  depth: 6,\n  parentHeight: 80,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedGetPostThread(ctx, client,\n\t6, // depth\n\t80, // parentHeight\n\t\"at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2\", // uri\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.getPostThread?uri=at%3A%2F%2Fdid%3Aplc%3A...%2Fapp.bsky.feed.post%2F3jxf7z2k3q2&depth=6&parentHeight=80' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.getPosts": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
        "operationId": "app.bsky.feed.getPosts",
        "parameters": [
          {
            "name": "uris",
            "in": "query",
            "description": "List of post AT-URIs to return hydrated views for.",
            "required": true,
            "schema": {
              "type": "array",
              "description": "List of post AT-URIs to return hydrated views for.",
              "items": {
                "type": "string",
                "format": "at-uri"
              },
              "maxItems": 25
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "posts"
                  ],
                  "properties": {
                    "posts": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.feed.defs.postView"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.getPosts, {\n  uris: [],\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedGetPosts(ctx, client,\n\tnil, // uris\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.getPosts?uris=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.getQuotes": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Get a list of quotes for a given post.",
        "operationId": "app.bsky.feed.getQuotes",
        "parameters": [
          {
            "name": "cid",
            "in": "query",
            "description": "If supplied, filters to quotes of specific version (by CID) of the post record.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "If supplied, filters to quotes of specific version (by CID) of the post record.",
              "format": "cid"
            }
          },
          {
            "name": "uri",
            "in": "query",
            "description": "Reference (AT-URI) of post record",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Reference (AT-URI) of post record",
              "format": "at-uri"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "uri",
                    "posts"
                  ],
                  "properties": {
                    "cid": {
                      "type": "string",
                      "format": "cid"
                    },
                    "uri": {
                      "type": "string",
                      "format": "at-uri"
                    },
                    "posts": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.feed.defs.postView"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.getQuotes, {\n  cid: 'bafyrei...',\n  uri: 'at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2',\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedGetQuotes(ctx, client,\n\t\"bafyrei...\", // cid\n\t\"\", // cursor\n\t50, // limit\n\t\"at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2\", // uri\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.getQuotes?cid=bafyrei...&uri=at%3A%2F%2Fdid%3Aplc%3A...%2Fapp.bsky.feed.post%2F3jxf7z2k3q2&limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.getRepostedBy": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Get a list of reposts for a given post.",
        "operationId": "app.bsky.feed.getRepostedBy",
        "parameters": [
          {
            "name": "cid",
            "in": "query",
            "description": "If supplied, filters to reposts of specific version (by CID) of the post record.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "If supplied, filters to reposts of specific version (by CID) of the post record.",
              "format": "cid"
            }
          },
          {
            "name": "uri",
            "in": "query",
            "description": "Reference (AT-URI) of post record",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Reference (AT-URI) of post record",
              "format": "at-uri"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "uri",
                    "repostedBy"
                  ],
                  "properties": {
                    "cid": {
                      "type": "string",
                      "format": "cid"
                    },
                    "uri": {
                      "type": "string",
                      "format": "at-uri"
                    },
                    "cursor": {
                      "type": "string"
                    },
                    "repostedBy": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.getRepostedBy, {\n  cid: 'bafyrei...',\n  uri: 'at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2',\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedGetRepostedBy(ctx, client,\n\t\"bafyrei...\", // cid\n\t\"\", // cursor\n\t50, // limit\n\t\"at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2\", // uri\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.getRepostedBy?cid=bafyrei...&uri=at%3A%2F%2Fdid%3Aplc%3A...%2Fapp.bsky.feed.post%2F3jxf7z2k3q2&limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.getSuggestedFeeds": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Get a list of suggested feeds (feed generators) for the requesting account.",
        "operationId": "app.bsky.feed.getSuggestedFeeds",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "feeds"
                  ],
                  "properties": {
                    "feeds": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.feed.defs.generatorView"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.getSuggestedFeeds, {\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedGetSuggestedFeeds(ctx, client,\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.getSuggestedFeeds?limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.getTimeline": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Get a view of the requesting account's home timeline. This is expected to be some form of reverse-chronological feed.",
        "operationId": "app.bsky.feed.getTimeline",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "algorithm",
            "in": "query",
            "description": "Variant 'algorithm' for timeline. Implementation-specific. NOTE: most feed flexibility has been moved to feed generator mechanism.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Variant 'algorithm' for timeline. Implementation-specific. NOTE: most feed flexibility has been moved to feed generator mechanism."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "feed"
                  ],
                  "properties": {
                    "feed": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.feed.defs.feedViewPost"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.getTimeline, {\n  limit: 50,\n  cursor: '',\n  algorithm: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedGetTimeline(ctx, client,\n\t\"\", // algorithm\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.getTimeline?limit=50&cursor=&algorithm=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.searchPosts": {
      "get": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Find posts matching search criteria, returning views of those posts. Note that this API endpoint may require authentication (eg, not public) for some service providers and implementations.",
        "operationId": "app.bsky.feed.searchPosts",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended."
            }
          },
          {
            "name": "tag",
            "in": "query",
            "description": "Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix. Multiple tags can be specified, with 'AND' matching.",
            "required": false,
            "schema": {
              "type": "array",
              "description": "Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix. Multiple tags can be specified, with 'AND' matching.",
              "items": {
                "type": "string",
                "maxLength": 640
              }
            }
          },
          {
            "name": "url",
            "in": "query",
            "description": "Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching.",
              "format": "uri"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Filter to posts in the given language. Expected to be based on post language field, though server may override language detection.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Filter to posts in the given language. Expected to be based on post language field, though server may override language detection.",
              "format": "language"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Specifies the ranking order of results.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Specifies the ranking order of results.",
              "default": "latest",
              "enum": [
                "top",
                "latest"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            }
          },
          {
            "name": "since",
            "in": "query",
            "description": "Filter results for posts after the indicated datetime (inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYYY-MM-DD).",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Filter results for posts after the indicated datetime (inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYYY-MM-DD)."
            }
          },
          {
            "name": "until",
            "in": "query",
            "description": "Filter results for posts before the indicated datetime (not inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYY-MM-DD).",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Filter results for posts before the indicated datetime (not inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYY-MM-DD)."
            }
          },
          {
            "name": "author",
            "in": "query",
            "description": "Filter to posts by the given account. Handles are resolved to DID before query-time.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Filter to posts by the given account. Handles are resolved to DID before query-time.",
              "format": "at-identifier"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "Optional pagination mechanism; may not necessarily allow scrolling through entire result set.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Optional pagination mechanism; may not necessarily allow scrolling through entire result set."
            }
          },
          {
            "name": "domain",
            "in": "query",
            "description": "Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization."
            }
          },
          {
            "name": "mentions",
            "in": "query",
            "description": "Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions.",
              "format": "at-identifier"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "posts"
                  ],
                  "properties": {
                    "posts": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.feed.defs.postView"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    },
                    "hitsTotal": {
                      "type": "integer",
                      "description": "Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "BadQueryString"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.searchPosts, {\n  q: '',\n  tag: [],\n  url: '',\n  lang: 'en',\n  sort: 'latest',\n  limit: 25,\n  since: '',\n  until: '',\n  author: '',\n  cursor: '',\n  domain: '',\n  mentions: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.FeedSearchPosts(ctx, client,\n\t\"\", // author\n\t\"\", // cursor\n\t\"\", // domain\n\t\"en\", // lang\n\t25, // limit\n\t\"\", // mentions\n\t\"\", // q\n\t\"\", // since\n\t\"latest\", // sort\n\tnil, // tag\n\t\"\", // until\n\t\"\", // url\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.feed.searchPosts?q=&tag=&url=&lang=en&sort=latest&limit=25&since=&until=&author=&cursor=&domain=&mentions=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.feed.sendInteractions": {
      "post": {
        "tags": [
          "app.bsky.feed"
        ],
        "description": "Send information about interactions with feed items back to the feed generator that served them.",
        "operationId": "app.bsky.feed.sendInteractions",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "interactions"
                ],
                "properties": {
                  "feed": {
                    "type": "string",
                    "format": "at-uri"
                  },
                  "interactions": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/app.bsky.feed.defs.interaction"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_unknown_": {
                      "type": "object",
                      "properties": {}
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.feed.sendInteractions, {\n  feed: '',\n  interactions: [],\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.FeedSendInteractions_Input{\n\tFeed: \"\",\n\tInteractions: nil,\n}\n\nout, err := appbsky.FeedSendInteractions(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.feed.sendInteractions' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"feed\": \"\",\n  \"interactions\": []\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getActorStarterPacks": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Get a list of starter packs created by the actor.",
        "operationId": "app.bsky.graph.getActorStarterPacks",
        "parameters": [
          {
            "name": "actor",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "at-identifier"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "starterPacks"
                  ],
                  "properties": {
                    "cursor": {
                      "type": "string"
                    },
                    "starterPacks": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.graph.defs.starterPackViewBasic"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getActorStarterPacks, {\n  actor: 'alice.bsky.social',\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetActorStarterPacks(ctx, client,\n\t\"alice.bsky.social\", // actor\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getActorStarterPacks?actor=alice.bsky.social&limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getBlocks": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Enumerates which accounts the requesting account is currently blocking. Requires auth.",
        "operationId": "app.bsky.graph.getBlocks",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "blocks"
                  ],
                  "properties": {
                    "blocks": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getBlocks, {\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetBlocks(ctx, client,\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getBlocks?limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getFollowers": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Enumerates accounts which follow a specified account (actor).",
        "operationId": "app.bsky.graph.getFollowers",
        "parameters": [
          {
            "name": "actor",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "at-identifier"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "subject",
                    "followers"
                  ],
                  "properties": {
                    "cursor": {
                      "type": "string"
                    },
                    "subject": {
                      "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
                    },
                    "followers": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getFollowers, {\n  actor: 'alice.bsky.social',\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetFollowers(ctx, client,\n\t\"alice.bsky.social\", // actor\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getFollowers?actor=alice.bsky.social&limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getFollows": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Enumerates accounts which a specified account (actor) follows.",
        "operationId": "app.bsky.graph.getFollows",
        "parameters": [
          {
            "name": "actor",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "at-identifier"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "subject",
                    "follows"
                  ],
                  "properties": {
                    "cursor": {
                      "type": "string"
                    },
                    "follows": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
                      }
                    },
                    "subject": {
                      "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getFollows, {\n  actor: 'alice.bsky.social',\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetFollows(ctx, client,\n\t\"alice.bsky.social\", // actor\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getFollows?actor=alice.bsky.social&limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getKnownFollowers": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Enumerates accounts which follow a specified account (actor) and are followed by the viewer.",
        "operationId": "app.bsky.graph.getKnownFollowers",
        "parameters": [
          {
            "name": "actor",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "at-identifier"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "subject",
                    "followers"
                  ],
                  "properties": {
                    "cursor": {
                      "type": "string"
                    },
                    "subject": {
                      "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
                    },
                    "followers": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getKnownFollowers, {\n  actor: 'alice.bsky.social',\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetKnownFollowers(ctx, client,\n\t\"alice.bsky.social\", // actor\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getKnownFollowers?actor=alice.bsky.social&limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getList": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Gets a 'view' (with additional context) of a specified list.",
        "operationId": "app.bsky.graph.getList",
        "parameters": [
          {
            "name": "list",
            "in": "query",
            "description": "Reference (AT-URI) of the list record to hydrate.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Reference (AT-URI) of the list record to hydrate.",
              "format": "at-uri"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "list",
                    "items"
                  ],
                  "properties": {
                    "list": {
                      "$ref": "#/components/schemas/app.bsky.graph.defs.listView"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.graph.defs.listItemView"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getList, {\n  list: '',\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetList(ctx, client,\n\t\"\", // cursor\n\t50, // limit\n\t\"\", // list\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getList?list=&limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getListBlocks": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Get mod lists that the requesting account (actor) is blocking. Requires auth.",
        "operationId": "app.bsky.graph.getListBlocks",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "lists"
                  ],
                  "properties": {
                    "lists": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.graph.defs.listView"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getListBlocks, {\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetListBlocks(ctx, client,\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getListBlocks?limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getListMutes": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Enumerates mod lists that the requesting account (actor) currently has muted. Requires auth.",
        "operationId": "app.bsky.graph.getListMutes",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "lists"
                  ],
                  "properties": {
                    "lists": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.graph.defs.listView"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getListMutes, {\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetListMutes(ctx, client,\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getListMutes?limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getLists": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Enumerates the lists created by a specified account (actor).",
        "operationId": "app.bsky.graph.getLists",
        "parameters": [
          {
            "name": "actor",
            "in": "query",
            "description": "The account (actor) to enumerate lists from.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The account (actor) to enumerate lists from.",
              "format": "at-identifier"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "purposes",
            "in": "query",
            "description": "Optional filter by list purpose. If not specified, all supported types are returned.",
            "required": false,
            "schema": {
              "type": "array",
              "description": "Optional filter by list purpose. If not specified, all supported types are returned.",
              "items": {
                "type": "string",
                "enum": [
                  "modlist",
                  "curatelist"
                ]
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "lists"
                  ],
                  "properties": {
                    "lists": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.graph.defs.listView"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getLists, {\n  actor: 'alice.bsky.social',\n  limit: 50,\n  cursor: '',\n  purposes: [],\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetLists(ctx, client,\n\t\"alice.bsky.social\", // actor\n\t\"\", // cursor\n\t50, // limit\n\tnil, // purposes\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getLists?actor=alice.bsky.social&limit=50&cursor=&purposes=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getListsWithMembership": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Enumerates the lists created by the session user, and includes membership information about `actor` in those lists. Only supports curation and moderation lists (no reference lists, used in starter packs). Requires auth.",
        "operationId": "app.bsky.graph.getListsWithMembership",
        "parameters": [
          {
            "name": "actor",
            "in": "query",
            "description": "The account (actor) to check for membership.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The account (actor) to check for membership.",
              "format": "at-identifier"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "purposes",
            "in": "query",
            "description": "Optional filter by list purpose. If not specified, all supported types are returned.",
            "required": false,
            "schema": {
              "type": "array",
              "description": "Optional filter by list purpose. If not specified, all supported types are returned.",
              "items": {
                "type": "string",
                "enum": [
                  "modlist",
                  "curatelist"
                ]
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "listsWithMembership"
                  ],
                  "properties": {
                    "cursor": {
                      "type": "string"
                    },
                    "listsWithMembership": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.graph.getListsWithMembership.listWithMembership"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getListsWithMembership, {\n  actor: 'alice.bsky.social',\n  limit: 50,\n  cursor: '',\n  purposes: [],\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetListsWithMembership(ctx, client,\n\t\"alice.bsky.social\", // actor\n\t\"\", // cursor\n\t50, // limit\n\tnil, // purposes\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getListsWithMembership?actor=alice.bsky.social&limit=50&cursor=&purposes=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getMutes": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Enumerates accounts that the requesting account (actor) currently has muted. Requires auth.",
        "operationId": "app.bsky.graph.getMutes",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "mutes"
                  ],
                  "properties": {
                    "mutes": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getMutes, {\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetMutes(ctx, client,\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getMutes?limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getRelationships": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Enumerates public relationships between one account, and a list of other accounts. Does not require auth.",
        "operationId": "app.bsky.graph.getRelationships",
        "parameters": [
          {
            "name": "actor",
            "in": "query",
            "description": "Primary account requesting relationships for.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Primary account requesting relationships for.",
              "format": "at-identifier"
            }
          },
          {
            "name": "others",
            "in": "query",
            "description": "List of 'other' accounts to be related back to the primary.",
            "required": false,
            "schema": {
              "type": "array",
              "description": "List of 'other' accounts to be related back to the primary.",
              "items": {
                "type": "string",
                "format": "at-identifier"
              },
              "maxItems": 30
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "relationships"
                  ],
                  "properties": {
                    "actor": {
                      "type": "string",
                      "format": "did"
                    },
                    "relationships": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "$ref": "#/components/schemas/app.bsky.graph.defs.relationship"
                          },
                          {
                            "$ref": "#/components/schemas/app.bsky.graph.defs.notFoundActor"
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "ActorNotFound"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getRelationships, {\n  actor: 'alice.bsky.social',\n  others: [],\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetRelationships(ctx, client,\n\t\"alice.bsky.social\", // actor\n\tnil, // others\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getRelationships?actor=alice.bsky.social&others=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getStarterPack": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Gets a view of a starter pack.",
        "operationId": "app.bsky.graph.getStarterPack",
        "parameters": [
          {
            "name": "starterPack",
            "in": "query",
            "description": "Reference (AT-URI) of the starter pack record.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Reference (AT-URI) of the starter pack record.",
              "format": "at-uri"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "starterPack"
                  ],
                  "properties": {
                    "starterPack": {
                      "$ref": "#/components/schemas/app.bsky.graph.defs.starterPackView"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getStarterPack, {\n  starterPack: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetStarterPack(ctx, client,\n\t\"\", // starterPack\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getStarterPack?starterPack=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getStarterPacks": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Get views for a list of starter packs.",
        "operationId": "app.bsky.graph.getStarterPacks",
        "parameters": [
          {
            "name": "uris",
            "in": "query",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "at-uri"
              },
              "maxItems": 25
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "starterPacks"
                  ],
                  "properties": {
                    "starterPacks": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.graph.defs.starterPackViewBasic"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getStarterPacks, {\n  uris: [],\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetStarterPacks(ctx, client,\n\tnil, // uris\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getStarterPacks?uris=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getStarterPacksWithMembership": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Enumerates the starter packs created by the session user, and includes membership information about `actor` in those starter packs. Requires auth.",
        "operationId": "app.bsky.graph.getStarterPacksWithMembership",
        "parameters": [
          {
            "name": "actor",
            "in": "query",
            "description": "The account (actor) to check for membership.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The account (actor) to check for membership.",
              "format": "at-identifier"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "starterPacksWithMembership"
                  ],
                  "properties": {
                    "cursor": {
                      "type": "string"
                    },
                    "starterPacksWithMembership": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.graph.getStarterPacksWithMembership.starterPackWithMembership"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getStarterPacksWithMembership, {\n  actor: 'alice.bsky.social',\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetStarterPacksWithMembership(ctx, client,\n\t\"alice.bsky.social\", // actor\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getStarterPacksWithMembership?actor=alice.bsky.social&limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.getSuggestedFollowsByActor": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Enumerates follows similar to a given account (actor). Expected use is to recommend additional accounts immediately after following one account.",
        "operationId": "app.bsky.graph.getSuggestedFollowsByActor",
        "parameters": [
          {
            "name": "actor",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "at-identifier"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "suggestions"
                  ],
                  "properties": {
                    "recIdStr": {
                      "type": "string",
                      "description": "Snowflake for this recommendation, use when submitting recommendation events."
                    },
                    "suggestions": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.getSuggestedFollowsByActor, {\n  actor: 'alice.bsky.social',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphGetSuggestedFollowsByActor(ctx, client,\n\t\"alice.bsky.social\", // actor\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.getSuggestedFollowsByActor?actor=alice.bsky.social' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.muteActor": {
      "post": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Creates a mute relationship for the specified account. Mutes are private in Bluesky. Requires auth.",
        "operationId": "app.bsky.graph.muteActor",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "actor"
                ],
                "properties": {
                  "actor": {
                    "type": "string",
                    "format": "at-identifier"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.muteActor, {\n  actor: 'alice.bsky.social',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.GraphMuteActor_Input{\n\tActor: \"alice.bsky.social\",\n}\n\nout, err := appbsky.GraphMuteActor(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.graph.muteActor' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"actor\": \"alice.bsky.social\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.muteActorList": {
      "post": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Creates a mute relationship for the specified list of accounts. Mutes are private in Bluesky. Requires auth.",
        "operationId": "app.bsky.graph.muteActorList",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "list"
                ],
                "properties": {
                  "list": {
                    "type": "string",
                    "format": "at-uri"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.muteActorList, {\n  list: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.GraphMuteActorList_Input{\n\tList: \"\",\n}\n\nout, err := appbsky.GraphMuteActorList(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.graph.muteActorList' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"list\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.muteThread": {
      "post": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Mutes a thread preventing notifications from the thread and any of its children. Mutes are private in Bluesky. Requires auth.",
        "operationId": "app.bsky.graph.muteThread",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "root"
                ],
                "properties": {
                  "root": {
                    "type": "string",
                    "format": "at-uri"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.muteThread, {\n  root: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.GraphMuteThread_Input{\n\tRoot: \"\",\n}\n\nout, err := appbsky.GraphMuteThread(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.graph.muteThread' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"root\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.searchStarterPacks": {
      "get": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Find starter packs matching search criteria. Requires auth.",
        "operationId": "app.bsky.graph.searchStarterPacks",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended."
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "starterPacks"
                  ],
                  "properties": {
                    "cursor": {
                      "type": "string"
                    },
                    "starterPacks": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.graph.defs.starterPackViewBasic"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.searchStarterPacks, {\n  q: '',\n  limit: 25,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.GraphSearchStarterPacks(ctx, client,\n\t\"\", // cursor\n\t25, // limit\n\t\"\", // q\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.graph.searchStarterPacks?q=&limit=25&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.unmuteActor": {
      "post": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Unmutes the specified account. Requires auth.",
        "operationId": "app.bsky.graph.unmuteActor",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "actor"
                ],
                "properties": {
                  "actor": {
                    "type": "string",
                    "format": "at-identifier"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.unmuteActor, {\n  actor: 'alice.bsky.social',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.GraphUnmuteActor_Input{\n\tActor: \"alice.bsky.social\",\n}\n\nout, err := appbsky.GraphUnmuteActor(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.graph.unmuteActor' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"actor\": \"alice.bsky.social\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.unmuteActorList": {
      "post": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Unmutes the specified list of accounts. Requires auth.",
        "operationId": "app.bsky.graph.unmuteActorList",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "list"
                ],
                "properties": {
                  "list": {
                    "type": "string",
                    "format": "at-uri"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.unmuteActorList, {\n  list: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.GraphUnmuteActorList_Input{\n\tList: \"\",\n}\n\nout, err := appbsky.GraphUnmuteActorList(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.graph.unmuteActorList' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"list\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.graph.unmuteThread": {
      "post": {
        "tags": [
          "app.bsky.graph"
        ],
        "description": "Unmutes the specified thread. Requires auth.",
        "operationId": "app.bsky.graph.unmuteThread",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "root"
                ],
                "properties": {
                  "root": {
                    "type": "string",
                    "format": "at-uri"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.graph.unmuteThread, {\n  root: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.GraphUnmuteThread_Input{\n\tRoot: \"\",\n}\n\nout, err := appbsky.GraphUnmuteThread(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.graph.unmuteThread' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"root\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.labeler.getServices": {
      "get": {
        "tags": [
          "app.bsky.labeler"
        ],
        "description": "Get information about a list of labeler services.",
        "operationId": "app.bsky.labeler.getServices",
        "parameters": [
          {
            "name": "dids",
            "in": "query",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "did"
              }
            }
          },
          {
            "name": "detailed",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "views"
                  ],
                  "properties": {
                    "views": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "$ref": "#/components/schemas/app.bsky.labeler.defs.labelerView"
                          },
                          {
                            "$ref": "#/components/schemas/app.bsky.labeler.defs.labelerViewDetailed"
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.labeler.getServices, {\n  dids: [],\n  detailed: false,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.LabelerGetServices(ctx, client,\n\tfalse, // detailed\n\tnil, // dids\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.labeler.getServices?dids=&detailed=false' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.notification.getPreferences": {
      "get": {
        "tags": [
          "app.bsky.notification"
        ],
        "description": "Get notification-related preferences for an account. Requires auth.",
        "operationId": "app.bsky.notification.getPreferences",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "preferences"
                  ],
                  "properties": {
                    "preferences": {
                      "$ref": "#/components/schemas/app.bsky.notification.defs.preferences"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.notification.getPreferences)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.NotificationGetPreferences(ctx, client)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.notification.getPreferences' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.notification.getUnreadCount": {
      "get": {
        "tags": [
          "app.bsky.notification"
        ],
        "description": "Count the number of unread notifications for the requesting account. Requires auth.",
        "operationId": "app.bsky.notification.getUnreadCount",
        "parameters": [
          {
            "name": "seenAt",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "priority",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "count"
                  ],
                  "properties": {
                    "count": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.notification.getUnreadCount, {\n  seenAt: '',\n  priority: false,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.NotificationGetUnreadCount(ctx, client,\n\tfalse, // priority\n\t\"\", // seenAt\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.notification.getUnreadCount?seenAt=&priority=false' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.notification.listActivitySubscriptions": {
      "get": {
        "tags": [
          "app.bsky.notification"
        ],
        "description": "Enumerate all accounts to which the requesting account is subscribed to receive notifications for. Requires auth.",
        "operationId": "app.bsky.notification.listActivitySubscriptions",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "subscriptions"
                  ],
                  "properties": {
                    "cursor": {
                      "type": "string"
                    },
                    "subscriptions": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.notification.listActivitySubscriptions, {\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.NotificationListActivitySubscriptions(ctx, client,\n\t\"\", // cursor\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.notification.listActivitySubscriptions?limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.notification.listNotifications": {
      "get": {
        "tags": [
          "app.bsky.notification"
        ],
        "description": "Enumerate notifications for the requesting account. Requires auth.",
        "operationId": "app.bsky.notification.listNotifications",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "seenAt",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "reasons",
            "in": "query",
            "description": "Notification reasons to include in response.",
            "required": false,
            "schema": {
              "type": "array",
              "description": "Notification reasons to include in response.",
              "items": {
                "type": "string",
                "description": "A reason that matches the reason property of #notification."
              }
            }
          },
          {
            "name": "priority",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "notifications"
                  ],
                  "properties": {
                    "cursor": {
                      "type": "string"
                    },
                    "seenAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "priority": {
                      "type": "boolean"
                    },
                    "notifications": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/app.bsky.notification.listNotifications.notification"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.notification.listNotifications, {\n  limit: 50,\n  cursor: '',\n  seenAt: '',\n  reasons: [],\n  priority: false,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.NotificationListNotifications(ctx, client,\n\t\"\", // cursor\n\t50, // limit\n\tfalse, // priority\n\tnil, // reasons\n\t\"\", // seenAt\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.notification.listNotifications?limit=50&cursor=&seenAt=&reasons=&priority=false' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.notification.putActivitySubscription": {
      "post": {
        "tags": [
          "app.bsky.notification"
        ],
        "description": "Puts an activity subscription entry. The key should be omitted for creation and provided for updates. Requires auth.",
        "operationId": "app.bsky.notification.putActivitySubscription",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "subject",
                  "activitySubscription"
                ],
                "properties": {
                  "subject": {
                    "type": "string",
                    "format": "did"
                  },
                  "activitySubscription": {
                    "$ref": "#/components/schemas/app.bsky.notification.defs.activitySubscription"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "subject"
                  ],
                  "properties": {
                    "subject": {
                      "type": "string",
                      "format": "did"
                    },
                    "activitySubscription": {
                      "$ref": "#/components/schemas/app.bsky.notification.defs.activitySubscription"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.notification.putActivitySubscription, {\n  subject: '',\n  activitySubscription: undefined,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.NotificationPutActivitySubscription_Input{\n\tSubject: \"\",\n\tActivitySubscription: nil,\n}\n\nout, err := appbsky.NotificationPutActivitySubscription(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.notification.putActivitySubscription' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"subject\": \"\",\n  \"activitySubscription\": null\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.notification.putPreferences": {
      "post": {
        "tags": [
          "app.bsky.notification"
        ],
        "description": "Set notification-related preferences for an account. Requires auth.",
        "operationId": "app.bsky.notification.putPreferences",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "priority"
                ],
                "properties": {
                  "priority": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.notification.putPreferences, {\n  priority: false,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.NotificationPutPreferences_Input{\n\tPriority: false,\n}\n\nout, err := appbsky.NotificationPutPreferences(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.notification.putPreferences' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"priority\": false\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.notification.putPreferencesV2": {
      "post": {
        "tags": [
          "app.bsky.notification"
        ],
        "description": "Set notification-related preferences for an account. Requires auth.",
        "operationId": "app.bsky.notification.putPreferencesV2",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "chat": {
                    "$ref": "#/components/schemas/app.bsky.notification.defs.chatPreference"
                  },
                  "like": {
                    "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
                  },
                  "quote": {
                    "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
                  },
                  "reply": {
                    "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
                  },
                  "follow": {
                    "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
                  },
                  "repost": {
                    "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
                  },
                  "mention": {
                    "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
                  },
                  "verified": {
                    "$ref": "#/components/schemas/app.bsky.notification.defs.preference"
                  },
                  "unverified": {
                    "$ref": "#/components/schemas/app.bsky.notification.defs.preference"
                  },
                  "likeViaRepost": {
                    "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
                  },
                  "subscribedPost": {
                    "$ref": "#/components/schemas/app.bsky.notification.defs.preference"
                  },
                  "repostViaRepost": {
                    "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
                  },
                  "starterpackJoined": {
                    "$ref": "#/components/schemas/app.bsky.notification.defs.preference"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "preferences"
                  ],
                  "properties": {
                    "preferences": {
                      "$ref": "#/components/schemas/app.bsky.notification.defs.preferences"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.notification.putPreferencesV2, {\n  chat: undefined,\n  like: undefined,\n  quote: undefined,\n  reply: undefined,\n  follow: undefined,\n  repost: undefined,\n  mention: undefined,\n  verified: undefined,\n  unverified: undefined,\n  likeViaRepost: undefined,\n  subscribedPost: undefined,\n  repostViaRepost: undefined,\n  starterpackJoined: undefined,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.NotificationPutPreferencesV2_Input{\n\tChat: nil,\n\tLike: nil,\n\tQuote: nil,\n\tReply: nil,\n\tFollow: nil,\n\tRepost: nil,\n\tMention: nil,\n\tVerified: nil,\n\tUnverified: nil,\n\tLikeViaRepost: nil,\n\tSubscribedPost: nil,\n\tRepostViaRepost: nil,\n\tStarterpackJoined: nil,\n}\n\nout, err := appbsky.NotificationPutPreferencesV2(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.notification.putPreferencesV2' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"chat\": null,\n  \"like\": null,\n  \"quote\": null,\n  \"reply\": null,\n  \"follow\": null,\n  \"repost\": null,\n  \"mention\": null,\n  \"verified\": null,\n  \"unverified\": null,\n  \"likeViaRepost\": null,\n  \"subscribedPost\": null,\n  \"repostViaRepost\": null,\n  \"starterpackJoined\": null\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.notification.registerPush": {
      "post": {
        "tags": [
          "app.bsky.notification"
        ],
        "description": "Register to receive push notifications, via a specified service, for the requesting account. Requires auth.",
        "operationId": "app.bsky.notification.registerPush",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "serviceDid",
                  "token",
                  "platform",
                  "appId"
                ],
                "properties": {
                  "appId": {
                    "type": "string"
                  },
                  "token": {
                    "type": "string"
                  },
                  "platform": {
                    "type": "string",
                    "enum": [
                      "ios",
                      "android",
                      "web"
                    ]
                  },
                  "serviceDid": {
                    "type": "string",
                    "format": "did"
                  },
                  "ageRestricted": {
                    "type": "boolean",
                    "description": "Set to true when the actor is age restricted"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.notification.registerPush, {\n  appId: '',\n  token: '',\n  platform: '',\n  serviceDid: '',\n  ageRestricted: false,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.NotificationRegisterPush_Input{\n\tAppId: \"\",\n\tToken: \"\",\n\tPlatform: \"\",\n\tServiceDid: \"\",\n\tAgeRestricted: false,\n}\n\nout, err := appbsky.NotificationRegisterPush(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.notification.registerPush' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"appId\": \"\",\n  \"token\": \"\",\n  \"platform\": \"\",\n  \"serviceDid\": \"\",\n  \"ageRestricted\": false\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.notification.unregisterPush": {
      "post": {
        "tags": [
          "app.bsky.notification"
        ],
        "description": "The inverse of registerPush - inform a specified service that push notifications should no longer be sent to the given token for the requesting account. Requires auth.",
        "operationId": "app.bsky.notification.unregisterPush",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "serviceDid",
                  "token",
                  "platform",
                  "appId"
                ],
                "properties": {
                  "appId": {
                    "type": "string"
                  },
                  "token": {
                    "type": "string"
                  },
                  "platform": {
                    "type": "string",
                    "enum": [
                      "ios",
                      "android",
                      "web"
                    ]
                  },
                  "serviceDid": {
                    "type": "string",
                    "format": "did"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.notification.unregisterPush, {\n  appId: '',\n  token: '',\n  platform: '',\n  serviceDid: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.NotificationUnregisterPush_Input{\n\tAppId: \"\",\n\tToken: \"\",\n\tPlatform: \"\",\n\tServiceDid: \"\",\n}\n\nout, err := appbsky.NotificationUnregisterPush(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.notification.unregisterPush' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"appId\": \"\",\n  \"token\": \"\",\n  \"platform\": \"\",\n  \"serviceDid\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.notification.updateSeen": {
      "post": {
        "tags": [
          "app.bsky.notification"
        ],
        "description": "Notify server that the requesting account has seen notifications. Requires auth.",
        "operationId": "app.bsky.notification.updateSeen",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "seenAt"
                ],
                "properties": {
                  "seenAt": {
                    "type": "string",
                    "format": "date-time"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.notification.updateSeen, {\n  seenAt: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\ninput := &appbsky.NotificationUpdateSeen_Input{\n\tSeenAt: \"\",\n}\n\nout, err := appbsky.NotificationUpdateSeen(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.notification.updateSeen' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"seenAt\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/app.bsky.video.getJobStatus": {
      "get": {
        "tags": [
          "app.bsky.video"
        ],
        "description": "Get status details for a video processing job.",
        "operationId": "app.bsky.video.getJobStatus",
        "parameters": [
          {
            "name": "jobId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "jobStatus"
                  ],
                  "properties": {
                    "jobStatus": {
                      "$ref": "#/components/schemas/app.bsky.video.defs.jobStatus"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.video.getJobStatus, {\n  jobId: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.VideoGetJobStatus(ctx, client,\n\t\"\", // jobId\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.video.getJobStatus?jobId=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.video.getUploadLimits": {
      "get": {
        "tags": [
          "app.bsky.video"
        ],
        "description": "Get video upload limits for the authenticated user.",
        "operationId": "app.bsky.video.getUploadLimits",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "canUpload"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "canUpload": {
                      "type": "boolean"
                    },
                    "remainingDailyBytes": {
                      "type": "integer"
                    },
                    "remainingDailyVideos": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.video.getUploadLimits)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\nout, err := appbsky.VideoGetUploadLimits(ctx, client)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/app.bsky.video.getUploadLimits' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/app.bsky.video.uploadVideo": {
      "post": {
        "tags": [
          "app.bsky.video"
        ],
        "description": "Upload a video to be processed then stored on the PDS.",
        "operationId": "app.bsky.video.uploadVideo",
        "requestBody": {
          "required": true,
          "content": {
            "video/mp4": {}
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "jobStatus"
                  ],
                  "properties": {
                    "jobStatus": {
                      "$ref": "#/components/schemas/app.bsky.video.defs.jobStatus"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as app from './lexicons/app.js'\n\nconst result = await client.call(app.bsky.video.uploadVideo, {\n  // request body: video/mp4\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tappbsky \"github.com/bluesky-social/indigo/api/bsky\"\n)\n\nctx := context.Background()\n\n// request body: video/mp4\nout, err := appbsky.VideoUploadVideo(ctx, client, /* body */)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/app.bsky.video.uploadVideo' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: video/mp4' \\\n  --data-binary @<file>"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.admin.deleteAccount": {
      "post": {
        "tags": [
          "com.atproto.admin"
        ],
        "description": "Delete a user account as an administrator.",
        "operationId": "com.atproto.admin.deleteAccount",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "did"
                ],
                "properties": {
                  "did": {
                    "type": "string",
                    "format": "did"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.admin.deleteAccount, {\n  did: 'did:plc:...',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.AdminDeleteAccount_Input{\n\tDid: \"did:plc:...\",\n}\n\nout, err := comatproto.AdminDeleteAccount(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.admin.deleteAccount' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"did\": \"did:plc:...\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.admin.disableAccountInvites": {
      "post": {
        "tags": [
          "com.atproto.admin"
        ],
        "description": "Disable an account from receiving new invite codes, but does not invalidate existing codes.",
        "operationId": "com.atproto.admin.disableAccountInvites",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "account"
                ],
                "properties": {
                  "note": {
                    "type": "string",
                    "description": "Optional reason for disabled invites."
                  },
                  "account": {
                    "type": "string",
                    "format": "did"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.admin.disableAccountInvites, {\n  note: '',\n  account: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.AdminDisableAccountInvites_Input{\n\tNote: \"\",\n\tAccount: \"\",\n}\n\nout, err := comatproto.AdminDisableAccountInvites(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.admin.disableAccountInvites' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"note\": \"\",\n  \"account\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.admin.disableInviteCodes": {
      "post": {
        "tags": [
          "com.atproto.admin"
        ],
        "description": "Disable some set of codes and/or all codes associated with a set of users.",
        "operationId": "com.atproto.admin.disableInviteCodes",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "codes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "accounts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.admin.disableInviteCodes, {\n  codes: [],\n  accounts: [],\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.AdminDisableInviteCodes_Input{\n\tCodes: nil,\n\tAccounts: nil,\n}\n\nout, err := comatproto.AdminDisableInviteCodes(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.admin.disableInviteCodes' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"codes\": [],\n  \"accounts\": []\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.admin.enableAccountInvites": {
      "post": {
        "tags": [
          "com.atproto.admin"
        ],
        "description": "Re-enable an account's ability to receive invite codes.",
        "operationId": "com.atproto.admin.enableAccountInvites",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "account"
                ],
                "properties": {
                  "note": {
                    "type": "string",
                    "description": "Optional reason for enabled invites."
                  },
                  "account": {
                    "type": "string",
                    "format": "did"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.admin.enableAccountInvites, {\n  note: '',\n  account: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.AdminEnableAccountInvites_Input{\n\tNote: \"\",\n\tAccount: \"\",\n}\n\nout, err := comatproto.AdminEnableAccountInvites(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.admin.enableAccountInvites' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"note\": \"\",\n  \"account\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.admin.getAccountInfo": {
      "get": {
        "tags": [
          "com.atproto.admin"
        ],
        "description": "Get details about an account.",
        "operationId": "com.atproto.admin.getAccountInfo",
        "parameters": [
          {
            "name": "did",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "did"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/com.atproto.admin.defs.accountView"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.admin.getAccountInfo, {\n  did: 'did:plc:...',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.AdminGetAccountInfo(ctx, client,\n\t\"did:plc:...\", // did\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.admin.getAccountInfo?did=did%3Aplc%3A...' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.admin.getAccountInfos": {
      "get": {
        "tags": [
          "com.atproto.admin"
        ],
        "description": "Get details about some accounts.",
        "operationId": "com.atproto.admin.getAccountInfos",
        "parameters": [
          {
            "name": "dids",
            "in": "query",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "did"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "infos"
                  ],
                  "properties": {
                    "infos": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/com.atproto.admin.defs.accountView"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.admin.getAccountInfos, {\n  dids: [],\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.AdminGetAccountInfos(ctx, client,\n\tnil, // dids\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.admin.getAccountInfos?dids=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.admin.getInviteCodes": {
      "get": {
        "tags": [
          "com.atproto.admin"
        ],
        "description": "Get an admin view of invite codes.",
        "operationId": "com.atproto.admin.getInviteCodes",
        "parameters": [
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "recent",
              "enum": [
                "recent",
                "usage"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "codes"
                  ],
                  "properties": {
                    "codes": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/com.atproto.server.defs.inviteCode"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.admin.getInviteCodes, {\n  sort: 'recent',\n  limit: 100,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.AdminGetInviteCodes(ctx, client,\n\t\"\", // cursor\n\t100, // limit\n\t\"recent\", // sort\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.admin.getInviteCodes?sort=recent&limit=100&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.admin.getSubjectStatus": {
      "get": {
        "tags": [
          "com.atproto.admin"
        ],
        "description": "Get the service-specific admin status of a subject (account, record, or blob).",
        "operationId": "com.atproto.admin.getSubjectStatus",
        "parameters": [
          {
            "name": "did",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "did"
            }
          },
          {
            "name": "uri",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "at-uri"
            }
          },
          {
            "name": "blob",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "cid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "subject"
                  ],
                  "properties": {
                    "subject": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/com.atproto.admin.defs.repoRef"
                        },
                        {
                          "$ref": "#/components/schemas/com.atproto.repo.strongRef"
                        },
                        {
                          "$ref": "#/components/schemas/com.atproto.admin.defs.repoBlobRef"
                        }
                      ]
                    },
                    "takedown": {
                      "$ref": "#/components/schemas/com.atproto.admin.defs.statusAttr"
                    },
                    "deactivated": {
                      "$ref": "#/components/schemas/com.atproto.admin.defs.statusAttr"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.admin.getSubjectStatus, {\n  did: 'did:plc:...',\n  uri: 'at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2',\n  blob: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.AdminGetSubjectStatus(ctx, client,\n\t\"\", // blob\n\t\"did:plc:...\", // did\n\t\"at://did:plc:.../app.bsky.feed.post/3jxf7z2k3q2\", // uri\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.admin.getSubjectStatus?did=did%3Aplc%3A...&uri=at%3A%2F%2Fdid%3Aplc%3A...%2Fapp.bsky.feed.post%2F3jxf7z2k3q2&blob=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.admin.searchAccounts": {
      "get": {
        "tags": [
          "com.atproto.admin"
        ],
        "description": "Get list of accounts that matches your search query.",
        "operationId": "com.atproto.admin.searchAccounts",
        "parameters": [
          {
            "name": "email",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "accounts"
                  ],
                  "properties": {
                    "cursor": {
                      "type": "string"
                    },
                    "accounts": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/com.atproto.admin.defs.accountView"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.admin.searchAccounts, {\n  email: '',\n  limit: 50,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.AdminSearchAccounts(ctx, client,\n\t\"\", // cursor\n\t\"\", // email\n\t50, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.admin.searchAccounts?email=&limit=50&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.admin.sendEmail": {
      "post": {
        "tags": [
          "com.atproto.admin"
        ],
        "description": "Send email to a user's account email address.",
        "operationId": "com.atproto.admin.sendEmail",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "recipientDid",
                  "content",
                  "senderDid"
                ],
                "properties": {
                  "comment": {
                    "type": "string",
                    "description": "Additional comment by the sender that won't be used in the email itself but helpful to provide more context for moderators/reviewers"
                  },
                  "content": {
                    "type": "string"
                  },
                  "subject": {
                    "type": "string"
                  },
                  "senderDid": {
                    "type": "string",
                    "format": "did"
                  },
                  "recipientDid": {
                    "type": "string",
                    "format": "did"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "sent"
                  ],
                  "properties": {
                    "sent": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.admin.sendEmail, {\n  comment: '',\n  content: '',\n  subject: '',\n  senderDid: '',\n  recipientDid: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.AdminSendEmail_Input{\n\tComment: \"\",\n\tContent: \"\",\n\tSubject: \"\",\n\tSenderDid: \"\",\n\tRecipientDid: \"\",\n}\n\nout, err := comatproto.AdminSendEmail(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.admin.sendEmail' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"comment\": \"\",\n  \"content\": \"\",\n  \"subject\": \"\",\n  \"senderDid\": \"\",\n  \"recipientDid\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.admin.updateAccountEmail": {
      "post": {
        "tags": [
          "com.atproto.admin"
        ],
        "description": "Administrative action to update an account's email.",
        "operationId": "com.atproto.admin.updateAccountEmail",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "account",
                  "email"
                ],
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "account": {
                    "type": "string",
                    "description": "The handle or DID of the repo.",
                    "format": "at-identifier"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.admin.updateAccountEmail, {\n  email: '',\n  account: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.AdminUpdateAccountEmail_Input{\n\tEmail: \"\",\n\tAccount: \"\",\n}\n\nout, err := comatproto.AdminUpdateAccountEmail(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.admin.updateAccountEmail' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"email\": \"\",\n  \"account\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.admin.updateAccountHandle": {
      "post": {
        "tags": [
          "com.atproto.admin"
        ],
        "description": "Administrative action to update an account's handle.",
        "operationId": "com.atproto.admin.updateAccountHandle",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "did",
                  "handle"
                ],
                "properties": {
                  "did": {
                    "type": "string",
                    "format": "did"
                  },
                  "handle": {
                    "type": "string",
                    "format": "handle"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.admin.updateAccountHandle, {\n  did: 'did:plc:...',\n  handle: 'alice.bsky.social',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.AdminUpdateAccountHandle_Input{\n\tDid: \"did:plc:...\",\n\tHandle: \"alice.bsky.social\",\n}\n\nout, err := comatproto.AdminUpdateAccountHandle(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.admin.updateAccountHandle' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"did\": \"did:plc:...\",\n  \"handle\": \"alice.bsky.social\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.admin.updateAccountPassword": {
      "post": {
        "tags": [
          "com.atproto.admin"
        ],
        "description": "Update the password for a user account as an administrator.",
        "operationId": "com.atproto.admin.updateAccountPassword",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "did",
                  "password"
                ],
                "properties": {
                  "did": {
                    "type": "string",
                    "format": "did"
                  },
                  "password": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.admin.updateAccountPassword, {\n  did: 'did:plc:...',\n  password: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.AdminUpdateAccountPassword_Input{\n\tDid: \"did:plc:...\",\n\tPassword: \"\",\n}\n\nout, err := comatproto.AdminUpdateAccountPassword(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.admin.updateAccountPassword' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"did\": \"did:plc:...\",\n  \"password\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.admin.updateAccountSigningKey": {
      "post": {
        "tags": [
          "com.atproto.admin"
        ],
        "description": "Administrative action to update an account's signing key in their Did document.",
        "operationId": "com.atproto.admin.updateAccountSigningKey",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "did",
                  "signingKey"
                ],
                "properties": {
                  "did": {
                    "type": "string",
                    "format": "did"
                  },
                  "signingKey": {
                    "type": "string",
                    "description": "Did-key formatted public key",
                    "format": "did"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.admin.updateAccountSigningKey, {\n  did: 'did:plc:...',\n  signingKey: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.AdminUpdateAccountSigningKey_Input{\n\tDid: \"did:plc:...\",\n\tSigningKey: \"\",\n}\n\nout, err := comatproto.AdminUpdateAccountSigningKey(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.admin.updateAccountSigningKey' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"did\": \"did:plc:...\",\n  \"signingKey\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.admin.updateSubjectStatus": {
      "post": {
        "tags": [
          "com.atproto.admin"
        ],
        "description": "Update the service-specific admin status of a subject (account, record, or blob).",
        "operationId": "com.atproto.admin.updateSubjectStatus",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "subject"
                ],
                "properties": {
                  "subject": {
                    "oneOf": [
                      {
                        "$ref": "#/components/schemas/com.atproto.admin.defs.repoRef"
                      },
                      {
                        "$ref": "#/components/schemas/com.atproto.repo.strongRef"
                      },
                      {
                        "$ref": "#/components/schemas/com.atproto.admin.defs.repoBlobRef"
                      }
                    ]
                  },
                  "takedown": {
                    "$ref": "#/components/schemas/com.atproto.admin.defs.statusAttr"
                  },
                  "deactivated": {
                    "$ref": "#/components/schemas/com.atproto.admin.defs.statusAttr"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "subject"
                  ],
                  "properties": {
                    "subject": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/com.atproto.admin.defs.repoRef"
                        },
                        {
                          "$ref": "#/components/schemas/com.atproto.repo.strongRef"
                        },
                        {
                          "$ref": "#/components/schemas/com.atproto.admin.defs.repoBlobRef"
                        }
                      ]
                    },
                    "takedown": {
                      "$ref": "#/components/schemas/com.atproto.admin.defs.statusAttr"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.admin.updateSubjectStatus, {\n  subject: undefined,\n  takedown: undefined,\n  deactivated: undefined,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.AdminUpdateSubjectStatus_Input{\n\tSubject: nil,\n\tTakedown: nil,\n\tDeactivated: nil,\n}\n\nout, err := comatproto.AdminUpdateSubjectStatus(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.admin.updateSubjectStatus' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"subject\": null,\n  \"takedown\": null,\n  \"deactivated\": null\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.identity.getRecommendedDidCredentials": {
      "get": {
        "tags": [
          "com.atproto.identity"
        ],
        "description": "Describe the credentials that should be included in the DID doc of an account that is migrating to this service.",
        "operationId": "com.atproto.identity.getRecommendedDidCredentials",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "services": {},
                    "alsoKnownAs": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "rotationKeys": {
                      "type": "array",
                      "description": "Recommended rotation keys for PLC dids. Should be undefined (or ignored) for did:webs.",
                      "items": {
                        "type": "string"
                      }
                    },
                    "verificationMethods": {}
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.identity.getRecommendedDidCredentials)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.IdentityGetRecommendedDidCredentials(ctx, client)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.identity.getRecommendedDidCredentials' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.identity.refreshIdentity": {
      "post": {
        "tags": [
          "com.atproto.identity"
        ],
        "description": "Request that the server re-resolve an identity (DID and handle). The server may ignore this request, or require authentication, depending on the role, implementation, and policy of the server.",
        "operationId": "com.atproto.identity.refreshIdentity",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "identifier"
                ],
                "properties": {
                  "identifier": {
                    "type": "string",
                    "format": "at-identifier"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/com.atproto.identity.defs.identityInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "HandleNotFound",
                        "DidNotFound",
                        "DidDeactivated"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.identity.refreshIdentity, {\n  identifier: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.IdentityRefreshIdentity_Input{\n\tIdentifier: \"\",\n}\n\nout, err := comatproto.IdentityRefreshIdentity(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.identity.refreshIdentity' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"identifier\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.identity.requestPlcOperationSignature": {
      "post": {
        "tags": [
          "com.atproto.identity"
        ],
        "description": "Request an email with a code to in order to request a signed PLC operation. Requires Auth.",
        "operationId": "com.atproto.identity.requestPlcOperationSignature",
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.identity.requestPlcOperationSignature)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.IdentityRequestPlcOperationSignature_Input{}\n\nout, err := comatproto.IdentityRequestPlcOperationSignature(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.identity.requestPlcOperationSignature' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.identity.resolveHandle": {
      "get": {
        "tags": [
          "com.atproto.identity"
        ],
        "description": "Resolves an atproto handle (hostname) to a DID. Does not necessarily bi-directionally verify against the the DID document.",
        "operationId": "com.atproto.identity.resolveHandle",
        "parameters": [
          {
            "name": "handle",
            "in": "query",
            "description": "The handle to resolve.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The handle to resolve.",
              "format": "handle"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "did"
                  ],
                  "properties": {
                    "did": {
                      "type": "string",
                      "format": "did"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "HandleNotFound"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.identity.resolveHandle, {\n  handle: 'alice.bsky.social',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.IdentityResolveHandle(ctx, client,\n\t\"alice.bsky.social\", // handle\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.identity.resolveHandle?handle=alice.bsky.social' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.identity.signPlcOperation": {
      "post": {
        "tags": [
          "com.atproto.identity"
        ],
        "description": "Signs a PLC operation to update some value(s) in the requesting DID's document.",
        "operationId": "com.atproto.identity.signPlcOperation",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "token": {
                    "type": "string",
                    "description": "A token received through com.atproto.identity.requestPlcOperationSignature"
                  },
                  "services": {},
                  "alsoKnownAs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "rotationKeys": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "verificationMethods": {}
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "operation"
                  ],
                  "properties": {
                    "operation": {}
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.identity.signPlcOperation, {\n  token: '',\n  services: undefined,\n  alsoKnownAs: [],\n  rotationKeys: [],\n  verificationMethods: undefined,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.IdentitySignPlcOperation_Input{\n\tToken: \"\",\n\tServices: nil,\n\tAlsoKnownAs: nil,\n\tRotationKeys: nil,\n\tVerificationMethods: nil,\n}\n\nout, err := comatproto.IdentitySignPlcOperation(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.identity.signPlcOperation' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"token\": \"\",\n  \"services\": null,\n  \"alsoKnownAs\": [],\n  \"rotationKeys\": [],\n  \"verificationMethods\": null\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.identity.submitPlcOperation": {
      "post": {
        "tags": [
          "com.atproto.identity"
        ],
        "description": "Validates a PLC operation to ensure that it doesn't violate a service's constraints or get the identity into a bad state, then submits it to the PLC registry",
        "operationId": "com.atproto.identity.submitPlcOperation",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "operation"
                ],
                "properties": {
                  "operation": {}
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.identity.submitPlcOperation, {\n  operation: undefined,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.IdentitySubmitPlcOperation_Input{\n\tOperation: nil,\n}\n\nout, err := comatproto.IdentitySubmitPlcOperation(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.identity.submitPlcOperation' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"operation\": null\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.identity.updateHandle": {
      "post": {
        "tags": [
          "com.atproto.identity"
        ],
        "description": "Updates the current account's handle. Verifies handle validity, and updates did:plc document if necessary. Implemented by PDS, and requires auth.",
        "operationId": "com.atproto.identity.updateHandle",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "handle"
                ],
                "properties": {
                  "handle": {
                    "type": "string",
                    "description": "The new handle.",
                    "format": "handle"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.identity.updateHandle, {\n  handle: 'alice.bsky.social',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.IdentityUpdateHandle_Input{\n\tHandle: \"alice.bsky.social\",\n}\n\nout, err := comatproto.IdentityUpdateHandle(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.identity.updateHandle' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"handle\": \"alice.bsky.social\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.label.queryLabels": {
      "get": {
        "tags": [
          "com.atproto.label"
        ],
        "description": "Find labels relevant to the provided AT-URI patterns. Public endpoint for moderation services, though may return different or additional results with auth.",
        "operationId": "com.atproto.label.queryLabels",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 250,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sources",
            "in": "query",
            "description": "Optional list of label sources (DIDs) to filter on.",
            "required": false,
            "schema": {
              "type": "array",
              "description": "Optional list of label sources (DIDs) to filter on.",
              "items": {
                "type": "string",
                "format": "did"
              }
            }
          },
          {
            "name": "uriPatterns",
            "in": "query",
            "description": "List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '*'; will match inclusive of the string leading to '*'), or a full URI.",
            "required": true,
            "schema": {
              "type": "array",
              "description": "List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '*'; will match inclusive of the string leading to '*'), or a full URI.",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "labels"
                  ],
                  "properties": {
                    "cursor": {
                      "type": "string"
                    },
                    "labels": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/com.atproto.label.defs.label"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.label.queryLabels, {\n  limit: 50,\n  cursor: '',\n  sources: [],\n  uriPatterns: [],\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.LabelQueryLabels(ctx, client,\n\t\"\", // cursor\n\t50, // limit\n\tnil, // sources\n\tnil, // uriPatterns\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.label.queryLabels?limit=50&cursor=&sources=&uriPatterns=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.moderation.createReport": {
      "post": {
        "tags": [
          "com.atproto.moderation"
        ],
        "description": "Submit a moderation report regarding an atproto account or record. Implemented by moderation services (with PDS proxying), and requires auth.",
        "operationId": "com.atproto.moderation.createReport",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "reasonType",
                  "subject"
                ],
                "properties": {
                  "reason": {
                    "type": "string",
                    "description": "Additional context about the content and violation.",
                    "maxLength": 20000
                  },
                  "modTool": {
                    "$ref": "#/components/schemas/com.atproto.moderation.createReport.modTool"
                  },
                  "subject": {
                    "oneOf": [
                      {
                        "$ref": "#/components/schemas/com.atproto.admin.defs.repoRef"
                      },
                      {
                        "$ref": "#/components/schemas/com.atproto.repo.strongRef"
                      }
                    ]
                  },
                  "reasonType": {
                    "$ref": "#/components/schemas/com.atproto.moderation.defs.reasonType"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "id",
                    "reasonType",
                    "subject",
                    "reportedBy",
                    "createdAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "integer"
                    },
                    "reason": {
                      "type": "string",
                      "maxLength": 20000
                    },
                    "subject": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/com.atproto.admin.defs.repoRef"
                        },
                        {
                          "$ref": "#/components/schemas/com.atproto.repo.strongRef"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "reasonType": {
                      "$ref": "#/components/schemas/com.atproto.moderation.defs.reasonType"
                    },
                    "reportedBy": {
                      "type": "string",
                      "format": "did"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.moderation.createReport, {\n  reason: '',\n  modTool: undefined,\n  subject: undefined,\n  reasonType: undefined,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ModerationCreateReport_Input{\n\tReason: \"\",\n\tModTool: nil,\n\tSubject: nil,\n\tReasonType: nil,\n}\n\nout, err := comatproto.ModerationCreateReport(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.moderation.createReport' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"reason\": \"\",\n  \"modTool\": null,\n  \"subject\": null,\n  \"reasonType\": null\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.repo.applyWrites": {
      "post": {
        "tags": [
          "com.atproto.repo"
        ],
        "description": "Apply a batch transaction of repository creates, updates, and deletes. Requires auth, implemented by PDS.",
        "operationId": "com.atproto.repo.applyWrites",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "repo",
                  "writes"
                ],
                "properties": {
                  "repo": {
                    "type": "string",
                    "description": "The handle or DID of the repo (aka, current account).",
                    "format": "at-identifier"
                  },
                  "writes": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/com.atproto.repo.applyWrites.create"
                        },
                        {
                          "$ref": "#/components/schemas/com.atproto.repo.applyWrites.update"
                        },
                        {
                          "$ref": "#/components/schemas/com.atproto.repo.applyWrites.delete"
                        }
                      ]
                    }
                  },
                  "validate": {
                    "type": "boolean",
                    "description": "Can be set to 'false' to skip Lexicon schema validation of record data across all operations, 'true' to require it, or leave unset to validate only for known Lexicons."
                  },
                  "swapCommit": {
                    "type": "string",
                    "description": "If provided, the entire operation will fail if the current repo commit CID does not match this value. Used to prevent conflicting repo mutations.",
                    "format": "cid"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [],
                  "properties": {
                    "commit": {
                      "$ref": "#/components/schemas/com.atproto.repo.defs.commitMeta"
                    },
                    "results": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "$ref": "#/components/schemas/com.atproto.repo.applyWrites.createResult"
                          },
                          {
                            "$ref": "#/components/schemas/com.atproto.repo.applyWrites.updateResult"
                          },
                          {
                            "$ref": "#/components/schemas/com.atproto.repo.applyWrites.deleteResult"
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "InvalidSwap"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.repo.applyWrites, {\n  repo: 'alice.bsky.social',\n  writes: [],\n  validate: false,\n  swapCommit: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.RepoApplyWrites_Input{\n\tRepo: \"alice.bsky.social\",\n\tWrites: nil,\n\tValidate: false,\n\tSwapCommit: \"\",\n}\n\nout, err := comatproto.RepoApplyWrites(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.repo.applyWrites' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"repo\": \"alice.bsky.social\",\n  \"writes\": [],\n  \"validate\": false,\n  \"swapCommit\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.repo.createRecord": {
      "post": {
        "tags": [
          "com.atproto.repo"
        ],
        "description": "Create a single new repository record. Requires auth, implemented by PDS.",
        "operationId": "com.atproto.repo.createRecord",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "repo",
                  "collection",
                  "record"
                ],
                "properties": {
                  "repo": {
                    "type": "string",
                    "description": "The handle or DID of the repo (aka, current account).",
                    "format": "at-identifier"
                  },
                  "rkey": {
                    "type": "string",
                    "description": "The Record Key.",
                    "format": "record-key",
                    "maxLength": 512
                  },
                  "record": {},
                  "validate": {
                    "type": "boolean",
                    "description": "Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons."
                  },
                  "collection": {
                    "type": "string",
                    "description": "The NSID of the record collection.",
                    "format": "nsid"
                  },
                  "swapCommit": {
                    "type": "string",
                    "description": "Compare and swap with the previous commit by CID.",
                    "format": "cid"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "uri",
                    "cid"
                  ],
                  "properties": {
                    "cid": {
                      "type": "string",
                      "format": "cid"
                    },
                    "uri": {
                      "type": "string",
                      "format": "at-uri"
                    },
                    "commit": {
                      "$ref": "#/components/schemas/com.atproto.repo.defs.commitMeta"
                    },
                    "validationStatus": {
                      "type": "string",
                      "enum": [
                        "valid",
                        "unknown"
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "InvalidSwap"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.repo.createRecord, {\n  repo: 'alice.bsky.social',\n  rkey: '3jxf7z2k3q2',\n  record: undefined,\n  validate: false,\n  collection: 'app.bsky.feed.post',\n  swapCommit: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.RepoCreateRecord_Input{\n\tRepo: \"alice.bsky.social\",\n\tRkey: \"3jxf7z2k3q2\",\n\tRecord: nil,\n\tValidate: false,\n\tCollection: \"app.bsky.feed.post\",\n\tSwapCommit: \"\",\n}\n\nout, err := comatproto.RepoCreateRecord(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.repo.createRecord' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"repo\": \"alice.bsky.social\",\n  \"rkey\": \"3jxf7z2k3q2\",\n  \"record\": null,\n  \"validate\": false,\n  \"collection\": \"app.bsky.feed.post\",\n  \"swapCommit\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.repo.deleteRecord": {
      "post": {
        "tags": [
          "com.atproto.repo"
        ],
        "description": "Delete a repository record, or ensure it doesn't exist. Requires auth, implemented by PDS.",
        "operationId": "com.atproto.repo.deleteRecord",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "repo",
                  "collection",
                  "rkey"
                ],
                "properties": {
                  "repo": {
                    "type": "string",
                    "description": "The handle or DID of the repo (aka, current account).",
                    "format": "at-identifier"
                  },
                  "rkey": {
                    "type": "string",
                    "description": "The Record Key.",
                    "format": "record-key"
                  },
                  "collection": {
                    "type": "string",
                    "description": "The NSID of the record collection.",
                    "format": "nsid"
                  },
                  "swapCommit": {
                    "type": "string",
                    "description": "Compare and swap with the previous commit by CID.",
                    "format": "cid"
                  },
                  "swapRecord": {
                    "type": "string",
                    "description": "Compare and swap with the previous record by CID.",
                    "format": "cid"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "commit": {
                      "$ref": "#/components/schemas/com.atproto.repo.defs.commitMeta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "InvalidSwap"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.repo.deleteRecord, {\n  repo: 'alice.bsky.social',\n  rkey: '3jxf7z2k3q2',\n  collection: 'app.bsky.feed.post',\n  swapCommit: '',\n  swapRecord: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.RepoDeleteRecord_Input{\n\tRepo: \"alice.bsky.social\",\n\tRkey: \"3jxf7z2k3q2\",\n\tCollection: \"app.bsky.feed.post\",\n\tSwapCommit: \"\",\n\tSwapRecord: \"\",\n}\n\nout, err := comatproto.RepoDeleteRecord(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.repo.deleteRecord' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"repo\": \"alice.bsky.social\",\n  \"rkey\": \"3jxf7z2k3q2\",\n  \"collection\": \"app.bsky.feed.post\",\n  \"swapCommit\": \"\",\n  \"swapRecord\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.repo.describeRepo": {
      "get": {
        "tags": [
          "com.atproto.repo"
        ],
        "description": "Get information about an account and repository, including the list of collections. Does not require auth.",
        "operationId": "com.atproto.repo.describeRepo",
        "parameters": [
          {
            "name": "repo",
            "in": "query",
            "description": "The handle or DID of the repo.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The handle or DID of the repo.",
              "format": "at-identifier"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "handle",
                    "did",
                    "didDoc",
                    "collections",
                    "handleIsCorrect"
                  ],
                  "properties": {
                    "did": {
                      "type": "string",
                      "format": "did"
                    },
                    "didDoc": {},
                    "handle": {
                      "type": "string",
                      "format": "handle"
                    },
                    "collections": {
                      "type": "array",
                      "description": "List of all the collections (NSIDs) for which this repo contains at least one record.",
                      "items": {
                        "type": "string",
                        "format": "nsid"
                      }
                    },
                    "handleIsCorrect": {
                      "type": "boolean",
                      "description": "Indicates if handle is currently valid (resolves bi-directionally)"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.repo.describeRepo, {\n  repo: 'alice.bsky.social',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.RepoDescribeRepo(ctx, client,\n\t\"alice.bsky.social\", // repo\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.repo.describeRepo?repo=alice.bsky.social' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.repo.getRecord": {
      "get": {
        "tags": [
          "com.atproto.repo"
        ],
        "description": "Get a single record from a repository. Does not require auth.",
        "operationId": "com.atproto.repo.getRecord",
        "parameters": [
          {
            "name": "cid",
            "in": "query",
            "description": "The CID of the version of the record. If not specified, then return the most recent version.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "The CID of the version of the record. If not specified, then return the most recent version.",
              "format": "cid"
            }
          },
          {
            "name": "repo",
            "in": "query",
            "description": "The handle or DID of the repo.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The handle or DID of the repo.",
              "format": "at-identifier"
            }
          },
          {
            "name": "rkey",
            "in": "query",
            "description": "The Record Key.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The Record Key.",
              "format": "record-key"
            }
          },
          {
            "name": "collection",
            "in": "query",
            "description": "The NSID of the record collection.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The NSID of the record collection.",
              "format": "nsid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "uri",
                    "value"
                  ],
                  "properties": {
                    "cid": {
                      "type": "string",
                      "format": "cid"
                    },
                    "uri": {
                      "type": "string",
                      "format": "at-uri"
                    },
                    "value": {}
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "RecordNotFound"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.repo.getRecord, {\n  cid: 'bafyrei...',\n  repo: 'alice.bsky.social',\n  rkey: '3jxf7z2k3q2',\n  collection: 'app.bsky.feed.post',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.RepoGetRecord(ctx, client,\n\t\"bafyrei...\", // cid\n\t\"app.bsky.feed.post\", // collection\n\t\"alice.bsky.social\", // repo\n\t\"3jxf7z2k3q2\", // rkey\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.repo.getRecord?cid=bafyrei...&repo=alice.bsky.social&rkey=3jxf7z2k3q2&collection=app.bsky.feed.post' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.repo.importRepo": {
      "post": {
        "tags": [
          "com.atproto.repo"
        ],
        "description": "Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.",
        "operationId": "com.atproto.repo.importRepo",
        "requestBody": {
          "required": true,
          "content": {
            "application/vnd.ipld.car": {}
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.repo.importRepo, {\n  // request body: application/vnd.ipld.car\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\n// request body: application/vnd.ipld.car\nout, err := comatproto.RepoImportRepo(ctx, client, /* body */)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.repo.importRepo' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/vnd.ipld.car' \\\n  --data-binary @<file>"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.repo.listMissingBlobs": {
      "get": {
        "tags": [
          "com.atproto.repo"
        ],
        "description": "Returns a list of missing blobs for the requesting account. Intended to be used in the account migration flow.",
        "operationId": "com.atproto.repo.listMissingBlobs",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 1000,
              "default": 500
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "blobs"
                  ],
                  "properties": {
                    "blobs": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/com.atproto.repo.listMissingBlobs.recordBlob"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.repo.listMissingBlobs, {\n  limit: 500,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.RepoListMissingBlobs(ctx, client,\n\t\"\", // cursor\n\t500, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.repo.listMissingBlobs?limit=500&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.repo.listRecords": {
      "get": {
        "tags": [
          "com.atproto.repo"
        ],
        "description": "List a range of records in a repository, matching a specific collection. Does not require auth.",
        "operationId": "com.atproto.repo.listRecords",
        "parameters": [
          {
            "name": "repo",
            "in": "query",
            "description": "The handle or DID of the repo.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The handle or DID of the repo.",
              "format": "at-identifier"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The number of records to return.",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "The number of records to return.",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reverse",
            "in": "query",
            "description": "Flag to reverse the order of the returned records.",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Flag to reverse the order of the returned records."
            }
          },
          {
            "name": "collection",
            "in": "query",
            "description": "The NSID of the record type.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The NSID of the record type.",
              "format": "nsid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "records"
                  ],
                  "properties": {
                    "cursor": {
                      "type": "string"
                    },
                    "records": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/com.atproto.repo.listRecords.record"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.repo.listRecords, {\n  repo: 'alice.bsky.social',\n  limit: 50,\n  cursor: '',\n  reverse: false,\n  collection: 'app.bsky.feed.post',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.RepoListRecords(ctx, client,\n\t\"app.bsky.feed.post\", // collection\n\t\"\", // cursor\n\t50, // limit\n\t\"alice.bsky.social\", // repo\n\tfalse, // reverse\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.repo.listRecords?repo=alice.bsky.social&limit=50&cursor=&reverse=false&collection=app.bsky.feed.post' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.repo.putRecord": {
      "post": {
        "tags": [
          "com.atproto.repo"
        ],
        "description": "Write a repository record, creating or updating it as needed. Requires auth, implemented by PDS.",
        "operationId": "com.atproto.repo.putRecord",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "repo",
                  "collection",
                  "rkey",
                  "record"
                ],
                "properties": {
                  "repo": {
                    "type": "string",
                    "description": "The handle or DID of the repo (aka, current account).",
                    "format": "at-identifier"
                  },
                  "rkey": {
                    "type": "string",
                    "description": "The Record Key.",
                    "format": "record-key",
                    "maxLength": 512
                  },
                  "record": {},
                  "validate": {
                    "type": "boolean",
                    "description": "Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons."
                  },
                  "collection": {
                    "type": "string",
                    "description": "The NSID of the record collection.",
                    "format": "nsid"
                  },
                  "swapCommit": {
                    "type": "string",
                    "description": "Compare and swap with the previous commit by CID.",
                    "format": "cid"
                  },
                  "swapRecord": {
                    "type": "string",
                    "description": "Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation",
                    "format": "cid"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "uri",
                    "cid"
                  ],
                  "properties": {
                    "cid": {
                      "type": "string",
                      "format": "cid"
                    },
                    "uri": {
                      "type": "string",
                      "format": "at-uri"
                    },
                    "commit": {
                      "$ref": "#/components/schemas/com.atproto.repo.defs.commitMeta"
                    },
                    "validationStatus": {
                      "type": "string",
                      "enum": [
                        "valid",
                        "unknown"
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "InvalidSwap"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.repo.putRecord, {\n  repo: 'alice.bsky.social',\n  rkey: '3jxf7z2k3q2',\n  record: undefined,\n  validate: false,\n  collection: 'app.bsky.feed.post',\n  swapCommit: '',\n  swapRecord: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.RepoPutRecord_Input{\n\tRepo: \"alice.bsky.social\",\n\tRkey: \"3jxf7z2k3q2\",\n\tRecord: nil,\n\tValidate: false,\n\tCollection: \"app.bsky.feed.post\",\n\tSwapCommit: \"\",\n\tSwapRecord: \"\",\n}\n\nout, err := comatproto.RepoPutRecord(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.repo.putRecord' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"repo\": \"alice.bsky.social\",\n  \"rkey\": \"3jxf7z2k3q2\",\n  \"record\": null,\n  \"validate\": false,\n  \"collection\": \"app.bsky.feed.post\",\n  \"swapCommit\": \"\",\n  \"swapRecord\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.repo.uploadBlob": {
      "post": {
        "tags": [
          "com.atproto.repo"
        ],
        "description": "Upload a new blob, to be referenced from a repository record. The blob will be deleted if it is not referenced within a time window (eg, minutes). Blob restrictions (mimetype, size, etc) are enforced when the reference is created. Requires auth, implemented by PDS.",
        "operationId": "com.atproto.repo.uploadBlob",
        "requestBody": {
          "required": true,
          "content": {
            "*/*": {}
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "blob"
                  ],
                  "properties": {
                    "blob": {
                      "type": "string",
                      "format": "binary"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.repo.uploadBlob, {\n  // request body: */*\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\n// request body: */*\nout, err := comatproto.RepoUploadBlob(ctx, client, /* body */)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.repo.uploadBlob' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: */*' \\\n  --data-binary @<file>"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.activateAccount": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Activates a currently deactivated account. Used to finalize account migration after the account's repo is imported and identity is setup.",
        "operationId": "com.atproto.server.activateAccount",
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.activateAccount)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerActivateAccount_Input{}\n\nout, err := comatproto.ServerActivateAccount(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.activateAccount' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.checkAccountStatus": {
      "get": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Returns the status of an account, especially as pertaining to import or recovery. Can be called many times over the course of an account migration. Requires auth and can only be called pertaining to oneself.",
        "operationId": "com.atproto.server.checkAccountStatus",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "activated",
                    "validDid",
                    "repoCommit",
                    "repoRev",
                    "repoBlocks",
                    "indexedRecords",
                    "privateStateValues",
                    "expectedBlobs",
                    "importedBlobs"
                  ],
                  "properties": {
                    "repoRev": {
                      "type": "string"
                    },
                    "validDid": {
                      "type": "boolean"
                    },
                    "activated": {
                      "type": "boolean"
                    },
                    "repoBlocks": {
                      "type": "integer"
                    },
                    "repoCommit": {
                      "type": "string",
                      "format": "cid"
                    },
                    "expectedBlobs": {
                      "type": "integer"
                    },
                    "importedBlobs": {
                      "type": "integer"
                    },
                    "indexedRecords": {
                      "type": "integer"
                    },
                    "privateStateValues": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.checkAccountStatus)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.ServerCheckAccountStatus(ctx, client)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.server.checkAccountStatus' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.confirmEmail": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Confirm an email using a token from com.atproto.server.requestEmailConfirmation.",
        "operationId": "com.atproto.server.confirmEmail",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email",
                  "token"
                ],
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "token": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "AccountNotFound",
                        "ExpiredToken",
                        "InvalidToken",
                        "InvalidEmail"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.confirmEmail, {\n  email: '',\n  token: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerConfirmEmail_Input{\n\tEmail: \"\",\n\tToken: \"\",\n}\n\nout, err := comatproto.ServerConfirmEmail(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.confirmEmail' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"email\": \"\",\n  \"token\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.createAccount": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Create an account. Implemented by PDS.",
        "operationId": "com.atproto.server.createAccount",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "handle"
                ],
                "properties": {
                  "did": {
                    "type": "string",
                    "description": "Pre-existing atproto DID, being imported to a new account.",
                    "format": "did"
                  },
                  "email": {
                    "type": "string"
                  },
                  "plcOp": {},
                  "handle": {
                    "type": "string",
                    "description": "Requested handle for the account.",
                    "format": "handle"
                  },
                  "password": {
                    "type": "string",
                    "description": "Initial account password. May need to meet instance-specific password strength requirements."
                  },
                  "inviteCode": {
                    "type": "string"
                  },
                  "recoveryKey": {
                    "type": "string",
                    "description": "DID PLC rotation key (aka, recovery key) to be included in PLC creation operation."
                  },
                  "verificationCode": {
                    "type": "string"
                  },
                  "verificationPhone": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Account login session returned on successful account creation.",
                  "required": [
                    "accessJwt",
                    "refreshJwt",
                    "handle",
                    "did"
                  ],
                  "properties": {
                    "did": {
                      "type": "string",
                      "description": "The DID of the new account.",
                      "format": "did"
                    },
                    "didDoc": {},
                    "handle": {
                      "type": "string",
                      "format": "handle"
                    },
                    "accessJwt": {
                      "type": "string"
                    },
                    "refreshJwt": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "InvalidHandle",
                        "InvalidPassword",
                        "InvalidInviteCode",
                        "HandleNotAvailable",
                        "UnsupportedDomain",
                        "UnresolvableDid",
                        "IncompatibleDidDoc"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.createAccount, {\n  did: 'did:plc:...',\n  email: '',\n  plcOp: undefined,\n  handle: 'alice.bsky.social',\n  password: '',\n  inviteCode: '',\n  recoveryKey: '',\n  verificationCode: '',\n  verificationPhone: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerCreateAccount_Input{\n\tDid: \"did:plc:...\",\n\tEmail: \"\",\n\tPlcOp: nil,\n\tHandle: \"alice.bsky.social\",\n\tPassword: \"\",\n\tInviteCode: \"\",\n\tRecoveryKey: \"\",\n\tVerificationCode: \"\",\n\tVerificationPhone: \"\",\n}\n\nout, err := comatproto.ServerCreateAccount(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.createAccount' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"did\": \"did:plc:...\",\n  \"email\": \"\",\n  \"plcOp\": null,\n  \"handle\": \"alice.bsky.social\",\n  \"password\": \"\",\n  \"inviteCode\": \"\",\n  \"recoveryKey\": \"\",\n  \"verificationCode\": \"\",\n  \"verificationPhone\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.createAppPassword": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Create an App Password.",
        "operationId": "com.atproto.server.createAppPassword",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "A short name for the App Password, to help distinguish them."
                  },
                  "privileged": {
                    "type": "boolean",
                    "description": "If an app password has 'privileged' access to possibly sensitive account state. Meant for use with trusted clients."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/com.atproto.server.createAppPassword.appPassword"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "AccountTakedown"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.createAppPassword, {\n  name: '',\n  privileged: false,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerCreateAppPassword_Input{\n\tName: \"\",\n\tPrivileged: false,\n}\n\nout, err := comatproto.ServerCreateAppPassword(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.createAppPassword' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"name\": \"\",\n  \"privileged\": false\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.createInviteCode": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Create an invite code.",
        "operationId": "com.atproto.server.createInviteCode",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "useCount"
                ],
                "properties": {
                  "useCount": {
                    "type": "integer"
                  },
                  "forAccount": {
                    "type": "string",
                    "format": "did"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "code"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.createInviteCode, {\n  useCount: 0,\n  forAccount: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerCreateInviteCode_Input{\n\tUseCount: 0,\n\tForAccount: \"\",\n}\n\nout, err := comatproto.ServerCreateInviteCode(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.createInviteCode' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"useCount\": 0,\n  \"forAccount\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.createInviteCodes": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Create invite codes.",
        "operationId": "com.atproto.server.createInviteCodes",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "codeCount",
                  "useCount"
                ],
                "properties": {
                  "useCount": {
                    "type": "integer"
                  },
                  "codeCount": {
                    "type": "integer",
                    "default": 1
                  },
                  "forAccounts": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "did"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "codes"
                  ],
                  "properties": {
                    "codes": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/com.atproto.server.createInviteCodes.accountCodes"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.createInviteCodes, {\n  useCount: 0,\n  codeCount: 1,\n  forAccounts: [],\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerCreateInviteCodes_Input{\n\tUseCount: 0,\n\tCodeCount: 1,\n\tForAccounts: nil,\n}\n\nout, err := comatproto.ServerCreateInviteCodes(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.createInviteCodes' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"useCount\": 0,\n  \"codeCount\": 1,\n  \"forAccounts\": []\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.createSession": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Create an authentication session.",
        "operationId": "com.atproto.server.createSession",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "identifier",
                  "password"
                ],
                "properties": {
                  "password": {
                    "type": "string"
                  },
                  "identifier": {
                    "type": "string",
                    "description": "Handle or other identifier supported by the server for the authenticating user."
                  },
                  "allowTakendown": {
                    "type": "boolean",
                    "description": "When true, instead of throwing error for takendown accounts, a valid response with a narrow scoped token will be returned"
                  },
                  "authFactorToken": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "accessJwt",
                    "refreshJwt",
                    "handle",
                    "did"
                  ],
                  "properties": {
                    "did": {
                      "type": "string",
                      "format": "did"
                    },
                    "email": {
                      "type": "string"
                    },
                    "active": {
                      "type": "boolean"
                    },
                    "didDoc": {},
                    "handle": {
                      "type": "string",
                      "format": "handle"
                    },
                    "status": {
                      "type": "string",
                      "description": "If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.",
                      "enum": [
                        "takendown",
                        "suspended",
                        "deactivated"
                      ]
                    },
                    "accessJwt": {
                      "type": "string"
                    },
                    "refreshJwt": {
                      "type": "string"
                    },
                    "emailConfirmed": {
                      "type": "boolean"
                    },
                    "emailAuthFactor": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "AccountTakedown",
                        "AuthFactorTokenRequired"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.createSession, {\n  password: '',\n  identifier: '',\n  allowTakendown: false,\n  authFactorToken: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerCreateSession_Input{\n\tPassword: \"\",\n\tIdentifier: \"\",\n\tAllowTakendown: false,\n\tAuthFactorToken: \"\",\n}\n\nout, err := comatproto.ServerCreateSession(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.createSession' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"password\": \"\",\n  \"identifier\": \"\",\n  \"allowTakendown\": false,\n  \"authFactorToken\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.deactivateAccount": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Deactivates a currently active account. Stops serving of repo, and future writes to repo until reactivated. Used to finalize account migration with the old host after the account has been activated on the new host.",
        "operationId": "com.atproto.server.deactivateAccount",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "deleteAfter": {
                    "type": "string",
                    "description": "A recommendation to server as to how long they should hold onto the deactivated account before deleting.",
                    "format": "date-time"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.deactivateAccount, {\n  deleteAfter: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerDeactivateAccount_Input{\n\tDeleteAfter: \"\",\n}\n\nout, err := comatproto.ServerDeactivateAccount(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.deactivateAccount' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"deleteAfter\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.deleteAccount": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Delete an actor's account with a token and password. Can only be called after requesting a deletion token. Requires auth.",
        "operationId": "com.atproto.server.deleteAccount",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "did",
                  "password",
                  "token"
                ],
                "properties": {
                  "did": {
                    "type": "string",
                    "format": "did"
                  },
                  "token": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.deleteAccount, {\n  did: 'did:plc:...',\n  token: '',\n  password: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerDeleteAccount_Input{\n\tDid: \"did:plc:...\",\n\tToken: \"\",\n\tPassword: \"\",\n}\n\nout, err := comatproto.ServerDeleteAccount(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.deleteAccount' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"did\": \"did:plc:...\",\n  \"token\": \"\",\n  \"password\": \"\"\n}'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.deleteSession": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Delete the current session. Requires auth using the 'refreshJwt' (not the 'accessJwt').",
        "operationId": "com.atproto.server.deleteSession",
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "InvalidToken",
                        "ExpiredToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.deleteSession)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerDeleteSession_Input{}\n\nout, err := comatproto.ServerDeleteSession(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.deleteSession' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.describeServer": {
      "get": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Describes the server's account creation requirements and capabilities. Implemented by PDS.",
        "operationId": "com.atproto.server.describeServer",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "did",
                    "availableUserDomains"
                  ],
                  "properties": {
                    "did": {
                      "type": "string",
                      "format": "did"
                    },
                    "links": {
                      "$ref": "#/components/schemas/com.atproto.server.describeServer.links"
                    },
                    "contact": {
                      "$ref": "#/components/schemas/com.atproto.server.describeServer.contact"
                    },
                    "inviteCodeRequired": {
                      "type": "boolean",
                      "description": "If true, an invite code must be supplied to create an account on this instance."
                    },
                    "availableUserDomains": {
                      "type": "array",
                      "description": "List of domain suffixes that can be used in account handles.",
                      "items": {
                        "type": "string"
                      }
                    },
                    "phoneVerificationRequired": {
                      "type": "boolean",
                      "description": "If true, a phone verification token must be supplied to create an account on this instance."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.describeServer)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.ServerDescribeServer(ctx, client)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.server.describeServer' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.getAccountInviteCodes": {
      "get": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Get all invite codes for the current account. Requires auth.",
        "operationId": "com.atproto.server.getAccountInviteCodes",
        "parameters": [
          {
            "name": "includeUsed",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true
            }
          },
          {
            "name": "createAvailable",
            "in": "query",
            "description": "Controls whether any new 'earned' but not 'created' invites should be created.",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Controls whether any new 'earned' but not 'created' invites should be created.",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "codes"
                  ],
                  "properties": {
                    "codes": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/com.atproto.server.defs.inviteCode"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "DuplicateCreate"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.getAccountInviteCodes, {\n  includeUsed: true,\n  createAvailable: true,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.ServerGetAccountInviteCodes(ctx, client,\n\ttrue, // createAvailable\n\ttrue, // includeUsed\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.server.getAccountInviteCodes?includeUsed=true&createAvailable=true' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.getServiceAuth": {
      "get": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Get a signed token on behalf of the requesting DID for the requested service.",
        "operationId": "com.atproto.server.getServiceAuth",
        "parameters": [
          {
            "name": "aud",
            "in": "query",
            "description": "The DID of the service that the token will be used to authenticate with",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The DID of the service that the token will be used to authenticate with",
              "format": "did"
            }
          },
          {
            "name": "exp",
            "in": "query",
            "description": "The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service may enforce certain time bounds on tokens depending on the requested scope.",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service may enforce certain time bounds on tokens depending on the requested scope."
            }
          },
          {
            "name": "lxm",
            "in": "query",
            "description": "Lexicon (XRPC) method to bind the requested token to",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Lexicon (XRPC) method to bind the requested token to",
              "format": "nsid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "token"
                  ],
                  "properties": {
                    "token": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "BadExpiration"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.getServiceAuth, {\n  aud: '',\n  exp: 0,\n  lxm: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.ServerGetServiceAuth(ctx, client,\n\t\"\", // aud\n\t0, // exp\n\t\"\", // lxm\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.server.getServiceAuth?aud=&exp=0&lxm=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.getSession": {
      "get": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Get information about the current auth session. Requires auth.",
        "operationId": "com.atproto.server.getSession",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "handle",
                    "did"
                  ],
                  "properties": {
                    "did": {
                      "type": "string",
                      "format": "did"
                    },
                    "email": {
                      "type": "string"
                    },
                    "active": {
                      "type": "boolean"
                    },
                    "didDoc": {},
                    "handle": {
                      "type": "string",
                      "format": "handle"
                    },
                    "status": {
                      "type": "string",
                      "description": "If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.",
                      "enum": [
                        "takendown",
                        "suspended",
                        "deactivated"
                      ]
                    },
                    "emailConfirmed": {
                      "type": "boolean"
                    },
                    "emailAuthFactor": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.getSession)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.ServerGetSession(ctx, client)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.server.getSession' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.listAppPasswords": {
      "get": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "List all App Passwords.",
        "operationId": "com.atproto.server.listAppPasswords",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "passwords"
                  ],
                  "properties": {
                    "passwords": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/com.atproto.server.listAppPasswords.appPassword"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "AccountTakedown"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.listAppPasswords)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.ServerListAppPasswords(ctx, client)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.server.listAppPasswords' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.refreshSession": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').",
        "operationId": "com.atproto.server.refreshSession",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "accessJwt",
                    "refreshJwt",
                    "handle",
                    "did"
                  ],
                  "properties": {
                    "did": {
                      "type": "string",
                      "format": "did"
                    },
                    "email": {
                      "type": "string"
                    },
                    "active": {
                      "type": "boolean"
                    },
                    "didDoc": {},
                    "handle": {
                      "type": "string",
                      "format": "handle"
                    },
                    "status": {
                      "type": "string",
                      "description": "Hosting status of the account. If not specified, then assume 'active'.",
                      "enum": [
                        "takendown",
                        "suspended",
                        "deactivated"
                      ]
                    },
                    "accessJwt": {
                      "type": "string"
                    },
                    "refreshJwt": {
                      "type": "string"
                    },
                    "emailConfirmed": {
                      "type": "boolean"
                    },
                    "emailAuthFactor": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "AccountTakedown",
                        "InvalidToken",
                        "ExpiredToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.refreshSession)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerRefreshSession_Input{}\n\nout, err := comatproto.ServerRefreshSession(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.refreshSession' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.requestAccountDelete": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Initiate a user account deletion via email.",
        "operationId": "com.atproto.server.requestAccountDelete",
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.requestAccountDelete)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerRequestAccountDelete_Input{}\n\nout, err := comatproto.ServerRequestAccountDelete(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.requestAccountDelete' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.requestEmailConfirmation": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Request an email with a code to confirm ownership of email.",
        "operationId": "com.atproto.server.requestEmailConfirmation",
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.requestEmailConfirmation)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerRequestEmailConfirmation_Input{}\n\nout, err := comatproto.ServerRequestEmailConfirmation(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.requestEmailConfirmation' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.requestEmailUpdate": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Request a token in order to update email.",
        "operationId": "com.atproto.server.requestEmailUpdate",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "tokenRequired"
                  ],
                  "properties": {
                    "tokenRequired": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.requestEmailUpdate)"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerRequestEmailUpdate_Input{}\n\nout, err := comatproto.ServerRequestEmailUpdate(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.requestEmailUpdate' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.requestPasswordReset": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Initiate a user account password reset via email.",
        "operationId": "com.atproto.server.requestPasswordReset",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.requestPasswordReset, {\n  email: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerRequestPasswordReset_Input{\n\tEmail: \"\",\n}\n\nout, err := comatproto.ServerRequestPasswordReset(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.requestPasswordReset' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"email\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.reserveSigningKey": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Reserve a repo signing key, for use with account creation. Necessary so that a DID PLC update operation can be constructed during an account migraiton. Public and does not require auth; implemented by PDS. NOTE: this endpoint may change when full account migration is implemented.",
        "operationId": "com.atproto.server.reserveSigningKey",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "did": {
                    "type": "string",
                    "description": "The DID to reserve a key for.",
                    "format": "did"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "signingKey"
                  ],
                  "properties": {
                    "signingKey": {
                      "type": "string",
                      "description": "The public key for the reserved signing key, in did:key serialization."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.reserveSigningKey, {\n  did: 'did:plc:...',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerReserveSigningKey_Input{\n\tDid: \"did:plc:...\",\n}\n\nout, err := comatproto.ServerReserveSigningKey(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.reserveSigningKey' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"did\": \"did:plc:...\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.resetPassword": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Reset a user account password using a token.",
        "operationId": "com.atproto.server.resetPassword",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "token",
                  "password"
                ],
                "properties": {
                  "token": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.resetPassword, {\n  token: '',\n  password: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerResetPassword_Input{\n\tToken: \"\",\n\tPassword: \"\",\n}\n\nout, err := comatproto.ServerResetPassword(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.resetPassword' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"token\": \"\",\n  \"password\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.revokeAppPassword": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Revoke an App Password by name.",
        "operationId": "com.atproto.server.revokeAppPassword",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.revokeAppPassword, {\n  name: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerRevokeAppPassword_Input{\n\tName: \"\",\n}\n\nout, err := comatproto.ServerRevokeAppPassword(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.revokeAppPassword' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"name\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.server.updateEmail": {
      "post": {
        "tags": [
          "com.atproto.server"
        ],
        "description": "Update an account's email.",
        "operationId": "com.atproto.server.updateEmail",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "token": {
                    "type": "string",
                    "description": "Requires a token from com.atproto.sever.requestEmailUpdate if the account's email has been confirmed."
                  },
                  "emailAuthFactor": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "ExpiredToken",
                        "InvalidToken",
                        "TokenRequired"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.server.updateEmail, {\n  email: '',\n  token: '',\n  emailAuthFactor: false,\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.ServerUpdateEmail_Input{\n\tEmail: \"\",\n\tToken: \"\",\n\tEmailAuthFactor: false,\n}\n\nout, err := comatproto.ServerUpdateEmail(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.server.updateEmail' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"email\": \"\",\n  \"token\": \"\",\n  \"emailAuthFactor\": false\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.sync.getBlob": {
      "get": {
        "tags": [
          "com.atproto.sync"
        ],
        "description": "Get a blob associated with a given account. Returns the full blob as originally uploaded. Does not require auth; implemented by PDS.",
        "operationId": "com.atproto.sync.getBlob",
        "parameters": [
          {
            "name": "cid",
            "in": "query",
            "description": "The CID of the blob to fetch",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The CID of the blob to fetch",
              "format": "cid"
            }
          },
          {
            "name": "did",
            "in": "query",
            "description": "The DID of the account.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The DID of the account.",
              "format": "did"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {}
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "BlobNotFound",
                        "RepoNotFound",
                        "RepoTakendown",
                        "RepoSuspended",
                        "RepoDeactivated"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.sync.getBlob, {\n  cid: 'bafyrei...',\n  did: 'did:plc:...',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.SyncGetBlob(ctx, client,\n\t\"bafyrei...\", // cid\n\t\"did:plc:...\", // did\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.sync.getBlob?cid=bafyrei...&did=did%3Aplc%3A...' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.sync.getBlocks": {
      "get": {
        "tags": [
          "com.atproto.sync"
        ],
        "description": "Get data blocks from a given repo, by CID. For example, intermediate MST nodes, or records. Does not require auth; implemented by PDS.",
        "operationId": "com.atproto.sync.getBlocks",
        "parameters": [
          {
            "name": "did",
            "in": "query",
            "description": "The DID of the repo.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The DID of the repo.",
              "format": "did"
            }
          },
          {
            "name": "cids",
            "in": "query",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "cid"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/vnd.ipld.car": {}
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "BlockNotFound",
                        "RepoNotFound",
                        "RepoTakendown",
                        "RepoSuspended",
                        "RepoDeactivated"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.sync.getBlocks, {\n  did: 'did:plc:...',\n  cids: [],\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.SyncGetBlocks(ctx, client,\n\tnil, // cids\n\t\"did:plc:...\", // did\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.sync.getBlocks?did=did%3Aplc%3A...&cids=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.sync.getHostStatus": {
      "get": {
        "tags": [
          "com.atproto.sync"
        ],
        "description": "Returns information about a specified upstream host, as consumed by the server. Implemented by relays.",
        "operationId": "com.atproto.sync.getHostStatus",
        "parameters": [
          {
            "name": "hostname",
            "in": "query",
            "description": "Hostname of the host (eg, PDS or relay) being queried.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Hostname of the host (eg, PDS or relay) being queried."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "hostname"
                  ],
                  "properties": {
                    "seq": {
                      "type": "integer",
                      "description": "Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted cursor not in-memory cursor)."
                    },
                    "status": {
                      "$ref": "#/components/schemas/com.atproto.sync.defs.hostStatus"
                    },
                    "hostname": {
                      "type": "string"
                    },
                    "accountCount": {
                      "type": "integer",
                      "description": "Number of accounts on the server which are associated with the upstream host. Note that the upstream may actually have more accounts."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "HostNotFound"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.sync.getHostStatus, {\n  hostname: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.SyncGetHostStatus(ctx, client,\n\t\"\", // hostname\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.sync.getHostStatus?hostname=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.sync.getLatestCommit": {
      "get": {
        "tags": [
          "com.atproto.sync"
        ],
        "description": "Get the current commit CID & revision of the specified repo. Does not require auth.",
        "operationId": "com.atproto.sync.getLatestCommit",
        "parameters": [
          {
            "name": "did",
            "in": "query",
            "description": "The DID of the repo.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The DID of the repo.",
              "format": "did"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "cid",
                    "rev"
                  ],
                  "properties": {
                    "cid": {
                      "type": "string",
                      "format": "cid"
                    },
                    "rev": {
                      "type": "string",
                      "format": "tid"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "RepoNotFound",
                        "RepoTakendown",
                        "RepoSuspended",
                        "RepoDeactivated"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.sync.getLatestCommit, {\n  did: 'did:plc:...',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.SyncGetLatestCommit(ctx, client,\n\t\"did:plc:...\", // did\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.sync.getLatestCommit?did=did%3Aplc%3A...' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.sync.getRecord": {
      "get": {
        "tags": [
          "com.atproto.sync"
        ],
        "description": "Get data blocks needed to prove the existence or non-existence of record in the current version of repo. Does not require auth.",
        "operationId": "com.atproto.sync.getRecord",
        "parameters": [
          {
            "name": "did",
            "in": "query",
            "description": "The DID of the repo.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The DID of the repo.",
              "format": "did"
            }
          },
          {
            "name": "rkey",
            "in": "query",
            "description": "Record Key",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Record Key",
              "format": "record-key"
            }
          },
          {
            "name": "collection",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "nsid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/vnd.ipld.car": {}
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "RecordNotFound",
                        "RepoNotFound",
                        "RepoTakendown",
                        "RepoSuspended",
                        "RepoDeactivated"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.sync.getRecord, {\n  did: 'did:plc:...',\n  rkey: '3jxf7z2k3q2',\n  collection: 'app.bsky.feed.post',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.SyncGetRecord(ctx, client,\n\t\"app.bsky.feed.post\", // collection\n\t\"did:plc:...\", // did\n\t\"3jxf7z2k3q2\", // rkey\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.sync.getRecord?did=did%3Aplc%3A...&rkey=3jxf7z2k3q2&collection=app.bsky.feed.post' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.sync.getRepo": {
      "get": {
        "tags": [
          "com.atproto.sync"
        ],
        "description": "Download a repository export as CAR file. Optionally only a 'diff' since a previous revision. Does not require auth; implemented by PDS.",
        "operationId": "com.atproto.sync.getRepo",
        "parameters": [
          {
            "name": "did",
            "in": "query",
            "description": "The DID of the repo.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The DID of the repo.",
              "format": "did"
            }
          },
          {
            "name": "since",
            "in": "query",
            "description": "The revision ('rev') of the repo to create a diff from.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "The revision ('rev') of the repo to create a diff from.",
              "format": "tid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/vnd.ipld.car": {}
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "RepoNotFound",
                        "RepoTakendown",
                        "RepoSuspended",
                        "RepoDeactivated"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.sync.getRepo, {\n  did: 'did:plc:...',\n  since: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.SyncGetRepo(ctx, client,\n\t\"did:plc:...\", // did\n\t\"\", // since\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.sync.getRepo?did=did%3Aplc%3A...&since=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.sync.getRepoStatus": {
      "get": {
        "tags": [
          "com.atproto.sync"
        ],
        "description": "Get the hosting status for a repository, on this server. Expected to be implemented by PDS and Relay.",
        "operationId": "com.atproto.sync.getRepoStatus",
        "parameters": [
          {
            "name": "did",
            "in": "query",
            "description": "The DID of the repo.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The DID of the repo.",
              "format": "did"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "did",
                    "active"
                  ],
                  "properties": {
                    "did": {
                      "type": "string",
                      "format": "did"
                    },
                    "rev": {
                      "type": "string",
                      "description": "Optional field, the current rev of the repo, if active=true",
                      "format": "tid"
                    },
                    "active": {
                      "type": "boolean"
                    },
                    "status": {
                      "type": "string",
                      "description": "If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.",
                      "enum": [
                        "takendown",
                        "suspended",
                        "deleted",
                        "deactivated",
                        "desynchronized",
                        "throttled"
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "RepoNotFound"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.sync.getRepoStatus, {\n  did: 'did:plc:...',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.SyncGetRepoStatus(ctx, client,\n\t\"did:plc:...\", // did\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.sync.getRepoStatus?did=did%3Aplc%3A...' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.sync.listBlobs": {
      "get": {
        "tags": [
          "com.atproto.sync"
        ],
        "description": "List blob CIDs for an account, since some repo revision. Does not require auth; implemented by PDS.",
        "operationId": "com.atproto.sync.listBlobs",
        "parameters": [
          {
            "name": "did",
            "in": "query",
            "description": "The DID of the repo.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The DID of the repo.",
              "format": "did"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 1000,
              "default": 500
            }
          },
          {
            "name": "since",
            "in": "query",
            "description": "Optional revision of the repo to list blobs since.",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Optional revision of the repo to list blobs since.",
              "format": "tid"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "cids"
                  ],
                  "properties": {
                    "cids": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "format": "cid"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "RepoNotFound",
                        "RepoTakendown",
                        "RepoSuspended",
                        "RepoDeactivated"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.sync.listBlobs, {\n  did: 'did:plc:...',\n  limit: 500,\n  since: '',\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.SyncListBlobs(ctx, client,\n\t\"\", // cursor\n\t\"did:plc:...\", // did\n\t500, // limit\n\t\"\", // since\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.sync.listBlobs?did=did%3Aplc%3A...&limit=500&since=&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.sync.listHosts": {
      "get": {
        "tags": [
          "com.atproto.sync"
        ],
        "description": "Enumerates upstream hosts (eg, PDS or relay instances) that this service consumes from. Implemented by relays.",
        "operationId": "com.atproto.sync.listHosts",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 1000,
              "default": 200
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "hosts"
                  ],
                  "properties": {
                    "hosts": {
                      "type": "array",
                      "description": "Sort order is not formally specified. Recommended order is by time host was first seen by the server, with oldest first.",
                      "items": {
                        "$ref": "#/components/schemas/com.atproto.sync.listHosts.host"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.sync.listHosts, {\n  limit: 200,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.SyncListHosts(ctx, client,\n\t\"\", // cursor\n\t200, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.sync.listHosts?limit=200&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.sync.listRepos": {
      "get": {
        "tags": [
          "com.atproto.sync"
        ],
        "description": "Enumerates all the DID, rev, and commit CID for all repos hosted by this service. Does not require auth; implemented by PDS and Relay.",
        "operationId": "com.atproto.sync.listRepos",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 1000,
              "default": 500
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "repos"
                  ],
                  "properties": {
                    "repos": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/com.atproto.sync.listRepos.repo"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.sync.listRepos, {\n  limit: 500,\n  cursor: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.SyncListRepos(ctx, client,\n\t\"\", // cursor\n\t500, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.sync.listRepos?limit=500&cursor=' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.sync.listReposByCollection": {
      "get": {
        "tags": [
          "com.atproto.sync"
        ],
        "description": "Enumerates all the DIDs which have records with the given collection NSID.",
        "operationId": "com.atproto.sync.listReposByCollection",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "Maximum size of response set. Recommend setting a large maximum (1000+) when enumerating large DID lists.",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Maximum size of response set. Recommend setting a large maximum (1000+) when enumerating large DID lists.",
              "minimum": 1,
              "maximum": 2000,
              "default": 500
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "collection",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "nsid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "repos"
                  ],
                  "properties": {
                    "repos": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/com.atproto.sync.listReposByCollection.repo"
                      }
                    },
                    "cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.sync.listReposByCollection, {\n  limit: 500,\n  cursor: '',\n  collection: 'app.bsky.feed.post',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\nout, err := comatproto.SyncListReposByCollection(ctx, client,\n\t\"app.bsky.feed.post\", // collection\n\t\"\", // cursor\n\t500, // limit\n)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl 'https://bsky.social/xrpc/com.atproto.sync.listReposByCollection?limit=500&cursor=&collection=app.bsky.feed.post' \\\n  -H 'Authorization: Bearer <TOKEN>'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.sync.notifyOfUpdate": {
      "post": {
        "tags": [
          "com.atproto.sync"
        ],
        "description": "Notify a crawling service of a recent update, and that crawling should resume. Intended use is after a gap between repo stream events caused the crawling service to disconnect. Does not require auth; implemented by Relay. DEPRECATED: just use com.atproto.sync.requestCrawl",
        "operationId": "com.atproto.sync.notifyOfUpdate",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "hostname"
                ],
                "properties": {
                  "hostname": {
                    "type": "string",
                    "description": "Hostname of the current service (usually a PDS) that is notifying of update."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.sync.notifyOfUpdate, {\n  hostname: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.SyncNotifyOfUpdate_Input{\n\tHostname: \"\",\n}\n\nout, err := comatproto.SyncNotifyOfUpdate(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.sync.notifyOfUpdate' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"hostname\": \"\"\n}'"
          }
        ]
      }
    },
    "/xrpc/com.atproto.sync.requestCrawl": {
      "post": {
        "tags": [
          "com.atproto.sync"
        ],
        "description": "Request a service to persistently crawl hosted repos. Expected use is new PDS instances declaring their existence to Relays. Does not require auth.",
        "operationId": "com.atproto.sync.requestCrawl",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "hostname"
                ],
                "properties": {
                  "hostname": {
                    "type": "string",
                    "description": "Hostname of the current service (eg, PDS) that is requesting to be crawled."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "InvalidRequest",
                        "ExpiredToken",
                        "InvalidToken",
                        "HostBanned"
                      ]
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "const": "AuthMissing"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "typescript",
            "label": "TypeScript (@atproto/lex)",
            "source": "import * as com from './lexicons/com.js'\n\nconst result = await client.call(com.atproto.sync.requestCrawl, {\n  hostname: '',\n})"
          },
          {
            "lang": "go",
            "label": "Go (indigo)",
            "source": "import (\n\t\"context\"\n\tcomatproto \"github.com/bluesky-social/indigo/api/atproto\"\n)\n\nctx := context.Background()\n\ninput := &comatproto.SyncRequestCrawl_Input{\n\tHostname: \"\",\n}\n\nout, err := comatproto.SyncRequestCrawl(ctx, client, input)"
          },
          {
            "lang": "shell",
            "label": "Shell (curl)",
            "source": "curl -X POST 'https://bsky.social/xrpc/com.atproto.sync.requestCrawl' \\\n  -H 'Authorization: Bearer <TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"hostname\": \"\"\n}'"
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "app.bsky.actor.defs.nux": {
        "type": "object",
        "description": "A new user experiences (NUX) storage object",
        "required": [
          "id",
          "completed"
        ],
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 100
          },
          "data": {
            "type": "string",
            "description": "Arbitrary data for the NUX. The structure is defined by the NUX itself. Limited to 300 characters.",
            "maxLength": 3000
          },
          "completed": {
            "type": "boolean"
          },
          "expiresAt": {
            "type": "string",
            "description": "The date and time at which the NUX will expire and should be considered completed.",
            "format": "date-time"
          }
        }
      },
      "app.bsky.actor.defs.mutedWord": {
        "type": "object",
        "description": "A word that the account owner has muted.",
        "required": [
          "value",
          "targets"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "value": {
            "type": "string",
            "description": "The muted word itself.",
            "maxLength": 10000
          },
          "targets": {
            "type": "array",
            "description": "The intended targets of the muted word.",
            "items": {
              "$ref": "#/components/schemas/app.bsky.actor.defs.mutedWordTarget"
            }
          },
          "expiresAt": {
            "type": "string",
            "description": "The date and time at which the muted word will expire and no longer be applied.",
            "format": "date-time"
          },
          "actorTarget": {
            "type": "string",
            "description": "Groups of users to apply the muted word to. If undefined, applies to all users.",
            "default": "all",
            "enum": [
              "all",
              "exclude-following"
            ]
          }
        }
      },
      "app.bsky.actor.defs.savedFeed": {
        "type": "object",
        "required": [
          "id",
          "type",
          "value",
          "pinned"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "feed",
              "list",
              "timeline"
            ]
          },
          "value": {
            "type": "string"
          },
          "pinned": {
            "type": "boolean"
          }
        }
      },
      "app.bsky.actor.defs.statusView": {
        "type": "object",
        "required": [
          "status",
          "record"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "embed": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/app.bsky.embed.external.view"
              }
            ]
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "record": {},
          "status": {
            "type": "string",
            "description": "The status for the account.",
            "enum": [
              "app.bsky.actor.status#live"
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "True if the status is not expired, false if it is expired. Only present if expiration was set."
          },
          "expiresAt": {
            "type": "string",
            "description": "The date when this status will expire. The application might choose to no longer return the status after expiration.",
            "format": "date-time"
          },
          "isDisabled": {
            "type": "boolean",
            "description": "True if the user's go-live access has been disabled by a moderator, false otherwise."
          }
        }
      },
      "app.bsky.actor.defs.preferences": {
        "type": "array",
        "items": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.adultContentPref"
            },
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.contentLabelPref"
            },
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.savedFeedsPref"
            },
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.savedFeedsPrefV2"
            },
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.personalDetailsPref"
            },
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.declaredAgePref"
            },
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.feedViewPref"
            },
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.threadViewPref"
            },
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.interestsPref"
            },
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.mutedWordsPref"
            },
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.hiddenPostsPref"
            },
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.bskyAppStatePref"
            },
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.labelersPref"
            },
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.postInteractionSettingsPref"
            },
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.verificationPrefs"
            },
            {
              "$ref": "#/components/schemas/app.bsky.actor.defs.liveEventPreferences"
            }
          ]
        }
      },
      "app.bsky.actor.defs.profileView": {
        "type": "object",
        "required": [
          "did",
          "handle"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "debug": {},
          "avatar": {
            "type": "string",
            "format": "uri"
          },
          "handle": {
            "type": "string",
            "format": "handle"
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "status": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.statusView"
          },
          "viewer": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.viewerState"
          },
          "pronouns": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "associated": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileAssociated"
          },
          "description": {
            "type": "string",
            "maxLength": 2560
          },
          "displayName": {
            "type": "string",
            "maxLength": 640
          },
          "verification": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.verificationState"
          }
        }
      },
      "app.bsky.actor.defs.viewerState": {
        "type": "object",
        "description": "Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests.",
        "properties": {
          "muted": {
            "type": "boolean"
          },
          "blocking": {
            "type": "string",
            "format": "at-uri"
          },
          "blockedBy": {
            "type": "boolean"
          },
          "following": {
            "type": "string",
            "format": "at-uri"
          },
          "followedBy": {
            "type": "string",
            "format": "at-uri"
          },
          "mutedByList": {
            "$ref": "#/components/schemas/app.bsky.graph.defs.listViewBasic"
          },
          "blockingByList": {
            "$ref": "#/components/schemas/app.bsky.graph.defs.listViewBasic"
          },
          "knownFollowers": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.knownFollowers"
          },
          "activitySubscription": {
            "$ref": "#/components/schemas/app.bsky.notification.defs.activitySubscription"
          }
        }
      },
      "app.bsky.actor.defs.feedViewPref": {
        "type": "object",
        "required": [
          "feed"
        ],
        "properties": {
          "feed": {
            "type": "string",
            "description": "The URI of the feed, or an identifier which describes the feed."
          },
          "hideReplies": {
            "type": "boolean",
            "description": "Hide replies in the feed."
          },
          "hideReposts": {
            "type": "boolean",
            "description": "Hide reposts in the feed."
          },
          "hideQuotePosts": {
            "type": "boolean",
            "description": "Hide quote posts in the feed."
          },
          "hideRepliesByLikeCount": {
            "type": "integer",
            "description": "Hide replies in the feed if they do not have this number of likes."
          },
          "hideRepliesByUnfollowed": {
            "type": "boolean",
            "description": "Hide replies in the feed if they are not by followed users.",
            "default": true
          }
        }
      },
      "app.bsky.actor.defs.labelersPref": {
        "type": "object",
        "required": [
          "labelers"
        ],
        "properties": {
          "labelers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.actor.defs.labelerPrefItem"
            }
          }
        }
      },
      "app.bsky.actor.defs.interestsPref": {
        "type": "object",
        "required": [
          "tags"
        ],
        "properties": {
          "tags": {
            "type": "array",
            "description": "A list of tags which describe the account owner's interests gathered during onboarding.",
            "items": {
              "type": "string",
              "maxLength": 640
            },
            "maxItems": 100
          }
        }
      },
      "app.bsky.actor.defs.knownFollowers": {
        "type": "object",
        "description": "The subject's followers whom you also follow",
        "required": [
          "count",
          "followers"
        ],
        "properties": {
          "count": {
            "type": "integer"
          },
          "followers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.actor.defs.profileViewBasic"
            },
            "maxItems": 5
          }
        }
      },
      "app.bsky.actor.defs.mutedWordsPref": {
        "type": "object",
        "required": [
          "items"
        ],
        "properties": {
          "items": {
            "type": "array",
            "description": "A list of words the account owner has muted.",
            "items": {
              "$ref": "#/components/schemas/app.bsky.actor.defs.mutedWord"
            }
          }
        }
      },
      "app.bsky.actor.defs.savedFeedsPref": {
        "type": "object",
        "required": [
          "pinned",
          "saved"
        ],
        "properties": {
          "saved": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "at-uri"
            }
          },
          "pinned": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "at-uri"
            }
          },
          "timelineIndex": {
            "type": "integer"
          }
        }
      },
      "app.bsky.actor.defs.threadViewPref": {
        "type": "object",
        "properties": {
          "sort": {
            "type": "string",
            "description": "Sorting mode for threads.",
            "enum": [
              "oldest",
              "newest",
              "most-likes",
              "random",
              "hotness"
            ]
          }
        }
      },
      "app.bsky.actor.defs.declaredAgePref": {
        "type": "object",
        "description": "Read-only preference containing value(s) inferred from the user's declared birthdate. Absence of this preference object in the response indicates that the user has not made a declaration.",
        "properties": {
          "isOverAge13": {
            "type": "boolean",
            "description": "Indicates if the user has declared that they are over 13 years of age."
          },
          "isOverAge16": {
            "type": "boolean",
            "description": "Indicates if the user has declared that they are over 16 years of age."
          },
          "isOverAge18": {
            "type": "boolean",
            "description": "Indicates if the user has declared that they are over 18 years of age."
          }
        }
      },
      "app.bsky.actor.defs.hiddenPostsPref": {
        "type": "object",
        "required": [
          "items"
        ],
        "properties": {
          "items": {
            "type": "array",
            "description": "A list of URIs of posts the account owner has hidden.",
            "items": {
              "type": "string",
              "format": "at-uri"
            }
          }
        }
      },
      "app.bsky.actor.defs.labelerPrefItem": {
        "type": "object",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          }
        }
      },
      "app.bsky.actor.defs.mutedWordTarget": {
        "type": "string",
        "maxLength": 640,
        "enum": [
          "content",
          "tag"
        ]
      },
      "app.bsky.actor.defs.adultContentPref": {
        "type": "object",
        "required": [
          "enabled"
        ],
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        }
      },
      "app.bsky.actor.defs.bskyAppStatePref": {
        "type": "object",
        "description": "A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this.",
        "properties": {
          "nuxs": {
            "type": "array",
            "description": "Storage for NUXs the user has encountered.",
            "items": {
              "$ref": "#/components/schemas/app.bsky.actor.defs.nux"
            },
            "maxItems": 100
          },
          "queuedNudges": {
            "type": "array",
            "description": "An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user.",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "maxItems": 1000
          },
          "activeProgressGuide": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.bskyAppProgressGuide"
          }
        }
      },
      "app.bsky.actor.defs.contentLabelPref": {
        "type": "object",
        "required": [
          "label",
          "visibility"
        ],
        "properties": {
          "label": {
            "type": "string"
          },
          "labelerDid": {
            "type": "string",
            "description": "Which labeler does this preference apply to? If undefined, applies globally.",
            "format": "did"
          },
          "visibility": {
            "type": "string",
            "enum": [
              "ignore",
              "show",
              "warn",
              "hide"
            ]
          }
        }
      },
      "app.bsky.actor.defs.profileViewBasic": {
        "type": "object",
        "required": [
          "did",
          "handle"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "debug": {},
          "avatar": {
            "type": "string",
            "format": "uri"
          },
          "handle": {
            "type": "string",
            "format": "handle"
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "status": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.statusView"
          },
          "viewer": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.viewerState"
          },
          "pronouns": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "associated": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileAssociated"
          },
          "displayName": {
            "type": "string",
            "maxLength": 640
          },
          "verification": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.verificationState"
          }
        }
      },
      "app.bsky.actor.defs.savedFeedsPrefV2": {
        "type": "object",
        "required": [
          "items"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.actor.defs.savedFeed"
            }
          }
        }
      },
      "app.bsky.actor.defs.verificationView": {
        "type": "object",
        "description": "An individual verification for an associated subject.",
        "required": [
          "issuer",
          "uri",
          "isValid",
          "createdAt"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "description": "The AT-URI of the verification record.",
            "format": "at-uri"
          },
          "issuer": {
            "type": "string",
            "description": "The user who issued this verification.",
            "format": "did"
          },
          "isValid": {
            "type": "boolean",
            "description": "True if the verification passes validation, otherwise false."
          },
          "createdAt": {
            "type": "string",
            "description": "Timestamp when the verification was created.",
            "format": "date-time"
          }
        }
      },
      "app.bsky.actor.defs.profileAssociated": {
        "type": "object",
        "properties": {
          "chat": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileAssociatedChat"
          },
          "germ": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileAssociatedGerm"
          },
          "lists": {
            "type": "integer"
          },
          "labeler": {
            "type": "boolean"
          },
          "feedgens": {
            "type": "integer"
          },
          "starterPacks": {
            "type": "integer"
          },
          "activitySubscription": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileAssociatedActivitySubscription"
          }
        }
      },
      "app.bsky.actor.defs.verificationPrefs": {
        "type": "object",
        "description": "Preferences for how verified accounts appear in the app.",
        "required": [],
        "properties": {
          "hideBadges": {
            "type": "boolean",
            "description": "Hide the blue check badges for verified accounts and trusted verifiers."
          }
        }
      },
      "app.bsky.actor.defs.verificationState": {
        "type": "object",
        "description": "Represents the verification information about the user this object is attached to.",
        "required": [
          "verifications",
          "verifiedStatus",
          "trustedVerifierStatus"
        ],
        "properties": {
          "verifications": {
            "type": "array",
            "description": "All verifications issued by trusted verifiers on behalf of this user. Verifications by untrusted verifiers are not included.",
            "items": {
              "$ref": "#/components/schemas/app.bsky.actor.defs.verificationView"
            }
          },
          "verifiedStatus": {
            "type": "string",
            "description": "The user's status as a verified account.",
            "enum": [
              "valid",
              "invalid",
              "none"
            ]
          },
          "trustedVerifierStatus": {
            "type": "string",
            "description": "The user's status as a trusted verifier.",
            "enum": [
              "valid",
              "invalid",
              "none"
            ]
          }
        }
      },
      "app.bsky.actor.defs.personalDetailsPref": {
        "type": "object",
        "properties": {
          "birthDate": {
            "type": "string",
            "description": "The birth date of account owner.",
            "format": "date-time"
          }
        }
      },
      "app.bsky.actor.defs.profileViewDetailed": {
        "type": "object",
        "required": [
          "did",
          "handle"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "debug": {},
          "avatar": {
            "type": "string",
            "format": "uri"
          },
          "banner": {
            "type": "string",
            "format": "uri"
          },
          "handle": {
            "type": "string",
            "format": "handle"
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "status": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.statusView"
          },
          "viewer": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.viewerState"
          },
          "website": {
            "type": "string",
            "format": "uri"
          },
          "pronouns": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "associated": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileAssociated"
          },
          "pinnedPost": {
            "$ref": "#/components/schemas/com.atproto.repo.strongRef"
          },
          "postsCount": {
            "type": "integer"
          },
          "description": {
            "type": "string",
            "maxLength": 2560
          },
          "displayName": {
            "type": "string",
            "maxLength": 640
          },
          "followsCount": {
            "type": "integer"
          },
          "verification": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.verificationState"
          },
          "followersCount": {
            "type": "integer"
          },
          "joinedViaStarterPack": {
            "$ref": "#/components/schemas/app.bsky.graph.defs.starterPackViewBasic"
          }
        }
      },
      "app.bsky.actor.defs.bskyAppProgressGuide": {
        "type": "object",
        "description": "If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress.",
        "required": [
          "guide"
        ],
        "properties": {
          "guide": {
            "type": "string",
            "maxLength": 100
          }
        }
      },
      "app.bsky.actor.defs.liveEventPreferences": {
        "type": "object",
        "description": "Preferences for live events.",
        "properties": {
          "hideAllFeeds": {
            "type": "boolean",
            "description": "Whether to hide all feeds from live events."
          },
          "hiddenFeedIds": {
            "type": "array",
            "description": "A list of feed IDs that the user has hidden from live events.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "app.bsky.actor.defs.profileAssociatedChat": {
        "type": "object",
        "required": [
          "allowIncoming"
        ],
        "properties": {
          "allowIncoming": {
            "type": "string",
            "enum": [
              "all",
              "none",
              "following"
            ]
          }
        }
      },
      "app.bsky.actor.defs.profileAssociatedGerm": {
        "type": "object",
        "required": [
          "showButtonTo",
          "messageMeUrl"
        ],
        "properties": {
          "messageMeUrl": {
            "type": "string",
            "format": "uri"
          },
          "showButtonTo": {
            "type": "string",
            "enum": [
              "usersIFollow",
              "everyone"
            ]
          }
        }
      },
      "app.bsky.actor.defs.postInteractionSettingsPref": {
        "type": "object",
        "description": "Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly.",
        "required": [],
        "properties": {
          "threadgateAllowRules": {
            "type": "array",
            "description": "Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply.",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/app.bsky.feed.threadgate.mentionRule"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.feed.threadgate.followerRule"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.feed.threadgate.followingRule"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.feed.threadgate.listRule"
                }
              ]
            },
            "maxItems": 5
          },
          "postgateEmbeddingRules": {
            "type": "array",
            "description": "Matches postgate record. List of rules defining who can embed this users posts. If value is an empty array or is undefined, no particular rules apply and anyone can embed.",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/app.bsky.feed.postgate.disableRule"
                }
              ]
            },
            "maxItems": 5
          }
        }
      },
      "app.bsky.actor.defs.profileAssociatedActivitySubscription": {
        "type": "object",
        "required": [
          "allowSubscriptions"
        ],
        "properties": {
          "allowSubscriptions": {
            "type": "string",
            "enum": [
              "followers",
              "mutuals",
              "none"
            ]
          }
        }
      },
      "app.bsky.actor.status.live": {
        "type": "string",
        "format": "token",
        "description": "Advertises an account as currently offering live content."
      },
      "app.bsky.actor.status": {
        "type": "object",
        "required": [
          "status",
          "createdAt"
        ],
        "properties": {
          "embed": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/app.bsky.embed.external"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status for the account.",
            "enum": [
              "app.bsky.actor.status#live"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "durationMinutes": {
            "type": "integer",
            "description": "The duration of the status in minutes. Applications can choose to impose minimum and maximum limits.",
            "minimum": 1
          }
        }
      },
      "app.bsky.ageassurance.defs.event": {
        "type": "object",
        "description": "Object used to store Age Assurance data in stash.",
        "required": [
          "createdAt",
          "status",
          "access",
          "attemptId",
          "countryCode"
        ],
        "properties": {
          "email": {
            "type": "string",
            "description": "The email used for Age Assurance."
          },
          "access": {
            "type": "string",
            "description": "The access level granted based on Age Assurance data we've processed.",
            "enum": [
              "unknown",
              "none",
              "safe",
              "full"
            ]
          },
          "initIp": {
            "type": "string",
            "description": "The IP address used when initiating the Age Assurance flow."
          },
          "initUa": {
            "type": "string",
            "description": "The user agent used when initiating the Age Assurance flow."
          },
          "status": {
            "type": "string",
            "description": "The status of the Age Assurance process.",
            "enum": [
              "unknown",
              "pending",
              "assured",
              "blocked"
            ]
          },
          "attemptId": {
            "type": "string",
            "description": "The unique identifier for this instance of the Age Assurance flow, in UUID format."
          },
          "createdAt": {
            "type": "string",
            "description": "The date and time of this write operation.",
            "format": "date-time"
          },
          "completeIp": {
            "type": "string",
            "description": "The IP address used when completing the Age Assurance flow."
          },
          "completeUa": {
            "type": "string",
            "description": "The user agent used when completing the Age Assurance flow."
          },
          "regionCode": {
            "type": "string",
            "description": "The ISO 3166-2 region code provided when beginning the Age Assurance flow."
          },
          "countryCode": {
            "type": "string",
            "description": "The ISO 3166-1 alpha-2 country code provided when beginning the Age Assurance flow."
          }
        }
      },
      "app.bsky.ageassurance.defs.state": {
        "type": "object",
        "description": "The user's computed Age Assurance state.",
        "required": [
          "status",
          "access"
        ],
        "properties": {
          "access": {
            "$ref": "#/components/schemas/app.bsky.ageassurance.defs.access"
          },
          "status": {
            "$ref": "#/components/schemas/app.bsky.ageassurance.defs.status"
          },
          "lastInitiatedAt": {
            "type": "string",
            "description": "The timestamp when this state was last updated.",
            "format": "date-time"
          }
        }
      },
      "app.bsky.ageassurance.defs.access": {
        "type": "string",
        "description": "The access level granted based on Age Assurance data we've processed.",
        "enum": [
          "unknown",
          "none",
          "safe",
          "full"
        ]
      },
      "app.bsky.ageassurance.defs.config": {
        "type": "object",
        "required": [
          "regions"
        ],
        "properties": {
          "regions": {
            "type": "array",
            "description": "The per-region Age Assurance configuration.",
            "items": {
              "$ref": "#/components/schemas/app.bsky.ageassurance.defs.configRegion"
            }
          }
        }
      },
      "app.bsky.ageassurance.defs.status": {
        "type": "string",
        "description": "The status of the Age Assurance process.",
        "enum": [
          "unknown",
          "pending",
          "assured",
          "blocked"
        ]
      },
      "app.bsky.ageassurance.defs.configRegion": {
        "type": "object",
        "description": "The Age Assurance configuration for a specific region.",
        "required": [
          "countryCode",
          "minAccessAge",
          "rules"
        ],
        "properties": {
          "rules": {
            "type": "array",
            "description": "The ordered list of Age Assurance rules that apply to this region. Rules should be applied in order, and the first matching rule determines the access level granted. The rules array should always include a default rule as the last item.",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/app.bsky.ageassurance.defs.configRegionRuleDefault"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.ageassurance.defs.configRegionRuleIfDeclaredOverAge"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.ageassurance.defs.configRegionRuleIfDeclaredUnderAge"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.ageassurance.defs.configRegionRuleIfAssuredOverAge"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.ageassurance.defs.configRegionRuleIfAssuredUnderAge"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.ageassurance.defs.configRegionRuleIfAccountNewerThan"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.ageassurance.defs.configRegionRuleIfAccountOlderThan"
                }
              ]
            }
          },
          "regionCode": {
            "type": "string",
            "description": "The ISO 3166-2 region code this configuration applies to. If omitted, the configuration applies to the entire country."
          },
          "countryCode": {
            "type": "string",
            "description": "The ISO 3166-1 alpha-2 country code this configuration applies to."
          },
          "minAccessAge": {
            "type": "integer",
            "description": "The minimum age (as a whole integer) required to use Bluesky in this region."
          }
        }
      },
      "app.bsky.ageassurance.defs.stateMetadata": {
        "type": "object",
        "description": "Additional metadata needed to compute Age Assurance state client-side.",
        "required": [],
        "properties": {
          "accountCreatedAt": {
            "type": "string",
            "description": "The account creation timestamp.",
            "format": "date-time"
          }
        }
      },
      "app.bsky.ageassurance.defs.configRegionRuleDefault": {
        "type": "object",
        "description": "Age Assurance rule that applies by default.",
        "required": [
          "access"
        ],
        "properties": {
          "access": {
            "$ref": "#/components/schemas/app.bsky.ageassurance.defs.access"
          }
        }
      },
      "app.bsky.ageassurance.defs.configRegionRuleIfAssuredOverAge": {
        "type": "object",
        "description": "Age Assurance rule that applies if the user has been assured to be equal-to or over a certain age.",
        "required": [
          "age",
          "access"
        ],
        "properties": {
          "age": {
            "type": "integer",
            "description": "The age threshold as a whole integer."
          },
          "access": {
            "$ref": "#/components/schemas/app.bsky.ageassurance.defs.access"
          }
        }
      },
      "app.bsky.ageassurance.defs.configRegionRuleIfAssuredUnderAge": {
        "type": "object",
        "description": "Age Assurance rule that applies if the user has been assured to be under a certain age.",
        "required": [
          "age",
          "access"
        ],
        "properties": {
          "age": {
            "type": "integer",
            "description": "The age threshold as a whole integer."
          },
          "access": {
            "$ref": "#/components/schemas/app.bsky.ageassurance.defs.access"
          }
        }
      },
      "app.bsky.ageassurance.defs.configRegionRuleIfDeclaredOverAge": {
        "type": "object",
        "description": "Age Assurance rule that applies if the user has declared themselves equal-to or over a certain age.",
        "required": [
          "age",
          "access"
        ],
        "properties": {
          "age": {
            "type": "integer",
            "description": "The age threshold as a whole integer."
          },
          "access": {
            "$ref": "#/components/schemas/app.bsky.ageassurance.defs.access"
          }
        }
      },
      "app.bsky.ageassurance.defs.configRegionRuleIfAccountNewerThan": {
        "type": "object",
        "description": "Age Assurance rule that applies if the account is equal-to or newer than a certain date.",
        "required": [
          "date",
          "access"
        ],
        "properties": {
          "date": {
            "type": "string",
            "description": "The date threshold as a datetime string.",
            "format": "date-time"
          },
          "access": {
            "$ref": "#/components/schemas/app.bsky.ageassurance.defs.access"
          }
        }
      },
      "app.bsky.ageassurance.defs.configRegionRuleIfAccountOlderThan": {
        "type": "object",
        "description": "Age Assurance rule that applies if the account is older than a certain date.",
        "required": [
          "date",
          "access"
        ],
        "properties": {
          "date": {
            "type": "string",
            "description": "The date threshold as a datetime string.",
            "format": "date-time"
          },
          "access": {
            "$ref": "#/components/schemas/app.bsky.ageassurance.defs.access"
          }
        }
      },
      "app.bsky.ageassurance.defs.configRegionRuleIfDeclaredUnderAge": {
        "type": "object",
        "description": "Age Assurance rule that applies if the user has declared themselves under a certain age.",
        "required": [
          "age",
          "access"
        ],
        "properties": {
          "age": {
            "type": "integer",
            "description": "The age threshold as a whole integer."
          },
          "access": {
            "$ref": "#/components/schemas/app.bsky.ageassurance.defs.access"
          }
        }
      },
      "app.bsky.bookmark.defs.bookmark": {
        "type": "object",
        "description": "Object used to store bookmark data in stash.",
        "required": [
          "subject"
        ],
        "properties": {
          "subject": {
            "$ref": "#/components/schemas/com.atproto.repo.strongRef"
          }
        }
      },
      "app.bsky.bookmark.defs.bookmarkView": {
        "type": "object",
        "required": [
          "subject",
          "item"
        ],
        "properties": {
          "item": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.blockedPost"
              },
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.notFoundPost"
              },
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.postView"
              }
            ]
          },
          "subject": {
            "$ref": "#/components/schemas/com.atproto.repo.strongRef"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "app.bsky.contact.defs.syncStatus": {
        "type": "object",
        "required": [
          "syncedAt",
          "matchesCount"
        ],
        "properties": {
          "syncedAt": {
            "type": "string",
            "description": "Last date when contacts where imported.",
            "format": "date-time"
          },
          "matchesCount": {
            "type": "integer",
            "description": "Number of existing contact matches resulting of the user imports and of their imported contacts having imported the user. Matches stop being counted when the user either follows the matched contact or dismisses the match.",
            "minimum": 0
          }
        }
      },
      "app.bsky.contact.defs.notification": {
        "type": "object",
        "description": "A stash object to be sent via bsync representing a notification to be created.",
        "required": [
          "from",
          "to"
        ],
        "properties": {
          "to": {
            "type": "string",
            "description": "The DID of who this notification should go to.",
            "format": "did"
          },
          "from": {
            "type": "string",
            "description": "The DID of who this notification comes from.",
            "format": "did"
          }
        }
      },
      "app.bsky.contact.defs.matchAndContactIndex": {
        "type": "object",
        "description": "Associates a profile with the positional index of the contact import input in the call to `app.bsky.contact.importContacts`, so clients can know which phone caused a particular match.",
        "required": [
          "match",
          "contactIndex"
        ],
        "properties": {
          "match": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
          },
          "contactIndex": {
            "type": "integer",
            "description": "The index of this match in the import contact input.",
            "minimum": 0,
            "maximum": 999
          }
        }
      },
      "app.bsky.draft.defs.draft": {
        "type": "object",
        "description": "A draft containing an array of draft posts.",
        "required": [
          "posts"
        ],
        "properties": {
          "langs": {
            "type": "array",
            "description": "Indicates human language of posts primary text content.",
            "items": {
              "type": "string",
              "format": "language"
            },
            "maxItems": 3
          },
          "posts": {
            "type": "array",
            "description": "Array of draft posts that compose this draft.",
            "items": {
              "$ref": "#/components/schemas/app.bsky.draft.defs.draftPost"
            },
            "maxItems": 100
          },
          "deviceId": {
            "type": "string",
            "description": "UUIDv4 identifier of the device that created this draft.",
            "maxLength": 100
          },
          "deviceName": {
            "type": "string",
            "description": "The device and/or platform on which the draft was created.",
            "maxLength": 100
          },
          "threadgateAllow": {
            "type": "array",
            "description": "Allow-rules for the threadgate to be created when this draft is published.",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/app.bsky.feed.threadgate.mentionRule"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.feed.threadgate.followerRule"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.feed.threadgate.followingRule"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.feed.threadgate.listRule"
                }
              ]
            },
            "maxItems": 5
          },
          "postgateEmbeddingRules": {
            "type": "array",
            "description": "Embedding rules for the postgates to be created when this draft is published.",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/app.bsky.feed.postgate.disableRule"
                }
              ]
            },
            "maxItems": 5
          }
        }
      },
      "app.bsky.draft.defs.draftPost": {
        "type": "object",
        "description": "One of the posts that compose a draft.",
        "required": [
          "text"
        ],
        "properties": {
          "text": {
            "type": "string",
            "description": "The primary post content. It has a higher limit than post contents to allow storing a larger text that can later be refined into smaller posts.",
            "maxLength": 10000
          },
          "labels": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/com.atproto.label.defs.selfLabels"
              }
            ]
          },
          "embedImages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.draft.defs.draftEmbedImage"
            },
            "maxItems": 4
          },
          "embedVideos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.draft.defs.draftEmbedVideo"
            },
            "maxItems": 1
          },
          "embedRecords": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.draft.defs.draftEmbedRecord"
            },
            "maxItems": 1
          },
          "embedExternals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.draft.defs.draftEmbedExternal"
            },
            "maxItems": 1
          }
        }
      },
      "app.bsky.draft.defs.draftView": {
        "type": "object",
        "description": "View to present drafts data to users.",
        "required": [
          "id",
          "draft",
          "createdAt",
          "updatedAt"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "A TID to be used as a draft identifier.",
            "format": "tid"
          },
          "draft": {
            "$ref": "#/components/schemas/app.bsky.draft.defs.draft"
          },
          "createdAt": {
            "type": "string",
            "description": "The time the draft was created.",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "description": "The time the draft was last updated.",
            "format": "date-time"
          }
        }
      },
      "app.bsky.draft.defs.draftWithId": {
        "type": "object",
        "description": "A draft with an identifier, used to store drafts in private storage (stash).",
        "required": [
          "id",
          "draft"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "A TID to be used as a draft identifier.",
            "format": "tid"
          },
          "draft": {
            "$ref": "#/components/schemas/app.bsky.draft.defs.draft"
          }
        }
      },
      "app.bsky.draft.defs.draftEmbedImage": {
        "type": "object",
        "required": [
          "localRef"
        ],
        "properties": {
          "alt": {
            "type": "string"
          },
          "localRef": {
            "$ref": "#/components/schemas/app.bsky.draft.defs.draftEmbedLocalRef"
          }
        }
      },
      "app.bsky.draft.defs.draftEmbedVideo": {
        "type": "object",
        "required": [
          "localRef"
        ],
        "properties": {
          "alt": {
            "type": "string"
          },
          "captions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.draft.defs.draftEmbedCaption"
            },
            "maxItems": 20
          },
          "localRef": {
            "$ref": "#/components/schemas/app.bsky.draft.defs.draftEmbedLocalRef"
          }
        }
      },
      "app.bsky.draft.defs.draftEmbedRecord": {
        "type": "object",
        "required": [
          "record"
        ],
        "properties": {
          "record": {
            "$ref": "#/components/schemas/com.atproto.repo.strongRef"
          }
        }
      },
      "app.bsky.draft.defs.draftEmbedCaption": {
        "type": "object",
        "required": [
          "lang",
          "content"
        ],
        "properties": {
          "lang": {
            "type": "string",
            "format": "language"
          },
          "content": {
            "type": "string",
            "maxLength": 10000
          }
        }
      },
      "app.bsky.draft.defs.draftEmbedExternal": {
        "type": "object",
        "required": [
          "uri"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "app.bsky.draft.defs.draftEmbedLocalRef": {
        "type": "object",
        "required": [
          "path"
        ],
        "properties": {
          "path": {
            "type": "string",
            "description": "Local, on-device ref to file to be embedded. Embeds are currently device-bound for drafts.",
            "minLength": 1,
            "maxLength": 1024
          }
        }
      },
      "app.bsky.embed.defs.aspectRatio": {
        "type": "object",
        "description": "width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.",
        "required": [
          "width",
          "height"
        ],
        "properties": {
          "width": {
            "type": "integer",
            "minimum": 1
          },
          "height": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "app.bsky.embed.external": {
        "type": "object",
        "description": "A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post).",
        "required": [
          "external"
        ],
        "properties": {
          "external": {
            "$ref": "#/components/schemas/app.bsky.embed.external.external"
          }
        }
      },
      "app.bsky.embed.external.view": {
        "type": "object",
        "required": [
          "external"
        ],
        "properties": {
          "external": {
            "$ref": "#/components/schemas/app.bsky.embed.external.viewExternal"
          }
        }
      },
      "app.bsky.embed.external.external": {
        "type": "object",
        "required": [
          "uri",
          "title",
          "description"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "uri"
          },
          "thumb": {
            "type": "string",
            "format": "binary",
            "maxLength": 1000000
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      },
      "app.bsky.embed.external.viewExternal": {
        "type": "object",
        "required": [
          "uri",
          "title",
          "description"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "uri"
          },
          "thumb": {
            "type": "string",
            "format": "uri"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      },
      "app.bsky.embed.images": {
        "type": "object",
        "required": [
          "images"
        ],
        "properties": {
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.embed.images.image"
            },
            "maxItems": 4
          }
        }
      },
      "app.bsky.embed.images.view": {
        "type": "object",
        "required": [
          "images"
        ],
        "properties": {
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.embed.images.viewImage"
            },
            "maxItems": 4
          }
        }
      },
      "app.bsky.embed.images.image": {
        "type": "object",
        "required": [
          "image",
          "alt"
        ],
        "properties": {
          "alt": {
            "type": "string",
            "description": "Alt text description of the image, for accessibility."
          },
          "image": {
            "type": "string",
            "format": "binary",
            "description": "The raw image file. May be up to 2 MB, formerly limited to 1 MB.",
            "maxLength": 2000000
          },
          "aspectRatio": {
            "$ref": "#/components/schemas/app.bsky.embed.defs.aspectRatio"
          }
        }
      },
      "app.bsky.embed.images.viewImage": {
        "type": "object",
        "required": [
          "thumb",
          "fullsize",
          "alt"
        ],
        "properties": {
          "alt": {
            "type": "string",
            "description": "Alt text description of the image, for accessibility."
          },
          "thumb": {
            "type": "string",
            "description": "Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View.",
            "format": "uri"
          },
          "fullsize": {
            "type": "string",
            "description": "Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View.",
            "format": "uri"
          },
          "aspectRatio": {
            "$ref": "#/components/schemas/app.bsky.embed.defs.aspectRatio"
          }
        }
      },
      "app.bsky.embed.record": {
        "type": "object",
        "required": [
          "record"
        ],
        "properties": {
          "record": {
            "$ref": "#/components/schemas/com.atproto.repo.strongRef"
          }
        }
      },
      "app.bsky.embed.record.view": {
        "type": "object",
        "required": [
          "record"
        ],
        "properties": {
          "record": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/app.bsky.embed.record.viewRecord"
              },
              {
                "$ref": "#/components/schemas/app.bsky.embed.record.viewNotFound"
              },
              {
                "$ref": "#/components/schemas/app.bsky.embed.record.viewBlocked"
              },
              {
                "$ref": "#/components/schemas/app.bsky.embed.record.viewDetached"
              },
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.generatorView"
              },
              {
                "$ref": "#/components/schemas/app.bsky.graph.defs.listView"
              },
              {
                "$ref": "#/components/schemas/app.bsky.labeler.defs.labelerView"
              },
              {
                "$ref": "#/components/schemas/app.bsky.graph.defs.starterPackViewBasic"
              }
            ]
          }
        }
      },
      "app.bsky.embed.record.viewRecord": {
        "type": "object",
        "required": [
          "uri",
          "cid",
          "author",
          "value",
          "indexedAt"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "value": {},
          "author": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileViewBasic"
          },
          "embeds": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/app.bsky.embed.images.view"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.embed.video.view"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.embed.external.view"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.embed.record.view"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.embed.recordWithMedia.view"
                }
              ]
            }
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "likeCount": {
            "type": "integer"
          },
          "quoteCount": {
            "type": "integer"
          },
          "replyCount": {
            "type": "integer"
          },
          "repostCount": {
            "type": "integer"
          }
        }
      },
      "app.bsky.embed.record.viewBlocked": {
        "type": "object",
        "required": [
          "uri",
          "blocked",
          "author"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "author": {
            "$ref": "#/components/schemas/app.bsky.feed.defs.blockedAuthor"
          },
          "blocked": {
            "type": "boolean",
            "default": true
          }
        }
      },
      "app.bsky.embed.record.viewDetached": {
        "type": "object",
        "required": [
          "uri",
          "detached"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "detached": {
            "type": "boolean",
            "default": true
          }
        }
      },
      "app.bsky.embed.record.viewNotFound": {
        "type": "object",
        "required": [
          "uri",
          "notFound"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "notFound": {
            "type": "boolean",
            "default": true
          }
        }
      },
      "app.bsky.embed.recordWithMedia": {
        "type": "object",
        "required": [
          "record",
          "media"
        ],
        "properties": {
          "media": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/app.bsky.embed.images"
              },
              {
                "$ref": "#/components/schemas/app.bsky.embed.video"
              },
              {
                "$ref": "#/components/schemas/app.bsky.embed.external"
              }
            ]
          },
          "record": {
            "$ref": "#/components/schemas/app.bsky.embed.record"
          }
        }
      },
      "app.bsky.embed.recordWithMedia.view": {
        "type": "object",
        "required": [
          "record",
          "media"
        ],
        "properties": {
          "media": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/app.bsky.embed.images.view"
              },
              {
                "$ref": "#/components/schemas/app.bsky.embed.video.view"
              },
              {
                "$ref": "#/components/schemas/app.bsky.embed.external.view"
              }
            ]
          },
          "record": {
            "$ref": "#/components/schemas/app.bsky.embed.record.view"
          }
        }
      },
      "app.bsky.embed.video": {
        "type": "object",
        "required": [
          "video"
        ],
        "properties": {
          "alt": {
            "type": "string",
            "description": "Alt text description of the video, for accessibility.",
            "maxLength": 10000
          },
          "video": {
            "type": "string",
            "format": "binary",
            "description": "The mp4 video file. May be up to 100mb, formerly limited to 50mb.",
            "maxLength": 100000000
          },
          "captions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.embed.video.caption"
            },
            "maxItems": 20
          },
          "aspectRatio": {
            "$ref": "#/components/schemas/app.bsky.embed.defs.aspectRatio"
          },
          "presentation": {
            "type": "string",
            "description": "A hint to the client about how to present the video.",
            "enum": [
              "default",
              "gif"
            ]
          }
        }
      },
      "app.bsky.embed.video.view": {
        "type": "object",
        "required": [
          "cid",
          "playlist"
        ],
        "properties": {
          "alt": {
            "type": "string",
            "maxLength": 10000
          },
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "playlist": {
            "type": "string",
            "format": "uri"
          },
          "thumbnail": {
            "type": "string",
            "format": "uri"
          },
          "aspectRatio": {
            "$ref": "#/components/schemas/app.bsky.embed.defs.aspectRatio"
          },
          "presentation": {
            "type": "string",
            "description": "A hint to the client about how to present the video.",
            "enum": [
              "default",
              "gif"
            ]
          }
        }
      },
      "app.bsky.embed.video.caption": {
        "type": "object",
        "required": [
          "lang",
          "file"
        ],
        "properties": {
          "file": {
            "type": "string",
            "format": "binary",
            "maxLength": 20000
          },
          "lang": {
            "type": "string",
            "format": "language"
          }
        }
      },
      "app.bsky.feed.defs.postView": {
        "type": "object",
        "required": [
          "uri",
          "cid",
          "author",
          "record",
          "indexedAt"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "debug": {},
          "embed": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/app.bsky.embed.images.view"
              },
              {
                "$ref": "#/components/schemas/app.bsky.embed.video.view"
              },
              {
                "$ref": "#/components/schemas/app.bsky.embed.external.view"
              },
              {
                "$ref": "#/components/schemas/app.bsky.embed.record.view"
              },
              {
                "$ref": "#/components/schemas/app.bsky.embed.recordWithMedia.view"
              }
            ]
          },
          "author": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileViewBasic"
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "record": {},
          "viewer": {
            "$ref": "#/components/schemas/app.bsky.feed.defs.viewerState"
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "likeCount": {
            "type": "integer"
          },
          "quoteCount": {
            "type": "integer"
          },
          "replyCount": {
            "type": "integer"
          },
          "threadgate": {
            "$ref": "#/components/schemas/app.bsky.feed.defs.threadgateView"
          },
          "repostCount": {
            "type": "integer"
          },
          "bookmarkCount": {
            "type": "integer"
          }
        }
      },
      "app.bsky.feed.defs.replyRef": {
        "type": "object",
        "required": [
          "root",
          "parent"
        ],
        "properties": {
          "root": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.postView"
              },
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.notFoundPost"
              },
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.blockedPost"
              }
            ]
          },
          "parent": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.postView"
              },
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.notFoundPost"
              },
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.blockedPost"
              }
            ]
          },
          "grandparentAuthor": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileViewBasic"
          }
        }
      },
      "app.bsky.feed.defs.reasonPin": {
        "type": "object",
        "properties": {}
      },
      "app.bsky.feed.defs.blockedPost": {
        "type": "object",
        "required": [
          "uri",
          "blocked",
          "author"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "author": {
            "$ref": "#/components/schemas/app.bsky.feed.defs.blockedAuthor"
          },
          "blocked": {
            "type": "boolean",
            "default": true
          }
        }
      },
      "app.bsky.feed.defs.interaction": {
        "type": "object",
        "properties": {
          "item": {
            "type": "string",
            "format": "at-uri"
          },
          "event": {
            "type": "string",
            "enum": [
              "app.bsky.feed.defs#requestLess",
              "app.bsky.feed.defs#requestMore",
              "app.bsky.feed.defs#clickthroughItem",
              "app.bsky.feed.defs#clickthroughAuthor",
              "app.bsky.feed.defs#clickthroughReposter",
              "app.bsky.feed.defs#clickthroughEmbed",
              "app.bsky.feed.defs#interactionSeen",
              "app.bsky.feed.defs#interactionLike",
              "app.bsky.feed.defs#interactionRepost",
              "app.bsky.feed.defs#interactionReply",
              "app.bsky.feed.defs#interactionQuote",
              "app.bsky.feed.defs#interactionShare"
            ]
          },
          "reqId": {
            "type": "string",
            "description": "Unique identifier per request that may be passed back alongside interactions.",
            "maxLength": 100
          },
          "feedContext": {
            "type": "string",
            "description": "Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton.",
            "maxLength": 2000
          }
        }
      },
      "app.bsky.feed.defs.requestLess": {
        "type": "string",
        "format": "token",
        "description": "Request that less content like the given feed item be shown in the feed"
      },
      "app.bsky.feed.defs.requestMore": {
        "type": "string",
        "format": "token",
        "description": "Request that more content like the given feed item be shown in the feed"
      },
      "app.bsky.feed.defs.viewerState": {
        "type": "object",
        "description": "Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests.",
        "properties": {
          "like": {
            "type": "string",
            "format": "at-uri"
          },
          "pinned": {
            "type": "boolean"
          },
          "repost": {
            "type": "string",
            "format": "at-uri"
          },
          "bookmarked": {
            "type": "boolean"
          },
          "threadMuted": {
            "type": "boolean"
          },
          "replyDisabled": {
            "type": "boolean"
          },
          "embeddingDisabled": {
            "type": "boolean"
          }
        }
      },
      "app.bsky.feed.defs.feedViewPost": {
        "type": "object",
        "required": [
          "post"
        ],
        "properties": {
          "post": {
            "$ref": "#/components/schemas/app.bsky.feed.defs.postView"
          },
          "reply": {
            "$ref": "#/components/schemas/app.bsky.feed.defs.replyRef"
          },
          "reqId": {
            "type": "string",
            "description": "Unique identifier per request that may be passed back alongside interactions.",
            "maxLength": 100
          },
          "reason": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.reasonRepost"
              },
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.reasonPin"
              }
            ]
          },
          "feedContext": {
            "type": "string",
            "description": "Context provided by feed generator that may be passed back alongside interactions.",
            "maxLength": 2000
          }
        }
      },
      "app.bsky.feed.defs.notFoundPost": {
        "type": "object",
        "required": [
          "uri",
          "notFound"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "notFound": {
            "type": "boolean",
            "default": true
          }
        }
      },
      "app.bsky.feed.defs.reasonRepost": {
        "type": "object",
        "required": [
          "by",
          "indexedAt"
        ],
        "properties": {
          "by": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileViewBasic"
          },
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "app.bsky.feed.defs.blockedAuthor": {
        "type": "object",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "viewer": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.viewerState"
          }
        }
      },
      "app.bsky.feed.defs.generatorView": {
        "type": "object",
        "required": [
          "uri",
          "cid",
          "did",
          "creator",
          "displayName",
          "indexedAt"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "did": {
            "type": "string",
            "format": "did"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "avatar": {
            "type": "string",
            "format": "uri"
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "viewer": {
            "$ref": "#/components/schemas/app.bsky.feed.defs.generatorViewerState"
          },
          "creator": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "likeCount": {
            "type": "integer",
            "minimum": 0
          },
          "contentMode": {
            "type": "string",
            "enum": [
              "app.bsky.feed.defs#contentModeUnspecified",
              "app.bsky.feed.defs#contentModeVideo"
            ]
          },
          "description": {
            "type": "string",
            "maxLength": 3000
          },
          "displayName": {
            "type": "string"
          },
          "descriptionFacets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.richtext.facet"
            }
          },
          "acceptsInteractions": {
            "type": "boolean"
          }
        }
      },
      "app.bsky.feed.defs.threadContext": {
        "type": "object",
        "description": "Metadata about this post within the context of the thread it is in.",
        "properties": {
          "rootAuthorLike": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "app.bsky.feed.defs.threadViewPost": {
        "type": "object",
        "required": [
          "post"
        ],
        "properties": {
          "post": {
            "$ref": "#/components/schemas/app.bsky.feed.defs.postView"
          },
          "parent": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.threadViewPost"
              },
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.notFoundPost"
              },
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.blockedPost"
              }
            ]
          },
          "replies": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/app.bsky.feed.defs.threadViewPost"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.feed.defs.notFoundPost"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.feed.defs.blockedPost"
                }
              ]
            }
          },
          "threadContext": {
            "$ref": "#/components/schemas/app.bsky.feed.defs.threadContext"
          }
        }
      },
      "app.bsky.feed.defs.threadgateView": {
        "type": "object",
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "lists": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.graph.defs.listViewBasic"
            }
          },
          "record": {}
        }
      },
      "app.bsky.feed.defs.interactionLike": {
        "type": "string",
        "format": "token",
        "description": "User liked the feed item"
      },
      "app.bsky.feed.defs.interactionSeen": {
        "type": "string",
        "format": "token",
        "description": "Feed item was seen by user"
      },
      "app.bsky.feed.defs.clickthroughItem": {
        "type": "string",
        "format": "token",
        "description": "User clicked through to the feed item"
      },
      "app.bsky.feed.defs.contentModeVideo": {
        "type": "string",
        "format": "token",
        "description": "Declares the feed generator returns posts containing app.bsky.embed.video embeds."
      },
      "app.bsky.feed.defs.interactionQuote": {
        "type": "string",
        "format": "token",
        "description": "User quoted the feed item"
      },
      "app.bsky.feed.defs.interactionReply": {
        "type": "string",
        "format": "token",
        "description": "User replied to the feed item"
      },
      "app.bsky.feed.defs.interactionShare": {
        "type": "string",
        "format": "token",
        "description": "User shared the feed item"
      },
      "app.bsky.feed.defs.skeletonFeedPost": {
        "type": "object",
        "required": [
          "post"
        ],
        "properties": {
          "post": {
            "type": "string",
            "format": "at-uri"
          },
          "reason": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.skeletonReasonRepost"
              },
              {
                "$ref": "#/components/schemas/app.bsky.feed.defs.skeletonReasonPin"
              }
            ]
          },
          "feedContext": {
            "type": "string",
            "description": "Context that will be passed through to client and may be passed to feed generator back alongside interactions.",
            "maxLength": 2000
          }
        }
      },
      "app.bsky.feed.defs.clickthroughEmbed": {
        "type": "string",
        "format": "token",
        "description": "User clicked through to the embedded content of the feed item"
      },
      "app.bsky.feed.defs.interactionRepost": {
        "type": "string",
        "format": "token",
        "description": "User reposted the feed item"
      },
      "app.bsky.feed.defs.skeletonReasonPin": {
        "type": "object",
        "properties": {}
      },
      "app.bsky.feed.defs.clickthroughAuthor": {
        "type": "string",
        "format": "token",
        "description": "User clicked through to the author of the feed item"
      },
      "app.bsky.feed.defs.clickthroughReposter": {
        "type": "string",
        "format": "token",
        "description": "User clicked through to the reposter of the feed item"
      },
      "app.bsky.feed.defs.generatorViewerState": {
        "type": "object",
        "properties": {
          "like": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "app.bsky.feed.defs.skeletonReasonRepost": {
        "type": "object",
        "required": [
          "repost"
        ],
        "properties": {
          "repost": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "app.bsky.feed.defs.contentModeUnspecified": {
        "type": "string",
        "format": "token",
        "description": "Declares the feed generator returns any types of posts."
      },
      "app.bsky.feed.describeFeedGenerator.feed": {
        "type": "object",
        "required": [
          "uri"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "app.bsky.feed.describeFeedGenerator.links": {
        "type": "object",
        "properties": {
          "privacyPolicy": {
            "type": "string"
          },
          "termsOfService": {
            "type": "string"
          }
        }
      },
      "app.bsky.feed.getLikes.like": {
        "type": "object",
        "required": [
          "indexedAt",
          "createdAt",
          "actor"
        ],
        "properties": {
          "actor": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "app.bsky.feed.postgate": {
        "type": "object",
        "required": [
          "post",
          "createdAt"
        ],
        "properties": {
          "post": {
            "type": "string",
            "description": "Reference (AT-URI) to the post record.",
            "format": "at-uri"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "embeddingRules": {
            "type": "array",
            "description": "List of rules defining who can embed this post. If value is an empty array or is undefined, no particular rules apply and anyone can embed.",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/app.bsky.feed.postgate.disableRule"
                }
              ]
            },
            "maxItems": 5
          },
          "detachedEmbeddingUris": {
            "type": "array",
            "description": "List of AT-URIs embedding this post that the author has detached from.",
            "items": {
              "type": "string",
              "format": "at-uri"
            },
            "maxItems": 50
          }
        }
      },
      "app.bsky.feed.postgate.disableRule": {
        "type": "object",
        "description": "Disables embedding of this post.",
        "properties": {}
      },
      "app.bsky.feed.threadgate": {
        "type": "object",
        "required": [
          "post",
          "createdAt"
        ],
        "properties": {
          "post": {
            "type": "string",
            "description": "Reference (AT-URI) to the post record.",
            "format": "at-uri"
          },
          "allow": {
            "type": "array",
            "description": "List of rules defining who can reply to this post. If value is an empty array, no one can reply. If value is undefined, anyone can reply.",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/app.bsky.feed.threadgate.mentionRule"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.feed.threadgate.followerRule"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.feed.threadgate.followingRule"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.feed.threadgate.listRule"
                }
              ]
            },
            "maxItems": 5
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "hiddenReplies": {
            "type": "array",
            "description": "List of hidden reply URIs.",
            "items": {
              "type": "string",
              "format": "at-uri"
            },
            "maxItems": 300
          }
        }
      },
      "app.bsky.feed.threadgate.listRule": {
        "type": "object",
        "description": "Allow replies from actors on a list.",
        "required": [
          "list"
        ],
        "properties": {
          "list": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "app.bsky.feed.threadgate.mentionRule": {
        "type": "object",
        "description": "Allow replies from actors mentioned in your post.",
        "properties": {}
      },
      "app.bsky.feed.threadgate.followerRule": {
        "type": "object",
        "description": "Allow replies from actors who follow you.",
        "properties": {}
      },
      "app.bsky.feed.threadgate.followingRule": {
        "type": "object",
        "description": "Allow replies from actors you follow.",
        "properties": {}
      },
      "app.bsky.graph.defs.modlist": {
        "type": "string",
        "format": "token",
        "description": "A list of actors to apply an aggregate moderation action (mute/block) on."
      },
      "app.bsky.graph.defs.listView": {
        "type": "object",
        "required": [
          "uri",
          "cid",
          "creator",
          "name",
          "purpose",
          "indexedAt"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "avatar": {
            "type": "string",
            "format": "uri"
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "viewer": {
            "$ref": "#/components/schemas/app.bsky.graph.defs.listViewerState"
          },
          "creator": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
          },
          "purpose": {
            "$ref": "#/components/schemas/app.bsky.graph.defs.listPurpose"
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "maxLength": 3000
          },
          "listItemCount": {
            "type": "integer",
            "minimum": 0
          },
          "descriptionFacets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.richtext.facet"
            }
          }
        }
      },
      "app.bsky.graph.defs.curatelist": {
        "type": "string",
        "format": "token",
        "description": "A list of actors used for curation purposes such as list feeds or interaction gating."
      },
      "app.bsky.graph.defs.listPurpose": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/app.bsky.graph.defs.modlist"
          },
          {
            "$ref": "#/components/schemas/app.bsky.graph.defs.curatelist"
          },
          {
            "$ref": "#/components/schemas/app.bsky.graph.defs.referencelist"
          }
        ]
      },
      "app.bsky.graph.defs.listItemView": {
        "type": "object",
        "required": [
          "uri",
          "subject"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "subject": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
          }
        }
      },
      "app.bsky.graph.defs.relationship": {
        "type": "object",
        "description": "lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object)",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "blocking": {
            "type": "string",
            "description": "if the actor blocks this DID, this is the AT-URI of the block record",
            "format": "at-uri"
          },
          "blockedBy": {
            "type": "string",
            "description": "if the actor is blocked by this DID, contains the AT-URI of the block record",
            "format": "at-uri"
          },
          "following": {
            "type": "string",
            "description": "if the actor follows this DID, this is the AT-URI of the follow record",
            "format": "at-uri"
          },
          "followedBy": {
            "type": "string",
            "description": "if the actor is followed by this DID, contains the AT-URI of the follow record",
            "format": "at-uri"
          },
          "blockedByList": {
            "type": "string",
            "description": "if the actor is blocked by this DID via a block list, contains the AT-URI of the listblock record",
            "format": "at-uri"
          },
          "blockingByList": {
            "type": "string",
            "description": "if the actor blocks this DID via a block list, this is the AT-URI of the listblock record",
            "format": "at-uri"
          }
        }
      },
      "app.bsky.graph.defs.listViewBasic": {
        "type": "object",
        "required": [
          "uri",
          "cid",
          "name",
          "purpose"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "avatar": {
            "type": "string",
            "format": "uri"
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "viewer": {
            "$ref": "#/components/schemas/app.bsky.graph.defs.listViewerState"
          },
          "purpose": {
            "$ref": "#/components/schemas/app.bsky.graph.defs.listPurpose"
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "listItemCount": {
            "type": "integer",
            "minimum": 0
          }
        }
      },
      "app.bsky.graph.defs.notFoundActor": {
        "type": "object",
        "description": "indicates that a handle or DID could not be resolved",
        "required": [
          "actor",
          "notFound"
        ],
        "properties": {
          "actor": {
            "type": "string",
            "format": "at-identifier"
          },
          "notFound": {
            "type": "boolean",
            "default": true
          }
        }
      },
      "app.bsky.graph.defs.referencelist": {
        "type": "string",
        "format": "token",
        "description": "A list of actors used for only for reference purposes such as within a starter pack."
      },
      "app.bsky.graph.defs.listViewerState": {
        "type": "object",
        "properties": {
          "muted": {
            "type": "boolean"
          },
          "blocked": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "app.bsky.graph.defs.starterPackView": {
        "type": "object",
        "required": [
          "uri",
          "cid",
          "record",
          "creator",
          "indexedAt"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "list": {
            "$ref": "#/components/schemas/app.bsky.graph.defs.listViewBasic"
          },
          "feeds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.feed.defs.generatorView"
            },
            "maxItems": 3
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "record": {},
          "creator": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileViewBasic"
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "joinedWeekCount": {
            "type": "integer",
            "minimum": 0
          },
          "listItemsSample": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/app.bsky.graph.defs.listItemView"
            },
            "maxItems": 12
          },
          "joinedAllTimeCount": {
            "type": "integer",
            "minimum": 0
          }
        }
      },
      "app.bsky.graph.defs.starterPackViewBasic": {
        "type": "object",
        "required": [
          "uri",
          "cid",
          "record",
          "creator",
          "indexedAt"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "record": {},
          "creator": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileViewBasic"
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "listItemCount": {
            "type": "integer",
            "minimum": 0
          },
          "joinedWeekCount": {
            "type": "integer",
            "minimum": 0
          },
          "joinedAllTimeCount": {
            "type": "integer",
            "minimum": 0
          }
        }
      },
      "app.bsky.graph.getListsWithMembership.listWithMembership": {
        "type": "object",
        "description": "A list and an optional list item indicating membership of a target user to that list.",
        "required": [
          "list"
        ],
        "properties": {
          "list": {
            "$ref": "#/components/schemas/app.bsky.graph.defs.listView"
          },
          "listItem": {
            "$ref": "#/components/schemas/app.bsky.graph.defs.listItemView"
          }
        }
      },
      "app.bsky.graph.getStarterPacksWithMembership.starterPackWithMembership": {
        "type": "object",
        "description": "A starter pack and an optional list item indicating membership of a target user to that starter pack.",
        "required": [
          "starterPack"
        ],
        "properties": {
          "listItem": {
            "$ref": "#/components/schemas/app.bsky.graph.defs.listItemView"
          },
          "starterPack": {
            "$ref": "#/components/schemas/app.bsky.graph.defs.starterPackView"
          }
        }
      },
      "app.bsky.labeler.defs.labelerView": {
        "type": "object",
        "required": [
          "uri",
          "cid",
          "creator",
          "indexedAt"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "viewer": {
            "$ref": "#/components/schemas/app.bsky.labeler.defs.labelerViewerState"
          },
          "creator": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "likeCount": {
            "type": "integer",
            "minimum": 0
          }
        }
      },
      "app.bsky.labeler.defs.labelerPolicies": {
        "type": "object",
        "required": [
          "labelValues"
        ],
        "properties": {
          "labelValues": {
            "type": "array",
            "description": "The label values which this labeler publishes. May include global or custom labels.",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.labelValue"
            }
          },
          "labelValueDefinitions": {
            "type": "array",
            "description": "Label values created by this labeler and scoped exclusively to it. Labels defined here will override global label definitions for this labeler.",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.labelValueDefinition"
            }
          }
        }
      },
      "app.bsky.labeler.defs.labelerViewerState": {
        "type": "object",
        "properties": {
          "like": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "app.bsky.labeler.defs.labelerViewDetailed": {
        "type": "object",
        "required": [
          "uri",
          "cid",
          "creator",
          "policies",
          "indexedAt"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "viewer": {
            "$ref": "#/components/schemas/app.bsky.labeler.defs.labelerViewerState"
          },
          "creator": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
          },
          "policies": {
            "$ref": "#/components/schemas/app.bsky.labeler.defs.labelerPolicies"
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "likeCount": {
            "type": "integer",
            "minimum": 0
          },
          "reasonTypes": {
            "type": "array",
            "description": "The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed.",
            "items": {
              "$ref": "#/components/schemas/com.atproto.moderation.defs.reasonType"
            }
          },
          "subjectTypes": {
            "type": "array",
            "description": "The set of subject types (account, record, etc) this service accepts reports on.",
            "items": {
              "$ref": "#/components/schemas/com.atproto.moderation.defs.subjectType"
            }
          },
          "subjectCollections": {
            "type": "array",
            "description": "Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type.",
            "items": {
              "type": "string",
              "format": "nsid"
            }
          }
        }
      },
      "app.bsky.notification.defs.preference": {
        "type": "object",
        "required": [
          "list",
          "push"
        ],
        "properties": {
          "list": {
            "type": "boolean"
          },
          "push": {
            "type": "boolean"
          }
        }
      },
      "app.bsky.notification.defs.preferences": {
        "type": "object",
        "required": [
          "chat",
          "follow",
          "like",
          "likeViaRepost",
          "mention",
          "quote",
          "reply",
          "repost",
          "repostViaRepost",
          "starterpackJoined",
          "subscribedPost",
          "unverified",
          "verified"
        ],
        "properties": {
          "chat": {
            "$ref": "#/components/schemas/app.bsky.notification.defs.chatPreference"
          },
          "like": {
            "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
          },
          "quote": {
            "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
          },
          "reply": {
            "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
          },
          "follow": {
            "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
          },
          "repost": {
            "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
          },
          "mention": {
            "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
          },
          "verified": {
            "$ref": "#/components/schemas/app.bsky.notification.defs.preference"
          },
          "unverified": {
            "$ref": "#/components/schemas/app.bsky.notification.defs.preference"
          },
          "likeViaRepost": {
            "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
          },
          "subscribedPost": {
            "$ref": "#/components/schemas/app.bsky.notification.defs.preference"
          },
          "repostViaRepost": {
            "$ref": "#/components/schemas/app.bsky.notification.defs.filterablePreference"
          },
          "starterpackJoined": {
            "$ref": "#/components/schemas/app.bsky.notification.defs.preference"
          }
        }
      },
      "app.bsky.notification.defs.recordDeleted": {
        "type": "object",
        "properties": {}
      },
      "app.bsky.notification.defs.chatPreference": {
        "type": "object",
        "required": [
          "include",
          "push"
        ],
        "properties": {
          "push": {
            "type": "boolean"
          },
          "include": {
            "type": "string",
            "enum": [
              "all",
              "accepted"
            ]
          }
        }
      },
      "app.bsky.notification.defs.activitySubscription": {
        "type": "object",
        "required": [
          "post",
          "reply"
        ],
        "properties": {
          "post": {
            "type": "boolean"
          },
          "reply": {
            "type": "boolean"
          }
        }
      },
      "app.bsky.notification.defs.filterablePreference": {
        "type": "object",
        "required": [
          "include",
          "list",
          "push"
        ],
        "properties": {
          "list": {
            "type": "boolean"
          },
          "push": {
            "type": "boolean"
          },
          "include": {
            "type": "string",
            "enum": [
              "all",
              "follows"
            ]
          }
        }
      },
      "app.bsky.notification.defs.subjectActivitySubscription": {
        "type": "object",
        "description": "Object used to store activity subscription data in stash.",
        "required": [
          "subject",
          "activitySubscription"
        ],
        "properties": {
          "subject": {
            "type": "string",
            "format": "did"
          },
          "activitySubscription": {
            "$ref": "#/components/schemas/app.bsky.notification.defs.activitySubscription"
          }
        }
      },
      "app.bsky.notification.listNotifications.notification": {
        "type": "object",
        "required": [
          "uri",
          "cid",
          "author",
          "reason",
          "record",
          "isRead",
          "indexedAt"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "author": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileView"
          },
          "isRead": {
            "type": "boolean"
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "reason": {
            "type": "string",
            "description": "The reason why this notification was delivered - e.g. your post was liked, or you received a new follower.",
            "enum": [
              "like",
              "repost",
              "follow",
              "mention",
              "reply",
              "quote",
              "starterpack-joined",
              "verified",
              "unverified",
              "like-via-repost",
              "repost-via-repost",
              "subscribed-post",
              "contact-match"
            ]
          },
          "record": {},
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "reasonSubject": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "app.bsky.richtext.facet.tag": {
        "type": "object",
        "description": "Facet feature for a hashtag. The text usually includes a '#' prefix, but the facet reference should not (except in the case of 'double hash tags').",
        "required": [
          "tag"
        ],
        "properties": {
          "tag": {
            "type": "string",
            "maxLength": 640
          }
        }
      },
      "app.bsky.richtext.facet.link": {
        "type": "object",
        "description": "Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL.",
        "required": [
          "uri"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "app.bsky.richtext.facet": {
        "type": "object",
        "description": "Annotation of a sub-string within rich text.",
        "required": [
          "index",
          "features"
        ],
        "properties": {
          "index": {
            "$ref": "#/components/schemas/app.bsky.richtext.facet.byteSlice"
          },
          "features": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/app.bsky.richtext.facet.mention"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.richtext.facet.link"
                },
                {
                  "$ref": "#/components/schemas/app.bsky.richtext.facet.tag"
                }
              ]
            }
          }
        }
      },
      "app.bsky.richtext.facet.mention": {
        "type": "object",
        "description": "Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID.",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          }
        }
      },
      "app.bsky.richtext.facet.byteSlice": {
        "type": "object",
        "description": "Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets.",
        "required": [
          "byteStart",
          "byteEnd"
        ],
        "properties": {
          "byteEnd": {
            "type": "integer",
            "minimum": 0
          },
          "byteStart": {
            "type": "integer",
            "minimum": 0
          }
        }
      },
      "app.bsky.video.defs.jobStatus": {
        "type": "object",
        "required": [
          "jobId",
          "did",
          "state"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "blob": {
            "type": "string",
            "format": "binary"
          },
          "error": {
            "type": "string"
          },
          "jobId": {
            "type": "string"
          },
          "state": {
            "type": "string",
            "description": "The state of the video processing job. All values not listed as a known value indicate that the job is in process.",
            "enum": [
              "JOB_STATE_COMPLETED",
              "JOB_STATE_FAILED"
            ]
          },
          "message": {
            "type": "string"
          },
          "progress": {
            "type": "integer",
            "description": "Progress within the current processing state.",
            "minimum": 0,
            "maximum": 100
          }
        }
      },
      "chat.bsky.actor.defs.memberRole": {
        "type": "string",
        "enum": [
          "owner",
          "standard"
        ]
      },
      "chat.bsky.actor.defs.groupConvoMember": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here].",
        "required": [
          "role"
        ],
        "properties": {
          "role": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.memberRole"
          },
          "addedBy": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          }
        }
      },
      "chat.bsky.actor.defs.profileViewBasic": {
        "type": "object",
        "required": [
          "did",
          "handle"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "kind": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/chat.bsky.actor.defs.directConvoMember"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.actor.defs.groupConvoMember"
              }
            ]
          },
          "avatar": {
            "type": "string",
            "format": "uri"
          },
          "handle": {
            "type": "string",
            "format": "handle"
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "viewer": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.viewerState"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "associated": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileAssociated"
          },
          "displayName": {
            "type": "string",
            "maxLength": 640
          },
          "chatDisabled": {
            "type": "boolean",
            "description": "Set to true when the actor cannot actively participate in conversations"
          },
          "verification": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.verificationState"
          }
        }
      },
      "chat.bsky.actor.defs.directConvoMember": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here].",
        "properties": {}
      },
      "chat.bsky.convo.defs.convoKind": {
        "type": "string",
        "enum": [
          "direct",
          "group"
        ]
      },
      "chat.bsky.convo.defs.convoView": {
        "type": "object",
        "required": [
          "id",
          "rev",
          "members",
          "muted",
          "unreadCount"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "rev": {
            "type": "string"
          },
          "kind": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.directConvo"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.groupConvo"
              }
            ]
          },
          "muted": {
            "type": "boolean"
          },
          "status": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.convoStatus"
          },
          "members": {
            "type": "array",
            "description": "Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group convos, it will a list of important members (the first few members, the viewer, the member who invited the viewer, the member who sent the last message, the member who sent the last reaction), but will not contain the full list of members. NOTE: TBD an endpoint to list all members.",
            "items": {
              "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
            }
          },
          "lastMessage": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.messageView"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.deletedMessageView"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageView"
              }
            ]
          },
          "unreadCount": {
            "type": "integer"
          },
          "lastReaction": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.messageAndReactionView"
              }
            ]
          }
        }
      },
      "chat.bsky.convo.defs.groupConvo": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here].",
        "required": [
          "name",
          "lockStatus"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "The display name of the group conversation.",
            "maxLength": 1280
          },
          "joinLink": {
            "$ref": "#/components/schemas/chat.bsky.group.defs.joinLinkView"
          },
          "lockStatus": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.convoLockStatus"
          }
        }
      },
      "chat.bsky.convo.defs.messageRef": {
        "type": "object",
        "required": [
          "did",
          "messageId",
          "convoId"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "convoId": {
            "type": "string"
          },
          "messageId": {
            "type": "string"
          }
        }
      },
      "chat.bsky.convo.defs.convoStatus": {
        "type": "string",
        "enum": [
          "request",
          "accepted"
        ]
      },
      "chat.bsky.convo.defs.directConvo": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here].",
        "properties": {}
      },
      "chat.bsky.convo.defs.messageView": {
        "type": "object",
        "required": [
          "id",
          "rev",
          "text",
          "sender",
          "sentAt"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "rev": {
            "type": "string"
          },
          "text": {
            "type": "string",
            "maxLength": 10000
          },
          "embed": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/app.bsky.embed.record.view"
              }
            ]
          },
          "facets": {
            "type": "array",
            "description": "Annotations of text (mentions, URLs, hashtags, etc)",
            "items": {
              "$ref": "#/components/schemas/app.bsky.richtext.facet"
            }
          },
          "sender": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.messageViewSender"
          },
          "sentAt": {
            "type": "string",
            "format": "date-time"
          },
          "reactions": {
            "type": "array",
            "description": "Reactions to this message, in ascending order of creation time.",
            "items": {
              "$ref": "#/components/schemas/chat.bsky.convo.defs.reactionView"
            }
          }
        }
      },
      "chat.bsky.convo.defs.logAddMember": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member was added to a group convo. The member who was added gets a logBeginConvo (to create the convo) but also a logAddMember (to show the system message as the first message the user sees).",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataAddMember"
          }
        }
      },
      "chat.bsky.convo.defs.logEditGroup": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating info about group convo was edited.",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataEditGroup"
          }
        }
      },
      "chat.bsky.convo.defs.logLockConvo": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked.",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataLockConvo"
          }
        }
      },
      "chat.bsky.convo.defs.logMuteConvo": {
        "type": "object",
        "description": "Event indicating the viewer muted a convo. Can be direct or group.",
        "required": [
          "rev",
          "convoId"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          }
        }
      },
      "chat.bsky.convo.defs.logReadConvo": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a convo was read up to a certain message.",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.messageView"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.deletedMessageView"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageView"
              }
            ]
          }
        }
      },
      "chat.bsky.convo.defs.messageInput": {
        "type": "object",
        "required": [
          "text"
        ],
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 10000
          },
          "embed": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/app.bsky.embed.record"
              }
            ]
          },
          "facets": {
            "type": "array",
            "description": "Annotations of text (mentions, URLs, hashtags, etc)",
            "items": {
              "$ref": "#/components/schemas/app.bsky.richtext.facet"
            }
          }
        }
      },
      "chat.bsky.convo.defs.reactionView": {
        "type": "object",
        "required": [
          "value",
          "sender",
          "createdAt"
        ],
        "properties": {
          "value": {
            "type": "string"
          },
          "sender": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.reactionViewSender"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "chat.bsky.convo.defs.logBeginConvo": {
        "type": "object",
        "description": "Event indicating a convo containing the viewer was started. Can be direct or group. When a member is added to a group convo, they also get this event.",
        "required": [
          "rev",
          "convoId"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          }
        }
      },
      "chat.bsky.convo.defs.logLeaveConvo": {
        "type": "object",
        "description": "Event indicating the viewer left a convo. Can be direct or group.",
        "required": [
          "rev",
          "convoId"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          }
        }
      },
      "chat.bsky.convo.defs.logMemberJoin": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member joined a group convo via join link. The member who was added gets a logBeginConvo (to create the convo) but also a logMemberJoin (to show the system message as the first message the user sees).",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataMemberJoin"
          }
        }
      },
      "chat.bsky.convo.defs.logAcceptConvo": {
        "type": "object",
        "description": "Event indicating the viewer accepted a convo, and it can be moved out of the request inbox. Can be direct or group.",
        "required": [
          "rev",
          "convoId"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          }
        }
      },
      "chat.bsky.convo.defs.logAddReaction": {
        "type": "object",
        "description": "Event indicating a reaction was added to a message.",
        "required": [
          "rev",
          "convoId",
          "message",
          "reaction"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.messageView"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.deletedMessageView"
              }
            ]
          },
          "reaction": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.reactionView"
          }
        }
      },
      "chat.bsky.convo.defs.logMemberLeave": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member voluntarily left a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logMemberLeave (because they already left, so can't see the system message).",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataMemberLeave"
          }
        }
      },
      "chat.bsky.convo.defs.logReadMessage": {
        "type": "object",
        "description": "DEPRECATED: use logReadConvo instead. Event indicating a convo was read up to a certain message.",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.messageView"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.deletedMessageView"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageView"
              }
            ]
          }
        },
        "deprecated": true
      },
      "chat.bsky.convo.defs.logUnlockConvo": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was unlocked.",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataUnlockConvo"
          }
        }
      },
      "chat.bsky.convo.defs.logUnmuteConvo": {
        "type": "object",
        "description": "Event indicating the viewer unmuted a convo. Can be direct or group.",
        "required": [
          "rev",
          "convoId"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          }
        }
      },
      "chat.bsky.convo.defs.convoLockStatus": {
        "type": "string",
        "enum": [
          "unlocked",
          "locked",
          "locked-permanently"
        ]
      },
      "chat.bsky.convo.defs.logEditJoinLink": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a settings about a join link for a group convo were edited.",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataEditJoinLink"
          }
        }
      },
      "chat.bsky.convo.defs.logRemoveMember": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member was removed from a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logRemoveMember (because they already left, so can't see the system message).",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataRemoveMember"
          }
        }
      },
      "chat.bsky.convo.defs.logCreateMessage": {
        "type": "object",
        "description": "Event indicating a user-originated message was created. Is not emitted for system messages.",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.messageView"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.deletedMessageView"
              }
            ]
          }
        }
      },
      "chat.bsky.convo.defs.logDeleteMessage": {
        "type": "object",
        "description": "Event indicating a user-originated message was deleted. Is not emitted for system messages.",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.messageView"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.deletedMessageView"
              }
            ]
          }
        }
      },
      "chat.bsky.convo.defs.logCreateJoinLink": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join link was created for a group convo.",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataCreateJoinLink"
          }
        }
      },
      "chat.bsky.convo.defs.logEnableJoinLink": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join link was enabled for a group convo.",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataEnableJoinLink"
          }
        }
      },
      "chat.bsky.convo.defs.logRemoveReaction": {
        "type": "object",
        "description": "Event indicating a reaction was removed from a message.",
        "required": [
          "rev",
          "convoId",
          "message",
          "reaction"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.messageView"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.deletedMessageView"
              }
            ]
          },
          "reaction": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.reactionView"
          }
        }
      },
      "chat.bsky.convo.defs.messageViewSender": {
        "type": "object",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          }
        }
      },
      "chat.bsky.convo.defs.systemMessageView": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here].",
        "required": [
          "id",
          "rev",
          "sentAt",
          "data"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "rev": {
            "type": "string"
          },
          "data": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataAddMember"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataRemoveMember"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataMemberJoin"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataMemberLeave"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataLockConvo"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataUnlockConvo"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataLockConvoPermanently"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataEditGroup"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataCreateJoinLink"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataEditJoinLink"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataEnableJoinLink"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataDisableJoinLink"
              }
            ]
          },
          "sentAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "chat.bsky.convo.defs.deletedMessageView": {
        "type": "object",
        "required": [
          "id",
          "rev",
          "sender",
          "sentAt"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "rev": {
            "type": "string"
          },
          "sender": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.messageViewSender"
          },
          "sentAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "chat.bsky.convo.defs.logDisableJoinLink": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join link was disabled for a group convo.",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataDisableJoinLink"
          }
        }
      },
      "chat.bsky.convo.defs.reactionViewSender": {
        "type": "object",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          }
        }
      },
      "chat.bsky.convo.defs.logRejectJoinRequest": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was rejected by the viewer. Only the owner gets this.",
        "required": [
          "rev",
          "convoId",
          "member"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "member": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          },
          "convoId": {
            "type": "string"
          }
        }
      },
      "chat.bsky.convo.defs.logApproveJoinRequest": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was approved by the viewer. Only the owner gets this. The approved member gets a logBeginConvo.",
        "required": [
          "rev",
          "convoId",
          "member"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "member": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          },
          "convoId": {
            "type": "string"
          }
        }
      },
      "chat.bsky.convo.defs.logIncomingJoinRequest": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made to a group the viewer owns. Only the owner gets this.",
        "required": [
          "rev",
          "convoId",
          "member"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "member": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          },
          "convoId": {
            "type": "string"
          }
        }
      },
      "chat.bsky.convo.defs.logOutgoingJoinRequest": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the viewer.",
        "required": [
          "rev",
          "convoId"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          }
        }
      },
      "chat.bsky.convo.defs.messageAndReactionView": {
        "type": "object",
        "required": [
          "message",
          "reaction"
        ],
        "properties": {
          "message": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.messageView"
          },
          "reaction": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.reactionView"
          }
        }
      },
      "chat.bsky.convo.defs.logLockConvoPermanently": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked permanently.",
        "required": [
          "rev",
          "convoId",
          "message"
        ],
        "properties": {
          "rev": {
            "type": "string"
          },
          "convoId": {
            "type": "string"
          },
          "message": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.systemMessageDataLockConvoPermanently"
          }
        }
      },
      "chat.bsky.convo.defs.systemMessageDataAddMember": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user was added to the group convo.",
        "required": [
          "member",
          "role",
          "addedBy"
        ],
        "properties": {
          "role": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.memberRole"
          },
          "member": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          },
          "addedBy": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          }
        }
      },
      "chat.bsky.convo.defs.systemMessageDataEditGroup": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group info was edited.",
        "properties": {
          "newName": {
            "type": "string",
            "description": "Group name that replaced the old."
          },
          "oldName": {
            "type": "string",
            "description": "Group name that was replaced."
          }
        }
      },
      "chat.bsky.convo.defs.systemMessageDataLockConvo": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was locked.",
        "required": [
          "lockedBy"
        ],
        "properties": {
          "lockedBy": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          }
        }
      },
      "chat.bsky.convo.defs.systemMessageDataMemberJoin": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user joined the group convo via join link.",
        "required": [
          "member",
          "role"
        ],
        "properties": {
          "role": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.memberRole"
          },
          "member": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          },
          "approvedBy": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          }
        }
      },
      "chat.bsky.convo.defs.systemMessageDataMemberLeave": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user voluntarily left the group convo.",
        "required": [
          "member"
        ],
        "properties": {
          "member": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          }
        }
      },
      "chat.bsky.convo.defs.systemMessageDataUnlockConvo": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was unlocked.",
        "required": [
          "unlockedBy"
        ],
        "properties": {
          "unlockedBy": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          }
        }
      },
      "chat.bsky.convo.defs.systemMessageDataEditJoinLink": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was edited.",
        "properties": {}
      },
      "chat.bsky.convo.defs.systemMessageDataRemoveMember": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user was removed from the group convo.",
        "required": [
          "member",
          "removedBy"
        ],
        "properties": {
          "member": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          },
          "removedBy": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          }
        }
      },
      "chat.bsky.convo.defs.systemMessageDataCreateJoinLink": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was created.",
        "properties": {}
      },
      "chat.bsky.convo.defs.systemMessageDataEnableJoinLink": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was enabled.",
        "properties": {}
      },
      "chat.bsky.convo.defs.systemMessageDataDisableJoinLink": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was disabled.",
        "properties": {}
      },
      "chat.bsky.convo.defs.systemMessageDataLockConvoPermanently": {
        "type": "object",
        "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was locked permanently.",
        "required": [
          "lockedBy"
        ],
        "properties": {
          "lockedBy": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          }
        }
      },
      "chat.bsky.convo.sendMessageBatch.batchItem": {
        "type": "object",
        "required": [
          "convoId",
          "message"
        ],
        "properties": {
          "convoId": {
            "type": "string"
          },
          "message": {
            "$ref": "#/components/schemas/chat.bsky.convo.defs.messageInput"
          }
        }
      },
      "chat.bsky.group.defs.joinRule": {
        "type": "string",
        "enum": [
          "anyone",
          "followedByOwner"
        ]
      },
      "chat.bsky.group.defs.joinLinkView": {
        "type": "object",
        "required": [
          "code",
          "enabledStatus",
          "requireApproval",
          "joinRule",
          "createdAt"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "joinRule": {
            "$ref": "#/components/schemas/chat.bsky.group.defs.joinRule"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "enabledStatus": {
            "$ref": "#/components/schemas/chat.bsky.group.defs.linkEnabledStatus"
          },
          "requireApproval": {
            "type": "boolean"
          }
        }
      },
      "chat.bsky.group.defs.groupPublicView": {
        "type": "object",
        "required": [
          "name",
          "owner",
          "memberCount",
          "requireApproval"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "owner": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          },
          "memberCount": {
            "type": "integer"
          },
          "requireApproval": {
            "type": "boolean"
          }
        }
      },
      "chat.bsky.group.defs.joinRequestView": {
        "type": "object",
        "required": [
          "convoId",
          "requestedBy",
          "requestedAt"
        ],
        "properties": {
          "convoId": {
            "type": "string"
          },
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "requestedBy": {
            "$ref": "#/components/schemas/chat.bsky.actor.defs.profileViewBasic"
          }
        }
      },
      "chat.bsky.group.defs.linkEnabledStatus": {
        "type": "string",
        "enum": [
          "enabled",
          "disabled"
        ]
      },
      "chat.bsky.moderation.getActorMetadata.metadata": {
        "type": "object",
        "required": [
          "messagesSent",
          "messagesReceived",
          "convos",
          "convosStarted"
        ],
        "properties": {
          "convos": {
            "type": "integer"
          },
          "messagesSent": {
            "type": "integer"
          },
          "convosStarted": {
            "type": "integer"
          },
          "messagesReceived": {
            "type": "integer"
          }
        }
      },
      "com.atproto.admin.defs.repoRef": {
        "type": "object",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          }
        }
      },
      "com.atproto.admin.defs.statusAttr": {
        "type": "object",
        "required": [
          "applied"
        ],
        "properties": {
          "ref": {
            "type": "string"
          },
          "applied": {
            "type": "boolean"
          }
        }
      },
      "com.atproto.admin.defs.accountView": {
        "type": "object",
        "required": [
          "did",
          "handle",
          "indexedAt"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "email": {
            "type": "string"
          },
          "handle": {
            "type": "string",
            "format": "handle"
          },
          "invites": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.server.defs.inviteCode"
            }
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "invitedBy": {
            "$ref": "#/components/schemas/com.atproto.server.defs.inviteCode"
          },
          "inviteNote": {
            "type": "string"
          },
          "deactivatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "relatedRecords": {
            "type": "array",
            "items": {}
          },
          "invitesDisabled": {
            "type": "boolean"
          },
          "emailConfirmedAt": {
            "type": "string",
            "format": "date-time"
          },
          "threatSignatures": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.admin.defs.threatSignature"
            }
          }
        }
      },
      "com.atproto.admin.defs.repoBlobRef": {
        "type": "object",
        "required": [
          "did",
          "cid"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "did": {
            "type": "string",
            "format": "did"
          },
          "recordUri": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "com.atproto.admin.defs.threatSignature": {
        "type": "object",
        "required": [
          "property",
          "value"
        ],
        "properties": {
          "value": {
            "type": "string"
          },
          "property": {
            "type": "string"
          }
        }
      },
      "com.atproto.identity.defs.identityInfo": {
        "type": "object",
        "required": [
          "did",
          "handle",
          "didDoc"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "didDoc": {},
          "handle": {
            "type": "string",
            "description": "The validated handle of the account; or 'handle.invalid' if the handle did not bi-directionally match the DID document.",
            "format": "handle"
          }
        }
      },
      "com.atproto.label.defs.label": {
        "type": "object",
        "description": "Metadata tag on an atproto resource (eg, repo or record).",
        "required": [
          "src",
          "uri",
          "val",
          "cts"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "description": "Optionally, CID specifying the specific version of 'uri' resource this label applies to.",
            "format": "cid"
          },
          "cts": {
            "type": "string",
            "description": "Timestamp when this label was created.",
            "format": "date-time"
          },
          "exp": {
            "type": "string",
            "description": "Timestamp at which this label expires (no longer applies).",
            "format": "date-time"
          },
          "neg": {
            "type": "boolean",
            "description": "If true, this is a negation label, overwriting a previous label."
          },
          "sig": {
            "type": "string",
            "format": "byte",
            "description": "Signature of dag-cbor encoded label."
          },
          "src": {
            "type": "string",
            "description": "DID of the actor who created this label.",
            "format": "did"
          },
          "uri": {
            "type": "string",
            "description": "AT URI of the record, repository (account), or other resource that this label applies to.",
            "format": "uri"
          },
          "val": {
            "type": "string",
            "description": "The short string name of the value or type of this label.",
            "maxLength": 128
          },
          "ver": {
            "type": "integer",
            "description": "The AT Protocol version of the label object."
          }
        }
      },
      "com.atproto.label.defs.selfLabel": {
        "type": "object",
        "description": "Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel.",
        "required": [
          "val"
        ],
        "properties": {
          "val": {
            "type": "string",
            "description": "The short string name of the value or type of this label.",
            "maxLength": 128
          }
        }
      },
      "com.atproto.label.defs.labelValue": {
        "type": "string",
        "enum": [
          "!hide",
          "!warn",
          "!no-unauthenticated",
          "porn",
          "sexual",
          "nudity",
          "graphic-media",
          "bot"
        ]
      },
      "com.atproto.label.defs.selfLabels": {
        "type": "object",
        "description": "Metadata tags on an atproto record, published by the author within the record.",
        "required": [
          "values"
        ],
        "properties": {
          "values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.selfLabel"
            },
            "maxItems": 10
          }
        }
      },
      "com.atproto.label.defs.labelValueDefinition": {
        "type": "object",
        "description": "Declares a label value and its expected interpretations and behaviors.",
        "required": [
          "identifier",
          "severity",
          "blurs",
          "locales"
        ],
        "properties": {
          "blurs": {
            "type": "string",
            "description": "What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing.",
            "enum": [
              "content",
              "media",
              "none"
            ]
          },
          "locales": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.labelValueDefinitionStrings"
            }
          },
          "severity": {
            "type": "string",
            "description": "How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means negative and warning; 'none' means show nothing.",
            "enum": [
              "inform",
              "alert",
              "none"
            ]
          },
          "adultOnly": {
            "type": "boolean",
            "description": "Does the user need to have adult content enabled in order to configure this label?"
          },
          "identifier": {
            "type": "string",
            "description": "The value of the label being defined. Must only include lowercase ascii and the '-' character ([a-z-]+).",
            "maxLength": 100
          },
          "defaultSetting": {
            "type": "string",
            "description": "The default setting for this label.",
            "default": "warn",
            "enum": [
              "ignore",
              "warn",
              "hide"
            ]
          }
        }
      },
      "com.atproto.label.defs.labelValueDefinitionStrings": {
        "type": "object",
        "description": "Strings which describe the label in the UI, localized into a specific language.",
        "required": [
          "lang",
          "name",
          "description"
        ],
        "properties": {
          "lang": {
            "type": "string",
            "description": "The code of the language these strings are written in.",
            "format": "language"
          },
          "name": {
            "type": "string",
            "description": "A short human-readable name for the label.",
            "maxLength": 640
          },
          "description": {
            "type": "string",
            "description": "A longer description of what the label means and why it might be applied.",
            "maxLength": 100000
          }
        }
      },
      "com.atproto.lexicon.schema": {
        "type": "object",
        "required": [
          "lexicon"
        ],
        "properties": {
          "lexicon": {
            "type": "integer",
            "description": "Indicates the 'version' of the Lexicon language. Must be '1' for the current atproto/Lexicon schema system."
          }
        }
      },
      "com.atproto.moderation.createReport.modTool": {
        "type": "object",
        "description": "Moderation tool information for tracing the source of the action",
        "required": [
          "name"
        ],
        "properties": {
          "meta": {},
          "name": {
            "type": "string",
            "description": "Name/identifier of the source (e.g., 'bsky-app/android', 'bsky-web/chrome')"
          }
        }
      },
      "com.atproto.moderation.defs.reasonRude": {
        "type": "string",
        "format": "token",
        "description": "Rude, harassing, explicit, or otherwise unwelcoming behavior. Prefer new lexicon definition `tools.ozone.report.defs#reasonHarassmentOther`."
      },
      "com.atproto.moderation.defs.reasonSpam": {
        "type": "string",
        "format": "token",
        "description": "Spam: frequent unwanted promotion, replies, mentions. Prefer new lexicon definition `tools.ozone.report.defs#reasonMisleadingSpam`."
      },
      "com.atproto.moderation.defs.reasonType": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/com.atproto.moderation.defs.reasonSpam"
          },
          {
            "$ref": "#/components/schemas/com.atproto.moderation.defs.reasonViolation"
          },
          {
            "$ref": "#/components/schemas/com.atproto.moderation.defs.reasonMisleading"
          },
          {
            "$ref": "#/components/schemas/com.atproto.moderation.defs.reasonSexual"
          },
          {
            "$ref": "#/components/schemas/com.atproto.moderation.defs.reasonRude"
          },
          {
            "$ref": "#/components/schemas/com.atproto.moderation.defs.reasonOther"
          },
          {
            "$ref": "#/components/schemas/com.atproto.moderation.defs.reasonAppeal"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonAppeal"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonOther"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonViolenceAnimal"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonViolenceThreats"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonViolenceGraphicContent"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonViolenceGlorification"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonViolenceExtremistContent"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonViolenceTrafficking"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonViolenceOther"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonSexualAbuseContent"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonSexualNCII"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonSexualDeepfake"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonSexualAnimal"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonSexualUnlabeled"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonSexualOther"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonChildSafetyCSAM"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonChildSafetyGroom"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonChildSafetyPrivacy"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonChildSafetyHarassment"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonChildSafetyOther"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonHarassmentTroll"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonHarassmentTargeted"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonHarassmentHateSpeech"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonHarassmentDoxxing"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonHarassmentOther"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonMisleadingBot"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonMisleadingImpersonation"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonMisleadingSpam"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonMisleadingScam"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonMisleadingElections"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonMisleadingOther"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonRuleSiteSecurity"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonRuleProhibitedSales"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonRuleBanEvasion"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonRuleOther"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonSelfHarmContent"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonSelfHarmED"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonSelfHarmStunts"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonSelfHarmSubstances"
          },
          {
            "$ref": "#/components/schemas/tools.ozone.report.defs.reasonSelfHarmOther"
          }
        ]
      },
      "com.atproto.moderation.defs.reasonOther": {
        "type": "string",
        "format": "token",
        "description": "Reports not falling under another report category. Prefer new lexicon definition `tools.ozone.report.defs#reasonOther`."
      },
      "com.atproto.moderation.defs.subjectType": {
        "type": "string",
        "description": "Tag describing a type of subject that might be reported.",
        "enum": [
          "account",
          "record",
          "chat"
        ]
      },
      "com.atproto.moderation.defs.reasonAppeal": {
        "type": "string",
        "format": "token",
        "description": "Appeal a previously taken moderation action"
      },
      "com.atproto.moderation.defs.reasonSexual": {
        "type": "string",
        "format": "token",
        "description": "Unwanted or mislabeled sexual content. Prefer new lexicon definition `tools.ozone.report.defs#reasonSexualUnlabeled`."
      },
      "com.atproto.moderation.defs.reasonViolation": {
        "type": "string",
        "format": "token",
        "description": "Direct violation of server rules, laws, terms of service. Prefer new lexicon definition `tools.ozone.report.defs#reasonRuleOther`."
      },
      "com.atproto.moderation.defs.reasonMisleading": {
        "type": "string",
        "format": "token",
        "description": "Misleading identity, affiliation, or content. Prefer new lexicon definition `tools.ozone.report.defs#reasonMisleadingOther`."
      },
      "com.atproto.repo.applyWrites.create": {
        "type": "object",
        "description": "Operation which creates a new record.",
        "required": [
          "collection",
          "value"
        ],
        "properties": {
          "rkey": {
            "type": "string",
            "description": "NOTE: maxLength is redundant with record-key format. Keeping it temporarily to ensure backwards compatibility.",
            "format": "record-key",
            "maxLength": 512
          },
          "value": {},
          "collection": {
            "type": "string",
            "format": "nsid"
          }
        }
      },
      "com.atproto.repo.applyWrites.delete": {
        "type": "object",
        "description": "Operation which deletes an existing record.",
        "required": [
          "collection",
          "rkey"
        ],
        "properties": {
          "rkey": {
            "type": "string",
            "format": "record-key"
          },
          "collection": {
            "type": "string",
            "format": "nsid"
          }
        }
      },
      "com.atproto.repo.applyWrites.update": {
        "type": "object",
        "description": "Operation which updates an existing record.",
        "required": [
          "collection",
          "rkey",
          "value"
        ],
        "properties": {
          "rkey": {
            "type": "string",
            "format": "record-key"
          },
          "value": {},
          "collection": {
            "type": "string",
            "format": "nsid"
          }
        }
      },
      "com.atproto.repo.applyWrites.createResult": {
        "type": "object",
        "required": [
          "uri",
          "cid"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "validationStatus": {
            "type": "string",
            "enum": [
              "valid",
              "unknown"
            ]
          }
        }
      },
      "com.atproto.repo.applyWrites.deleteResult": {
        "type": "object",
        "required": [],
        "properties": {}
      },
      "com.atproto.repo.applyWrites.updateResult": {
        "type": "object",
        "required": [
          "uri",
          "cid"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "validationStatus": {
            "type": "string",
            "enum": [
              "valid",
              "unknown"
            ]
          }
        }
      },
      "com.atproto.repo.defs.commitMeta": {
        "type": "object",
        "required": [
          "cid",
          "rev"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "rev": {
            "type": "string",
            "format": "tid"
          }
        }
      },
      "com.atproto.repo.listMissingBlobs.recordBlob": {
        "type": "object",
        "required": [
          "cid",
          "recordUri"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "recordUri": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "com.atproto.repo.listRecords.record": {
        "type": "object",
        "required": [
          "uri",
          "cid",
          "value"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "value": {}
        }
      },
      "com.atproto.repo.strongRef": {
        "type": "object",
        "required": [
          "uri",
          "cid"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "com.atproto.server.createAppPassword.appPassword": {
        "type": "object",
        "required": [
          "name",
          "password",
          "createdAt"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "privileged": {
            "type": "boolean"
          }
        }
      },
      "com.atproto.server.createInviteCodes.accountCodes": {
        "type": "object",
        "required": [
          "account",
          "codes"
        ],
        "properties": {
          "codes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "account": {
            "type": "string"
          }
        }
      },
      "com.atproto.server.defs.inviteCode": {
        "type": "object",
        "required": [
          "code",
          "available",
          "disabled",
          "forAccount",
          "createdBy",
          "createdAt",
          "uses"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "uses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.server.defs.inviteCodeUse"
            }
          },
          "disabled": {
            "type": "boolean"
          },
          "available": {
            "type": "integer"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string"
          },
          "forAccount": {
            "type": "string"
          }
        }
      },
      "com.atproto.server.defs.inviteCodeUse": {
        "type": "object",
        "required": [
          "usedBy",
          "usedAt"
        ],
        "properties": {
          "usedAt": {
            "type": "string",
            "format": "date-time"
          },
          "usedBy": {
            "type": "string",
            "format": "did"
          }
        }
      },
      "com.atproto.server.describeServer.links": {
        "type": "object",
        "properties": {
          "privacyPolicy": {
            "type": "string",
            "format": "uri"
          },
          "termsOfService": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "com.atproto.server.describeServer.contact": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          }
        }
      },
      "com.atproto.server.listAppPasswords.appPassword": {
        "type": "object",
        "required": [
          "name",
          "createdAt"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "privileged": {
            "type": "boolean"
          }
        }
      },
      "com.atproto.sync.defs.hostStatus": {
        "type": "string",
        "enum": [
          "active",
          "idle",
          "offline",
          "throttled",
          "banned"
        ]
      },
      "com.atproto.sync.listHosts.host": {
        "type": "object",
        "required": [
          "hostname"
        ],
        "properties": {
          "seq": {
            "type": "integer",
            "description": "Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted cursor not in-memory cursor)."
          },
          "status": {
            "$ref": "#/components/schemas/com.atproto.sync.defs.hostStatus"
          },
          "hostname": {
            "type": "string",
            "description": "hostname of server; not a URL (no scheme)"
          },
          "accountCount": {
            "type": "integer"
          }
        }
      },
      "com.atproto.sync.listRepos.repo": {
        "type": "object",
        "required": [
          "did",
          "head",
          "rev"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "rev": {
            "type": "string",
            "format": "tid"
          },
          "head": {
            "type": "string",
            "description": "Current repo commit CID",
            "format": "cid"
          },
          "active": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "description": "If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.",
            "enum": [
              "takendown",
              "suspended",
              "deleted",
              "deactivated",
              "desynchronized",
              "throttled"
            ]
          }
        }
      },
      "com.atproto.sync.listReposByCollection.repo": {
        "type": "object",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          }
        }
      },
      "tools.ozone.communication.defs.templateView": {
        "type": "object",
        "required": [
          "id",
          "name",
          "contentMarkdown",
          "disabled",
          "lastUpdatedBy",
          "createdAt",
          "updatedAt"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "lang": {
            "type": "string",
            "description": "Message language.",
            "format": "language"
          },
          "name": {
            "type": "string",
            "description": "Name of the template."
          },
          "subject": {
            "type": "string",
            "description": "Content of the template, can contain markdown and variable placeholders."
          },
          "disabled": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastUpdatedBy": {
            "type": "string",
            "description": "DID of the user who last updated the template.",
            "format": "did"
          },
          "contentMarkdown": {
            "type": "string",
            "description": "Subject of the message, used in emails."
          }
        }
      },
      "tools.ozone.hosting.getAccountHistory.event": {
        "type": "object",
        "required": [
          "details",
          "createdBy",
          "createdAt"
        ],
        "properties": {
          "details": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tools.ozone.hosting.getAccountHistory.accountCreated"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.hosting.getAccountHistory.emailUpdated"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.hosting.getAccountHistory.emailConfirmed"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.hosting.getAccountHistory.passwordUpdated"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.hosting.getAccountHistory.handleUpdated"
              }
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string"
          }
        }
      },
      "tools.ozone.hosting.getAccountHistory.emailUpdated": {
        "type": "object",
        "required": [
          "email"
        ],
        "properties": {
          "email": {
            "type": "string"
          }
        }
      },
      "tools.ozone.hosting.getAccountHistory.handleUpdated": {
        "type": "object",
        "required": [
          "handle"
        ],
        "properties": {
          "handle": {
            "type": "string",
            "format": "handle"
          }
        }
      },
      "tools.ozone.hosting.getAccountHistory.accountCreated": {
        "type": "object",
        "required": [],
        "properties": {
          "email": {
            "type": "string"
          },
          "handle": {
            "type": "string",
            "format": "handle"
          }
        }
      },
      "tools.ozone.hosting.getAccountHistory.emailConfirmed": {
        "type": "object",
        "required": [
          "email"
        ],
        "properties": {
          "email": {
            "type": "string"
          }
        }
      },
      "tools.ozone.hosting.getAccountHistory.passwordUpdated": {
        "type": "object",
        "required": [],
        "properties": {}
      },
      "tools.ozone.moderation.cancelScheduledActions.failedCancellation": {
        "type": "object",
        "required": [
          "did",
          "error"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "error": {
            "type": "string"
          },
          "errorCode": {
            "type": "string"
          }
        }
      },
      "tools.ozone.moderation.cancelScheduledActions.cancellationResults": {
        "type": "object",
        "required": [
          "succeeded",
          "failed"
        ],
        "properties": {
          "failed": {
            "type": "array",
            "description": "DIDs for which cancellation failed with error details",
            "items": {
              "$ref": "#/components/schemas/tools.ozone.moderation.cancelScheduledActions.failedCancellation"
            }
          },
          "succeeded": {
            "type": "array",
            "description": "DIDs for which all pending scheduled actions were successfully cancelled",
            "items": {
              "type": "string",
              "format": "did"
            }
          }
        }
      },
      "tools.ozone.moderation.defs.modTool": {
        "type": "object",
        "description": "Moderation tool information for tracing the source of the action",
        "required": [
          "name"
        ],
        "properties": {
          "meta": {},
          "name": {
            "type": "string",
            "description": "Name/identifier of the source (e.g., 'automod', 'ozone/workspace')"
          }
        }
      },
      "tools.ozone.moderation.defs.blobView": {
        "type": "object",
        "required": [
          "cid",
          "mimeType",
          "size",
          "createdAt"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "size": {
            "type": "integer"
          },
          "details": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.imageDetails"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.videoDetails"
              }
            ]
          },
          "mimeType": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "moderation": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.moderation"
          }
        }
      },
      "tools.ozone.moderation.defs.repoView": {
        "type": "object",
        "required": [
          "did",
          "handle",
          "relatedRecords",
          "indexedAt",
          "moderation"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "email": {
            "type": "string"
          },
          "handle": {
            "type": "string",
            "format": "handle"
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "invitedBy": {
            "$ref": "#/components/schemas/com.atproto.server.defs.inviteCode"
          },
          "inviteNote": {
            "type": "string"
          },
          "moderation": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.moderation"
          },
          "deactivatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "relatedRecords": {
            "type": "array",
            "items": {}
          },
          "invitesDisabled": {
            "type": "boolean"
          },
          "threatSignatures": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.admin.defs.threatSignature"
            }
          }
        }
      },
      "tools.ozone.moderation.defs.moderation": {
        "type": "object",
        "properties": {
          "subjectStatus": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.subjectStatusView"
          }
        }
      },
      "tools.ozone.moderation.defs.recordView": {
        "type": "object",
        "required": [
          "uri",
          "cid",
          "value",
          "blobCids",
          "indexedAt",
          "moderation",
          "repo"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "repo": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.repoView"
          },
          "value": {},
          "blobCids": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "cid"
            }
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "moderation": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.moderation"
          }
        }
      },
      "tools.ozone.moderation.defs.reviewNone": {
        "type": "string",
        "format": "token",
        "description": "Moderator review status of a subject: Unnecessary. Indicates that the subject does not need a review at the moment but there is probably some moderation related metadata available for it"
      },
      "tools.ozone.moderation.defs.reviewOpen": {
        "type": "string",
        "format": "token",
        "description": "Moderator review status of a subject: Open. Indicates that the subject needs to be reviewed by a moderator"
      },
      "tools.ozone.moderation.defs.modEventTag": {
        "type": "object",
        "description": "Add/Remove a tag on a subject",
        "required": [
          "add",
          "remove"
        ],
        "properties": {
          "add": {
            "type": "array",
            "description": "Tags to be added to the subject. If already exists, won't be duplicated.",
            "items": {
              "type": "string"
            }
          },
          "remove": {
            "type": "array",
            "description": "Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated.",
            "items": {
              "type": "string"
            }
          },
          "comment": {
            "type": "string",
            "description": "Additional comment about added/removed tags."
          }
        }
      },
      "tools.ozone.moderation.defs.recordEvent": {
        "type": "object",
        "description": "Logs lifecycle event on a record subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.",
        "required": [
          "timestamp",
          "op"
        ],
        "properties": {
          "op": {
            "type": "string",
            "enum": [
              "create",
              "update",
              "delete"
            ]
          },
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "comment": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "tools.ozone.moderation.defs.subjectView": {
        "type": "object",
        "description": "Detailed view of a subject. For record subjects, the author's repo and profile will be returned.",
        "required": [
          "type",
          "subject"
        ],
        "properties": {
          "repo": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.repoViewDetail"
          },
          "type": {
            "$ref": "#/components/schemas/com.atproto.moderation.defs.subjectType"
          },
          "record": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.recordViewDetail"
          },
          "status": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.subjectStatusView"
          },
          "profile": {
            "oneOf": []
          },
          "subject": {
            "type": "string"
          }
        }
      },
      "tools.ozone.moderation.defs.accountEvent": {
        "type": "object",
        "description": "Logs account status related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.",
        "required": [
          "timestamp",
          "active"
        ],
        "properties": {
          "active": {
            "type": "boolean",
            "description": "Indicates that the account has a repository which can be fetched from the host that emitted this event."
          },
          "status": {
            "type": "string",
            "enum": [
              "unknown",
              "deactivated",
              "deleted",
              "takendown",
              "suspended",
              "tombstoned"
            ]
          },
          "comment": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "tools.ozone.moderation.defs.accountStats": {
        "type": "object",
        "description": "Statistics about a particular account subject",
        "properties": {
          "appealCount": {
            "type": "integer",
            "description": "Total number of appeals against a moderation action on the account"
          },
          "reportCount": {
            "type": "integer",
            "description": "Total number of reports on the account"
          },
          "suspendCount": {
            "type": "integer",
            "description": "Number of times the account was suspended"
          },
          "escalateCount": {
            "type": "integer",
            "description": "Number of times the account was escalated"
          },
          "takedownCount": {
            "type": "integer",
            "description": "Number of times the account was taken down"
          }
        }
      },
      "tools.ozone.moderation.defs.imageDetails": {
        "type": "object",
        "required": [
          "width",
          "height"
        ],
        "properties": {
          "width": {
            "type": "integer"
          },
          "height": {
            "type": "integer"
          }
        }
      },
      "tools.ozone.moderation.defs.modEventMute": {
        "type": "object",
        "description": "Mute incoming reports on a subject",
        "required": [
          "durationInHours"
        ],
        "properties": {
          "comment": {
            "type": "string"
          },
          "durationInHours": {
            "type": "integer",
            "description": "Indicates how long the subject should remain muted."
          }
        }
      },
      "tools.ozone.moderation.defs.modEventView": {
        "type": "object",
        "required": [
          "id",
          "event",
          "subject",
          "subjectBlobCids",
          "createdBy",
          "createdAt"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "event": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventTakedown"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventReverseTakedown"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventComment"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventReport"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventLabel"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventAcknowledge"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventEscalate"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventMute"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventUnmute"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventMuteReporter"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventUnmuteReporter"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventEmail"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventResolveAppeal"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventDivert"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventTag"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.accountEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.identityEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.recordEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventPriorityScore"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.ageAssuranceEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.ageAssuranceOverrideEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.ageAssurancePurgeEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.revokeAccountCredentialsEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.scheduleTakedownEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.cancelScheduledTakedownEvent"
              }
            ]
          },
          "modTool": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.modTool"
          },
          "subject": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/com.atproto.admin.defs.repoRef"
              },
              {
                "$ref": "#/components/schemas/com.atproto.repo.strongRef"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.messageRef"
              }
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "format": "did"
          },
          "creatorHandle": {
            "type": "string"
          },
          "subjectHandle": {
            "type": "string"
          },
          "subjectBlobCids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "tools.ozone.moderation.defs.recordsStats": {
        "type": "object",
        "description": "Statistics about a set of record subject items",
        "properties": {
          "pendingCount": {
            "type": "integer",
            "description": "Number of item currently in \"reviewOpen\" or \"reviewEscalated\" state"
          },
          "subjectCount": {
            "type": "integer",
            "description": "Total number of item in the set"
          },
          "totalReports": {
            "type": "integer",
            "description": "Cumulative sum of the number of reports on the items in the set"
          },
          "appealedCount": {
            "type": "integer",
            "description": "Number of items that were appealed at least once"
          },
          "reportedCount": {
            "type": "integer",
            "description": "Number of items that were reported at least once"
          },
          "escalatedCount": {
            "type": "integer",
            "description": "Number of items that were escalated at least once"
          },
          "processedCount": {
            "type": "integer",
            "description": "Number of item currently in \"reviewNone\" or \"reviewClosed\" state"
          },
          "takendownCount": {
            "type": "integer",
            "description": "Number of item currently taken down"
          }
        }
      },
      "tools.ozone.moderation.defs.reviewClosed": {
        "type": "string",
        "format": "token",
        "description": "Moderator review status of a subject: Closed. Indicates that the subject was already reviewed and resolved by a moderator"
      },
      "tools.ozone.moderation.defs.videoDetails": {
        "type": "object",
        "required": [
          "width",
          "height",
          "length"
        ],
        "properties": {
          "width": {
            "type": "integer"
          },
          "height": {
            "type": "integer"
          },
          "length": {
            "type": "integer"
          }
        }
      },
      "tools.ozone.moderation.defs.accountStrike": {
        "type": "object",
        "description": "Strike information for an account",
        "properties": {
          "lastStrikeAt": {
            "type": "string",
            "description": "Timestamp of the most recent strike received",
            "format": "date-time"
          },
          "firstStrikeAt": {
            "type": "string",
            "description": "Timestamp of the first strike received",
            "format": "date-time"
          },
          "totalStrikeCount": {
            "type": "integer",
            "description": "Total number of strikes ever received (including expired strikes)"
          },
          "activeStrikeCount": {
            "type": "integer",
            "description": "Current number of active strikes (excluding expired strikes)"
          }
        }
      },
      "tools.ozone.moderation.defs.identityEvent": {
        "type": "object",
        "description": "Logs identity related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.",
        "required": [
          "timestamp"
        ],
        "properties": {
          "handle": {
            "type": "string",
            "format": "handle"
          },
          "comment": {
            "type": "string"
          },
          "pdsHost": {
            "type": "string",
            "format": "uri"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "tombstone": {
            "type": "boolean"
          }
        }
      },
      "tools.ozone.moderation.defs.modEventEmail": {
        "type": "object",
        "description": "Keep a log of outgoing email to a user",
        "required": [
          "subjectLine"
        ],
        "properties": {
          "comment": {
            "type": "string",
            "description": "Additional comment about the outgoing comm."
          },
          "content": {
            "type": "string",
            "description": "The content of the email sent to the user."
          },
          "policies": {
            "type": "array",
            "description": "Names/Keywords of the policies that necessitated the email.",
            "items": {
              "type": "string"
            },
            "maxItems": 5
          },
          "isDelivered": {
            "type": "boolean",
            "description": "Indicates whether the email was successfully delivered to the user's inbox."
          },
          "strikeCount": {
            "type": "integer",
            "description": "Number of strikes to assign to the user for this violation. Normally 0 as an indicator of a warning and only added as a strike on a repeat offense."
          },
          "subjectLine": {
            "type": "string",
            "description": "The subject line of the email sent to the user."
          },
          "severityLevel": {
            "type": "string",
            "description": "Severity level of the violation. Normally 'sev-1' that adds strike on repeat offense"
          },
          "strikeExpiresAt": {
            "type": "string",
            "description": "When the strike should expire. If not provided, the strike never expires.",
            "format": "date-time"
          }
        }
      },
      "tools.ozone.moderation.defs.modEventLabel": {
        "type": "object",
        "description": "Apply/Negate labels on a subject",
        "required": [
          "createLabelVals",
          "negateLabelVals"
        ],
        "properties": {
          "comment": {
            "type": "string"
          },
          "createLabelVals": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "durationInHours": {
            "type": "integer",
            "description": "Indicates how long the label will remain on the subject. Only applies on labels that are being added."
          },
          "negateLabelVals": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "tools.ozone.moderation.defs.recordHosting": {
        "type": "object",
        "required": [
          "status"
        ],
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "deleted",
              "unknown"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "tools.ozone.moderation.defs.reporterStats": {
        "type": "object",
        "required": [
          "did",
          "accountReportCount",
          "recordReportCount",
          "reportedAccountCount",
          "reportedRecordCount",
          "takendownAccountCount",
          "takendownRecordCount",
          "labeledAccountCount",
          "labeledRecordCount"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "recordReportCount": {
            "type": "integer",
            "description": "The total number of reports made by the user on records."
          },
          "accountReportCount": {
            "type": "integer",
            "description": "The total number of reports made by the user on accounts."
          },
          "labeledRecordCount": {
            "type": "integer",
            "description": "The total number of records labeled as a result of the user's reports."
          },
          "labeledAccountCount": {
            "type": "integer",
            "description": "The total number of accounts labeled as a result of the user's reports."
          },
          "reportedRecordCount": {
            "type": "integer",
            "description": "The total number of records reported by the user."
          },
          "reportedAccountCount": {
            "type": "integer",
            "description": "The total number of accounts reported by the user."
          },
          "takendownRecordCount": {
            "type": "integer",
            "description": "The total number of records taken down as a result of the user's reports."
          },
          "takendownAccountCount": {
            "type": "integer",
            "description": "The total number of accounts taken down as a result of the user's reports."
          }
        }
      },
      "tools.ozone.moderation.defs.accountHosting": {
        "type": "object",
        "required": [
          "status"
        ],
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "takendown",
              "suspended",
              "deleted",
              "deactivated",
              "unknown"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deactivatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "reactivatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "tools.ozone.moderation.defs.modEventDivert": {
        "type": "object",
        "description": "Divert a record's blobs to a 3rd party service for further scanning/tagging",
        "properties": {
          "comment": {
            "type": "string"
          }
        }
      },
      "tools.ozone.moderation.defs.modEventReport": {
        "type": "object",
        "description": "Report a subject",
        "required": [
          "reportType"
        ],
        "properties": {
          "comment": {
            "type": "string"
          },
          "reportType": {
            "$ref": "#/components/schemas/com.atproto.moderation.defs.reasonType"
          },
          "isReporterMuted": {
            "type": "boolean",
            "description": "Set to true if the reporter was muted from reporting at the time of the event. These reports won't impact the reviewState of the subject."
          }
        }
      },
      "tools.ozone.moderation.defs.modEventUnmute": {
        "type": "object",
        "description": "Unmute action on a subject",
        "properties": {
          "comment": {
            "type": "string",
            "description": "Describe reasoning behind the reversal."
          }
        }
      },
      "tools.ozone.moderation.defs.repoViewDetail": {
        "type": "object",
        "required": [
          "did",
          "handle",
          "relatedRecords",
          "indexedAt",
          "moderation"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "email": {
            "type": "string"
          },
          "handle": {
            "type": "string",
            "format": "handle"
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "invites": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.server.defs.inviteCode"
            }
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "invitedBy": {
            "$ref": "#/components/schemas/com.atproto.server.defs.inviteCode"
          },
          "inviteNote": {
            "type": "string"
          },
          "moderation": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.moderationDetail"
          },
          "deactivatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "relatedRecords": {
            "type": "array",
            "items": {}
          },
          "invitesDisabled": {
            "type": "boolean"
          },
          "emailConfirmedAt": {
            "type": "string",
            "format": "date-time"
          },
          "threatSignatures": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.admin.defs.threatSignature"
            }
          }
        }
      },
      "tools.ozone.moderation.defs.modEventComment": {
        "type": "object",
        "description": "Add a comment to a subject. An empty comment will clear any previously set sticky comment.",
        "properties": {
          "sticky": {
            "type": "boolean",
            "description": "Make the comment persistent on the subject"
          },
          "comment": {
            "type": "string"
          }
        }
      },
      "tools.ozone.moderation.defs.reviewEscalated": {
        "type": "string",
        "format": "token",
        "description": "Moderator review status of a subject: Escalated. Indicates that the subject was escalated for review by a moderator"
      },
      "tools.ozone.moderation.defs.modEventEscalate": {
        "type": "object",
        "properties": {
          "comment": {
            "type": "string"
          }
        }
      },
      "tools.ozone.moderation.defs.modEventTakedown": {
        "type": "object",
        "description": "Take down a subject permanently or temporarily",
        "properties": {
          "comment": {
            "type": "string"
          },
          "policies": {
            "type": "array",
            "description": "Names/Keywords of the policies that drove the decision.",
            "items": {
              "type": "string"
            },
            "maxItems": 5
          },
          "strikeCount": {
            "type": "integer",
            "description": "Number of strikes to assign to the user for this violation."
          },
          "severityLevel": {
            "type": "string",
            "description": "Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.)."
          },
          "targetServices": {
            "type": "array",
            "description": "List of services where the takedown should be applied. If empty or not provided, takedown is applied on all configured services.",
            "items": {
              "type": "string",
              "enum": [
                "appview",
                "pds"
              ]
            }
          },
          "durationInHours": {
            "type": "integer",
            "description": "Indicates how long the takedown should be in effect before automatically expiring."
          },
          "strikeExpiresAt": {
            "type": "string",
            "description": "When the strike should expire. If not provided, the strike never expires.",
            "format": "date-time"
          },
          "acknowledgeAccountSubjects": {
            "type": "boolean",
            "description": "If true, all other reports on content authored by this account will be resolved (acknowledged)."
          }
        }
      },
      "tools.ozone.moderation.defs.moderationDetail": {
        "type": "object",
        "properties": {
          "subjectStatus": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.subjectStatusView"
          }
        }
      },
      "tools.ozone.moderation.defs.recordViewDetail": {
        "type": "object",
        "required": [
          "uri",
          "cid",
          "value",
          "blobs",
          "indexedAt",
          "moderation",
          "repo"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "uri": {
            "type": "string",
            "format": "at-uri"
          },
          "repo": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.repoView"
          },
          "blobs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/tools.ozone.moderation.defs.blobView"
            }
          },
          "value": {},
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/com.atproto.label.defs.label"
            }
          },
          "indexedAt": {
            "type": "string",
            "format": "date-time"
          },
          "moderation": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.moderationDetail"
          }
        }
      },
      "tools.ozone.moderation.defs.repoViewNotFound": {
        "type": "object",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          }
        }
      },
      "tools.ozone.moderation.defs.ageAssuranceEvent": {
        "type": "object",
        "description": "Age assurance info coming directly from users. Only works on DID subjects.",
        "required": [
          "createdAt",
          "status",
          "attemptId"
        ],
        "properties": {
          "access": {
            "$ref": "#/components/schemas/app.bsky.ageassurance.defs.access"
          },
          "initIp": {
            "type": "string",
            "description": "The IP address used when initiating the AA flow."
          },
          "initUa": {
            "type": "string",
            "description": "The user agent used when initiating the AA flow."
          },
          "status": {
            "type": "string",
            "description": "The status of the Age Assurance process.",
            "enum": [
              "unknown",
              "pending",
              "assured"
            ]
          },
          "attemptId": {
            "type": "string",
            "description": "The unique identifier for this instance of the age assurance flow, in UUID format."
          },
          "createdAt": {
            "type": "string",
            "description": "The date and time of this write operation.",
            "format": "date-time"
          },
          "completeIp": {
            "type": "string",
            "description": "The IP address used when completing the AA flow."
          },
          "completeUa": {
            "type": "string",
            "description": "The user agent used when completing the AA flow."
          },
          "regionCode": {
            "type": "string",
            "description": "The ISO 3166-2 region code provided when beginning the Age Assurance flow."
          },
          "countryCode": {
            "type": "string",
            "description": "The ISO 3166-1 alpha-2 country code provided when beginning the Age Assurance flow."
          }
        }
      },
      "tools.ozone.moderation.defs.subjectStatusView": {
        "type": "object",
        "required": [
          "id",
          "subject",
          "createdAt",
          "updatedAt",
          "reviewState"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "comment": {
            "type": "string",
            "description": "Sticky comment on the subject."
          },
          "hosting": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.accountHosting"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.recordHosting"
              }
            ]
          },
          "subject": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/com.atproto.admin.defs.repoRef"
              },
              {
                "$ref": "#/components/schemas/com.atproto.repo.strongRef"
              },
              {
                "$ref": "#/components/schemas/chat.bsky.convo.defs.messageRef"
              }
            ]
          },
          "appealed": {
            "type": "boolean",
            "description": "True indicates that the a previously taken moderator action was appealed against, by the author of the content. False indicates last appeal was resolved by moderators."
          },
          "createdAt": {
            "type": "string",
            "description": "Timestamp referencing the first moderation status impacting event was emitted on the subject",
            "format": "date-time"
          },
          "muteUntil": {
            "type": "string",
            "format": "date-time"
          },
          "takendown": {
            "type": "boolean"
          },
          "updatedAt": {
            "type": "string",
            "description": "Timestamp referencing when the last update was made to the moderation status of the subject",
            "format": "date-time"
          },
          "reviewState": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.subjectReviewState"
          },
          "accountStats": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.accountStats"
          },
          "recordsStats": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.recordsStats"
          },
          "suspendUntil": {
            "type": "string",
            "format": "date-time"
          },
          "accountStrike": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.accountStrike"
          },
          "priorityScore": {
            "type": "integer",
            "description": "Numeric value representing the level of priority. Higher score means higher priority.",
            "minimum": 0,
            "maximum": 100
          },
          "lastAppealedAt": {
            "type": "string",
            "description": "Timestamp referencing when the author of the subject appealed a moderation action",
            "format": "date-time"
          },
          "lastReportedAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastReviewedAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastReviewedBy": {
            "type": "string",
            "format": "did"
          },
          "subjectBlobCids": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "cid"
            }
          },
          "ageAssuranceState": {
            "type": "string",
            "description": "Current age assurance state of the subject.",
            "enum": [
              "pending",
              "assured",
              "unknown",
              "reset",
              "blocked"
            ]
          },
          "subjectRepoHandle": {
            "type": "string"
          },
          "muteReportingUntil": {
            "type": "string",
            "format": "date-time"
          },
          "ageAssuranceUpdatedBy": {
            "type": "string",
            "description": "Whether or not the last successful update to age assurance was made by the user or admin.",
            "enum": [
              "admin",
              "user"
            ]
          }
        }
      },
      "tools.ozone.moderation.defs.modEventViewDetail": {
        "type": "object",
        "required": [
          "id",
          "event",
          "subject",
          "subjectBlobs",
          "createdBy",
          "createdAt"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "event": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventTakedown"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventReverseTakedown"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventComment"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventReport"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventLabel"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventAcknowledge"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventEscalate"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventMute"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventUnmute"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventMuteReporter"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventUnmuteReporter"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventEmail"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventResolveAppeal"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventDivert"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventTag"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.accountEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.identityEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.recordEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.modEventPriorityScore"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.ageAssuranceEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.ageAssuranceOverrideEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.ageAssurancePurgeEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.revokeAccountCredentialsEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.scheduleTakedownEvent"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.cancelScheduledTakedownEvent"
              }
            ]
          },
          "modTool": {
            "$ref": "#/components/schemas/tools.ozone.moderation.defs.modTool"
          },
          "subject": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.repoView"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.repoViewNotFound"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.recordView"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.recordViewNotFound"
              }
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "format": "did"
          },
          "subjectBlobs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/tools.ozone.moderation.defs.blobView"
            }
          }
        }
      },
      "tools.ozone.moderation.defs.recordViewNotFound": {
        "type": "object",
        "required": [
          "uri"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "tools.ozone.moderation.defs.subjectReviewState": {
        "type": "string",
        "enum": [
          "tools.ozone.moderation.defs#reviewOpen",
          "tools.ozone.moderation.defs#reviewEscalated",
          "tools.ozone.moderation.defs#reviewClosed",
          "tools.ozone.moderation.defs#reviewNone"
        ]
      },
      "tools.ozone.moderation.defs.modEventAcknowledge": {
        "type": "object",
        "properties": {
          "comment": {
            "type": "string"
          },
          "acknowledgeAccountSubjects": {
            "type": "boolean",
            "description": "If true, all other reports on content authored by this account will be resolved (acknowledged)."
          }
        }
      },
      "tools.ozone.moderation.defs.scheduledActionView": {
        "type": "object",
        "description": "View of a scheduled moderation action",
        "required": [
          "id",
          "action",
          "did",
          "createdBy",
          "createdAt",
          "status"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "description": "Auto-incrementing row ID"
          },
          "did": {
            "type": "string",
            "description": "Subject DID for the action",
            "format": "did"
          },
          "action": {
            "type": "string",
            "description": "Type of action to be executed",
            "enum": [
              "takedown"
            ]
          },
          "status": {
            "type": "string",
            "description": "Current status of the scheduled action",
            "enum": [
              "pending",
              "executed",
              "cancelled",
              "failed"
            ]
          },
          "createdAt": {
            "type": "string",
            "description": "When the scheduled action was created",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "description": "DID of the user who created this scheduled action",
            "format": "did"
          },
          "eventData": {},
          "executeAt": {
            "type": "string",
            "description": "Exact time to execute the action",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "description": "When the scheduled action was last updated",
            "format": "date-time"
          },
          "executeAfter": {
            "type": "string",
            "description": "Earliest time to execute the action (for randomized scheduling)",
            "format": "date-time"
          },
          "executeUntil": {
            "type": "string",
            "description": "Latest time to execute the action (for randomized scheduling)",
            "format": "date-time"
          },
          "lastExecutedAt": {
            "type": "string",
            "description": "When the action was last attempted to be executed",
            "format": "date-time"
          },
          "executionEventId": {
            "type": "integer",
            "description": "ID of the moderation event created when action was successfully executed"
          },
          "lastFailureReason": {
            "type": "string",
            "description": "Reason for the last execution failure"
          },
          "randomizeExecution": {
            "type": "boolean",
            "description": "Whether execution time should be randomized within the specified range"
          }
        }
      },
      "tools.ozone.moderation.defs.modEventMuteReporter": {
        "type": "object",
        "description": "Mute incoming reports from an account",
        "properties": {
          "comment": {
            "type": "string"
          },
          "durationInHours": {
            "type": "integer",
            "description": "Indicates how long the account should remain muted. Falsy value here means a permanent mute."
          }
        }
      },
      "tools.ozone.moderation.defs.modEventPriorityScore": {
        "type": "object",
        "description": "Set priority score of the subject. Higher score means higher priority.",
        "required": [
          "score"
        ],
        "properties": {
          "score": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100
          },
          "comment": {
            "type": "string"
          }
        }
      },
      "tools.ozone.moderation.defs.modEventResolveAppeal": {
        "type": "object",
        "description": "Resolve appeal on a subject",
        "properties": {
          "comment": {
            "type": "string",
            "description": "Describe resolution."
          }
        }
      },
      "tools.ozone.moderation.defs.scheduleTakedownEvent": {
        "type": "object",
        "description": "Logs a scheduled takedown action for an account.",
        "properties": {
          "comment": {
            "type": "string"
          },
          "executeAt": {
            "type": "string",
            "format": "date-time"
          },
          "executeAfter": {
            "type": "string",
            "format": "date-time"
          },
          "executeUntil": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "tools.ozone.moderation.defs.ageAssurancePurgeEvent": {
        "type": "object",
        "description": "Purges all age assurance events for the subject. Only works on DID subjects. Moderator-only.",
        "required": [
          "comment"
        ],
        "properties": {
          "comment": {
            "type": "string",
            "description": "Comment describing the reason for the purge.",
            "minLength": 1
          }
        }
      },
      "tools.ozone.moderation.defs.modEventUnmuteReporter": {
        "type": "object",
        "description": "Unmute incoming reports from an account",
        "properties": {
          "comment": {
            "type": "string",
            "description": "Describe reasoning behind the reversal."
          }
        }
      },
      "tools.ozone.moderation.defs.timelineEventPlcCreate": {
        "type": "string",
        "format": "token",
        "description": "Moderation event timeline event for a PLC create operation"
      },
      "tools.ozone.moderation.defs.modEventReverseTakedown": {
        "type": "object",
        "description": "Revert take down action on a subject",
        "properties": {
          "comment": {
            "type": "string",
            "description": "Describe reasoning behind the reversal."
          },
          "policies": {
            "type": "array",
            "description": "Names/Keywords of the policy infraction for which takedown is being reversed.",
            "items": {
              "type": "string"
            },
            "maxItems": 5
          },
          "strikeCount": {
            "type": "integer",
            "description": "Number of strikes to subtract from the user's strike count. Usually set from the last policy infraction's severity."
          },
          "severityLevel": {
            "type": "string",
            "description": "Severity level of the violation. Usually set from the last policy infraction's severity."
          }
        }
      },
      "tools.ozone.moderation.defs.ageAssuranceOverrideEvent": {
        "type": "object",
        "description": "Age assurance status override by moderators. Only works on DID subjects.",
        "required": [
          "comment",
          "status"
        ],
        "properties": {
          "access": {
            "$ref": "#/components/schemas/app.bsky.ageassurance.defs.access"
          },
          "status": {
            "type": "string",
            "description": "The status to be set for the user decided by a moderator, overriding whatever value the user had previously. Use reset to default to original state.",
            "enum": [
              "assured",
              "reset",
              "blocked"
            ]
          },
          "comment": {
            "type": "string",
            "description": "Comment describing the reason for the override.",
            "minLength": 1
          }
        }
      },
      "tools.ozone.moderation.defs.timelineEventPlcOperation": {
        "type": "string",
        "format": "token",
        "description": "Moderation event timeline event for generic PLC operation"
      },
      "tools.ozone.moderation.defs.timelineEventPlcTombstone": {
        "type": "string",
        "format": "token",
        "description": "Moderation event timeline event for a PLC tombstone operation"
      },
      "tools.ozone.moderation.defs.cancelScheduledTakedownEvent": {
        "type": "object",
        "description": "Logs cancellation of a scheduled takedown action for an account.",
        "properties": {
          "comment": {
            "type": "string"
          }
        }
      },
      "tools.ozone.moderation.defs.revokeAccountCredentialsEvent": {
        "type": "object",
        "description": "Account credentials revocation by moderators. Only works on DID subjects.",
        "required": [
          "comment"
        ],
        "properties": {
          "comment": {
            "type": "string",
            "description": "Comment describing the reason for the revocation.",
            "minLength": 1
          }
        }
      },
      "tools.ozone.moderation.getAccountTimeline.timelineItem": {
        "type": "object",
        "required": [
          "day",
          "summary"
        ],
        "properties": {
          "day": {
            "type": "string"
          },
          "summary": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/tools.ozone.moderation.getAccountTimeline.timelineItemSummary"
            }
          }
        }
      },
      "tools.ozone.moderation.getAccountTimeline.timelineItemSummary": {
        "type": "object",
        "required": [
          "eventSubjectType",
          "eventType",
          "count"
        ],
        "properties": {
          "count": {
            "type": "integer"
          },
          "eventType": {
            "type": "string",
            "enum": [
              "tools.ozone.moderation.defs#modEventTakedown",
              "tools.ozone.moderation.defs#modEventReverseTakedown",
              "tools.ozone.moderation.defs#modEventComment",
              "tools.ozone.moderation.defs#modEventReport",
              "tools.ozone.moderation.defs#modEventLabel",
              "tools.ozone.moderation.defs#modEventAcknowledge",
              "tools.ozone.moderation.defs#modEventEscalate",
              "tools.ozone.moderation.defs#modEventMute",
              "tools.ozone.moderation.defs#modEventUnmute",
              "tools.ozone.moderation.defs#modEventMuteReporter",
              "tools.ozone.moderation.defs#modEventUnmuteReporter",
              "tools.ozone.moderation.defs#modEventEmail",
              "tools.ozone.moderation.defs#modEventResolveAppeal",
              "tools.ozone.moderation.defs#modEventDivert",
              "tools.ozone.moderation.defs#modEventTag",
              "tools.ozone.moderation.defs#accountEvent",
              "tools.ozone.moderation.defs#identityEvent",
              "tools.ozone.moderation.defs#recordEvent",
              "tools.ozone.moderation.defs#modEventPriorityScore",
              "tools.ozone.moderation.defs#revokeAccountCredentialsEvent",
              "tools.ozone.moderation.defs#ageAssuranceEvent",
              "tools.ozone.moderation.defs#ageAssuranceOverrideEvent",
              "tools.ozone.moderation.defs#timelineEventPlcCreate",
              "tools.ozone.moderation.defs#timelineEventPlcOperation",
              "tools.ozone.moderation.defs#timelineEventPlcTombstone",
              "tools.ozone.hosting.getAccountHistory#accountCreated",
              "tools.ozone.hosting.getAccountHistory#emailConfirmed",
              "tools.ozone.hosting.getAccountHistory#passwordUpdated",
              "tools.ozone.hosting.getAccountHistory#handleUpdated",
              "tools.ozone.moderation.defs#scheduleTakedownEvent",
              "tools.ozone.moderation.defs#cancelScheduledTakedownEvent"
            ]
          },
          "eventSubjectType": {
            "type": "string",
            "enum": [
              "account",
              "record",
              "chat"
            ]
          }
        }
      },
      "tools.ozone.moderation.scheduleAction.takedown": {
        "type": "object",
        "description": "Schedule a takedown action",
        "properties": {
          "comment": {
            "type": "string"
          },
          "policies": {
            "type": "array",
            "description": "Names/Keywords of the policies that drove the decision.",
            "items": {
              "type": "string"
            },
            "maxItems": 5
          },
          "strikeCount": {
            "type": "integer",
            "description": "Number of strikes to assign to the user when takedown is applied."
          },
          "emailContent": {
            "type": "string",
            "description": "Email content to be sent to the user upon takedown."
          },
          "emailSubject": {
            "type": "string",
            "description": "Subject of the email to be sent to the user upon takedown."
          },
          "severityLevel": {
            "type": "string",
            "description": "Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.)."
          },
          "durationInHours": {
            "type": "integer",
            "description": "Indicates how long the takedown should be in effect before automatically expiring."
          },
          "strikeExpiresAt": {
            "type": "string",
            "description": "When the strike should expire. If not provided, the strike never expires.",
            "format": "date-time"
          },
          "acknowledgeAccountSubjects": {
            "type": "boolean",
            "description": "If true, all other reports on content authored by this account will be resolved (acknowledged)."
          }
        }
      },
      "tools.ozone.moderation.scheduleAction.failedScheduling": {
        "type": "object",
        "required": [
          "subject",
          "error"
        ],
        "properties": {
          "error": {
            "type": "string"
          },
          "subject": {
            "type": "string",
            "format": "did"
          },
          "errorCode": {
            "type": "string"
          }
        }
      },
      "tools.ozone.moderation.scheduleAction.schedulingConfig": {
        "type": "object",
        "description": "Configuration for when the action should be executed",
        "properties": {
          "executeAt": {
            "type": "string",
            "description": "Exact time to execute the action",
            "format": "date-time"
          },
          "executeAfter": {
            "type": "string",
            "description": "Earliest time to execute the action (for randomized scheduling)",
            "format": "date-time"
          },
          "executeUntil": {
            "type": "string",
            "description": "Latest time to execute the action (for randomized scheduling)",
            "format": "date-time"
          }
        }
      },
      "tools.ozone.moderation.scheduleAction.scheduledActionResults": {
        "type": "object",
        "required": [
          "succeeded",
          "failed"
        ],
        "properties": {
          "failed": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/tools.ozone.moderation.scheduleAction.failedScheduling"
            }
          },
          "succeeded": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "did"
            }
          }
        }
      },
      "tools.ozone.report.defs.reasonType": {
        "type": "string",
        "enum": [
          "tools.ozone.report.defs#reasonAppeal",
          "tools.ozone.report.defs#reasonOther",
          "tools.ozone.report.defs#reasonViolenceAnimal",
          "tools.ozone.report.defs#reasonViolenceThreats",
          "tools.ozone.report.defs#reasonViolenceGraphicContent",
          "tools.ozone.report.defs#reasonViolenceGlorification",
          "tools.ozone.report.defs#reasonViolenceExtremistContent",
          "tools.ozone.report.defs#reasonViolenceTrafficking",
          "tools.ozone.report.defs#reasonViolenceOther",
          "tools.ozone.report.defs#reasonSexualAbuseContent",
          "tools.ozone.report.defs#reasonSexualNCII",
          "tools.ozone.report.defs#reasonSexualDeepfake",
          "tools.ozone.report.defs#reasonSexualAnimal",
          "tools.ozone.report.defs#reasonSexualUnlabeled",
          "tools.ozone.report.defs#reasonSexualOther",
          "tools.ozone.report.defs#reasonChildSafetyCSAM",
          "tools.ozone.report.defs#reasonChildSafetyGroom",
          "tools.ozone.report.defs#reasonChildSafetyPrivacy",
          "tools.ozone.report.defs#reasonChildSafetyHarassment",
          "tools.ozone.report.defs#reasonChildSafetyOther",
          "tools.ozone.report.defs#reasonHarassmentTroll",
          "tools.ozone.report.defs#reasonHarassmentTargeted",
          "tools.ozone.report.defs#reasonHarassmentHateSpeech",
          "tools.ozone.report.defs#reasonHarassmentDoxxing",
          "tools.ozone.report.defs#reasonHarassmentOther",
          "tools.ozone.report.defs#reasonMisleadingBot",
          "tools.ozone.report.defs#reasonMisleadingImpersonation",
          "tools.ozone.report.defs#reasonMisleadingSpam",
          "tools.ozone.report.defs#reasonMisleadingScam",
          "tools.ozone.report.defs#reasonMisleadingElections",
          "tools.ozone.report.defs#reasonMisleadingOther",
          "tools.ozone.report.defs#reasonRuleSiteSecurity",
          "tools.ozone.report.defs#reasonRuleProhibitedSales",
          "tools.ozone.report.defs#reasonRuleBanEvasion",
          "tools.ozone.report.defs#reasonRuleOther",
          "tools.ozone.report.defs#reasonSelfHarmContent",
          "tools.ozone.report.defs#reasonSelfHarmED",
          "tools.ozone.report.defs#reasonSelfHarmStunts",
          "tools.ozone.report.defs#reasonSelfHarmSubstances",
          "tools.ozone.report.defs#reasonSelfHarmOther"
        ]
      },
      "tools.ozone.report.defs.reasonOther": {
        "type": "string",
        "format": "token",
        "description": "An issue not included in these options"
      },
      "tools.ozone.report.defs.reasonAppeal": {
        "type": "string",
        "format": "token",
        "description": "Appeal a previously taken moderation action"
      },
      "tools.ozone.report.defs.reasonRuleOther": {
        "type": "string",
        "format": "token",
        "description": "Other"
      },
      "tools.ozone.report.defs.reasonSelfHarmED": {
        "type": "string",
        "format": "token",
        "description": "Eating disorders"
      },
      "tools.ozone.report.defs.reasonSexualNCII": {
        "type": "string",
        "format": "token",
        "description": "Non-consensual intimate imagery"
      },
      "tools.ozone.report.defs.reasonSexualOther": {
        "type": "string",
        "format": "token",
        "description": "Other sexual violence content"
      },
      "tools.ozone.report.defs.reasonSexualAnimal": {
        "type": "string",
        "format": "token",
        "description": "Animal sexual abuse"
      },
      "tools.ozone.report.defs.reasonMisleadingBot": {
        "type": "string",
        "format": "token",
        "description": "Fake account or bot"
      },
      "tools.ozone.report.defs.reasonSelfHarmOther": {
        "type": "string",
        "format": "token",
        "description": "Other dangerous content"
      },
      "tools.ozone.report.defs.reasonViolenceOther": {
        "type": "string",
        "format": "token",
        "description": "Other violent content"
      },
      "tools.ozone.report.defs.reasonMisleadingScam": {
        "type": "string",
        "format": "token",
        "description": "Scam"
      },
      "tools.ozone.report.defs.reasonMisleadingSpam": {
        "type": "string",
        "format": "token",
        "description": "Spam"
      },
      "tools.ozone.report.defs.reasonRuleBanEvasion": {
        "type": "string",
        "format": "token",
        "description": "Banned user returning"
      },
      "tools.ozone.report.defs.reasonSelfHarmStunts": {
        "type": "string",
        "format": "token",
        "description": "Dangerous challenges or activities"
      },
      "tools.ozone.report.defs.reasonSexualDeepfake": {
        "type": "string",
        "format": "token",
        "description": "Deepfake adult content"
      },
      "tools.ozone.report.defs.reasonViolenceAnimal": {
        "type": "string",
        "format": "token",
        "description": "Animal welfare violations"
      },
      "tools.ozone.report.defs.reasonChildSafetyCSAM": {
        "type": "string",
        "format": "token",
        "description": "Child sexual abuse material (CSAM). These reports will be sent only be sent to the application's Moderation Authority."
      },
      "tools.ozone.report.defs.reasonHarassmentOther": {
        "type": "string",
        "format": "token",
        "description": "Other harassing or hateful content"
      },
      "tools.ozone.report.defs.reasonHarassmentTroll": {
        "type": "string",
        "format": "token",
        "description": "Trolling"
      },
      "tools.ozone.report.defs.reasonMisleadingOther": {
        "type": "string",
        "format": "token",
        "description": "Other misleading content"
      },
      "tools.ozone.report.defs.reasonSelfHarmContent": {
        "type": "string",
        "format": "token",
        "description": "Content promoting or depicting self-harm"
      },
      "tools.ozone.report.defs.reasonSexualUnlabeled": {
        "type": "string",
        "format": "token",
        "description": "Unlabelled adult content"
      },
      "tools.ozone.report.defs.reasonViolenceThreats": {
        "type": "string",
        "format": "token",
        "description": "Threats or incitement"
      },
      "tools.ozone.report.defs.reasonChildSafetyGroom": {
        "type": "string",
        "format": "token",
        "description": "Grooming or predatory behavior. These reports will be sent only be sent to the application's Moderation Authority."
      },
      "tools.ozone.report.defs.reasonChildSafetyOther": {
        "type": "string",
        "format": "token",
        "description": "Other child safety. These reports will be sent only be sent to the application's Moderation Authority."
      },
      "tools.ozone.report.defs.reasonRuleSiteSecurity": {
        "type": "string",
        "format": "token",
        "description": "Hacking or system attacks"
      },
      "tools.ozone.report.defs.reasonHarassmentDoxxing": {
        "type": "string",
        "format": "token",
        "description": "Doxxing"
      },
      "tools.ozone.report.defs.reasonChildSafetyPrivacy": {
        "type": "string",
        "format": "token",
        "description": "Privacy violation involving a minor"
      },
      "tools.ozone.report.defs.reasonHarassmentTargeted": {
        "type": "string",
        "format": "token",
        "description": "Targeted harassment"
      },
      "tools.ozone.report.defs.reasonSelfHarmSubstances": {
        "type": "string",
        "format": "token",
        "description": "Dangerous substances or drug abuse"
      },
      "tools.ozone.report.defs.reasonSexualAbuseContent": {
        "type": "string",
        "format": "token",
        "description": "Adult sexual abuse content"
      },
      "tools.ozone.report.defs.reasonMisleadingElections": {
        "type": "string",
        "format": "token",
        "description": "False information about elections"
      },
      "tools.ozone.report.defs.reasonRuleProhibitedSales": {
        "type": "string",
        "format": "token",
        "description": "Promoting or selling prohibited items or services"
      },
      "tools.ozone.report.defs.reasonViolenceTrafficking": {
        "type": "string",
        "format": "token",
        "description": "Human trafficking"
      },
      "tools.ozone.report.defs.reasonHarassmentHateSpeech": {
        "type": "string",
        "format": "token",
        "description": "Hate speech"
      },
      "tools.ozone.report.defs.reasonChildSafetyHarassment": {
        "type": "string",
        "format": "token",
        "description": "Harassment or bullying of minors"
      },
      "tools.ozone.report.defs.reasonViolenceGlorification": {
        "type": "string",
        "format": "token",
        "description": "Glorification of violence"
      },
      "tools.ozone.report.defs.reasonViolenceGraphicContent": {
        "type": "string",
        "format": "token",
        "description": "Graphic violent content"
      },
      "tools.ozone.report.defs.reasonMisleadingImpersonation": {
        "type": "string",
        "format": "token",
        "description": "Impersonation"
      },
      "tools.ozone.report.defs.reasonViolenceExtremistContent": {
        "type": "string",
        "format": "token",
        "description": "Extremist content. These reports will be sent only be sent to the application's Moderation Authority."
      },
      "tools.ozone.safelink.defs.event": {
        "type": "object",
        "description": "An event for URL safety decisions",
        "required": [
          "id",
          "eventType",
          "url",
          "pattern",
          "action",
          "reason",
          "createdBy",
          "createdAt"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "description": "Auto-incrementing row ID"
          },
          "url": {
            "type": "string",
            "description": "The URL that this rule applies to"
          },
          "action": {
            "$ref": "#/components/schemas/tools.ozone.safelink.defs.actionType"
          },
          "reason": {
            "$ref": "#/components/schemas/tools.ozone.safelink.defs.reasonType"
          },
          "comment": {
            "type": "string",
            "description": "Optional comment about the decision"
          },
          "pattern": {
            "$ref": "#/components/schemas/tools.ozone.safelink.defs.patternType"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "description": "DID of the user who created this rule",
            "format": "did"
          },
          "eventType": {
            "$ref": "#/components/schemas/tools.ozone.safelink.defs.eventType"
          }
        }
      },
      "tools.ozone.safelink.defs.urlRule": {
        "type": "object",
        "description": "Input for creating a URL safety rule",
        "required": [
          "url",
          "pattern",
          "action",
          "reason",
          "createdBy",
          "createdAt",
          "updatedAt"
        ],
        "properties": {
          "url": {
            "type": "string",
            "description": "The URL or domain to apply the rule to"
          },
          "action": {
            "$ref": "#/components/schemas/tools.ozone.safelink.defs.actionType"
          },
          "reason": {
            "$ref": "#/components/schemas/tools.ozone.safelink.defs.reasonType"
          },
          "comment": {
            "type": "string",
            "description": "Optional comment about the decision"
          },
          "pattern": {
            "$ref": "#/components/schemas/tools.ozone.safelink.defs.patternType"
          },
          "createdAt": {
            "type": "string",
            "description": "Timestamp when the rule was created",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "description": "DID of the user added the rule.",
            "format": "did"
          },
          "updatedAt": {
            "type": "string",
            "description": "Timestamp when the rule was last updated",
            "format": "date-time"
          }
        }
      },
      "tools.ozone.safelink.defs.eventType": {
        "type": "string",
        "enum": [
          "addRule",
          "updateRule",
          "removeRule"
        ]
      },
      "tools.ozone.safelink.defs.actionType": {
        "type": "string",
        "enum": [
          "block",
          "warn",
          "whitelist"
        ]
      },
      "tools.ozone.safelink.defs.reasonType": {
        "type": "string",
        "enum": [
          "csam",
          "spam",
          "phishing",
          "none"
        ]
      },
      "tools.ozone.safelink.defs.patternType": {
        "type": "string",
        "enum": [
          "domain",
          "url"
        ]
      },
      "tools.ozone.server.getConfig.viewerConfig": {
        "type": "object",
        "properties": {
          "role": {
            "type": "string",
            "enum": [
              "tools.ozone.team.defs#roleAdmin",
              "tools.ozone.team.defs#roleModerator",
              "tools.ozone.team.defs#roleTriage",
              "tools.ozone.team.defs#roleVerifier"
            ]
          }
        }
      },
      "tools.ozone.server.getConfig.serviceConfig": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "tools.ozone.set.defs.set": {
        "type": "object",
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "minLength": 3,
            "maxLength": 128
          },
          "description": {
            "type": "string",
            "maxLength": 10240
          }
        }
      },
      "tools.ozone.set.defs.setView": {
        "type": "object",
        "required": [
          "name",
          "setSize",
          "createdAt",
          "updatedAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "minLength": 3,
            "maxLength": 128
          },
          "setSize": {
            "type": "integer"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "maxLength": 10240
          }
        }
      },
      "tools.ozone.setting.defs.option": {
        "type": "object",
        "required": [
          "key",
          "value",
          "did",
          "scope",
          "createdBy",
          "lastUpdatedBy"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "key": {
            "type": "string",
            "format": "nsid"
          },
          "scope": {
            "type": "string",
            "enum": [
              "instance",
              "personal"
            ]
          },
          "value": {},
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "format": "did"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "maxLength": 10240
          },
          "managerRole": {
            "type": "string",
            "enum": [
              "tools.ozone.team.defs#roleModerator",
              "tools.ozone.team.defs#roleTriage",
              "tools.ozone.team.defs#roleAdmin",
              "tools.ozone.team.defs#roleVerifier"
            ]
          },
          "lastUpdatedBy": {
            "type": "string",
            "format": "did"
          }
        }
      },
      "tools.ozone.signature.defs.sigDetail": {
        "type": "object",
        "required": [
          "property",
          "value"
        ],
        "properties": {
          "value": {
            "type": "string"
          },
          "property": {
            "type": "string"
          }
        }
      },
      "tools.ozone.signature.findRelatedAccounts.relatedAccount": {
        "type": "object",
        "required": [
          "account"
        ],
        "properties": {
          "account": {
            "$ref": "#/components/schemas/com.atproto.admin.defs.accountView"
          },
          "similarities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/tools.ozone.signature.defs.sigDetail"
            }
          }
        }
      },
      "tools.ozone.team.defs.member": {
        "type": "object",
        "required": [
          "did",
          "role"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "role": {
            "type": "string",
            "enum": [
              "tools.ozone.team.defs#roleAdmin",
              "tools.ozone.team.defs#roleModerator",
              "tools.ozone.team.defs#roleTriage",
              "tools.ozone.team.defs#roleVerifier"
            ]
          },
          "profile": {
            "$ref": "#/components/schemas/app.bsky.actor.defs.profileViewDetailed"
          },
          "disabled": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastUpdatedBy": {
            "type": "string"
          }
        }
      },
      "tools.ozone.team.defs.roleAdmin": {
        "type": "string",
        "format": "token",
        "description": "Admin role. Highest level of access, can perform all actions."
      },
      "tools.ozone.team.defs.roleTriage": {
        "type": "string",
        "format": "token",
        "description": "Triage role. Mostly intended for monitoring and escalating issues."
      },
      "tools.ozone.team.defs.roleVerifier": {
        "type": "string",
        "format": "token",
        "description": "Verifier role. Only allowed to issue verifications."
      },
      "tools.ozone.team.defs.roleModerator": {
        "type": "string",
        "format": "token",
        "description": "Moderator role. Can perform most actions."
      },
      "tools.ozone.verification.defs.verificationView": {
        "type": "object",
        "description": "Verification data for the associated subject.",
        "required": [
          "issuer",
          "uri",
          "subject",
          "handle",
          "displayName",
          "createdAt"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "description": "The AT-URI of the verification record.",
            "format": "at-uri"
          },
          "handle": {
            "type": "string",
            "description": "Handle of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current handle matches the one at the time of verifying.",
            "format": "handle"
          },
          "issuer": {
            "type": "string",
            "description": "The user who issued this verification.",
            "format": "did"
          },
          "subject": {
            "type": "string",
            "description": "The subject of the verification.",
            "format": "did"
          },
          "createdAt": {
            "type": "string",
            "description": "Timestamp when the verification was created.",
            "format": "date-time"
          },
          "revokedAt": {
            "type": "string",
            "description": "Timestamp when the verification was revoked.",
            "format": "date-time"
          },
          "revokedBy": {
            "type": "string",
            "description": "The user who revoked this verification.",
            "format": "did"
          },
          "issuerRepo": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.repoViewDetail"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.repoViewNotFound"
              }
            ]
          },
          "displayName": {
            "type": "string",
            "description": "Display name of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current displayName matches the one at the time of verifying."
          },
          "subjectRepo": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.repoViewDetail"
              },
              {
                "$ref": "#/components/schemas/tools.ozone.moderation.defs.repoViewNotFound"
              }
            ]
          },
          "revokeReason": {
            "type": "string",
            "description": "Describes the reason for revocation, also indicating that the verification is no longer valid."
          },
          "issuerProfile": {
            "oneOf": []
          },
          "subjectProfile": {
            "oneOf": []
          }
        }
      },
      "tools.ozone.verification.grantVerifications.grantError": {
        "type": "object",
        "description": "Error object for failed verifications.",
        "required": [
          "error",
          "subject"
        ],
        "properties": {
          "error": {
            "type": "string",
            "description": "Error message describing the reason for failure."
          },
          "subject": {
            "type": "string",
            "description": "The did of the subject being verified",
            "format": "did"
          }
        }
      },
      "tools.ozone.verification.grantVerifications.verificationInput": {
        "type": "object",
        "required": [
          "subject",
          "handle",
          "displayName"
        ],
        "properties": {
          "handle": {
            "type": "string",
            "description": "Handle of the subject the verification applies to at the moment of verifying.",
            "format": "handle"
          },
          "subject": {
            "type": "string",
            "description": "The did of the subject being verified",
            "format": "did"
          },
          "createdAt": {
            "type": "string",
            "description": "Timestamp for verification record. Defaults to current time when not specified.",
            "format": "date-time"
          },
          "displayName": {
            "type": "string",
            "description": "Display name of the subject the verification applies to at the moment of verifying."
          }
        }
      },
      "tools.ozone.verification.revokeVerifications.revokeError": {
        "type": "object",
        "description": "Error object for failed revocations",
        "required": [
          "uri",
          "error"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "description": "The AT-URI of the verification record that failed to revoke.",
            "format": "at-uri"
          },
          "error": {
            "type": "string",
            "description": "Description of the error that occurred during revocation."
          }
        }
      },
      "network.bsky.jetstream.listSegments.segment": {
        "type": "object",
        "required": [
          "name",
          "index",
          "sizeBytes",
          "checksum",
          "eventCount",
          "minSeq",
          "maxSeq",
          "minWitnessedAt",
          "maxWitnessedAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Segment filename; pass to getSegment."
          },
          "index": {
            "type": "integer",
            "description": "Zero-based segment index."
          },
          "sizeBytes": {
            "type": "integer",
            "description": "File size in bytes."
          },
          "checksum": {
            "type": "string",
            "description": "Segment-format xxh3 metadata checksum as 16-char hex; equals the getSegment ETag."
          },
          "eventCount": {
            "type": "integer",
            "description": "Number of events in the segment."
          },
          "minSeq": {
            "type": "integer"
          },
          "maxSeq": {
            "type": "integer"
          },
          "minWitnessedAt": {
            "type": "integer",
            "description": "Earliest witnessed-at, unix microseconds."
          },
          "maxWitnessedAt": {
            "type": "integer",
            "description": "Latest witnessed-at, unix microseconds."
          }
        }
      },
      "network.bsky.jetstream.planSnapshot.segment": {
        "type": "object",
        "required": [
          "name",
          "index",
          "checksum",
          "minSeq",
          "maxSeq",
          "mode"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Segment filename to pass to getSegment or getBlock."
          },
          "index": {
            "type": "integer",
            "description": "Zero-based segment index.",
            "minimum": 0
          },
          "checksum": {
            "type": "string",
            "description": "The segment's xxh3 metadata checksum, encoded as 16 hexadecimal characters.",
            "minLength": 16,
            "maxLength": 16
          },
          "minSeq": {
            "type": "integer",
            "minimum": 0
          },
          "maxSeq": {
            "type": "integer",
            "minimum": 0
          },
          "mode": {
            "type": "string",
            "description": "How to download this segment. For segment, download the whole file with getSegment. For blocks, download the ranges listed in blocks with getBlock.",
            "enum": [
              "segment",
              "blocks"
            ]
          },
          "blocks": {
            "type": "array",
            "description": "Block ranges to download, including both endpoints. This field is present only when mode is blocks.",
            "items": {
              "$ref": "#/components/schemas/network.bsky.jetstream.planSnapshot.blockRange"
            }
          }
        }
      },
      "network.bsky.jetstream.planSnapshot.blockRange": {
        "type": "object",
        "required": [
          "first",
          "last"
        ],
        "properties": {
          "first": {
            "type": "integer",
            "description": "Index of the first block in the range.",
            "minimum": 0
          },
          "last": {
            "type": "integer",
            "description": "Index of the last block in the range.",
            "minimum": 0
          }
        }
      },
      "network.bsky.jetstream.planSnapshot.stats": {
        "type": "object",
        "required": [
          "segmentsExamined",
          "segmentsMatched",
          "blocksMatched",
          "entries"
        ],
        "properties": {
          "segmentsExamined": {
            "type": "integer",
            "minimum": 0
          },
          "segmentsMatched": {
            "type": "integer",
            "minimum": 0
          },
          "blocksMatched": {
            "type": "integer",
            "minimum": 0
          },
          "entries": {
            "type": "integer",
            "description": "Number of items counted toward the server's per-page plan limit.",
            "minimum": 0
          }
        }
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "tags": [
    {
      "name": "app.bsky.actor"
    },
    {
      "name": "app.bsky.ageassurance"
    },
    {
      "name": "app.bsky.bookmark"
    },
    {
      "name": "app.bsky.contact"
    },
    {
      "name": "app.bsky.draft"
    },
    {
      "name": "app.bsky.feed"
    },
    {
      "name": "app.bsky.graph"
    },
    {
      "name": "app.bsky.labeler"
    },
    {
      "name": "app.bsky.notification"
    },
    {
      "name": "app.bsky.video"
    },
    {
      "name": "com.atproto.admin"
    },
    {
      "name": "com.atproto.identity"
    },
    {
      "name": "com.atproto.label"
    },
    {
      "name": "com.atproto.moderation"
    },
    {
      "name": "com.atproto.repo"
    },
    {
      "name": "com.atproto.server"
    },
    {
      "name": "com.atproto.sync"
    }
  ],
  "x-tagGroups": [
    {
      "name": "app.bsky",
      "tags": [
        "app.bsky.actor",
        "app.bsky.ageassurance",
        "app.bsky.bookmark",
        "app.bsky.contact",
        "app.bsky.draft",
        "app.bsky.feed",
        "app.bsky.graph",
        "app.bsky.labeler",
        "app.bsky.notification",
        "app.bsky.video"
      ]
    },
    {
      "name": "com.atproto",
      "tags": [
        "com.atproto.admin",
        "com.atproto.identity",
        "com.atproto.label",
        "com.atproto.moderation",
        "com.atproto.repo",
        "com.atproto.server",
        "com.atproto.sync"
      ]
    }
  ]
}
