{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fylamynt/json-schema/fylamynt-get-watcher-stats-response-schema.json",
  "title": "GetWatcherStatsResponse",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/fylamynt-openapi-generated.yml#/components/schemas/GetWatcherStatsResponse",
  "type": "object",
  "properties": {
    "_nodes": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer"
        },
        "successful": {
          "type": "integer"
        },
        "failed": {
          "type": "integer"
        }
      }
    },
    "cluster_name": {
      "type": "string"
    },
    "manually_stopped": {
      "type": "boolean"
    },
    "stats": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "node_id": {
            "type": "string"
          },
          "watcher_state": {
            "type": "string"
          },
          "watch_count": {
            "type": "integer"
          },
          "execution_thread_pool": {
            "type": "object",
            "properties": {
              "queue_size": {
                "type": "integer"
              },
              "max_size": {
                "type": "integer"
              }
            }
          }
        }
      }
    }
  }
}