{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/botdoor-co/json-schema/botdoor-co-post-media-response-schema.json",
  "title": "PostMediaResponse",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/botdoor-co-openapi-generated.yml#/components/schemas/PostMediaResponse",
  "type": "object",
  "properties": {
    "media.id": {
      "type": "string",
      "description": "Identifier of the uploaded media."
    },
    "media.type": {
      "type": "string",
      "description": "Media type (e.g., video, image)."
    },
    "media.filename": {
      "type": "string",
      "description": "Original filename."
    },
    "media.sizeBytes": {
      "type": "integer",
      "description": "Size in bytes."
    },
    "media.width": {
      "type": "integer",
      "description": "Width in pixels (if applicable)."
    },
    "media.height": {
      "type": "integer",
      "description": "Height in pixels (if applicable)."
    },
    "media.durationMs": {
      "type": "integer",
      "description": "Duration in milliseconds for video."
    },
    "media.url": {
      "type": "string",
      "description": "URL to access the media."
    },
    "media.previewUrl": {
      "type": "string",
      "description": "URL to fetch a preview image."
    }
  }
}