{
  "category": "education/degree-thesis/master-thesis",
  "base": {
    "thesis_config": {
      "thesis_type": "master",
      "formula_numbering": true,
      "school_name": "",
      "language": "zh",
      "page": {
        "size": "A4",
        "margin_top": 1701,
        "margin_bottom": 1644,
        "margin_left": 1588,
        "margin_right": 1418
      },
      "header": {
        "odd_text": "",
        "even_text": "硕士学位论文",
        "font_size": 10,
        "font": "SimSun",
        "align": "center",
        "rule": true,
        "rule_width": 0.5
      },
      "footer": {
        "page_number_align": "center",
        "font_size": 10,
        "frontmatter_style": "Roman",
        "mainmatter_style": "arabic"
      },
      "body": {
        "font_cjk": "SimSun",
        "font_en": "Times New Roman",
        "font_size": 12,
        "line_spacing_pt": 20,
        "first_line_indent": 2
      },
      "headings": {
        "chapter": {
          "font": "SimHei",
          "size": 18,
          "bold": true,
          "align": "left",
          "numbering": "arabic",
          "before_spacing_line": 1.0,
          "after_spacing_line": 1.0
        },
        "section": {
          "font": "SimHei",
          "size": 14,
          "bold": true,
          "align": "left",
          "before_spacing_line": 0.5,
          "after_spacing_line": 0.5
        },
        "subsection": {
          "font": "SimHei",
          "size": 12,
          "bold": true,
          "align": "left",
          "before_spacing_line": 0.5,
          "after_spacing_line": 0.5
        },
        "subsubsection": {
          "font": "SimHei",
          "size": 12,
          "bold": true,
          "align": "left",
          "before_spacing_line": 0.5,
          "after_spacing_line": 0.5
        }
      },
      "cover": {
        "elements": []
      },
      "structure_order": [
        "cover",
        "abstract_zh",
        "abstract_en",
        "toc",
        "body",
        "bibliography",
        "achievement",
        "acknowledgments"
      ],
      "reference_style": "author-year",
      "caption": {
        "font_size": 10,
        "bold": true,
        "label_sep": "space"
      }
    },
    "design_system": {
      "text_align": "both",
      "primary": "#2B579A",
      "accent": "#217346",
      "dark": "#000000",
      "light": "#FFFFFF",
      "border": "#000000",
      "gray": "#666666",
      "heading_color": "#000000",
      "font_en": "Times New Roman",
      "font_cjk": "SimSun",
      "font_heading_cjk": "SimHei",
      "sz_body": 12,
      "sz_h1": 18,
      "sz_h2": 14,
      "sz_h3": 12,
      "sz_h4": 12,
      "sz_table": 10,
      "sz_hf": 10,
      "margin_top": 1440,
      "margin_bottom": 1440,
      "margin_left": 1803,
      "margin_right": 1803,
      "line_spacing": 460,
      "first_line_indent": 480
    },
    "document": {
      "layout": {
        "no_cover": true,
        "no_toc": true,
        "no_back": true,
        "table_no_stripe": true,
        "h1_center": false,
        "page_break_heading_level": 2,
        "figure_check": true
      }
    }
  },
  "notes": [
    "Auto-generated from golden baseline. Layout/fonts fixed in base.",
    "Use draftTool resolveDocConfig selections/overrides for business fields."
  ],
  "outputs": [
    "design_system",
    "thesis_config",
    "document"
  ],
  "overridable": {
    "thesis_config": {
      "language": {
        "type": "string",
        "note": "zh|en; English query must set en"
      },
      "header.even_text": {
        "type": "string"
      },
      "header.odd_text": {
        "type": "string"
      },
      "structure_order": {
        "type": "array"
      }
    },
    "design_system": {
      "primary": {
        "type": "hex",
        "constraint": "hsl_l<=0.5"
      },
      "accent": {
        "type": "hex",
        "constraint": "hsl_l<=0.5"
      }
    }
  }
}
