diff --git a/schemas/api-config/dashboard.json b/schemas/api-config/dashboard.json index 1dca799..05ad371 100644 --- a/schemas/api-config/dashboard.json +++ b/schemas/api-config/dashboard.json @@ -117,13 +117,19 @@ ] }, "subTitle": { - "type": "object", - "properties": { - "de": { "type": "string" }, - "en": { "type": "string" } - }, - "required": ["de", "en"] + "oneOf": [ + { "type": "string" }, + { + "type": "object", + "properties": { + "de": { "type": "string" }, + "en": { "type": "string" } + }, + "required": ["de", "en"] + } + ] }, + "xAxis": { "type": "string", "enum": ["timeline"] }, "timeInterval": { "type": "string", @@ -207,6 +213,7 @@ "table": { "type": "object", "properties": { + "containerProps": { "$ref": "#/definitions/containerProps" }, "type": { "type": "string", "enum": ["table"] }, "filter": { "type": "boolean" }, "collection": { "type": "string" }, @@ -243,7 +250,7 @@ "$ref": "#/definitions/additionalApiParams" } }, - "required": ["type", "columns"], + "required": ["type"], "additionalProperties": false },