package com.correx.core.events.events

import com.correx.core.events.risk.RiskAction
import com.correx.core.events.risk.RiskLevel
import com.correx.core.events.types.RiskSummaryId
import com.correx.core.events.types.SessionId
import com.correx.core.events.types.StageId
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
@SerialName("RiskAssessed")
data class RiskAssessedEvent(
    val sessionId: SessionId,
    val stageId: StageId,
    val riskSummaryId: RiskSummaryId,
    val level: RiskLevel,
    val action: RiskAction,
) : EventPayload
