{
  "type": "object",
  "properties": {
    "records": {
      "type": "array",
      "description": "Canonical records. Provide exactly one of records or records_path."
    },
    "records_path": {
      "type": "string",
      "description": "Path to records JSON/JSONL. Provide exactly one of records or records_path."
    },
    "output_path": {"type": "string"},
    "output_dir": {"type": "string"},
    "session_num": {"type": "integer", "minimum": 1, "default": 5},
    "session_time_minutes": {"type": "integer", "minimum": 1, "default": 5},
    "context_fields": {
      "type": "array",
      "items": {"type": "string"},
      "default": ["location", "rag"]
    },
    "system_prompt": {
      "type": "string",
      "default": "你是小爱同学，中文智能语音助手。"
    },
    "complex_default": {
      "type": "boolean",
      "default": false,
      "description": "Fallback only for legacy records missing dimensions.complex."
    },
    "require_validation_ok": {"type": "boolean", "default": true},
    "overwrite": {"type": "boolean", "default": true}
  }
}
