{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/file-storage-api-file-structure.json",
  "name": "File",
  "description": "A file object from a connected file storage platform.",
  "type": "object",
  "properties": {
    "id": { "type": "uuid" },
    "remote_id": { "type": "string" },
    "name": { "type": "string" },
    "file_url": { "type": "uri" },
    "file_thumbnail_url": { "type": "uri" },
    "size": { "type": "int64" },
    "mime_type": { "type": "string" },
    "description": { "type": "string" },
    "folder": { "type": "uuid" },
    "drive": { "type": "uuid" },
    "remote_was_deleted": { "type": "boolean" },
    "created_at": { "type": "datetime" },
    "modified_at": { "type": "datetime" }
  }
}
