old/lib/schema.js
function validate(doc, schema, prefix, options) {
  schema.validate(doc, prefix, options);
}
function validate(doc, schema, prefix, options) {
  schema.validate(doc, prefix, options);
}
function validate ( doc , schema , prefix , options ) { schema . validate ( doc , prefix , options ) ; }
The schema doesn't contain joined docs
The schema doesn t contain joined docs