{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cueframe-ai/json-schema/cueframe-ai-job-enqueue-response-schema.json",
  "title": "JobEnqueueResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cueframe-ai-brand-kits-api-openapi.yml#/components/schemas/JobEnqueueResponse",
  "type": "object",
  "properties": {
    "jobId": {
      "type": "string",
      "description": "Poll GET /v1/jobs/{jobId} / wait_job until terminal."
    },
    "jobKey": {
      "type": "string",
      "description": "Deterministic identity of the work (content hash of every input the result depends on). Re-enqueueing the same key returns the same job while it runs; a failed key revives as a fresh attempt."
    },
    "kind": {
      "type": "string",
      "description": "Job family, e.g. `verify` | `preview` | `brand_kit_extract`."
    },
    "status": {
      "type": "string",
      "enum": [
        "running",
        "succeeded",
        "cancelled"
      ],
      "description": "running on a fresh/deduped enqueue; succeeded when an identical request already completed. Cancelled is part of the shared status vocabulary; identical cancelled work revives to running."
    }
  },
  "required": [
    "jobId",
    "jobKey",
    "kind",
    "status"
  ],
  "additionalProperties": false
}