{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-kafka/main/json-schema/apache-kafka-task-status-schema.json",
  "title": "TaskStatus",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apache-kafka-tasks-api-openapi.yml#/components/schemas/TaskStatus",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "state": {
      "type": "string",
      "enum": [
        "UNASSIGNED",
        "RUNNING",
        "PAUSED",
        "FAILED"
      ]
    },
    "worker_id": {
      "type": "string"
    },
    "trace": {
      "type": "string"
    }
  }
}