{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tomorrowlives-com/json-schema/tomorrowlives-com-queued-job-schema.json",
  "title": "QueuedJob",
  "description": "A queued job, as submitted. Its units already count against the allowance; a job the engine refuses, one the server never ran, or one whose files pass the 50 MB cap (error output_too_large) is not charged.",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tomorrowlives-com-openapi.json#/components/schemas/QueuedJob",
  "type": "object",
  "properties": {
    "job": {
      "type": "string"
    },
    "verb": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "const": "queued"
    },
    "units": {
      "type": "integer"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "poll": {
      "type": "object",
      "properties": {
        "method": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "wait_max_s": {
          "type": "integer"
        },
        "hold": {
          "type": "string"
        }
      }
    },
    "retry_after_s": {
      "type": "integer",
      "description": "When to ask first, in seconds; also the Retry-After header"
    },
    "estimate": {
      "description": "The engine's report the price was read from (a video's cost; a shot's size)"
    }
  }
}