{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wholechain/json-schema/wholechain-wholechain-connect-application-health-health-report-contract-schema.json",
  "title": "Wholechain.Connect.Application.Health.HealthReportContract",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wholechain-health-api-openapi.yml#/components/schemas/Wholechain.Connect.Application.Health.HealthReportContract",
  "type": "object",
  "properties": {
    "entries": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "$ref": "#/$defs/Wholechain.Connect.Application.Health.HealthReportEntryContract"
      }
    },
    "status": {
      "$ref": "#/$defs/Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus"
    },
    "totalDuration": {
      "type": "string",
      "format": "date-span"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus": {
      "enum": [
        "Unhealthy",
        "Degraded",
        "Healthy"
      ],
      "type": "string"
    },
    "Wholechain.Connect.Application.Health.HealthReportEntryContract": {
      "type": "object",
      "properties": {
        "data": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {},
          "readOnly": true
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "duration": {
          "type": "string",
          "format": "date-span",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus"
        },
        "tags": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          },
          "readOnly": true
        }
      },
      "additionalProperties": false
    }
  }
}