// This file is auto-generated from JSON Schema.
// Do not edit this file by hand. Regenerate via the CLI.

#![allow(clippy::all)]
#![allow(dead_code)]

use serde::{Deserialize, Serialize};


#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct EvidenceSetRecordEvidenceItem {
    pub name: String,
    pub value: Option<serde_json::Value>,
    #[serde(rename = "sourceStreamId")]
    pub source_stream_id: Option<String>,
}

/// Evidence used to raise a realtime alert, typically derived from one or more feature windows and streams.

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct EvidenceSetRecord {

    #[serde(rename = "alertId")]
    pub alert_id: String,

    #[serde(rename = "windowId")]
    pub window_id: Option<String>,

    pub evidence: Vec<EvidenceSetRecordEvidenceItem>,

}
