/// ValidationSeverityEnum
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub enum ValidationSeverityEnum {
    #[default]
    #[serde(rename = "error")]
    Error,
    #[serde(rename = "info")]
    Info,
    #[serde(rename = "warning")]
    Warning,
}
impl std::fmt::Display for ValidationSeverityEnum {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let str_val = match self {
            ValidationSeverityEnum::Error => "error",
            ValidationSeverityEnum::Info => "info",
            ValidationSeverityEnum::Warning => "warning",
        };
        write!(f, "{}", str_val)
    }
}
