mirror of
https://github.com/iptv-org/database.git
synced 2024-12-21 23:40:23 -05:00
Update channels.js
This commit is contained in:
parent
0ab05fad95
commit
3b7749c19e
1 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,9 @@ module.exports = {
|
|||
subdivision: Joi.string()
|
||||
.regex(/^[A-Z]{2}-[A-Z0-9]{1,3}$/)
|
||||
.allow(null),
|
||||
city: Joi.string().allow(null),
|
||||
city: Joi.string()
|
||||
.regex(/^[\sa-zA-Z\u00C0-\u00FF0-9'-]+$/)
|
||||
.allow(null),
|
||||
broadcast_area: Joi.array().items(
|
||||
Joi.string().regex(/^(s\/[A-Z]{2}-[A-Z0-9]{1,3}|c\/[A-Z]{2}|r\/[A-Z0-9]{3,7})$/)
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue