mirror of
https://github.com/iptv-org/database.git
synced 2024-11-22 02:44:10 -05:00
Update channels.js
This commit is contained in:
parent
433fbfffdb
commit
7be7791ac7
1 changed files with 4 additions and 2 deletions
|
@ -12,8 +12,10 @@ module.exports = {
|
||||||
.regex(/^[^",]+$/)
|
.regex(/^[^",]+$/)
|
||||||
.invalid(Joi.ref('name'))
|
.invalid(Joi.ref('name'))
|
||||||
.allow(null),
|
.allow(null),
|
||||||
network: Joi.string().allow(null),
|
network: Joi.string()
|
||||||
owner: Joi.string().allow(null),
|
.regex(/^[^",]+$/)
|
||||||
|
.allow(null),
|
||||||
|
owners: Joi.array().items(Joi.string().regex(/^[^",]+$/)),
|
||||||
country: Joi.string()
|
country: Joi.string()
|
||||||
.regex(/^[A-Z]{2}$/)
|
.regex(/^[A-Z]{2}$/)
|
||||||
.required(),
|
.required(),
|
||||||
|
|
Loading…
Reference in a new issue