// Audited dataclass bindings: field names exactly match the calculation inputs.
const verifiedFields = {
  "2-02": [
    {
      "key": "irrigation_area_10k_mu",
      "label": "灌溉面积",
      "unit": "万亩",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "灌溉面积应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "irrigation_modulus",
      "label": "灌水模数",
      "unit": "m³/(s·万亩)",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "灌水模数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "main_canal_efficiency",
      "label": "干渠水利用系数",
      "unit": "",
      "type": "number",
      "default": 0.85,
      "required": true,
      "help": "干渠水利用系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "branch_canal_efficiency",
      "label": "支渠水利用系数",
      "unit": "",
      "type": "number",
      "default": 0.85,
      "required": true,
      "help": "支渠水利用系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "lateral_canal_efficiency",
      "label": "斗渠水利用系数",
      "unit": "",
      "type": "number",
      "default": 0.85,
      "required": true,
      "help": "斗渠水利用系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "field_efficiency",
      "label": "田间水利用系数",
      "unit": "",
      "type": "number",
      "default": 0.85,
      "required": true,
      "help": "田间水利用系数应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "2-03": [
    {
      "key": "field_elevation",
      "label": "最高田面高程",
      "unit": "m",
      "type": "number",
      "default": 1200,
      "required": true,
      "help": "最高田面高程应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "field_water_depth",
      "label": "田面灌水深",
      "unit": "m",
      "type": "number",
      "default": 0.1,
      "required": true,
      "help": "田面灌水深应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "channel_water_depth",
      "label": "渠道设计水深",
      "unit": "m",
      "type": "number",
      "default": 2,
      "required": true,
      "help": "渠道设计水深应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "structure_head_loss",
      "label": "建筑物水头损失",
      "unit": "m",
      "type": "number",
      "default": 0.5,
      "required": true,
      "help": "建筑物水头损失应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "extra_canal_head_loss",
      "label": "附加渠道水头损失",
      "unit": "m",
      "type": "number",
      "default": 0,
      "required": true,
      "help": "附加渠道水头损失应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "canal_segments",
      "label": "渠道分段损失（JSON）",
      "type": "textarea",
      "default": "[]",
      "required": true,
      "unit": "长度m / 比降m/m",
      "help": "每段填 {\"length_m\":100,\"slope\":0.001}；无分段填 []，可在附加损失中填核定总损失。"
    }
  ],
  "2-05": [
    {
      "key": "design_flow",
      "label": "设计流量",
      "unit": "m³/s",
      "type": "number",
      "default": 120,
      "required": true,
      "help": "设计流量应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "allowable_velocity",
      "label": "允许流速",
      "unit": "m/s",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "允许流速应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "2-07": [
    {
      "key": "allowable_suction_vacuum_m",
      "label": "允许吸上真空高度",
      "unit": "m",
      "type": "number",
      "default": 5,
      "required": true,
      "help": "允许吸上真空高度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "atmospheric_pressure_pa",
      "label": "当地大气压力",
      "unit": "Pa",
      "type": "number",
      "default": 85000,
      "required": true,
      "help": "当地大气压力应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "vapor_pressure_head_m",
      "label": "汽化压力水头",
      "unit": "m",
      "type": "number",
      "default": 0.24,
      "required": true,
      "help": "汽化压力水头应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "water_density_kg_m3",
      "label": "水密度",
      "unit": "kg/m³",
      "type": "number",
      "default": 1000,
      "required": true,
      "help": "水密度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "suction_velocity_m_s",
      "label": "吸水管流速",
      "unit": "m/s",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "吸水管流速应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "suction_pipe_head_loss_m",
      "label": "吸水管水头损失",
      "unit": "m",
      "type": "number",
      "default": 0.5,
      "required": true,
      "help": "吸水管水头损失应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "gravity",
      "label": "重力加速度",
      "unit": "m/s²",
      "type": "number",
      "default": 9.81,
      "required": true,
      "help": "重力加速度应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "2-08": [
    {
      "key": "density_t_m3",
      "label": "水密度",
      "unit": "t/m³",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "水密度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "irrigation_modulus_m3_s_hm2",
      "label": "灌水模数",
      "unit": "m³/(s·hm²)",
      "type": "number",
      "default": 0.001,
      "required": true,
      "help": "灌水模数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "guaranteed_irrigation_area_hm2",
      "label": "保证灌溉面积",
      "unit": "hm²",
      "type": "number",
      "default": 100,
      "required": true,
      "help": "保证灌溉面积应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "design_head_m",
      "label": "设计扬程",
      "unit": "m",
      "type": "number",
      "default": 10,
      "required": true,
      "help": "设计扬程应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "pump_efficiency_percent",
      "label": "水泵效率",
      "unit": "%",
      "type": "number",
      "default": 80,
      "required": true,
      "help": "水泵效率应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "density_kg_m3",
      "label": "水密度",
      "unit": "kg/m³",
      "type": "number",
      "default": 1000,
      "required": true,
      "help": "水密度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "design_flow_m3_s",
      "label": "设计流量",
      "unit": "m³/s",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "设计流量应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "shaft_power_kw",
      "label": "水泵轴功率",
      "unit": "kW",
      "type": "number",
      "default": 150,
      "required": true,
      "help": "水泵轴功率应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "gravity",
      "label": "重力加速度",
      "unit": "m/s²",
      "type": "number",
      "default": 9.81,
      "required": true,
      "help": "重力加速度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "rated_speed_rpm",
      "label": "额定转速",
      "unit": "r/min",
      "type": "number",
      "default": 1450,
      "required": true,
      "help": "额定转速应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "rated_flow_m3_s",
      "label": "额定流量",
      "unit": "m³/s",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "额定流量应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "rated_head_m",
      "label": "额定扬程",
      "unit": "m",
      "type": "number",
      "default": 10,
      "required": true,
      "help": "额定扬程应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "double_suction",
      "label": "是否双吸泵",
      "unit": "",
      "type": "select",
      "default": "false",
      "required": true,
      "help": "是否双吸泵应按本项目资料核定；示例值仅用于试算。",
      "options": [
        {
          "value": "true",
          "label": "双吸泵"
        },
        {
          "value": "false",
          "label": "单吸泵"
        }
      ]
    }
  ],
  "3-01": [
    {
      "key": "river_velocity",
      "label": "河流流速",
      "unit": "m/s",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "河流流速应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "canal_velocity",
      "label": "引水渠流速",
      "unit": "m/s",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "引水渠流速应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "3-03": [
    {
      "key": "bottom_width",
      "label": "底宽",
      "unit": "m",
      "type": "number",
      "default": 6,
      "required": true,
      "help": "底宽应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "water_depth",
      "label": "水深",
      "unit": "m",
      "type": "number",
      "default": 2,
      "required": true,
      "help": "水深应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "side_slope",
      "label": "边坡系数",
      "unit": "",
      "type": "number",
      "default": 1.5,
      "required": true,
      "help": "边坡系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "roughness",
      "label": "糙率",
      "unit": "",
      "type": "number",
      "default": 0.035,
      "required": true,
      "help": "糙率应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "bed_slope",
      "label": "底坡",
      "unit": "m/m",
      "type": "number",
      "default": 0.001,
      "required": true,
      "help": "输入小数比降，1‰ 填 0.001，1% 填 0.01。"
    },
    {
      "key": "enlarge_coefficient",
      "label": "加大流量系数",
      "unit": "",
      "type": "number",
      "default": 1.2,
      "required": true,
      "help": "加大流量系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "soil_coefficient",
      "label": "土质不冲系数",
      "unit": "",
      "type": "number",
      "default": 0.85,
      "required": true,
      "help": "土质不冲系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "block_length",
      "label": "砌块长度",
      "unit": "m",
      "type": "number",
      "default": 0.4,
      "required": true,
      "help": "砌块长度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "block_width",
      "label": "砌块宽度",
      "unit": "m",
      "type": "number",
      "default": 0.3,
      "required": true,
      "help": "砌块宽度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "block_height",
      "label": "砌块高度",
      "unit": "m",
      "type": "number",
      "default": 0.2,
      "required": true,
      "help": "砌块高度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "rock_lining_water_depth",
      "label": "护砌段设计水深",
      "unit": "m",
      "type": "number",
      "default": 2,
      "required": true,
      "help": "护砌段设计水深应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "3-04": [
    {
      "key": "coefficient",
      "label": "经验系数",
      "unit": "",
      "type": "number",
      "default": 0.85,
      "required": true,
      "help": "经验系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "minimum_flow",
      "label": "最小流量",
      "unit": "m³/s",
      "type": "number",
      "default": 20,
      "required": true,
      "help": "最小流量应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "3-05": [
    {
      "key": "flow",
      "label": "流量",
      "unit": "m³/s",
      "type": "number",
      "default": 10,
      "required": true,
      "help": "流量应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "bottom_width",
      "label": "底宽",
      "unit": "m",
      "type": "number",
      "default": 6,
      "required": true,
      "help": "底宽应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "side_slope",
      "label": "边坡系数",
      "unit": "",
      "type": "number",
      "default": 0,
      "required": true,
      "help": "边坡系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "alpha",
      "label": "动能修正系数",
      "unit": "",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "动能修正系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "gravity",
      "label": "重力加速度",
      "unit": "m/s²",
      "type": "number",
      "default": 9.81,
      "required": true,
      "help": "重力加速度应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "3-06": [
    {
      "key": "flow",
      "label": "流量",
      "unit": "m³/s",
      "type": "number",
      "default": 10,
      "required": true,
      "help": "流量应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "roughness",
      "label": "糙率",
      "unit": "",
      "type": "number",
      "default": 0.035,
      "required": true,
      "help": "糙率应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "bed_slope",
      "label": "底坡",
      "unit": "m/m",
      "type": "number",
      "default": 0.001,
      "required": true,
      "help": "输入小数比降，1‰ 填 0.001，1% 填 0.01。"
    },
    {
      "key": "side_slope",
      "label": "边坡系数",
      "unit": "",
      "type": "number",
      "default": 0,
      "required": true,
      "help": "边坡系数应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "3-07": [
    {
      "key": "flow",
      "label": "流量",
      "unit": "m³/s",
      "type": "number",
      "default": 10,
      "required": true,
      "help": "流量应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "roughness",
      "label": "糙率",
      "unit": "",
      "type": "number",
      "default": 0.035,
      "required": true,
      "help": "糙率应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "bed_slope",
      "label": "底坡",
      "unit": "m/m",
      "type": "number",
      "default": 0.001,
      "required": true,
      "help": "输入小数比降，1‰ 填 0.001，1% 填 0.01。"
    },
    {
      "key": "side_slope",
      "label": "边坡系数",
      "unit": "",
      "type": "number",
      "default": 1.5,
      "required": true,
      "help": "边坡系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "area_ratio",
      "label": "实用断面与最佳断面面积比",
      "unit": "",
      "type": "number",
      "default": 1.2,
      "required": true,
      "help": "实用断面与最佳断面面积比应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "3-08": [
    {
      "key": "channel_length",
      "label": "渠道长度",
      "unit": "m",
      "type": "number",
      "default": 100,
      "required": true,
      "help": "渠道长度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "lining_coefficient",
      "label": "衬砌渗漏系数",
      "unit": "",
      "type": "number",
      "default": 0.85,
      "required": true,
      "help": "衬砌渗漏系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "bottom_width",
      "label": "底宽",
      "unit": "m",
      "type": "number",
      "default": 6,
      "required": true,
      "help": "底宽应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "water_depth",
      "label": "水深",
      "unit": "m",
      "type": "number",
      "default": 2,
      "required": true,
      "help": "水深应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "side_slope",
      "label": "边坡系数",
      "unit": "",
      "type": "number",
      "default": 1.5,
      "required": true,
      "help": "边坡系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "roughness",
      "label": "糙率",
      "unit": "",
      "type": "number",
      "default": 0.035,
      "required": true,
      "help": "糙率应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "bed_slope",
      "label": "底坡",
      "unit": "m/m",
      "type": "number",
      "default": 0.001,
      "required": true,
      "help": "输入小数比降，1‰ 填 0.001，1% 填 0.01。"
    }
  ],
  "5-02": [
    {
      "key": "catchment_area_km2",
      "label": "汇水面积",
      "unit": "km²",
      "type": "number",
      "default": 47.02,
      "required": true,
      "help": "汇水面积应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "erosion_modulus_t_km2",
      "label": "年侵蚀模数",
      "unit": "t/(km²·年)",
      "type": "number",
      "default": 1000,
      "required": true,
      "help": "年侵蚀模数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "service_life_years",
      "label": "淤积计算年限",
      "unit": "年",
      "type": "number",
      "default": 10,
      "required": true,
      "help": "淤积计算年限应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "dry_unit_weight_t_m3",
      "label": "泥沙干容重",
      "unit": "t/m³",
      "type": "number",
      "default": 1.3,
      "required": true,
      "help": "泥沙干容重应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "5-05": [
    {
      "key": "dam_body_height_m",
      "label": "坝体高度",
      "unit": "m",
      "type": "number",
      "default": 20,
      "required": true,
      "help": "坝体高度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "upstream_slope",
      "label": "上游边坡系数",
      "unit": "",
      "type": "number",
      "default": 2.5,
      "required": true,
      "help": "上游边坡系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "downstream_slope",
      "label": "下游边坡系数",
      "unit": "",
      "type": "number",
      "default": 2,
      "required": true,
      "help": "下游边坡系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "curtain_constant_m",
      "label": "帷幕深度经验常数",
      "unit": "m",
      "type": "number",
      "default": 5,
      "required": true,
      "help": "帷幕深度经验常数应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "5-06": [
    {
      "key": "slope_coefficient",
      "label": "护坡坡率系数",
      "unit": "",
      "type": "number",
      "default": 1.5,
      "required": true,
      "help": "护坡坡率系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "slope_change_coefficient",
      "label": "坡度变化系数",
      "unit": "",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "坡度变化系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "block_density_t_m3",
      "label": "块石密度",
      "unit": "t/m³",
      "type": "number",
      "default": 2.65,
      "required": true,
      "help": "块石密度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "water_density_t_m3",
      "label": "水密度",
      "unit": "t/m³",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "水密度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "wind_speed_m_s",
      "label": "风速",
      "unit": "m/s",
      "type": "number",
      "default": 20,
      "required": true,
      "help": "风速应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "fetch_m",
      "label": "吹程",
      "unit": "m",
      "type": "number",
      "default": 500,
      "required": true,
      "help": "吹程应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "wave_period_s",
      "label": "波浪周期",
      "unit": "s",
      "type": "number",
      "default": 3,
      "required": true,
      "help": "波浪周期应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "gravity_m_s2",
      "label": "重力加速度",
      "unit": "m/s²",
      "type": "number",
      "default": 9.81,
      "required": true,
      "help": "重力加速度应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "5-07": [
    {
      "key": "dam_body_height_m",
      "label": "坝体高度",
      "unit": "m",
      "type": "number",
      "default": 20,
      "required": true,
      "help": "坝体高度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "upstream_slope",
      "label": "上游边坡系数",
      "unit": "",
      "type": "number",
      "default": 2.5,
      "required": true,
      "help": "上游边坡系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "downstream_slope",
      "label": "下游边坡系数",
      "unit": "",
      "type": "number",
      "default": 2,
      "required": true,
      "help": "下游边坡系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "curtain_constant_m",
      "label": "帷幕深度经验常数",
      "unit": "m",
      "type": "number",
      "default": 5,
      "required": true,
      "help": "帷幕深度经验常数应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "5-09": [
    {
      "key": "pressure_on_gate_kN",
      "label": "作用于闸门的水压力",
      "unit": "kN",
      "type": "number",
      "default": 120,
      "required": true,
      "help": "作用于闸门的水压力应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "water_head_m",
      "label": "水头",
      "unit": "m",
      "type": "number",
      "default": 4,
      "required": true,
      "help": "水头应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "bearing_type",
      "label": "支承类型",
      "unit": "",
      "type": "select",
      "default": "滑动支承",
      "required": true,
      "help": "支承类型应按本项目资料核定；示例值仅用于试算。",
      "options": [
        "滑动支承",
        "滑动轴承",
        "滚动轴承"
      ]
    },
    {
      "key": "sliding_support_friction",
      "label": "滑动支承摩擦系数",
      "unit": "",
      "type": "number",
      "default": 0.15,
      "required": true,
      "help": "滑动支承摩擦系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "sliding_bearing_f",
      "label": "滑动轴承摩擦系数",
      "unit": "",
      "type": "number",
      "default": 0.3,
      "required": true,
      "help": "滑动轴承摩擦系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "rolling_friction_coefficient",
      "label": "滚动摩擦系数",
      "unit": "",
      "type": "number",
      "default": 0.1,
      "required": true,
      "help": "滚动摩擦系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "wheel_radius_cm",
      "label": "滚轮半径",
      "unit": "cm",
      "type": "number",
      "default": 2,
      "required": true,
      "help": "滚轮半径应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "rolling_bearing_radius_cm",
      "label": "滚动轴承半径",
      "unit": "cm",
      "type": "number",
      "default": 0.3,
      "required": true,
      "help": "滚动轴承半径应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "roller_diameter_cm",
      "label": "滚柱直径",
      "unit": "cm",
      "type": "number",
      "default": 4,
      "required": true,
      "help": "滚柱直径应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "stopwater_friction",
      "label": "止水摩擦系数",
      "unit": "",
      "type": "number",
      "default": 0.65,
      "required": true,
      "help": "止水摩擦系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "stopwater_pressure_kN",
      "label": "止水压力",
      "unit": "kN",
      "type": "number",
      "default": 49.66,
      "required": true,
      "help": "止水压力应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "opening_safety_factor",
      "label": "启门安全系数",
      "unit": "",
      "type": "number",
      "default": 1.2,
      "required": true,
      "help": "启门安全系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "closing_safety_factor",
      "label": "闭门安全系数",
      "unit": "",
      "type": "number",
      "default": 1.2,
      "required": true,
      "help": "闭门安全系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "gate_weight_correction_open",
      "label": "启门自重修正系数",
      "unit": "",
      "type": "number",
      "default": 1.05,
      "required": true,
      "help": "启门自重修正系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "gate_weight_correction_close",
      "label": "闭门自重修正系数",
      "unit": "",
      "type": "number",
      "default": 0.95,
      "required": true,
      "help": "闭门自重修正系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "gate_weight_kN",
      "label": "闸门自重",
      "unit": "kN",
      "type": "number",
      "default": 7.76,
      "required": true,
      "help": "闸门自重应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "ballast_weight_kN",
      "label": "配重",
      "unit": "kN",
      "type": "number",
      "default": 0,
      "required": true,
      "help": "配重应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "downpull_kN",
      "label": "下吸力",
      "unit": "kN",
      "type": "number",
      "default": 0,
      "required": true,
      "help": "下吸力应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "water_column_weight_kN",
      "label": "水柱重力",
      "unit": "kN",
      "type": "number",
      "default": 22.06,
      "required": true,
      "help": "水柱重力应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "uplift_kN",
      "label": "上托力",
      "unit": "kN",
      "type": "number",
      "default": 9.26,
      "required": true,
      "help": "上托力应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "6-02": [
    {
      "key": "guarantee_flow",
      "label": "保证流量",
      "unit": "m³/s",
      "type": "number",
      "default": 20,
      "required": true,
      "help": "保证流量应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "working_head",
      "label": "工作水头",
      "unit": "m",
      "type": "number",
      "default": 10,
      "required": true,
      "help": "工作水头应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "output_coefficient",
      "label": "出力系数",
      "unit": "",
      "type": "number",
      "default": 8,
      "required": true,
      "help": "出力系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "ratio_coefficient",
      "label": "装机比值系数",
      "unit": "",
      "type": "number",
      "default": 1.5,
      "required": true,
      "help": "装机比值系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "average_annual_generation_10k_kwh",
      "label": "多年平均年发电量",
      "unit": "万kWh",
      "type": "number",
      "default": 1000,
      "required": true,
      "help": "多年平均年发电量应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "annual_utilization_hours",
      "label": "年利用小时数",
      "unit": "h",
      "type": "number",
      "default": 4000,
      "required": true,
      "help": "年利用小时数应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "6-04": [
    {
      "key": "pipe_diameter",
      "label": "管径",
      "unit": "m",
      "type": "number",
      "default": 1.2,
      "required": true,
      "help": "管径应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "flow",
      "label": "流量",
      "unit": "m³/s",
      "type": "number",
      "default": 10,
      "required": true,
      "help": "流量应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "upstream_level",
      "label": "上游水位",
      "unit": "m",
      "type": "number",
      "default": 1205,
      "required": true,
      "help": "上游水位应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "downstream_level",
      "label": "下游水位",
      "unit": "m",
      "type": "number",
      "default": 1200,
      "required": true,
      "help": "下游水位应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "axis_angle_deg",
      "label": "管轴倾角",
      "unit": "°",
      "type": "number",
      "default": 30,
      "required": true,
      "help": "管轴倾角应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "is_round_pipe",
      "label": "是否圆管",
      "unit": "",
      "type": "select",
      "default": "true",
      "required": true,
      "help": "是否圆管应按本项目资料核定；示例值仅用于试算。",
      "options": [
        {
          "value": "true",
          "label": "圆管"
        },
        {
          "value": "false",
          "label": "方管"
        }
      ]
    },
    {
      "key": "square_side_length",
      "label": "方管边长",
      "unit": "m",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "方管边长应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "6-05": [
    {
      "key": "air_flow",
      "label": "通气流量",
      "unit": "m³/s",
      "type": "number",
      "default": 20,
      "required": true,
      "help": "通气流量应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "flow_coefficient",
      "label": "流量系数",
      "unit": "",
      "type": "number",
      "default": 0.85,
      "required": true,
      "help": "流量系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "elastic_modulus_mpa",
      "label": "管材弹性模量",
      "unit": "MPa",
      "type": "number",
      "default": 206000,
      "required": true,
      "help": "管材弹性模量应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "safety_factor",
      "label": "安全系数",
      "unit": "",
      "type": "number",
      "default": 2,
      "required": true,
      "help": "安全系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "wall_thickness",
      "label": "管壁厚度",
      "unit": "m",
      "type": "number",
      "default": 0.012,
      "required": true,
      "help": "管壁厚度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "pipe_diameter",
      "label": "管径",
      "unit": "m",
      "type": "number",
      "default": 1.2,
      "required": true,
      "help": "管径应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "6-07": [
    {
      "key": "velocity",
      "label": "流速",
      "unit": "",
      "type": "number",
      "default": 2,
      "required": true,
      "help": "流速应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "diameter",
      "label": "管径",
      "unit": "m",
      "type": "number",
      "default": 1.2,
      "required": true,
      "help": "管径应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "length",
      "label": "长度",
      "unit": "m",
      "type": "number",
      "default": 500,
      "required": true,
      "help": "长度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "roughness_mm",
      "label": "管壁绝对粗糙度",
      "unit": "mm",
      "type": "number",
      "default": 0.2,
      "required": true,
      "help": "管壁绝对粗糙度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "local_loss_coefficient",
      "label": "局部水头损失系数",
      "unit": "",
      "type": "number",
      "default": 0.85,
      "required": true,
      "help": "局部水头损失系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "kinematic_viscosity",
      "label": "运动黏滞系数",
      "unit": "m²/s",
      "type": "number",
      "default": 0.000001519,
      "required": true,
      "help": "运动黏滞系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "gravity",
      "label": "重力加速度",
      "unit": "m/s²",
      "type": "number",
      "default": 9.81,
      "required": true,
      "help": "重力加速度应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "7-05": [
    {
      "key": "flow_m3s",
      "label": "流量",
      "unit": "m³/s",
      "type": "number",
      "default": 120,
      "required": true,
      "help": "流量应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "entrance_head_m",
      "label": "入口水头",
      "unit": "m",
      "type": "number",
      "default": 10,
      "required": true,
      "help": "入口水头应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "added_head_m",
      "label": "附加水头",
      "unit": "m",
      "type": "number",
      "default": 10,
      "required": true,
      "help": "附加水头应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "chute_slope",
      "label": "陡槽底坡",
      "unit": "m/m",
      "type": "number",
      "default": 0.001,
      "required": true,
      "help": "输入小数比降，1‰ 填 0.001，1% 填 0.01。"
    },
    {
      "key": "roughness",
      "label": "糙率",
      "unit": "",
      "type": "number",
      "default": 0.035,
      "required": true,
      "help": "糙率应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "downstream_depth_m",
      "label": "下游水深",
      "unit": "m",
      "type": "number",
      "default": 2.5,
      "required": true,
      "help": "下游水深应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "drop_height_m",
      "label": "跌差",
      "unit": "m",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "跌差应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "entrance_coefficient",
      "label": "入口流量系数",
      "unit": "",
      "type": "number",
      "default": 0.385,
      "required": true,
      "help": "入口流量系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "contraction_coefficient",
      "label": "收缩系数",
      "unit": "",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "收缩系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "entrance_side_slope",
      "label": "入口边坡系数",
      "unit": "",
      "type": "number",
      "default": 0,
      "required": true,
      "help": "入口边坡系数应按本项目资料核定；示例值仅用于试算。"
    }
  ],
  "7-09": [
    {
      "key": "flow_m3s",
      "label": "流量",
      "unit": "m³/s",
      "type": "number",
      "default": 120,
      "required": true,
      "help": "流量应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "upstream_normal_depth_m",
      "label": "上游正常水深",
      "unit": "m",
      "type": "number",
      "default": 2,
      "required": true,
      "help": "上游正常水深应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "safety_freeboard_m",
      "label": "安全超高",
      "unit": "m",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "安全超高应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "water_level_difference_m",
      "label": "上下游水位差",
      "unit": "m",
      "type": "number",
      "default": 0.5,
      "required": true,
      "help": "上下游水位差应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "shape_width_coefficient",
      "label": "桥孔形状宽度系数",
      "unit": "",
      "type": "number",
      "default": 0.85,
      "required": true,
      "help": "桥孔形状宽度系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "pier_coefficient",
      "label": "桥墩影响系数",
      "unit": "",
      "type": "number",
      "default": 0.85,
      "required": true,
      "help": "桥墩影响系数应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "bridge_deck_thickness_m",
      "label": "桥面板厚度",
      "unit": "m",
      "type": "number",
      "default": 0,
      "required": true,
      "help": "桥面板厚度应按本项目资料核定；示例值仅用于试算。"
    },
    {
      "key": "gravity_m_s2",
      "label": "重力加速度",
      "unit": "m/s²",
      "type": "number",
      "default": 9.81,
      "required": true,
      "help": "重力加速度应按本项目资料核定；示例值仅用于试算。"
    }
  ]
};
for (const [id, fields] of Object.entries(verifiedFields)) window.PROGRAM_FORM_CONFIGS[id].fields = fields;
const additionalFields = {
  "1-06": [
    {
      "key": "delta_t_h",
      "label": "统一时间步长",
      "unit": "h",
      "type": "number",
      "default": 1,
      "required": true,
      "help": "所有子流域序列采用相同时间步长；时移单位为小时。"
    },
    {
      "key": "components_json",
      "label": "子流域过程线（JSON）",
      "unit": "流量 m³/s",
      "type": "textarea",
      "default": "[{\"name\":\"子流域一\",\"offset_h\":0,\"flows\":[0,30,100,40,0]},{\"name\":\"子流域二\",\"offset_h\":1,\"flows\":[0,20,60,25,0]}]",
      "required": true,
      "help": "各分区填名称 name、时移 offset_h、完整流量序列 flows；禁止将同一流域不同方法结果相加。"
    }
  ],
  "1-08": [
    {
      "key": "catchment_area_km2",
      "label": "汇水面积",
      "unit": "km²",
      "default": 47.02,
      "type": "number",
      "required": true,
      "help": "汇水面积请按项目资料核定；该页计算洪峰与洪量，水库调洪请使用5-01。"
    },
    {
      "key": "rainfall_decay_exponent",
      "label": "暴雨递减指数",
      "unit": "",
      "default": 0.67,
      "type": "number",
      "required": true,
      "help": "暴雨递减指数请按项目资料核定；该页计算洪峰与洪量，水库调洪请使用5-01。"
    },
    {
      "key": "peak_flow_coefficient",
      "label": "洪峰流量参数 K",
      "unit": "",
      "default": 0.278,
      "type": "number",
      "required": true,
      "help": "洪峰流量参数 K请按项目资料核定；该页计算洪峰与洪量，水库调洪请使用5-01。"
    },
    {
      "key": "design_24h_rainfall_mm",
      "label": "设计频率24h降雨量",
      "unit": "mm",
      "default": 95,
      "type": "number",
      "required": true,
      "help": "设计频率24h降雨量请按项目资料核定；该页计算洪峰与洪量，水库调洪请使用5-01。"
    },
    {
      "key": "net_rainfall_mm",
      "label": "一次净雨量",
      "unit": "mm",
      "default": 55,
      "type": "number",
      "required": true,
      "help": "一次净雨量请按项目资料核定；该页计算洪峰与洪量，水库调洪请使用5-01。"
    }
  ],
  "5-03": [
    {
      "key": "effective_capacity_m3",
      "label": "有效库容",
      "unit": "m³",
      "default": 3000000,
      "type": "number",
      "required": true,
      "help": "以立方米输入；300万m³ 填 3000000。"
    },
    {
      "key": "inflows_m3s",
      "label": "12个月来水流量",
      "unit": "m³/s",
      "default": "8,10,12,18,25,35,30,22,16,12,9,8",
      "type": "textarea",
      "required": true,
      "help": "依次填写1至12月月均流量，逗号分隔；等月长30天模型，初始蓄水0。"
    },
    {
      "key": "demands_m3s",
      "label": "12个月需水流量",
      "unit": "m³/s",
      "default": "10,10,12,16,20,22,24,22,18,14,11,10",
      "type": "textarea",
      "required": true,
      "help": "顺序与来水月份一致；必须填足12项，不自动截断。"
    }
  ]
};
for (const [id, fields] of Object.entries(additionalFields)) window.PROGRAM_FORM_CONFIGS[id].fields = fields;
window.PROGRAM_FORM_CONFIGS['1-08'].description = '洪峰流量与一次洪水总量估算';
for (const field of window.PROGRAM_FORM_CONFIGS['3-03'].fields) {
  if (field.key === 'rock_lining_water_depth') {
    field.default = ''; field.required = false; field.label = '护砌段水深（可自动推算）';
    field.help = '留空按加大流量计算水深；有已审定水深时可直接输入，此时加大流量系数不再控制护砌水深。';
  }
}
for (const field of window.PROGRAM_FORM_CONFIGS['5-09'].fields) {
  if (field.key === 'water_head_m') {
    field.label = '工况水头（记录项）';
    field.help = '本式使用已知总水压力；水头用于工况记录，不会在缺少闸门尺寸时自动推算水压力。';
  }
}
