{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Authentication required. Never publishes to the PDS. Owner-only encrypted temporary attachment part. Requires reserved asset UUID in X-Social-Draft-Upload-Id, zero-based integer X-Social-Draft-Upload-Part, and exact known Content-Length. Parts are 3145728 bytes except the final remainder; maximum 34 parts and 104857600 aggregate bytes. Identical retries are idempotent, differing bytes conflict. Reservations expire after 24 hours.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "NotFound"
        },
        {
          "name": "Conflict"
        },
        {
          "name": "Quota"
        },
        {
          "name": "UploadPending"
        },
        {
          "name": "Unavailable"
        },
        {
          "name": "Unauthorized"
        },
        {
          "name": "LengthRequired"
        }
      ],
      "input": {
        "encoding": "application/octet-stream"
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "assetId": {
              "maxLength": 36,
              "type": "string"
            },
            "part": {
              "maximum": 33,
              "minimum": 0,
              "type": "integer"
            },
            "received": {
              "const": true,
              "type": "boolean"
            }
          },
          "required": [
            "assetId",
            "part",
            "received"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.thesocialwire.socialDraft.uploadAttachmentChunk",
  "lexicon": 1
}
