import {Joi} from 'express-joi'

const stats = {
    campaignId: Joi.string().required(),
    referralId: Joi.string().required(),
    sortByDate: Joi.string().optional().valid('asc', 'desc'),
    sortByReferrals: Joi.string().optional().valid('asc', 'desc'),
    limit: Joi.number().optional().positive()
}

export default{
    stats
}
