{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cekura-ai/json-schema/cekura-ai-mark-metric-vote-schema.json",
  "title": "MarkMetricVote",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cekura-ai-call-logs-api-openapi.yml#/components/schemas/MarkMetricVote",
  "type": "object",
  "properties": {
    "metric_id": {
      "type": "integer",
      "description": "ID of the metric to vote on"
    },
    "thumbs_up": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "True for thumbs up, False for thumbs down"
    },
    "expected_value": {
      "oneOf": [
        {},
        {
          "type": "null"
        }
      ],
      "description": "Expected value for the metric"
    },
    "feedback": {
      "type": [
        "string",
        "null"
      ],
      "description": "Feedback for the metric review"
    }
  },
  "required": [
    "expected_value",
    "metric_id",
    "thumbs_up"
  ]
}