diff --git a/lib/schemas/privateThemeConfig.json b/lib/schemas/privateThemeConfig.json index e7753571..8f42d0bb 100644 --- a/lib/schemas/privateThemeConfig.json +++ b/lib/schemas/privateThemeConfig.json @@ -155,6 +155,29 @@ }, "uniqueItems": true, "minItems": 0 + }, + "translations": { + "type": "object", + "properties": { + "i18n.description": { + "type": "object", + "properties": { + "default": { + "type": "string", + "minLength": 1 + } + }, + "patternProperties": { + "[a-z]{2}(-[a-zA-Z0-9]{2,})?$": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": false, + "required": ["default"] + } + }, + "additionalProperties": false } }, "required": ["description"] diff --git a/lib/schemas/themeConfig.json b/lib/schemas/themeConfig.json index a05b915b..301c6399 100644 --- a/lib/schemas/themeConfig.json +++ b/lib/schemas/themeConfig.json @@ -191,6 +191,29 @@ }, "uniqueItems": true, "minItems": 0 + }, + "translations": { + "type": "object", + "properties": { + "i18n.description": { + "type": "object", + "properties": { + "default": { + "type": "string", + "minLength": 1 + } + }, + "patternProperties": { + "[a-z]{2}(-[a-zA-Z0-9]{2,})?$": { + "type": "string", + "minLength": 1 + } + }, + "additionalProperties": false, + "required": ["default"] + } + }, + "additionalProperties": false } }, "required": [