{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crosswire-api-com/json-schema/crosswire-api-com-health-response-schema.json",
  "title": "HealthResponse",
  "description": "[FIX-OPS-04] `status` is tri-valued and derived from snapshot age at\nresponse time — it used to be the literal string \"ok\".",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crosswire-api-com-openapi.json#/components/schemas/HealthResponse",
  "properties": {
    "status": {
      "type": "string",
      "title": "Status"
    },
    "ruleset_sha": {
      "type": "string",
      "title": "Ruleset Sha"
    },
    "snapshot_ts": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Snapshot Ts"
    },
    "snapshot_age_seconds": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Snapshot Age Seconds"
    },
    "coverage": {
      "additionalProperties": {
        "type": "integer"
      },
      "type": "object",
      "title": "Coverage"
    },
    "version": {
      "type": "string",
      "title": "Version"
    },
    "refresher": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Refresher"
    },
    "audit_log_records": {
      "type": "integer",
      "title": "Audit Log Records",
      "default": 0
    },
    "audit_log_errors": {
      "type": "integer",
      "title": "Audit Log Errors",
      "default": 0
    }
  },
  "type": "object",
  "required": [
    "status",
    "ruleset_sha",
    "snapshot_ts",
    "coverage",
    "version"
  ]
}