picsScroller/capabilities.json
2020-09-06 14:14:15 +08:00

93 lines
3.3 KiB
JSON

{
"dataRoles": [{
"displayName": "urls",
"displayNameKey": "roles-urls-displayName",
"name": "urls",
"kind": "Grouping",
"description": "Urls of pictures, example: 'http://www.example.com/xx.png'",
"descriptionKey": "roles-urls-description"
}],
"objects": {
"layout": {
"displayName": "layout",
"displayNameKey": "objects-layout-displayName",
"properties": {
"rowsCount": {
"type": {
"numeric": true
},
"displayName": "rowsCount",
"displayNameKey": "objects-layout-rowsCount-displayName",
"description": "How many rows?",
"descriptionKey": "objects-layout-rowsCount-descriptionKey"
},
"rowGap": {
"type": {
"numeric": true
},
"placeHolderText": "{value}%",
"displayName": "rowGap(%)",
"displayNameKey": "objects-layout-rowGap-displayName",
"description": "The distance moved during each cycle.(%)",
"descriptionKey": "objects-layout-rowGap-descriptionKey"
},
"columnGap": {
"type": {
"numeric": true
},
"placeHolderText": "msec",
"displayName": "columnGap(%)",
"displayNameKey": "objects-layout-columnGap-displayName",
"description": "How long a cycle takes? (msec)",
"descriptionKey": "objects-layout-columnGap-descriptionKey"
}
}
},
"animation": {
"displayName": "animation",
"displayNameKey": "objects-animation-displayName",
"properties": {
"stepLength": {
"type": {
"numeric": true
},
"displayName": "stepLength(%)",
"displayNameKey": "objects-animation-stepLength-displayName",
"description": "The distance moved during each cycle.(%)",
"descriptionKey": "objects-animation-stepLength-descriptionKey"
},
"interval": {
"type": {
"numeric": true
},
"placeHolderText": "numeric",
"displayName": "interval(msec)",
"displayNameKey": "objects-animation-interval-displayName",
"description": "How long a cycle takes? (msec)",
"descriptionKey": "objects-animation-interval-descriptionKey"
}
}
}
},
"dataViewMappings": [{
"conditions": [{
"urls": {
"min": 1,
"max": 1
}
}],
"categorical": {
"categories": {
"for": {
"in": "urls"
},
"dataReductionAlgorithm": {
"top": {}
}
}
}
}]
}