{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "On the source host, for the destination of a move migratePrepare started: a part of the group nothing public serves whole. `meta` is what this host keeps of a space as its authority (whether anyone may read it, who writes there, and who may beyond its access record), as JSON, `repo` the group's own repo in a space (as com.atproto.space.getRepo does), `blobs` the list of its files and `blob` one of them. Authorized by migratePrepare's token, for an hour.",
      "errors": [
        {
          "description": "The token is not migratePrepare's for this group, or its hour is over.",
          "name": "InvalidToken"
        },
        {
          "description": "The group has no file by that CID.",
          "name": "BlobNotFound"
        }
      ],
      "output": {
        "encoding": "*/*"
      },
      "parameters": {
        "properties": {
          "cid": {
            "format": "cid",
            "type": "string"
          },
          "group": {
            "format": "did",
            "type": "string"
          },
          "part": {
            "knownValues": [
              "meta",
              "repo",
              "blobs",
              "blob"
            ],
            "type": "string"
          },
          "space": {
            "format": "space-ref",
            "type": "string"
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "group",
          "token",
          "part"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "fyi.opensocial.migrateExport",
  "lexicon": 1
}
