{
  "schema": "lwts",
  "schemaVersion": "1.0",
  "template": {
    "key": "home_kitchen_cabinet_20d_management",
    "name": "家装橱柜商家20天交付管理",
    "description": "适用于现场条件成熟的家装定制橱柜项目，从需求量尺、复尺深化、生产齐套、配送安装到验收归档的20天目标管理流程。特殊材料、复杂工艺、现场未完工、变更返工等情况应按实际调整周期。",
    "version": 1
  },
  "nodes": [
    {
      "key": "requirements_measurement",
      "name": "需求、初尺与方案报价",
      "description": "明确厨房使用需求、现场基础条件、厨电与收纳需求，完成首次测量、初步方案和报价范围确认。",
      "order": 0,
      "startStrategy": "auto"
    },
    {
      "key": "remeasure_order",
      "name": "复尺、深化与生产下单",
      "description": "在现场具备复尺条件后锁定最终尺寸、水电与厨电适配、材料配置和报价边界，再正式下单生产。",
      "order": 1,
      "startStrategy": "auto"
    },
    {
      "key": "custom_production",
      "name": "定制生产与齐套检查",
      "description": "按最终确认资料组织柜体、门板、台面、五金及配件生产准备，并在出厂前完成订单一致性和齐套检查。",
      "order": 2,
      "startStrategy": "auto"
    },
    {
      "key": "delivery_preparation",
      "name": "配送与安装准备",
      "description": "生产完成后确认送货安装排期、客户时间、现场进场和成品保护条件，为连续安装做好准备。",
      "order": 3,
      "startStrategy": "auto"
    },
    {
      "key": "site_installation",
      "name": "配送、安装与整体调试",
      "description": "完成到货清点、柜体安装、门板五金、台面和接口适配检查，并进行整体调试、自检与现场清理。",
      "order": 4,
      "startStrategy": "auto"
    },
    {
      "key": "acceptance_handover",
      "name": "验收、交付与售后归档",
      "description": "完成客户验收、问题确认、合同约定结算核对、使用交代及项目资料归档。",
      "order": 5,
      "startStrategy": "auto"
    }
  ],
  "events": [
    {
      "key": "customer_requirements_confirm",
      "nodeKey": "requirements_measurement",
      "name": "确认客户需求与厨房基本信息",
      "description": "确认厨房使用习惯、主要收纳需求、风格偏好、装修进度、厨电计划及可上门时间；未确定的产品参数保持待确认。",
      "order": 0,
      "expectedDurationDays": 1,
      "preconditionMode": "all",
      "preconditionStrategy": "none",
      "flowRole": "main"
    },
    {
      "key": "initial_site_measurement",
      "nodeKey": "requirements_measurement",
      "name": "首次上门量尺与现场勘察",
      "description": "记录墙面、门窗、梁柱、烟道、上下水、燃气相关位置、插座及其他影响橱柜布局的现场条件，并保留关键位置记录。",
      "order": 1,
      "expectedDurationDays": 1,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "initial_scheme_quote",
      "nodeKey": "requirements_measurement",
      "name": "初步方案与报价范围确认",
      "description": "根据初尺和需求形成布局、主要配置与报价范围，明确包含项、选配项和待复尺确认项，不以效果图替代生产尺寸。",
      "order": 2,
      "expectedDurationDays": 1,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "contract_scope_confirm",
      "nodeKey": "requirements_measurement",
      "name": "合同或订单范围确认",
      "description": "确认项目范围、材料与配置口径、计价范围、预计周期、安装边界、变更方式及售后约定，具体内容以实际合同为准。",
      "order": 3,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "first_payment_check",
      "nodeKey": "requirements_measurement",
      "name": "按合同核对首个收款条件",
      "description": "仅按实际合同确认是否达到约定收款节点，不预设定金比例、金额或支付方式。",
      "order": 4,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "manual",
      "flowRole": "side"
    },
    {
      "key": "remeasure_readiness_check",
      "nodeKey": "remeasure_order",
      "name": "确认现场具备生产复尺条件",
      "description": "核对会影响最终尺寸的墙地面、门窗、水电及相关施工状态；现场条件仍可能变化时不要锁定生产尺寸。",
      "order": 0,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "final_site_remeasurement",
      "nodeKey": "remeasure_order",
      "name": "生产前最终复尺",
      "description": "复核墙面、转角、完成面、烟道、上下水、门窗和设备空间等关键尺寸，并记录与初尺相比的变化。",
      "order": 1,
      "expectedDurationDays": 1,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "utility_appliance_fit_confirm",
      "nodeKey": "remeasure_order",
      "name": "核对水电、烟道与厨电适配条件",
      "description": "根据最终方案核对上下水、插座、烟道及嵌入式厨电尺寸、开门、散热和检修空间；实际接口施工由对应专业人员按项目要求完成。",
      "order": 2,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "final_design_quote_confirm",
      "nodeKey": "remeasure_order",
      "name": "最终设计、配置与报价确认",
      "description": "锁定柜体布局、门板、台面、五金、拉篮等实际选配及收口方式，核对最终报价和范围，未确认内容不得直接进入生产。",
      "order": 3,
      "expectedDurationDays": 1,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "production_order_release",
      "nodeKey": "remeasure_order",
      "name": "生产下单并冻结版本",
      "description": "依据最终复尺和确认资料正式下单，确保生产资料与客户确认版本一致；下单后的变更先评估对成本、已生产内容和工期的影响。",
      "order": 4,
      "expectedDurationDays": 1,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "post_order_change_check",
      "nodeKey": "remeasure_order",
      "name": "下单后变更复核（如有）",
      "description": "如客户或现场在生产后提出变更，先确认受影响部件、费用和交期，再决定是否执行；无变更时直接标记无事项。",
      "order": 5,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "manual",
      "flowRole": "side"
    },
    {
      "key": "production_data_review",
      "nodeKey": "custom_production",
      "name": "生产资料与订单拆分复核",
      "description": "核对最终尺寸、柜体结构、门板、台面、五金、配件及项目标识，确保生产资料与确认订单一致。",
      "order": 0,
      "expectedDurationDays": 1,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "cabinet_body_production",
      "nodeKey": "custom_production",
      "name": "柜体加工生产",
      "description": "按最终生产资料完成柜体相关加工与配套，保持部件和项目标识清晰，具体板材与工艺以订单为准。",
      "order": 1,
      "expectedDurationDays": 6,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "door_panel_production",
      "nodeKey": "custom_production",
      "name": "门板及外观件生产",
      "description": "按订单组织门板、见光面及其他外观件生产或备货；特殊表面工艺所需周期按实际订单调整。",
      "order": 2,
      "expectedDurationDays": 5,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "side"
    },
    {
      "key": "countertop_processing",
      "nodeKey": "custom_production",
      "name": "台面加工准备",
      "description": "按最终方案和复尺资料组织台面加工或备货；如实际供应工艺要求安装后再次复核尺寸，则按现场结果调整。",
      "order": 3,
      "expectedDurationDays": 4,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "side"
    },
    {
      "key": "hardware_accessories_prepare",
      "nodeKey": "custom_production",
      "name": "五金、拉篮与配件齐套",
      "description": "按最终订单核对铰链、滑轨、拉手、拉篮及其他选配件的型号、数量和配套关系，不适用项目可标记无对应配件。",
      "order": 4,
      "expectedDurationDays": 3,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "side"
    },
    {
      "key": "factory_quality_check",
      "nodeKey": "custom_production",
      "name": "出厂前订单一致性与质量检查",
      "description": "检查主要部件的订单匹配、数量、外观、封装和配件齐套情况，发现异常先处理再进入包装发货。",
      "order": 5,
      "expectedDurationDays": 1,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "packaging_project_marking",
      "nodeKey": "custom_production",
      "name": "包装、项目标识与发货准备",
      "description": "按项目分类包装柜体、门板、台面、五金和配件，保持标识清晰并做好运输保护，避免到场混件或漏件。",
      "order": 6,
      "expectedDurationDays": 1,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "pre_delivery_payment_check",
      "nodeKey": "custom_production",
      "name": "按合同核对发货前收款条件",
      "description": "如合同设有发货前收款节点，在安排发货前核对；没有对应约定时标记无此节点。",
      "order": 7,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "manual",
      "flowRole": "side"
    },
    {
      "key": "delivery_install_schedule",
      "nodeKey": "delivery_preparation",
      "name": "确认送货与安装排期",
      "description": "与客户确认送货、安装时间及现场联系人，并核对装修现场是否允许连续进场安装，避免成品到场后长期堆放。",
      "order": 0,
      "expectedDurationDays": 1,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "property_entry_check",
      "nodeKey": "delivery_preparation",
      "name": "核对物业与搬运进场条件",
      "description": "如项目存在物业报备、搬运时段、电梯或特殊运输要求，在送货前确认；无相关要求时标记无需处理。",
      "order": 1,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "manual",
      "flowRole": "side"
    },
    {
      "key": "site_installation_readiness",
      "nodeKey": "delivery_preparation",
      "name": "安装前现场条件确认",
      "description": "确认安装区域可施工、主要完成面已具备保护条件、影响柜体定位的现场事项已稳定，并提前协调与其他工种的交叉作业。",
      "order": 2,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "side"
    },
    {
      "key": "delivery_receipt_check",
      "nodeKey": "site_installation",
      "name": "成品配送、到货清点与外观检查",
      "description": "到场后按订单和包装标识核对柜体、门板、台面、五金及配件，检查明显运输损伤和缺件，异常先记录。",
      "order": 0,
      "expectedDurationDays": 1,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "site_protection_layout_check",
      "nodeKey": "site_installation",
      "name": "现场保护、定位与尺寸复核",
      "description": "做好地面、墙面及相邻成品保护，安装前再次复核柜体定位、标高、墙角、管线和设备空间是否与最终资料一致。",
      "order": 1,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "cabinet_frame_install",
      "nodeKey": "site_installation",
      "name": "地柜、吊柜与高柜安装",
      "description": "按最终设计完成适用柜体的定位、连接、调整与固定，并持续核对水平、垂直、开门空间和相邻完成面。",
      "order": 2,
      "expectedDurationDays": 1,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "door_drawer_hardware_install",
      "nodeKey": "site_installation",
      "name": "门板、抽屉与功能五金安装",
      "description": "完成订单范围内的门板、抽屉、拉手、铰链、滑轨、拉篮等安装，并进行初步开合与位置调整。",
      "order": 3,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "countertop_preinstall_verify",
      "nodeKey": "site_installation",
      "name": "台面安装前尺寸与接口复核",
      "description": "在台面安装前复核柜体实际位置、水槽与设备开孔需求及墙面关系；如发现尺寸偏差先处理，不强行安装。",
      "order": 4,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "countertop_install",
      "nodeKey": "site_installation",
      "name": "台面安装与必要收口",
      "description": "按最终订单和现场复核结果完成台面安装、拼接及必要收口；水槽、龙头等是否安装以合同范围和现场专业分工为准。",
      "order": 5,
      "expectedDurationDays": 1,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "appliance_interface_fit_check",
      "nodeKey": "site_installation",
      "name": "厨电预留与接口适配复核",
      "description": "复核嵌入式厨电、水槽及相关设备预留空间、开门、散热、检修和接口位置是否符合已确认资料；不替代专业接电或燃气施工。",
      "order": 6,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "overall_adjust_self_check",
      "nodeKey": "site_installation",
      "name": "整体调试与安装自检",
      "description": "检查柜门、抽屉、五金启闭、柜体稳定、台面外观、收口、预留空间和订单配件完整性，形成需处理事项。",
      "order": 7,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "site_clean_handover_prepare",
      "nodeKey": "site_installation",
      "name": "现场清理与验收准备",
      "description": "清理安装产生的包装和作业垃圾，整理待验收区域，并准备最终订单、变更记录和已知问题清单。",
      "order": 8,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "customer_final_acceptance",
      "nodeKey": "acceptance_handover",
      "name": "客户现场验收",
      "description": "按合同、最终方案、订单和现场实际交付逐项核对，重点检查外观、启闭、配件、台面、收口和约定范围完成情况。",
      "order": 0,
      "expectedDurationDays": 1,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "acceptance_issue_close",
      "nodeKey": "acceptance_handover",
      "name": "验收问题确认与闭环",
      "description": "有问题时形成明确清单并安排处理和复核；无问题时记录无待整改事项，再确认交付完成。",
      "order": 1,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "final_payment_check",
      "nodeKey": "acceptance_handover",
      "name": "按合同核对尾款或最终结算",
      "description": "依据实际合同核对最终应收、已收及需调整事项，不在模板中预设尾款比例、金额或结算方式。",
      "order": 2,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "manual",
      "flowRole": "side"
    },
    {
      "key": "handover_usage_notes",
      "nodeKey": "acceptance_handover",
      "name": "交付使用与维护说明",
      "description": "向客户说明柜门、抽屉、五金、台面等基本使用和维护注意事项，并确认后续问题反馈渠道。",
      "order": 3,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "main"
    },
    {
      "key": "project_archive_aftersales",
      "nodeKey": "acceptance_handover",
      "name": "项目资料与售后信息归档",
      "description": "归档最终订单、量尺与复尺资料、确认版本、变更记录、验收结论和售后联系信息，便于后续维护与复查。",
      "order": 4,
      "expectedDurationDays": 0,
      "preconditionMode": "all",
      "preconditionStrategy": "auto",
      "flowRole": "side"
    }
  ],
  "relations": [
    {
      "key": "rel_001",
      "fromEventKey": "customer_requirements_confirm",
      "toEventKey": "initial_site_measurement",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_002",
      "fromEventKey": "initial_site_measurement",
      "toEventKey": "initial_scheme_quote",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_003",
      "fromEventKey": "initial_scheme_quote",
      "toEventKey": "contract_scope_confirm",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_004",
      "fromEventKey": "contract_scope_confirm",
      "toEventKey": "first_payment_check",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_005",
      "fromEventKey": "contract_scope_confirm",
      "toEventKey": "remeasure_readiness_check",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_006",
      "fromEventKey": "remeasure_readiness_check",
      "toEventKey": "final_site_remeasurement",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_007",
      "fromEventKey": "final_site_remeasurement",
      "toEventKey": "utility_appliance_fit_confirm",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_008",
      "fromEventKey": "utility_appliance_fit_confirm",
      "toEventKey": "final_design_quote_confirm",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_009",
      "fromEventKey": "final_design_quote_confirm",
      "toEventKey": "production_order_release",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_010",
      "fromEventKey": "production_order_release",
      "toEventKey": "post_order_change_check",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_011",
      "fromEventKey": "production_order_release",
      "toEventKey": "production_data_review",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_012",
      "fromEventKey": "production_data_review",
      "toEventKey": "cabinet_body_production",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_013",
      "fromEventKey": "production_data_review",
      "toEventKey": "door_panel_production",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_014",
      "fromEventKey": "production_data_review",
      "toEventKey": "countertop_processing",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_015",
      "fromEventKey": "production_data_review",
      "toEventKey": "hardware_accessories_prepare",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_016",
      "fromEventKey": "cabinet_body_production",
      "toEventKey": "factory_quality_check",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_017",
      "fromEventKey": "door_panel_production",
      "toEventKey": "factory_quality_check",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_018",
      "fromEventKey": "countertop_processing",
      "toEventKey": "factory_quality_check",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_019",
      "fromEventKey": "hardware_accessories_prepare",
      "toEventKey": "factory_quality_check",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_020",
      "fromEventKey": "factory_quality_check",
      "toEventKey": "packaging_project_marking",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_021",
      "fromEventKey": "packaging_project_marking",
      "toEventKey": "pre_delivery_payment_check",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_022",
      "fromEventKey": "packaging_project_marking",
      "toEventKey": "delivery_install_schedule",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_023",
      "fromEventKey": "delivery_install_schedule",
      "toEventKey": "property_entry_check",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_024",
      "fromEventKey": "delivery_install_schedule",
      "toEventKey": "site_installation_readiness",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_025",
      "fromEventKey": "delivery_install_schedule",
      "toEventKey": "delivery_receipt_check",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_026",
      "fromEventKey": "delivery_receipt_check",
      "toEventKey": "site_protection_layout_check",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_027",
      "fromEventKey": "site_protection_layout_check",
      "toEventKey": "cabinet_frame_install",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_028",
      "fromEventKey": "cabinet_frame_install",
      "toEventKey": "door_drawer_hardware_install",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_029",
      "fromEventKey": "door_drawer_hardware_install",
      "toEventKey": "countertop_preinstall_verify",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_030",
      "fromEventKey": "countertop_preinstall_verify",
      "toEventKey": "countertop_install",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_031",
      "fromEventKey": "cabinet_frame_install",
      "toEventKey": "appliance_interface_fit_check",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_032",
      "fromEventKey": "countertop_install",
      "toEventKey": "overall_adjust_self_check",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_033",
      "fromEventKey": "appliance_interface_fit_check",
      "toEventKey": "overall_adjust_self_check",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_034",
      "fromEventKey": "overall_adjust_self_check",
      "toEventKey": "site_clean_handover_prepare",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_035",
      "fromEventKey": "site_clean_handover_prepare",
      "toEventKey": "customer_final_acceptance",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_036",
      "fromEventKey": "customer_final_acceptance",
      "toEventKey": "acceptance_issue_close",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_037",
      "fromEventKey": "customer_final_acceptance",
      "toEventKey": "final_payment_check",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_038",
      "fromEventKey": "acceptance_issue_close",
      "toEventKey": "handover_usage_notes",
      "type": "mustFinishBefore",
      "offsetDays": 0
    },
    {
      "key": "rel_039",
      "fromEventKey": "handover_usage_notes",
      "toEventKey": "project_archive_aftersales",
      "type": "mustFinishBefore",
      "offsetDays": 0
    }
  ],
  "nodeStartConditions": [
    {
      "key": "cond_001",
      "targetNodeKey": "remeasure_order",
      "sourceEventKey": "contract_scope_confirm"
    },
    {
      "key": "cond_002",
      "targetNodeKey": "custom_production",
      "sourceEventKey": "production_order_release"
    },
    {
      "key": "cond_003",
      "targetNodeKey": "delivery_preparation",
      "sourceEventKey": "packaging_project_marking"
    },
    {
      "key": "cond_004",
      "targetNodeKey": "site_installation",
      "sourceEventKey": "delivery_install_schedule"
    },
    {
      "key": "cond_005",
      "targetNodeKey": "acceptance_handover",
      "sourceEventKey": "site_clean_handover_prepare"
    }
  ],
  "reminderRules": [
    {
      "key": "rem_001",
      "eventKey": "initial_site_measurement",
      "offsetDays": -1,
      "time": "18:00",
      "message": "明天上门初尺：确认客户时间、地址、现场可进入，并准备记录厨房关键尺寸和设备位置。",
      "enabled": true
    },
    {
      "key": "rem_002",
      "eventKey": "initial_site_measurement",
      "offsetDays": 0,
      "time": "08:30",
      "message": "今天初尺：重点记录墙面、门窗、烟道、上下水、插座及影响橱柜布局的现场条件。",
      "enabled": true
    },
    {
      "key": "rem_003",
      "eventKey": "initial_scheme_quote",
      "offsetDays": 0,
      "time": "09:30",
      "message": "今天确认初步方案与报价范围：把待复尺、待选材和待确认厨电项目明确标出。",
      "enabled": true
    },
    {
      "key": "rem_004",
      "eventKey": "remeasure_readiness_check",
      "offsetDays": -1,
      "time": "18:00",
      "message": "明天检查复尺条件：会影响最终尺寸的墙地面、水电和现场施工状态应尽量稳定。",
      "enabled": true
    },
    {
      "key": "rem_005",
      "eventKey": "final_site_remeasurement",
      "offsetDays": -1,
      "time": "18:00",
      "message": "明天生产复尺：提前确认现场可进入，并准备最终方案和初尺记录用于对照。",
      "enabled": true
    },
    {
      "key": "rem_006",
      "eventKey": "final_site_remeasurement",
      "offsetDays": 0,
      "time": "08:30",
      "message": "今天最终复尺：发现现场尺寸或完成面变化时，先更新最终资料再下单。",
      "enabled": true
    },
    {
      "key": "rem_007",
      "eventKey": "utility_appliance_fit_confirm",
      "offsetDays": 0,
      "time": "14:00",
      "message": "今天核对厨电与水电条件：嵌入设备尺寸、开门、散热、检修及接口位置不要遗漏。",
      "enabled": true
    },
    {
      "key": "rem_008",
      "eventKey": "final_design_quote_confirm",
      "offsetDays": 0,
      "time": "09:30",
      "message": "今天锁定最终设计和报价：柜体、门板、台面、五金、收口及选配项逐项确认。",
      "enabled": true
    },
    {
      "key": "rem_009",
      "eventKey": "production_order_release",
      "offsetDays": 0,
      "time": "10:00",
      "message": "今天生产下单：确认使用的是最终复尺和客户确认版本，下单后变更先评估影响。",
      "enabled": true
    },
    {
      "key": "rem_010",
      "eventKey": "cabinet_body_production",
      "offsetDays": 3,
      "time": "10:00",
      "message": "柜体生产进入中段：检查主件生产进度，并同步确认门板、台面、五金配件是否按计划齐套。",
      "enabled": true
    },
    {
      "key": "rem_011",
      "eventKey": "factory_quality_check",
      "offsetDays": -1,
      "time": "16:00",
      "message": "明天出厂检查：提前核对柜体、门板、台面、五金和配件齐套情况，避免缺件后发货。",
      "enabled": true
    },
    {
      "key": "rem_012",
      "eventKey": "factory_quality_check",
      "offsetDays": 0,
      "time": "09:00",
      "message": "今天出厂检查：订单一致性、数量、外观、包装及配件确认无异常再进入发货准备。",
      "enabled": true
    },
    {
      "key": "rem_013",
      "eventKey": "pre_delivery_payment_check",
      "offsetDays": 0,
      "time": "10:00",
      "message": "如合同设有发货前收款节点，今天核对是否满足；无对应约定则标记无此节点。",
      "enabled": true
    },
    {
      "key": "rem_014",
      "eventKey": "delivery_install_schedule",
      "offsetDays": 0,
      "time": "09:30",
      "message": "今天确认送货安装排期：客户时间、进场条件和现场施工状态应能支持连续安装。",
      "enabled": true
    },
    {
      "key": "rem_015",
      "eventKey": "delivery_receipt_check",
      "offsetDays": -1,
      "time": "17:00",
      "message": "明天送货：确认地址、联系人、搬运条件和安装区域已具备接货条件。",
      "enabled": true
    },
    {
      "key": "rem_016",
      "eventKey": "delivery_receipt_check",
      "offsetDays": 0,
      "time": "08:30",
      "message": "今天到货先清点：柜体、门板、台面、五金和配件出现缺件或运输损伤时先记录。",
      "enabled": true
    },
    {
      "key": "rem_017",
      "eventKey": "cabinet_frame_install",
      "offsetDays": -1,
      "time": "18:00",
      "message": "明天安装柜体：确认现场保护、定位空间以及与其他工种交叉作业已协调。",
      "enabled": true
    },
    {
      "key": "rem_018",
      "eventKey": "cabinet_frame_install",
      "offsetDays": 0,
      "time": "08:30",
      "message": "今天安装柜体：先复核定位和尺寸，再进行连接、调整和固定。",
      "enabled": true
    },
    {
      "key": "rem_019",
      "eventKey": "countertop_install",
      "offsetDays": -1,
      "time": "17:30",
      "message": "明天台面安装：先确认柜体位置、台面尺寸和设备开孔需求已经复核。",
      "enabled": true
    },
    {
      "key": "rem_020",
      "eventKey": "countertop_install",
      "offsetDays": 0,
      "time": "09:00",
      "message": "今天安装台面：发现尺寸或接口条件不一致时先处理，不强行安装。",
      "enabled": true
    },
    {
      "key": "rem_021",
      "eventKey": "overall_adjust_self_check",
      "offsetDays": 0,
      "time": "15:30",
      "message": "安装结束先自检：柜门、抽屉、五金、台面、收口、设备预留和配件完整性逐项检查。",
      "enabled": true
    },
    {
      "key": "rem_022",
      "eventKey": "customer_final_acceptance",
      "offsetDays": -1,
      "time": "18:00",
      "message": "明天客户验收：准备最终订单、变更记录并提前处理已知问题。",
      "enabled": true
    },
    {
      "key": "rem_023",
      "eventKey": "customer_final_acceptance",
      "offsetDays": 0,
      "time": "09:00",
      "message": "今天验收：按合同、最终方案和现场交付逐项核对，有问题当场形成清单。",
      "enabled": true
    },
    {
      "key": "rem_024",
      "eventKey": "final_payment_check",
      "offsetDays": 0,
      "time": "15:00",
      "message": "按合同核对尾款或最终结算，不按模板预设付款比例和金额。",
      "enabled": true
    },
    {
      "key": "rem_025",
      "eventKey": "project_archive_aftersales",
      "offsetDays": 0,
      "time": "16:30",
      "message": "项目结束请归档量尺、复尺、最终订单、变更记录、验收结论和售后信息。",
      "enabled": true
    }
  ],
  "extensions": {
    "cn.lejia": {
      "events": {
        "initial_site_measurement": {
          "eventKind": "booking"
        },
        "final_site_remeasurement": {
          "eventKind": "booking"
        },
        "cabinet_body_production": {
          "eventKind": "construction"
        },
        "delivery_receipt_check": {
          "eventKind": "construction"
        },
        "cabinet_frame_install": {
          "eventKind": "construction"
        },
        "countertop_install": {
          "eventKind": "construction"
        },
        "customer_final_acceptance": {
          "eventKind": "acceptance"
        },
        "first_payment_check": {
          "eventKind": "payment"
        },
        "pre_delivery_payment_check": {
          "eventKind": "payment"
        },
        "final_payment_check": {
          "eventKind": "payment"
        }
      }
    }
  }
}