{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/prizmad-com/json-schema/prizmad-com-batch-video-response-schema.json",
  "title": "BatchVideoResponse",
  "description": "Response from POST /api/v1/videos/batch.",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/prizmad-com-openapi.json#/components/schemas/BatchVideoResponse",
  "type": "object",
  "properties": {
    "batchSize": {
      "type": "integer",
      "description": "Total items submitted."
    },
    "launched": {
      "type": "integer",
      "description": "Items successfully started."
    },
    "failed": {
      "type": "integer",
      "description": "Items that failed to launch."
    },
    "totalCost": {
      "type": "integer",
      "description": "Total tokens deducted."
    },
    "remainingBalance": {
      "type": "integer"
    },
    "videos": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "videoId": {
            "type": "string",
            "format": "uuid"
          },
          "templateId": {
            "type": "string"
          },
          "cost": {
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "error": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    }
  }
}