mirror of
https://github.com/iptv-org/database.git
synced 2024-11-25 03:51:28 -05:00
Update countries.js
This commit is contained in:
parent
98d9b1bc83
commit
1f4212f030
1 changed files with 5 additions and 3 deletions
|
@ -7,9 +7,11 @@ module.exports = {
|
||||||
code: Joi.string()
|
code: Joi.string()
|
||||||
.regex(/^[A-Z]{2}$/)
|
.regex(/^[A-Z]{2}$/)
|
||||||
.required(),
|
.required(),
|
||||||
lang: Joi.string()
|
languages: Joi.array().items(
|
||||||
|
Joi.string()
|
||||||
.regex(/^[a-z]{3}$/)
|
.regex(/^[a-z]{3}$/)
|
||||||
.required(),
|
.required()
|
||||||
|
),
|
||||||
flag: Joi.string()
|
flag: Joi.string()
|
||||||
.regex(/^[\uD83C][\uDDE6-\uDDFF][\uD83C][\uDDE6-\uDDFF]$/)
|
.regex(/^[\uD83C][\uDDE6-\uDDFF][\uD83C][\uDDE6-\uDDFF]$/)
|
||||||
.required()
|
.required()
|
||||||
|
|
Loading…
Reference in a new issue