Apparently GitHub ids are integers, not strings.

This commit is contained in:
Nick Winter 2014-08-26 11:34:33 -07:00
parent 38dcb7fcef
commit 741139db59

View file

@ -11,19 +11,19 @@ phoneScreenFilter =
title: 'Phone screened' title: 'Phone screened'
type: 'boolean' type: 'boolean'
description: 'Whether the candidate has been phone screened.' description: 'Whether the candidate has been phone screened.'
schoolFilter = schoolFilter =
title: 'School' title: 'School'
type: 'string' type: 'string'
enum: ['Top School', 'Other'] enum: ['Top School', 'Other']
locationFilter = locationFilter =
title: 'Location' title: 'Location'
type: 'string' type: 'string'
enum: ['Bay Area', 'New York', 'Other US', 'International'] enum: ['Bay Area', 'New York', 'Other US', 'International']
roleFilter = roleFilter =
title: 'Role' title: 'Role'
type: 'string' type: 'string'
enum: ['Web Developer', 'Software Developer', 'Mobile Developer'] enum: ['Web Developer', 'Software Developer', 'Mobile Developer']
seniorityFilter = seniorityFilter =
title: 'Seniority' title: 'Seniority'
type: 'string' type: 'string'
enum: ['College Student', 'Recent Grad', 'Junior', 'Senior'] enum: ['College Student', 'Recent Grad', 'Junior', 'Senior']
@ -32,7 +32,7 @@ visa = c.shortString
description: 'Are you authorized to work in the US, or do you need visa sponsorship? (If you live in Canada or Australia, mark authorized.)' description: 'Are you authorized to work in the US, or do you need visa sponsorship? (If you live in Canada or Australia, mark authorized.)'
enum: ['Authorized to work in the US', 'Need visa sponsorship'] enum: ['Authorized to work in the US', 'Need visa sponsorship']
default: 'Authorized to work in the US' default: 'Authorized to work in the US'
_.extend UserSchema.properties, _.extend UserSchema.properties,
email: c.shortString({title: 'Email', format: 'email'}) email: c.shortString({title: 'Email', format: 'email'})
firstName: c.shortString({title: 'First Name'}) firstName: c.shortString({title: 'First Name'})
@ -43,7 +43,7 @@ _.extend UserSchema.properties,
photoURL: {type: 'string', format: 'image-file', title: 'Profile Picture', description: 'Upload a 256x256px or larger image to serve as your profile picture.'} photoURL: {type: 'string', format: 'image-file', title: 'Profile Picture', description: 'Upload a 256x256px or larger image to serve as your profile picture.'}
facebookID: c.shortString({title: 'Facebook ID'}) facebookID: c.shortString({title: 'Facebook ID'})
githubID: c.shortString({title: 'GitHub ID'}) githubID: {type: 'integer', title: 'GitHub ID'}
gplusID: c.shortString({title: 'G+ ID'}) gplusID: c.shortString({title: 'G+ ID'})
wizardColor1: c.pct({title: 'Wizard Clothes Color'}) wizardColor1: c.pct({title: 'Wizard Clothes Color'})
@ -187,7 +187,7 @@ _.extend UserSchema.properties,
phoneScreenFilter: phoneScreenFilter:
title: 'Phone screen filter values' title: 'Phone screen filter values'
type: 'array' type: 'array'
items: items:
type: 'boolean' type: 'boolean'
schoolFilter: schoolFilter:
title: 'School filter values' title: 'School filter values'
@ -195,32 +195,32 @@ _.extend UserSchema.properties,
items: items:
type: schoolFilter.type type: schoolFilter.type
enum: schoolFilter.enum enum: schoolFilter.enum
locationFilter: locationFilter:
title: 'Location filter values' title: 'Location filter values'
type: 'array' type: 'array'
items: items:
type: locationFilter.type type: locationFilter.type
enum: locationFilter.enum enum: locationFilter.enum
roleFilter: roleFilter:
title: 'Role filter values' title: 'Role filter values'
type: 'array' type: 'array'
items: items:
type: roleFilter.type type: roleFilter.type
enum: roleFilter.enum enum: roleFilter.enum
seniorityFilter: seniorityFilter:
title: 'Seniority filter values' title: 'Seniority filter values'
type: 'array' type: 'array'
items: items:
type: roleFilter.type type: roleFilter.type
enum: seniorityFilter.enum enum: seniorityFilter.enum
visa: visa:
title: 'Visa filter values' title: 'Visa filter values'
type: 'array' type: 'array'
items: items:
type: visa.type type: visa.type
enum: visa.enum enum: visa.enum
}) })
points: {type: 'number'} points: {type: 'number'}
activity: {type: 'object', description: 'Summary statistics about user activity', additionalProperties: c.activity} activity: {type: 'object', description: 'Summary statistics about user activity', additionalProperties: c.activity}
stats: c.object {additionalProperties: false}, stats: c.object {additionalProperties: false},