{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/axonflow/json-schema/axonflow-accuracy-alert-schema.json",
  "title": "AccuracyAlert",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/axonflow-eu-ai-act-api-openapi.yml#/components/schemas/AccuracyAlert",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "org_id": {
      "type": "string"
    },
    "model_id": {
      "type": "string"
    },
    "alert_type": {
      "type": "string",
      "enum": [
        "accuracy_degradation",
        "bias_detected"
      ]
    },
    "severity": {
      "type": "string",
      "enum": [
        "info",
        "warning",
        "critical"
      ]
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "metric_type": {
      "type": "string"
    },
    "bias_category": {
      "type": "string"
    },
    "current_value": {
      "type": "number",
      "format": "double"
    },
    "threshold": {
      "type": "number",
      "format": "double"
    },
    "triggered_at": {
      "type": "string",
      "format": "date-time"
    },
    "acked_at": {
      "type": "string",
      "format": "date-time"
    },
    "acked_by": {
      "type": "string"
    },
    "resolved_at": {
      "type": "string",
      "format": "date-time"
    },
    "resolved_by": {
      "type": "string"
    }
  }
}