fix tags field count

This commit is contained in:
沐见南 2020-09-15 23:53:54 +08:00
parent e89a166354
commit bc23ac7d9e

View File

@ -4,7 +4,9 @@
"displayNameKey": "roles-urls-displayName", "displayNameKey": "roles-urls-displayName",
"name": "urls", "name": "urls",
"kind": "Grouping", "kind": "Grouping",
"requiredTypes": [{ "text": true }], "requiredTypes": [{
"text": true
}],
"description": "Urls of pictures, example: 'http://www.example.com/xx.png'", "description": "Urls of pictures, example: 'http://www.example.com/xx.png'",
"descriptionKey": "roles-urls-description" "descriptionKey": "roles-urls-description"
}, },
@ -13,7 +15,9 @@
"displayNameKey": "roles-tags-displayName", "displayNameKey": "roles-tags-displayName",
"name": "tags", "name": "tags",
"kind": "Grouping", "kind": "Grouping",
"requiredTypes": [{ "text": true }], "requiredTypes": [{
"text": true
}],
"description": "text to be displayed with pictures", "description": "text to be displayed with pictures",
"descriptionKey": "roles-tags-description" "descriptionKey": "roles-tags-description"
} }
@ -105,11 +109,13 @@
"displayName": "above", "displayName": "above",
"displayNameKey": "objects-tag-position-enumeration-above-displayName", "displayNameKey": "objects-tag-position-enumeration-above-displayName",
"value": "above" "value": "above"
}, { },
{
"displayName": "bottom", "displayName": "bottom",
"displayNameKey": "objects-tag-position-enumeration-bottom-displayName", "displayNameKey": "objects-tag-position-enumeration-bottom-displayName",
"value": "bottom" "value": "bottom"
}] }
]
} }
}, },
"fontColor": { "fontColor": {
@ -140,8 +146,7 @@
"max": 1, "max": 1,
"kind": "Grouping" "kind": "Grouping"
}, },
"tag": { "tags": {
"min": 0,
"max": 1, "max": 1,
"kind": "Grouping" "kind": "Grouping"
} }