{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/commentary-dev/json-schema/commentary-dev-brain-evaluation-request-schema.json",
  "title": "BrainEvaluationRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/commentary-dev-knowledge-brain-api-openapi.yml#/components/schemas/BrainEvaluationRequest",
  "type": "object",
  "properties": {
    "provider": {
      "type": "string",
      "enum": [
        "github"
      ]
    },
    "owner": {
      "type": "string"
    },
    "repo": {
      "type": "string"
    },
    "prNumber": {
      "type": [
        "integer",
        "null"
      ]
    },
    "branchRef": {
      "type": [
        "string",
        "null"
      ]
    },
    "rootFolder": {
      "type": [
        "string",
        "null"
      ]
    },
    "id": {
      "type": [
        "string",
        "null"
      ]
    },
    "question": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedAnswer": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedSourcePages": {},
    "actualAnswer": {
      "type": [
        "string",
        "null"
      ]
    },
    "retrievedPages": {},
    "grade": {},
    "reviewerNotes": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}