Add user.ageRange enum values update note

This commit is contained in:
Matt Lott 2016-04-27 15:23:03 -07:00
parent 89db933c90
commit cdddc24693

View file

@ -54,7 +54,8 @@ _.extend UserSchema.properties,
firstName: c.shortString({title: 'First Name'})
lastName: c.shortString({title: 'Last Name'})
gender: {type: 'string'} # , 'enum': ['male', 'female', 'secret', 'trans', 'other']
ageRange: {type: 'string'} # 'enum': ['0-13', '14-17', '18-24', '25-34', '35-44', '45-100']
# NOTE: ageRange enum changed on 4/27/16 from ['0-13', '14-17', '18-24', '25-34', '35-44', '45-100']
ageRange: {type: 'string'} # 'enum': ['13-15', '16-17', '18-24', '25-34', '35-44', '45-100']
password: {type: 'string', maxLength: 256, minLength: 2, title: 'Password'}
passwordReset: {type: 'string'}
photoURL: {type: 'string', format: 'image-file', title: 'Profile Picture', description: 'Upload a 256x256px or larger image to serve as your profile picture.'}