{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/roark/json-schema/roark-benchmark-score-sample-schema.json",
  "title": "BenchmarkScoreSample",
  "description": "One un-aggregated score behind a result cell, with the reasoning that produced it",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/roark-benchmark-api-openapi.yml#/components/schemas/BenchmarkScoreSample",
  "type": "object",
  "properties": {
    "conditionKey": {
      "type": "string"
    },
    "metricKey": {
      "type": "string"
    },
    "sourceCallId": {
      "type": "string",
      "description": "Opaque id of the call this single score came from. Groups samples that share a call; it is not resolvable through this API."
    },
    "numericValue": {
      "type": [
        "number",
        "null"
      ]
    },
    "booleanValue": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "reasoning": {
      "type": "string",
      "description": "The scorer's rationale for this individual score."
    }
  },
  "required": [
    "conditionKey",
    "metricKey",
    "sourceCallId",
    "numericValue",
    "booleanValue",
    "reasoning"
  ]
}