diff --git a/docs/swagger.yaml b/docs/swagger.yaml index b1c22345..9f483b06 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -4233,7 +4233,7 @@ components: description: "The further instruction to show for the hot job" jobTag: type: string - enum: ["", "new", "dollor", "hot"] + enum: ["", "New", "$$$", "Hot"] description: "The tag of a job" isApplicationPageActive: type: boolean @@ -4789,7 +4789,7 @@ components: description: "The further instruction to show for the hot job" jobTag: type: string - enum: ["", "new", "dollor", "hot"] + enum: ["", "New", "$$$", "Hot"] description: "The tag of a job" isApplicationPageActive: type: boolean diff --git a/src/bootstrap.js b/src/bootstrap.js index 49652658..86288eca 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -13,7 +13,7 @@ Joi.page = () => Joi.number().integer().min(1).default(1) Joi.perPage = () => Joi.number().integer().min(1).default(20) Joi.rateType = () => Joi.string().valid('hourly', 'daily', 'weekly', 'monthly', 'annual') Joi.jobStatus = () => Joi.string().valid('sourcing', 'in-review', 'assigned', 'closed', 'cancelled') -Joi.jobTag = () => Joi.string().valid('new', 'dollor', 'hot').allow('') +Joi.jobTag = () => Joi.string().valid('New', '$$$', 'Hot').allow('') Joi.resourceBookingStatus = () => Joi.string().valid('placed', 'closed', 'cancelled') Joi.workload = () => Joi.string().valid('full-time', 'fractional') Joi.jobCandidateStatus = () => Joi.string().valid('open', 'placed', 'selected', 'client rejected - screening', 'client rejected - interview', 'rejected - other', 'cancelled', 'interview', 'topcoder-rejected', 'applied', 'rejected-pre-screen', 'skills-test', 'skills-test', 'phone-screen', 'job-closed', 'offered', 'withdrawn', 'withdrawn-prescreen')