pub fn validate(
raw: &str,
dream_id: &str,
ctx: &Context<'_>,
) -> Result<Outcome, String>Expand description
The model’s answer, checked. Err when it is not the schema at all or carries more operations than allowed: the
whole answer is discarded. Otherwise each operation is kept (with its flags) or dropped (with why).