{
  "source_message": {
    "source_message_id": "MSG-ROW-DERIVED-001",
    "subject": "BOOKING UPDATE 08-2026",
    "from": "agent@example.com",
    "cc": [],
    "received_at": "2026-07-11T10:05:00+08:00",
    "source_channel": "Email"
  },
  "message_events": [
    {
      "event_type": "New Booking",
      "event_role": "travel_agent_request",
      "current_or_history": "current",
      "source_event_index": "E_ROW_CHILD",
      "case_keys": {
        "group_code": "CHILD-ROW-01",
        "confirmation_number": null,
        "reservation_number": null,
        "block_code": null
      },
      "relevant_message_excerpt": "PARENT-ROW-01 AMEND TO CHILD-ROW-01, 10-12 AUG, 2 DBL, add one extra bed",
      "attachments": [
        "booking-update.xlsx"
      ],
      "file_references": [],
      "context_used": {
        "row_evidence": {
          "row_reference": "booking-update.xlsx#BOOKING 08-2026#42",
          "sheet": "BOOKING 08-2026",
          "row_index": 42,
          "highlighted": true
        }
      },
      "extracted_fields": {
        "booking_object_type": "Group Block",
        "parent_group_code": "PARENT-ROW-01",
        "allocation_split_from_parent": true,
        "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
    },
    {
      "event_type": "Cancel Booking",
      "event_role": "travel_agent_request",
      "current_or_history": "current",
      "source_event_index": "E_ROW_PARENT",
      "case_keys": {
        "group_code": "PARENT-ROW-01",
        "confirmation_number": null,
        "reservation_number": null,
        "block_code": null
      },
      "relevant_message_excerpt": "PARENT-ROW-01 AMEND TO CHILD-ROW-01",
      "attachments": [
        "booking-update.xlsx"
      ],
      "file_references": [],
      "context_used": {
        "row_evidence": {
          "row_reference": "booking-update.xlsx#BOOKING 08-2026#42",
          "sheet": "BOOKING 08-2026",
          "row_index": 42,
          "highlighted": true
        }
      },
      "extracted_fields": {
        "cancel_object_type": "group_block",
        "parent_release_or_cancel_candidate": true,
        "parent_group_code": "PARENT-ROW-01",
        "child_group_codes": [
          "CHILD-ROW-01"
        ]
      },
      "related_source_event_indices": [
        "E_ROW_CHILD"
      ],
      "related_event_type": "New Booking",
      "relationship_type": "linked_parent_release_after_child_split",
      "requires_downstream_hard_validation": true,
      "manual_review": null
    },
    {
      "event_type": "Trace",
      "event_role": "travel_agent_request",
      "current_or_history": "current",
      "source_event_index": "E_ROW_TRACE",
      "case_keys": {
        "group_code": "CHILD-ROW-01",
        "confirmation_number": null,
        "reservation_number": null,
        "block_code": null
      },
      "relevant_message_excerpt": "add one extra bed",
      "attachments": [
        "booking-update.xlsx"
      ],
      "file_references": [],
      "context_used": {
        "row_evidence": {
          "row_reference": "booking-update.xlsx#BOOKING 08-2026#42",
          "sheet": "BOOKING 08-2026",
          "row_index": 42,
          "highlighted": true
        }
      },
      "extracted_fields": {
        "trace_subtype": "extra_bed",
        "trace_text": "add one extra bed",
        "trace_items": [
          {
            "category": "extra_bed",
            "text_raw": "add one extra bed",
            "service_date": null,
            "service_period_raw": null,
            "pax": null,
            "notify_departments": [
              "FO",
              "HSK"
            ]
          }
        ],
        "notify_departments": [
          "FO",
          "HSK"
        ]
      },
      "related_source_event_index": "E_ROW_CHILD",
      "related_event_type": "New Booking",
      "relationship_type": "linked_trace",
      "requires_downstream_hard_validation": true,
      "manual_review": null
    }
  ],
  "case_candidates": [],
  "extraction_warnings": [],
  "unhandled_current_intents": []
}
