{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/algenta-ai/json-schema/algenta-ai-calibration-response-schema.json",
  "title": "CalibrationResponse",
  "description": "Org-level confidence calibration state.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/algenta-ai-calibration-api-openapi.yml#/components/schemas/CalibrationResponse",
  "properties": {
    "org_id": {
      "type": "string",
      "title": "Org Id"
    },
    "is_reliable": {
      "type": "boolean",
      "title": "Is Reliable"
    },
    "n_samples": {
      "type": "integer",
      "title": "N Samples"
    },
    "bias": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Bias"
    },
    "rmse_pct": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Rmse Pct"
    },
    "hit_rate": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Hit Rate"
    },
    "direction": {
      "type": "string",
      "title": "Direction"
    },
    "confidence_multiplier": {
      "type": "number",
      "title": "Confidence Multiplier"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "last_updated": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Updated"
    }
  },
  "type": "object",
  "required": [
    "org_id",
    "is_reliable",
    "n_samples",
    "bias",
    "rmse_pct",
    "hit_rate",
    "direction",
    "confidence_multiplier",
    "summary",
    "last_updated"
  ]
}