iptv-database/scripts/schemes/categories.js

11 lines
159 B
JavaScript
Raw Permalink Normal View History

2023-10-06 22:14:21 -04:00
const Joi = require('joi')
module.exports = {
id: Joi.string()
.regex(/^[a-z]+$/)
.required(),
name: Joi.string()
.regex(/^[A-Z]+$/i)
.required()
}