{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mandiant/json-schema/mandiant-file-attachments-schema.json",
  "title": "File Attachments",
  "description": "List of file attachments.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/mandiant-alert-analysis-api-openapi.yml#/components/schemas/FileAttachments",
  "properties": {
    "attachments": {
      "description": "The list of file attachments.",
      "items": {
        "$ref": "#/$defs/FileAttachment"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "FileAttachment": {
      "description": "Metadata describing a file attachment.",
      "properties": {
        "content_type": {
          "description": "The content type of the file attachment.",
          "readOnly": true,
          "type": "string"
        },
        "created_at": {
          "description": "The time the file attachment was created.",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "created_by_user_id": {
          "description": "The user ID that created the attachment.",
          "readOnly": true,
          "type": "string"
        },
        "filesize_bytes": {
          "description": "The size of the attachment measured in bytes.",
          "readOnly": true,
          "type": "integer"
        },
        "id": {
          "description": "The ID of the file attachment.",
          "readOnly": true,
          "type": "string"
        },
        "name": {
          "description": "The file name of the attachment.",
          "readOnly": true,
          "type": "string"
        }
      },
      "title": "File Attachment",
      "type": "object"
    }
  }
}