{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/File",
  "title": "File",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "path": {
      "type": "string",
      "description": "Full folder path"
    },
    "fileType": {
      "type": "string",
      "enum": [
        "FILE",
        "FOLDER"
      ]
    },
    "contentType": {
      "type": "string",
      "description": "MIME type"
    },
    "size": {
      "type": "integer",
      "description": "File size in bytes"
    },
    "version": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "createdBy": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "downloadUrl": {
      "type": "string",
      "format": "uri",
      "description": "Pre-signed download URL (time-limited)"
    },
    "thumbnailUrl": {
      "type": "string",
      "format": "uri"
    }
  }
}