{
  "lexicon": 1,
  "id": "com.atproto.repo.listMissingBlobs",
  "defs": {
    "main": {
      "type": "query",
      "description": "Returns a list of missing blobs for the requesting account. Intended to be used in the account migration flow.",
      "parameters": {
        "type": "params",
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "type": "integer",
            "default": 500,
            "minimum": 1,
            "maximum": 1000
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": [
            "blobs"
          ],
          "properties": {
            "blobs": {
              "type": "array",
              "items": {
                "type": "ref",
                "ref": "#recordBlob"
              }
            },
            "cursor": {
              "type": "string"
            }
          }
        }
      }
    },
    "recordBlob": {
      "type": "object",
      "required": [
        "cid",
        "recordUri"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "recordUri": {
          "type": "string",
          "format": "at-uri"
        }
      }
    }
  }
}