From bc23ac7d9ef888be5790d79eb92f07cdec95dd7b Mon Sep 17 00:00:00 2001 From: mujiannan Date: Tue, 15 Sep 2020 23:53:54 +0800 Subject: [PATCH] fix tags field count --- capabilities.json | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/capabilities.json b/capabilities.json index 81ba99e..a61df7f 100644 --- a/capabilities.json +++ b/capabilities.json @@ -4,7 +4,9 @@ "displayNameKey": "roles-urls-displayName", "name": "urls", "kind": "Grouping", - "requiredTypes": [{ "text": true }], + "requiredTypes": [{ + "text": true + }], "description": "Urls of pictures, example: 'http://www.example.com/xx.png'", "descriptionKey": "roles-urls-description" }, @@ -13,7 +15,9 @@ "displayNameKey": "roles-tags-displayName", "name": "tags", "kind": "Grouping", - "requiredTypes": [{ "text": true }], + "requiredTypes": [{ + "text": true + }], "description": "text to be displayed with pictures", "descriptionKey": "roles-tags-description" } @@ -102,14 +106,16 @@ "position": { "type": { "enumeration": [{ - "displayName": "above", - "displayNameKey": "objects-tag-position-enumeration-above-displayName", - "value": "above" - }, { - "displayName": "bottom", - "displayNameKey": "objects-tag-position-enumeration-bottom-displayName", - "value": "bottom" - }] + "displayName": "above", + "displayNameKey": "objects-tag-position-enumeration-above-displayName", + "value": "above" + }, + { + "displayName": "bottom", + "displayNameKey": "objects-tag-position-enumeration-bottom-displayName", + "value": "bottom" + } + ] } }, "fontColor": { @@ -140,8 +146,7 @@ "max": 1, "kind": "Grouping" }, - "tag": { - "min": 0, + "tags": { "max": 1, "kind": "Grouping" }