pub fn validate(doc: &Document, schema: &Schema) -> Report
Validate a parsed document against a schema.