{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkbreakers-com/json-schema/linkbreakers-com-assistant-create-attachment-upload-response-schema.json",
  "title": "A reserved attachment and where to upload its file",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linkbreakers-com-assistant-api-openapi.yml#/components/schemas/AssistantCreateAttachmentUploadResponse",
  "properties": {
    "fileId": {
      "title": "The attachment's id: what CompleteAttachmentUpload and a message's file ids take",
      "type": "string"
    },
    "uploadExpiresAt": {
      "format": "date-time",
      "title": "When upload_url stops accepting the file",
      "type": "string"
    },
    "uploadHeaders": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Headers the upload must carry, exactly as given. The Content-Length must equal the declared size.",
      "type": "object"
    },
    "uploadMethod": {
      "title": "The HTTP method to send them with: always PUT",
      "type": "string"
    },
    "uploadUrl": {
      "description": "Where to send the file's bytes, directly to storage. Short-lived.",
      "type": "string"
    }
  },
  "type": "object"
}