{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wowreveal-com/json-schema/wowreveal-com-clip-plan-schema.json",
  "title": "ClipPlan",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wowreveal-com-openapi.json#/components/schemas/ClipPlan",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "enum": [
        "queued",
        "analyzing",
        "ready",
        "failed",
        "expired"
      ]
    },
    "progress": {
      "type": "integer"
    },
    "candidates": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "score": {
            "type": "number"
          },
          "startSec": {
            "type": "number"
          },
          "endSec": {
            "type": "number"
          },
          "durationSec": {
            "type": "number"
          },
          "reason": {
            "type": "string"
          },
          "thumbnailUrl": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "generatedProjectIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "creditsCharged": {
      "type": "integer"
    },
    "errorCode": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "id",
    "status"
  ],
  "additionalProperties": true
}