// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Intersection-over-Union for split page assignments.
/// ``expected`` is stored in the canonical split-eval payload shape:
/// ``{"splits": [{"name", "pages"}]}``
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct SplitIouCondition {
    /// Defaults to `split_iou_gte`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub kind: Option<String>,
    pub expected: std::collections::HashMap<String, serde_json::Value>,
    /// Defaults to `1`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub threshold: Option<f64>,
}
