{
  "schemaVersion": 1,
  "id": "lesson02-example",
  "version": "1.0",
  "name": "课程名称",
  "description": "一句话介绍学生将创作什么故事。",
  "opening": "填写主角在故事开端遇到的事情，以及需要作出选择的时刻。",
  "protagonist": {
    "name": "主人公",
    "age": 10,
    "gender": "女",
    "pronoun": "她",
    "editable": true,
    "appearance": ""
  },
  "ageRange": [8, 12],
  "genderOptions": ["男", "女"],
  "readers": "8–12 岁",
  "style": "中文儿童故事。完整叙事，人物语言符合设定年龄。",
  "facts": ["填写所有路线都适用的一条固定事实。"],
  "boundaries": ["填写学生与模型可以或不能改变的故事范围。"],
  "sections": [
    { "id": "choices", "title": "故事选择", "description": "填写你选的路线和接下来会发生的事。" }
  ],
  "fields": [
    {
      "id": "route",
      "section": "choices",
      "label": "你选哪个方案",
      "type": "choice",
      "required": true,
      "options": [
        { "id": "A", "label": "方案 A", "rule": "填写方案 A 的实际行动与适用条件。" },
        { "id": "B", "label": "方案 B", "rule": "填写方案 B 的实际行动与适用条件。" },
        { "id": "C", "label": "其他方案", "rule": "保留学生自选方案，遵守本课边界。" }
      ]
    },
    {
      "id": "customRoute",
      "section": "choices",
      "label": "其他方案是什么",
      "type": "text",
      "required": true,
      "when": { "field": "route", "equals": "C" }
    },
    {
      "id": "consequence",
      "section": "choices",
      "label": "接下来可能发生",
      "type": "textarea",
      "required": true,
      "placeholder": "写下你的选择会带来什么变化。"
    }
  ]
}
