diff --git a/app/schemas/models/user_remark.coffee b/app/schemas/models/user_remark.coffee index 839ce1380..260164a3b 100644 --- a/app/schemas/models/user_remark.coffee +++ b/app/schemas/models/user_remark.coffee @@ -12,7 +12,23 @@ _.extend UserRemarkSchema.properties, history: c.array {title: 'History', description: 'Records of our interactions with the user.'}, c.object {title: 'Record'}, {date: c.date(title: 'Date'), content: {title: 'Content', type: 'string', format: 'markdown'}} tasks: c.array {title: 'Tasks', description: 'Task entries: when to email the contact about something.'}, - c.object {title: 'Task'}, {date: c.date(title: 'Date'), action: {title: 'Action', type: 'string'}} + c.object {title: 'Task'}, + date: c.date + title: 'Date' + action: + title: 'Action' + type: 'string' + status: + title: 'Status' + description: 'The current status of the task' + type: 'string' + enum: ['Not started', 'In progress', 'Completed'] + notes: + title: 'Notes' + description: 'Notes about the task in progress' + type: 'string' + format: 'markdown' + # denormalization userName: {title: 'Player Name', type: 'string'} diff --git a/server/routes/mail.coffee b/server/routes/mail.coffee index e0ef70220..0786a5f62 100644 --- a/server/routes/mail.coffee +++ b/server/routes/mail.coffee @@ -403,6 +403,10 @@ sendEmployerNewCandidatesAvailableEmail = (employer, cb) -> cb null ### End Employer New Candidates Available Email ### + +### Task Emails ### +userRemarkTaskEmailTask = -> + ### New Recruit Leaderboard Email ### ###