{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkbreakers-com/json-schema/linkbreakers-com-assistant-create-attachment-upload-request-schema.json",
  "title": "Request to start a direct attachment upload",
  "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/AssistantCreateAttachmentUploadRequest",
  "properties": {
    "fileName": {
      "title": "The file's name, shown with the message and kept if the file is stored as media",
      "type": "string"
    },
    "mimeType": {
      "description": "The file's MIME type. Empty is application/octet-stream. An image (PNG, JPEG, WebP, SVG), PDF or\nMP4 video must really be that format.",
      "type": "string"
    },
    "size": {
      "description": "The file's exact size in bytes, at most 50 MB. The PUT must send exactly this many bytes.",
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "fileName",
    "size"
  ],
  "type": "object"
}