{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://display.greatruth.cloud/data/schemas/qa-verified.schema.json",
  "title": "GreaTruth verified STEM question record by Alvance",
  "description": "Schema for each JSONL record in a verified STEM question set.",
  "type": "object",
  "required": [
    "question_id",
    "problem",
    "solution",
    "rubrics",
    "keywords"
  ],
  "properties": {
    "question_id": {
      "type": "string",
      "minLength": 1
    },
    "problem": {
      "type": "string",
      "minLength": 1
    },
    "solution": {
      "type": "string",
      "minLength": 1
    },
    "rubrics": {
      "type": "string",
      "minLength": 1
    },
    "keywords": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "minItems": 1,
      "uniqueItems": true
    }
  },
  "additionalProperties": true
}
