pub trait Validator {
// Required method
fn validate(
&self,
item: &Value,
_: &str,
_: &Scope,
prev_state: &ValidationState,
) -> ValidationState;
}pub trait Validator {
// Required method
fn validate(
&self,
item: &Value,
_: &str,
_: &Scope,
prev_state: &ValidationState,
) -> ValidationState;
}