{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/jfrog/main/json-schema/jfrog-system-health-schema.json",
  "title": "SystemHealth",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/jfrog-system-api-openapi.yml#/components/schemas/SystemHealth",
  "type": "object",
  "properties": {
    "router": {
      "type": "object",
      "properties": {
        "node_id": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "services": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "service_id": {
            "type": "string"
          },
          "node_id": {
            "type": "string"
          },
          "state": {
            "type": "string",
            "enum": [
              "HEALTHY",
              "DEGRADED",
              "UNHEALTHY"
            ]
          },
          "message": {
            "type": "string"
          }
        }
      }
    }
  }
}