picsScroller/capabilities.json

173 lines
6.2 KiB
JSON
Raw Normal View History

2020-09-05 17:23:23 +08:00
{
2020-09-05 23:25:46 +08:00
"dataRoles": [{
2020-09-14 23:58:09 +08:00
"displayName": "urls",
"displayNameKey": "roles-urls-displayName",
"name": "urls",
"kind": "Grouping",
2020-09-15 23:53:54 +08:00
"requiredTypes": [{
"text": true
}],
2020-09-14 23:58:09 +08:00
"description": "Urls of pictures, example: 'http://www.example.com/xx.png'",
"descriptionKey": "roles-urls-description"
},
{
"displayName": "tags",
"displayNameKey": "roles-tags-displayName",
"name": "tags",
"kind": "Grouping",
2020-09-15 23:53:54 +08:00
"requiredTypes": [{
"text": true
}],
2020-09-14 23:58:09 +08:00
"description": "text to be displayed with pictures",
"descriptionKey": "roles-tags-description"
}
],
2020-09-05 17:23:23 +08:00
"objects": {
2020-09-05 23:25:46 +08:00
"layout": {
"displayName": "layout",
2020-09-06 14:14:15 +08:00
"displayNameKey": "objects-layout-displayName",
2020-09-05 17:23:23 +08:00
"properties": {
2020-09-05 23:25:46 +08:00
"rowsCount": {
2020-09-05 17:23:23 +08:00
"type": {
2020-09-05 23:25:46 +08:00
"numeric": true
},
"displayName": "rowsCount",
2020-09-06 14:14:15 +08:00
"displayNameKey": "objects-layout-rowsCount-displayName",
"description": "How many rows?",
"descriptionKey": "objects-layout-rowsCount-descriptionKey"
2020-09-05 17:23:23 +08:00
},
2020-09-05 23:25:46 +08:00
"rowGap": {
2020-09-05 17:23:23 +08:00
"type": {
2020-09-05 23:25:46 +08:00
"numeric": true
},
"placeHolderText": "{value}%",
2020-09-06 14:14:15 +08:00
"displayName": "rowGap(%)",
"displayNameKey": "objects-layout-rowGap-displayName",
"description": "The distance moved during each cycle.(%)",
"descriptionKey": "objects-layout-rowGap-descriptionKey"
2020-09-05 17:23:23 +08:00
},
2020-09-05 23:25:46 +08:00
"columnGap": {
2020-09-05 17:23:23 +08:00
"type": {
2020-09-05 23:25:46 +08:00
"numeric": true
},
"placeHolderText": "msec",
2020-09-06 14:14:15 +08:00
"displayName": "columnGap(%)",
"displayNameKey": "objects-layout-columnGap-displayName",
"description": "How long a cycle takes? (msec)",
"descriptionKey": "objects-layout-columnGap-descriptionKey"
2020-09-05 23:25:46 +08:00
}
}
},
"animation": {
"displayName": "animation",
2020-09-06 14:14:15 +08:00
"displayNameKey": "objects-animation-displayName",
2020-09-05 23:25:46 +08:00
"properties": {
2020-09-06 14:14:15 +08:00
"stepLength": {
2020-09-05 17:23:23 +08:00
"type": {
2020-09-05 23:25:46 +08:00
"numeric": true
},
2020-09-06 14:14:15 +08:00
"displayName": "stepLength(%)",
"displayNameKey": "objects-animation-stepLength-displayName",
"description": "The distance moved during each cycle.(%)",
"descriptionKey": "objects-animation-stepLength-descriptionKey"
2020-09-05 17:23:23 +08:00
},
2020-09-05 23:25:46 +08:00
"interval": {
2020-09-05 17:23:23 +08:00
"type": {
2020-09-05 23:25:46 +08:00
"numeric": true
},
"placeHolderText": "numeric",
2020-09-06 14:14:15 +08:00
"displayName": "interval(msec)",
"displayNameKey": "objects-animation-interval-displayName",
"description": "How long a cycle takes? (msec)",
"descriptionKey": "objects-animation-interval-descriptionKey"
2020-09-14 23:58:09 +08:00
}
}
},
"tag": {
"displayName": "tag",
"displayNameKey": "objects-tag-displayName",
"description": "text tag",
"descriptionKey": "objects-tag-description",
"properties": {
"show": {
"type": {
"bool": true
},
"displayName": "show",
"displayNameKey": "objects-tag-show-displayName"
},
"textSize": {
"type": {
"numeric": true
},
"displayName": "textSize",
"displayNameKey": "objects-tag-textSize-displayName"
},
"position": {
"type": {
"enumeration": [{
2020-09-15 23:53:54 +08:00
"displayName": "above",
"displayNameKey": "objects-tag-position-enumeration-above-displayName",
"value": "above"
},
{
"displayName": "bottom",
"displayNameKey": "objects-tag-position-enumeration-bottom-displayName",
"value": "bottom"
}
]
2020-09-14 23:58:09 +08:00
}
},
"fontColor": {
"type": {
"fill": {
"solid": {
"color": true
}
}
},
"displayName": "fontColor",
"displayNameKey": "objects-tag-fontColor-displayName"
},
"transparency": {
"type": {
"numeric": true
},
"displayName": "transparency",
"displayNameKey": "objects-tag-transparency-displayName"
2020-09-06 14:14:15 +08:00
}
2020-09-05 17:23:23 +08:00
}
}
},
2020-09-05 23:25:46 +08:00
"dataViewMappings": [{
2020-09-06 14:14:15 +08:00
"conditions": [{
"urls": {
"min": 1,
2020-09-14 23:58:09 +08:00
"max": 1,
"kind": "Grouping"
},
2020-09-15 23:53:54 +08:00
"tags": {
2020-09-14 23:58:09 +08:00
"max": 1,
"kind": "Grouping"
2020-09-06 14:14:15 +08:00
}
}],
2020-09-05 23:25:46 +08:00
"categorical": {
"categories": {
2020-09-14 23:58:09 +08:00
"select": [{
"bind": {
"to": "urls"
}
},
{
"bind": {
"to": "tags"
}
}
],
2020-09-05 23:25:46 +08:00
"dataReductionAlgorithm": {
"top": {}
2020-09-05 17:23:23 +08:00
}
}
}
2020-09-05 23:25:46 +08:00
}]
}