{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fleetai-com/json-schema/fleetai-com-attachment-list-response-schema.json",
  "title": "AttachmentListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fleetai-com-sessions-api-openapi.yml#/components/schemas/AttachmentListResponse",
  "properties": {
    "attachments": {
      "additionalProperties": {
        "items": {
          "$ref": "#/$defs/AttachmentDownloadItem"
        },
        "type": "array"
      },
      "type": "object",
      "title": "Attachments"
    }
  },
  "type": "object",
  "required": [
    "attachments"
  ],
  "$defs": {
    "AttachmentDownloadItem": {
      "properties": {
        "filename": {
          "type": "string",
          "title": "Filename"
        },
        "category": {
          "type": "string",
          "title": "Category"
        },
        "content_type": {
          "type": "string",
          "title": "Content Type"
        },
        "s3_key": {
          "type": "string",
          "title": "S3 Key"
        },
        "url": {
          "type": "string",
          "title": "Url"
        },
        "target_path": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Target Path"
        },
        "size_bytes": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Size Bytes"
        },
        "sha256": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Sha256"
        }
      },
      "type": "object",
      "required": [
        "filename",
        "category",
        "content_type",
        "s3_key",
        "url"
      ],
      "title": "AttachmentDownloadItem"
    }
  }
}