Validator adapter interface for `node-document` ODM for Node.js.