{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tyk/json-schema/tyk-health-check-response-schema.json",
  "title": "HealthCheckResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tyk-health-checking-api-openapi.yml#/components/schemas/HealthCheckResponse",
  "properties": {
    "description": {
      "type": "string"
    },
    "details": {
      "additionalProperties": {
        "$ref": "#/$defs/HealthCheckItem"
      },
      "type": "object"
    },
    "output": {
      "type": "string"
    },
    "status": {
      "enum": [
        "pass",
        "fail",
        "warn"
      ],
      "type": "string"
    },
    "version": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "HealthCheckItem": {
      "properties": {
        "componentId": {
          "type": "string"
        },
        "componentType": {
          "type": "string"
        },
        "output": {
          "type": "string"
        },
        "status": {
          "enum": [
            "pass",
            "fail",
            "warn"
          ],
          "type": "string"
        },
        "time": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}