{
  "standalone_partial_allotment": {
    "body_current": "Please reduce block BLK-2608-A from 20 rooms to 15 rooms and keep the balance active.",
    "candidate_events": [],
    "input_is_understood": true,
    "expected_route": "S10",
    "forbidden_event_types": [
      "Allotment Maintenance",
      "Update Booking / Amendment",
      "Cancel Allotment"
    ]
  },
  "mixed_partial_allotment": {
    "output": {
      "source_message": {
        "source_message_id": "MSG-ALLOT-MIXED-001",
        "subject": "New group and allotment reduction",
        "from": "agent@example.com",
        "cc": [],
        "received_at": "2026-07-11T10:10:00+08:00",
        "source_channel": "Email"
      },
      "message_events": [
        {
          "event_type": "New Booking",
          "event_role": "travel_agent_request",
          "current_or_history": "current",
          "source_event_index": "E1",
          "case_keys": {
            "group_code": "NEW-GROUP-01",
            "confirmation_number": null,
            "reservation_number": null,
            "block_code": null
          },
          "relevant_message_excerpt": "Please create NEW-GROUP-01 for 10-12 Aug, 2 DBL.",
          "attachments": [],
          "file_references": [],
          "context_used": {},
          "extracted_fields": {
            "booking_object_type": "Group Block",
            "arrival_date": "2026-08-10",
            "departure_date": "2026-08-12",
            "room_items": [
              {
                "room_type_raw": "DBL",
                "pms_room_type_code": "RM2",
                "room_quantity": 2
              }
            ]
          },
          "manual_review": null
        }
      ],
      "case_candidates": [],
      "extraction_warnings": [],
      "unhandled_current_intents": [
        {
          "category": "unhandled_current_business_content",
          "current_or_history": "current",
          "reason_code": "requires_business_approval_or_unsupported_task_card",
          "text_raw": "Please reduce block BLK-2608-A from 20 rooms to 15 rooms and keep the balance active.",
          "visible_message": "当前邮件还要求减少 BLK-2608-A 的部分配额并保留剩余房量；该事项不在当前支持范围，请查看原文并决定后续处理。",
          "requires_user_decision": true,
          "case_keys": {
            "group_code": null,
            "confirmation_number": null,
            "reservation_number": null,
            "block_code": "BLK-2608-A"
          },
          "attachments": [],
          "file_references": []
        }
      ]
    },
    "expected_unhandled_text": "Please reduce block BLK-2608-A from 20 rooms to 15 rooms and keep the balance active.",
    "forbidden_event_types": [
      "Allotment Maintenance",
      "Update Booking / Amendment",
      "Cancel Allotment"
    ]
  },
  "new_allotment_control_block": {
    "event": {
      "event_type": "New Booking",
      "event_role": "travel_agent_request",
      "current_or_history": "current",
      "source_event_index": "E_NEW_ALLOTMENT",
      "case_keys": {
        "group_code": null,
        "confirmation_number": null,
        "reservation_number": null,
        "block_code": "BLK-NEW-01"
      },
      "relevant_message_excerpt": "Please create a new control block BLK-NEW-01 for 20 DBL rooms.",
      "attachments": [],
      "file_references": [],
      "context_used": {},
      "extracted_fields": {
        "booking_object_type": "Allotment / Control Block",
        "arrival_date": "2026-09-01",
        "departure_date": "2026-09-05",
        "room_items": [
          {
            "room_type_raw": "DBL",
            "pms_room_type_code": "RM2",
            "room_quantity": 20
          }
        ]
      },
      "manual_review": null
    },
    "expected_adapter_triplet": {
      "result_type": "normal_task",
      "task_type": "New Booking",
      "task_subtype": "new_allotment_control_block"
    }
  },
  "cancel_entire_allotment": {
    "event": {
      "event_type": "Cancel Allotment",
      "event_role": "travel_agent_request",
      "current_or_history": "current",
      "source_event_index": "E_CANCEL_ALLOTMENT",
      "case_keys": {
        "group_code": null,
        "confirmation_number": null,
        "reservation_number": null,
        "block_code": "BLK-CANCEL-01"
      },
      "relevant_message_excerpt": "Cancel the entire control block BLK-CANCEL-01 and release all remaining rooms.",
      "attachments": [],
      "file_references": [],
      "context_used": {},
      "extracted_fields": {
        "cancel_scope": "entire_allotment_control_block"
      },
      "manual_review": null
    },
    "expected_adapter_triplet": {
      "result_type": "normal_task",
      "task_type": "Cancel Allotment",
      "task_subtype": "cancel_allotment_control_block"
    }
  }
}
