lib/types.js
function simpleType_jsonSchema(name) {
  var result = {};
  result.type = this.instance.toLowerCase();

  __processOptions(result, this.options)

  return result;
}
function simpleType_jsonSchema(name) {
  var result = {};
  result.type = this.instance.toLowerCase();

  __processOptions(result, this.options)

  return result;
}
function simpleType_jsonSchema ( name ) { var result = { } ; result . type = this . instance . toLowerCase ( ) ; __processOptions ( result , this . options ) return result ; }
simpleType_jsonSchema - returns jsonSchema for simple-type parameter

@memberof mongoose.Schema.Types.String

@param  {String} name the name of parameter
@return {object}      the jsonSchema for parameter
simpleType_jsonSchema - returns jsonSchema for simple - type parameter