{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tryslicemedia-com/json-schema/tryslicemedia-com-job-schema.json",
  "title": "Job",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tryslicemedia-com-openapi.json#/components/schemas/Job",
  "type": "object",
  "properties": {
    "job_id": {
      "type": "string"
    },
    "kind": {
      "type": "string",
      "enum": [
        "cut",
        "render"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "queued",
        "cutting",
        "rendering",
        "completed",
        "failed",
        "expired",
        "not_rendered"
      ]
    },
    "progress_percent": {
      "type": "number"
    },
    "clip_id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "poster_url": {
      "type": "string"
    },
    "download_url": {
      "type": "string",
      "description": "A short link to the MP4, good for 7 days."
    },
    "file_size_mb": {
      "type": "number"
    },
    "clips": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "clip_id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "render_job_id": {
            "type": "string"
          },
          "render_status": {
            "type": "string"
          },
          "download_url": {
            "type": "string"
          }
        }
      }
    },
    "message": {
      "type": "string"
    }
  }
}