iptv-database/scripts/schemes/languages.js
2023-10-07 05:14:21 +03:00

8 lines
138 B
JavaScript

const Joi = require('joi')
module.exports = {
code: Joi.string()
.regex(/^[a-z]{3}$/)
.required(),
name: Joi.string().required()
}