{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/postflow-app/json-schema/postflow-app-post-upload-response-schema.json",
  "title": "PostUploadResponse",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/postflow-app-openapi-generated.yml#/components/schemas/PostUploadResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Media ID."
    },
    "organization_id": {
      "type": "string",
      "description": "Organization ID."
    },
    "user_id": {
      "type": "string",
      "description": "User ID of the uploader."
    },
    "media_folder_id": {
      "type": "string",
      "description": "Media folder ID."
    },
    "is_media_library": {
      "type": "boolean",
      "description": "Whether the media is part of the media library."
    },
    "type": {
      "type": "integer",
      "description": "Media type (1 Image, 2 Video, 3 Audio, 4 Document, 5 Subtitles)."
    },
    "url": {
      "type": "string",
      "description": "URL of the media."
    },
    "client_name": {
      "type": "string",
      "description": "Client name."
    },
    "file_name": {
      "type": "string",
      "description": "Original file name."
    },
    "mime_type": {
      "type": "string",
      "description": "MIME type."
    },
    "extension": {
      "type": "string",
      "description": "File extension."
    },
    "size": {
      "type": "integer",
      "description": "File size in bytes."
    },
    "thumbnail": {
      "type": "string",
      "description": "Thumbnail URL."
    },
    "preview": {
      "type": "string",
      "description": "Preview URL."
    },
    "width": {
      "type": "integer",
      "description": "Width in pixels."
    },
    "height": {
      "type": "integer",
      "description": "Height in pixels."
    },
    "aspect_ratio": {
      "type": "number",
      "description": "Aspect ratio."
    },
    "duration": {
      "type": "number",
      "description": "Duration in seconds."
    },
    "fps": {
      "type": "number",
      "description": "Frames per second."
    },
    "video_thumbnail_frame": {
      "type": "string",
      "description": "Video thumbnail frame."
    },
    "video_thumbnail_custom": {
      "type": "string",
      "description": "Custom video thumbnail."
    },
    "video_thumbnail_time": {
      "type": "number",
      "description": "Video thumbnail time."
    },
    "page_count": {
      "type": "integer",
      "description": "Number of pages in a PDF."
    },
    "page_previews": {
      "type": "array",
      "description": "Array of page preview URLs."
    },
    "conversions": {
      "type": "array",
      "description": "Array of conversion URLs."
    },
    "alt_text": {
      "type": "string",
      "description": "Alt text."
    },
    "pivot_alt_text": {
      "type": "array",
      "description": "Pivot alt text."
    },
    "note": {
      "type": "string",
      "description": "Note."
    },
    "origin": {
      "type": "integer",
      "description": "Origin enum (1 Import, 2 ClickUp, 3 GoogleDrive, 4 Dropbox, 5 Tenor, 6 PostComment, 7 Api)."
    },
    "is_processing": {
      "type": "boolean",
      "description": "Whether the media is still processing."
    },
    "is_converted": {
      "type": "boolean",
      "description": "Whether the media has been converted."
    },
    "created_at": {
      "type": "string",
      "description": "Creation timestamp."
    },
    "updated_at": {
      "type": "string",
      "description": "Last update timestamp."
    }
  }
}