{
  "lexicon": 1,
  "id": "com.atproto.server.checkAccountStatus",
  "defs": {
    "main": {
      "type": "query",
      "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.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": [
            "activated",
            "validDid",
            "repoCommit",
            "repoRev",
            "repoBlocks",
            "indexedRecords",
            "privateStateValues",
            "expectedBlobs",
            "importedBlobs"
          ],
          "properties": {
            "activated": {
              "type": "boolean"
            },
            "expectedBlobs": {
              "type": "integer"
            },
            "importedBlobs": {
              "type": "integer"
            },
            "indexedRecords": {
              "type": "integer"
            },
            "privateStateValues": {
              "type": "integer"
            },
            "repoBlocks": {
              "type": "integer"
            },
            "repoCommit": {
              "type": "string",
              "format": "cid"
            },
            "repoRev": {
              "type": "string"
            },
            "validDid": {
              "type": "boolean"
            }
          }
        }
      }
    }
  }
}