def extract_interaction_type(e):
    interaction_type = e.get('interactionType')
    if isinstance(interaction_type, dict):
        interaction_type = interaction_type.get('@type')
    return str_or_none(interaction_type)
def extract_interaction_type(e):
    interaction_type = e.get('interactionType')
    if isinstance(interaction_type, dict):
        interaction_type = interaction_type.get('@type')
    return str_or_none(interaction_type)