Validate the current property if another property is equal to a particular value.
E.g you have a URL property of a schema, which is not a required field. You only want to apply validation to that field if another field has a value equal to a certain value
npm install validity-validate-if-property-equals --save
Below is a simple example for usage with schemata and save:
var validity =schemata =save =collection =validateIfPropertyEquals =var schema =