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

8 lines
146 B
JavaScript

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