{"size": 249, "ext": "js", "max_stars_repo_path": "validations/comment.validation.js", "max_stars_repo_name": "josemak25/hi-chat", "max_stars_repo_stars_event_min_datetime": "2019-10-06T10:00:02.000Z", "max_stars_repo_stars_event_max_datetime": "2020-03-05T07:27:02.000Z", "max_issues_repo_path": "validations/comment.validation.js", "max_issues_repo_name": "josemak25/hi-chat", "max_issues_repo_issues_event_min_datetime": "2020-09-07T07:56:31.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-01T22:39:11.000Z", "max_forks_repo_path": "validations/comment.validation.js", "max_forks_repo_name": "josemak25/hi-chat", "max_forks_repo_forks_event_min_datetime": "2019-10-06T10:00:00.000Z", "max_forks_repo_forks_event_max_datetime": "2020-03-05T07:27:17.000Z"}
{"max_stars_count": 2, "max_issues_count": 4, "max_forks_count": 2, "avg_line_length": 17.7857142857, "max_line_length": 39, "alphanum_fraction": 0.5341365462}
const { Joi } = require('celebrate');

module.exports = {
  createComment: {
    body: {
      message: Joi.string()
        .max(1500)
        .required(),
      user_id: Joi.string().required(),
      post_id: Joi.string().required()
    }
  }
};
