{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vaultvision-tech/json-schema/vaultvision-tech-health-response-schema.json",
  "title": "HealthResponse",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vaultvision-tech-openapi.json#/components/schemas/HealthResponse",
  "type": "object",
  "required": [
    "ok",
    "server_time",
    "db_path",
    "protocol_status"
  ],
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "server_time": {
      "type": "integer",
      "format": "int64"
    },
    "db_path": {
      "type": "string",
      "description": "Runtime database identifier; clients should not depend on this value"
    },
    "protocol_status": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/ProtocolStatus"
      }
    }
  },
  "$defs": {
    "ProtocolStatus": {
      "type": "object",
      "required": [
        "ok",
        "last_update_ts",
        "vault_count"
      ],
      "properties": {
        "ok": {
          "type": "boolean"
        },
        "last_update_ts": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int64"
        },
        "vault_count": {
          "type": "integer",
          "minimum": 0
        }
      }
    }
  }
}