// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
pub struct ExtractionConsensus {
    /// Alternative extraction vote outputs used to build the consolidated result.
    ///
    /// Defaults to `[]`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub choices: Option<Vec<std::collections::HashMap<String, serde_json::Value>>>,
    /// Consensus likelihood tree mirroring the extraction output. Scalar leaves carry per-value voter-agreement in [0, 1]; list leaves carry one entry per matched list item.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub likelihoods: Option<std::collections::HashMap<String, serde_json::Value>>,
}
