docs: function validateOptions(options) {
    // Validate the schema
    try {
      //console.log(schemas.options);
      return doValidateAdd({
        parameterName: 'options',
        schema: schemas.options,
        newData: options,
        baseSchema: schemas.schema
      });
    } catch (err) {
      // @TODO Add test to see if it was a schema problem rather than options
      //console.log(err);
      if (err.extra && err.extra.parameterName.startsWith('options.schema')) {
        throw new errors.SchemaError(err.message, err.extra);
      }
      throw new errors.OptionsError(err.message, err.extra);
    }
  }