pub fn validate(path: &Path) -> Result<ValidateReport>Expand description
Parse and validate a local file without contacting a server.
The codecs reject missing or non-string rule_id values. Keep the
per-rule check because derived Rule::Deserialize bypasses that
validation. Check every rule so one report names every invalid index.