text: /* jshint -W101 */
  
  var $           = require('../../../../src/utils'),
      enums       = require('../enums'),
      mongoose    = require('mongoose');
  
  var memberId = $.uuids.init();
  
  var personSchema = mongoose.Schema({
  
      _id : { type: String, name: 'ID', default: $.uuids.init },
  
      s   : { type: String, name: 'SSN', required: true, trim: true, minLength: 9, maxLength: 9, validChars: '0123456789', show: '> 50'  },
  
      f   : { type: String, name: 'First Name', key: 'name.first', required: true, trim: true },
      m   : { type: String, name: 'Middle Name', key: 'name.middle', trim: true },
      l   : { type: String, name: 'Last Name', key: 'name.last', required: true, trim: true },
  
      bm  : { type: Number, name: 'Birth Month', key: 'dob.month', min: 1, max: 12 },
      bd  : { type: Number, name: 'Birth Day', key: 'dob.day', min: 1, max: 31 },
      by  : { type: Number, name: 'Birth Year', key: 'dob.year', min: 1900, max: 2016 },
  });
  
  var model = mongoose.model('Person', personSchema);
  
  module.exports = model;
  