{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lrcmux/json-schema/lrcmux-stats-output-body-schema.json",
  "title": "StatsOutputBody",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lrcmux-openapi.json#/components/schemas/StatsOutputBody",
  "additionalProperties": false,
  "properties": {
    "commit": {
      "type": "string"
    },
    "providers": {
      "items": {
        "$ref": "#/$defs/ProviderInfo"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "version": {
      "type": "string"
    }
  },
  "required": [
    "version",
    "commit"
  ],
  "type": "object",
  "$defs": {
    "ProviderHealth": {
      "additionalProperties": false,
      "properties": {
        "ok": {
          "type": "boolean"
        },
        "reason": {
          "type": "string"
        },
        "ttl": {
          "format": "int64",
          "type": "integer"
        }
      },
      "required": [
        "ok"
      ],
      "type": "object"
    },
    "ProviderInfo": {
      "additionalProperties": false,
      "properties": {
        "health": {
          "$ref": "#/$defs/ProviderHealth"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      },
      "required": [
        "health",
        "id",
        "name"
      ],
      "type": "object"
    }
  }
}