iptv-database/scripts/db/schemes/categories.js
Aleksandr Statciuk 26d5bf0436 Init
2022-02-12 05:55:50 +03:00

10 lines
169 B
JavaScript

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