{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/postflow-app/json-schema/postflow-app-post-upload-url-sync-response-schema.json",
  "title": "PostUploadUrlSyncResponse",
  "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/PostUploadUrlSyncResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Media ID."
    },
    "organization_id": {
      "type": "string",
      "description": "Organization ID."
    },
    "user_id": {
      "type": "string",
      "description": "The ID of the user who uploaded the media."
    },
    "media_folder_id": {
      "type": "string",
      "description": "Media folder ID."
    },
    "is_media_library": {
      "type": "boolean",
      "description": "Determines 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": "Media URL."
    },
    "client_name": {
      "type": "string",
      "description": "Client name."
    },
    "file_name": {
      "type": "string",
      "description": "File name."
    },
    "mime_type": {
      "type": "string",
      "description": "MIME type."
    },
    "extension": {
      "type": "string",
      "description": "File extension."
    },
    "size": {
      "type": "integer",
      "description": "File size."
    },
    "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 the PDF document."
    },
    "page_previews": {
      "type": "array",
      "description": "Array of page preview URLs."
    },
    "conversions": {
      "type": "array",
      "description": "Array of conversion URLs."
    },
    "alt_text": {
      "type": "string",
      "description": "Alternative text."
    },
    "pivot_alt_text": {
      "type": "array",
      "description": "Pivot alternative 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": "Processing status."
    },
    "is_converted": {
      "type": "boolean",
      "description": "Conversion status."
    },
    "created_at": {
      "type": "string",
      "description": "Creation timestamp."
    },
    "updated_at": {
      "type": "string",
      "description": "Update timestamp."
    }
  }
}