{
  "cases": [
    {
      "case_id": "legal_s10_no_supported_match",
      "expect_valid": true,
      "value": {
        "source_message": {
          "source_message_id": "MSG-S10-001",
          "subject": "Please confirm booking details",
          "from": "agent@example.com",
          "cc": [],
          "received_at": "2026-07-11T09:00:00+08:00",
          "source_channel": "Email"
        },
        "route_code": "S10",
        "handler_type": "main_agent_outcome",
        "result_type": "source_message_review_notification",
        "current_or_history": "current",
        "agent_assessment": {
          "status": "no_booking_action_detected",
          "reason_code": "no_booking_action_detected",
          "automation_action": "none"
        },
        "notification": {
          "required": true,
          "notification_type": "source_message_review",
          "show_source_message": true,
          "requires_user_decision": true,
          "visible_message": "未匹配到当前 Agent 支持的业务事件类型，请查看原邮件并决定是否需要回复或进行其他处理。"
        },
        "manual_review": null
      }
    },
    {
      "case_id": "illegal_s10_with_review_object",
      "expect_valid": false,
      "value": {
        "source_message": {
          "source_message_id": "MSG-S10-002",
          "subject": null,
          "from": null,
          "cc": [],
          "received_at": null,
          "source_channel": "Email"
        },
        "route_code": "S10",
        "handler_type": "main_agent_outcome",
        "result_type": "source_message_review_notification",
        "current_or_history": "current",
        "agent_assessment": {
          "status": "no_booking_action_detected",
          "reason_code": "no_booking_action_detected",
          "automation_action": "none"
        },
        "notification": {
          "required": true,
          "notification_type": "source_message_review",
          "show_source_message": true,
          "requires_user_decision": true,
          "visible_message": "查看原邮件。"
        },
        "manual_review": {
          "reason_code": "material_package_unavailable"
        }
      }
    },
    {
      "case_id": "legal_s99_material_unavailable",
      "expect_valid": true,
      "value": {
        "source_message": {
          "source_message_id": "MSG-S99-001",
          "subject": "See attached",
          "from": "agent@example.com",
          "cc": [],
          "received_at": "2026-07-11T09:05:00+08:00",
          "source_channel": "Email"
        },
        "route_code": "S99",
        "handler_type": "main_agent_outcome",
        "result_type": "source_message_review_notification",
        "current_or_history": "current",
        "agent_assessment": {
          "status": "material_package_unavailable",
          "reason_code": "material_package_unavailable",
          "automation_action": "none"
        },
        "notification": {
          "required": true,
          "notification_type": "source_message_review",
          "show_source_message": true,
          "requires_user_decision": true,
          "visible_message": "当前输入不足，无法判断是否匹配当前 Agent 支持的业务事件类型，请查看原邮件并决定后续处理。"
        },
        "manual_review": {
          "reason_code": "material_package_unavailable",
          "visible_reason": "当前输入不足，无法完成支持业务事件范围分类。",
          "review_record_type": "main_agent_entry_review",
          "missing_fields": [],
          "blocking_points": [],
          "conflicting_points": [],
          "suggested_human_actions": [
            "review_source_message"
          ],
          "evidence_to_check": [
            "source_message"
          ],
          "known_fields": {}
        }
      }
    },
    {
      "case_id": "illegal_s99_with_null_review",
      "expect_valid": false,
      "value": {
        "source_message": {
          "source_message_id": "MSG-S99-002",
          "subject": null,
          "from": null,
          "cc": [],
          "received_at": null,
          "source_channel": "Email"
        },
        "route_code": "S99",
        "handler_type": "main_agent_outcome",
        "result_type": "source_message_review_notification",
        "current_or_history": "current",
        "agent_assessment": {
          "status": "material_package_unavailable",
          "reason_code": "material_package_unavailable",
          "automation_action": "none"
        },
        "notification": {
          "required": true,
          "notification_type": "source_message_review",
          "show_source_message": true,
          "requires_user_decision": true,
          "visible_message": "查看原邮件。"
        },
        "manual_review": null
      }
    },
    {
      "case_id": "illegal_union_template_value",
      "expect_valid": false,
      "value": {
        "source_message": {
          "source_message_id": "MSG-UNION-001",
          "subject": null,
          "from": null,
          "cc": [],
          "received_at": null,
          "source_channel": "Email"
        },
        "route_code": "S10 | S99",
        "handler_type": "main_agent_outcome",
        "result_type": "source_message_review_notification",
        "current_or_history": "current",
        "agent_assessment": {
          "status": "no_booking_action_detected | material_package_unavailable",
          "reason_code": "",
          "automation_action": "none"
        },
        "notification": {
          "required": true,
          "notification_type": "source_message_review",
          "show_source_message": true,
          "requires_user_decision": true,
          "visible_message": ""
        },
        "manual_review": null
      }
    }
  ]
}
