{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hud-ai/json-schema/hud-ai-import-upload-request-schema.json",
  "title": "ImportUploadRequest",
  "description": "A bundle upload, reserved in the caller's data folder under the format's size limit.\n\nPublish the uploaded file with ``POST /data/{file_id}/complete`` before importing it.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hud-ai-imports-api-openapi.yml#/components/schemas/ImportUploadRequest",
  "properties": {
    "filename": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Filename"
    },
    "size_bytes": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Size Bytes"
    },
    "content_type": {
      "type": "string",
      "maxLength": 200,
      "minLength": 3,
      "title": "Content Type",
      "default": "application/octet-stream"
    },
    "format": {
      "type": "string",
      "const": "harbor",
      "title": "Format"
    }
  },
  "type": "object",
  "required": [
    "filename",
    "size_bytes",
    "format"
  ]
}