{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ibm-api-connect/json-schema/ibm-api-connect-task-queue-schema.json",
  "title": "TaskQueue",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ibm-api-connect-webhooks-api-openapi.yml#/components/schemas/TaskQueue",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "type": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "task_queue"
      ]
    },
    "api_version": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "2.0.0"
      ]
    },
    "id": {
      "type": "string",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "maxLength": 255
    },
    "title": {
      "type": "string",
      "maxLength": 1023
    },
    "summary": {
      "type": "string",
      "maxLength": 65535
    },
    "scope": {
      "type": "string"
    },
    "valid_after": {
      "type": "string"
    },
    "kind": {
      "type": "string",
      "enum": [
        "retry",
        "synchronize",
        "snapshot",
        "reconfigure",
        "policy-upgrade",
        "control-plane-metrics",
        "heartbeat",
        "cleanup",
        "send",
        "initialize",
        "delete-expired-data",
        "system-maintenance",
        "analytics-upgrade",
        "ootb-gateway-extension-upgrade",
        "transfer-advisor-calculate"
      ]
    },
    "state": {
      "type": "string",
      "enum": [
        "new",
        "claimed",
        "inprogress",
        "errored",
        "failed",
        "completed"
      ]
    },
    "target": {
      "type": "string"
    },
    "payload": {
      "type": "object"
    },
    "owner": {
      "type": "string"
    },
    "iteration": {
      "type": "string"
    },
    "retry_count": {
      "type": "integer",
      "minimum": 0,
      "maximum": 2147483647
    },
    "generated_at": {
      "type": "string"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "url": {
      "type": "string",
      "readOnly": true,
      "format": "uri"
    }
  }
}