diff --git a/schemas/manifest.v2.schema.json b/schemas/manifest.v2.schema.json index 7c41313b..deaab194 100644 --- a/schemas/manifest.v2.schema.json +++ b/schemas/manifest.v2.schema.json @@ -7,14 +7,21 @@ "type": "object", "$defs": { "translated_string": { - "type": "object", - "required": ["en"], - "additionalProperties": false, - "patternProperties": { - "^[a-z]{2}$": { + "anyOf": [ + { + "type": "object", + "required": ["en"], + "additionalProperties": false, + "patternProperties": { + "^[a-z]{2}$": { + "type": "string" + } + } + }, + { "type": "string" } - } + ] }, "byte_size": { "type": "string",