{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codai-ro/json-schema/codai-ro-core-status-schema.json",
  "title": "Status",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codai-ro-health-api-openapi.yml#/components/schemas/CoreStatus",
  "type": "object",
  "required": [
    "ok",
    "aliases",
    "providers"
  ],
  "properties": {
    "ok": {
      "type": "boolean",
      "enum": [
        true
      ]
    },
    "aliases": {
      "type": "array",
      "description": "Every alias id in the live registry, including hidden internal ones.",
      "items": {
        "type": "string"
      }
    },
    "providers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CoreStatusProvider"
      }
    }
  },
  "$defs": {
    "CoreStatusProvider": {
      "type": "object",
      "title": "Provider status",
      "required": [
        "id",
        "kind",
        "label",
        "healthy"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Provider row id."
        },
        "kind": {
          "type": "string",
          "description": "Adapter kind (e.g. `vertex-anthropic`, `azure-openai`, `voyage-embeddings`)."
        },
        "label": {
          "type": "string"
        },
        "healthy": {
          "type": "boolean",
          "description": "False only when a probe explicitly marked the adapter down; unknown counts as healthy."
        }
      }
    }
  }
}