{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vidwords-com/json-schema/vidwords-com-watch-job-schema.json",
  "title": "WatchJob",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vidwords-com-openapi.json#/components/schemas/WatchJob",
  "type": "object",
  "properties": {
    "jobId": {
      "type": "integer"
    },
    "status": {
      "type": "string",
      "enum": [
        "queued",
        "processing",
        "ready",
        "failed"
      ]
    },
    "videoId": {
      "type": "string"
    },
    "durationSeconds": {
      "type": "integer"
    },
    "chargedSeconds": {
      "type": "integer"
    },
    "remainingSeconds": {
      "type": "integer",
      "description": "Watch seconds left on the plan after this run."
    },
    "cached": {
      "type": "boolean",
      "description": "True when a previous analysis of this video was reused."
    },
    "mode": {
      "type": "string",
      "enum": [
        "quick",
        "smart",
        "deep"
      ]
    },
    "artifact": {
      "type": "object",
      "description": "Present only when status is \"ready\": summary, chapters, key points and timestamped evidence."
    },
    "errorCode": {
      "type": "string"
    },
    "retryable": {
      "type": "boolean"
    }
  }
}