{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amzdownloader-com/json-schema/amzdownloader-com-media-response-schema.json",
  "title": "MediaResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amzdownloader-com-openapi.json#/components/schemas/MediaResponse",
  "type": "object",
  "properties": {
    "status": {
      "const": "completed"
    },
    "jobId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "requestId": {
      "type": "string"
    },
    "cache": {
      "type": "object",
      "additionalProperties": true
    },
    "billing": {
      "type": "object",
      "additionalProperties": true
    },
    "data": {
      "$ref": "#/$defs/ProductMedia"
    }
  },
  "required": [
    "status",
    "data"
  ],
  "$defs": {
    "ProductMedia": {
      "type": "object",
      "properties": {
        "version": {
          "type": "string"
        },
        "source": {
          "type": "object",
          "properties": {
            "asin": {
              "type": "string"
            },
            "marketplace": {
              "type": "string"
            },
            "canonicalUrl": {
              "type": "string"
            },
            "fetchedAt": {
              "type": "string",
              "format": "date-time"
            },
            "parserVersion": {
              "type": "string"
            },
            "renderMode": {
              "type": "string",
              "enum": [
                "auto",
                "static",
                "interactive"
              ],
              "default": "auto"
            }
          },
          "additionalProperties": true
        },
        "product": {
          "type": "object",
          "properties": {
            "asin": {
              "type": "string"
            },
            "title": {
              "type": "string"
            }
          },
          "additionalProperties": true
        },
        "media": {
          "type": "object",
          "properties": {
            "productImages": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "variantImages": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "productVideos": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "relatedVideos": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "customerReviewVideos": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "creatorVideos": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "allVideos": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": true
              }
            }
          },
          "additionalProperties": true
        },
        "counts": {
          "type": "object",
          "additionalProperties": true
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "source",
        "product",
        "media",
        "counts",
        "warnings"
      ]
    }
  }
}