mirror of
https://github.com/iptv-org/database.git
synced 2024-11-12 15:16:40 -05:00
Update channels.js
This commit is contained in:
parent
69b69b2a21
commit
f62c952edc
1 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,9 @@ module.exports = {
|
||||||
is_nsfw: Joi.boolean().strict().required(),
|
is_nsfw: Joi.boolean().strict().required(),
|
||||||
launched: Joi.date().format('YYYY-MM-DD').raw().allow(null),
|
launched: Joi.date().format('YYYY-MM-DD').raw().allow(null),
|
||||||
closed: Joi.date().format('YYYY-MM-DD').raw().allow(null),
|
closed: Joi.date().format('YYYY-MM-DD').raw().allow(null),
|
||||||
|
replaced_by: Joi.string()
|
||||||
|
.regex(/^[A-Za-z0-9]+\.[a-z]{2}$/)
|
||||||
|
.allow(null),
|
||||||
website: Joi.string()
|
website: Joi.string()
|
||||||
.uri({
|
.uri({
|
||||||
scheme: ['http', 'https']
|
scheme: ['http', 'https']
|
||||||
|
|
Loading…
Reference in a new issue