{ "dataRoles": [{ "displayName": "urls", "displayNameKey": "roles-urls-displayName", "name": "urls", "kind": "Grouping", "requiredTypes": [{ "text": true }], "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", "requiredTypes": [{ "text": true }], "description": "text to be displayed with pictures", "descriptionKey": "roles-tags-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" } } }, "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": [{ "displayName": "above", "displayNameKey": "objects-tag-position-enumeration-above-displayName", "value": "above" }, { "displayName": "bottom", "displayNameKey": "objects-tag-position-enumeration-bottom-displayName", "value": "bottom" }] } }, "fontColor": { "type": { "fill": { "solid": { "color": true } } }, "displayName": "fontColor", "displayNameKey": "objects-tag-fontColor-displayName" }, "transparency": { "type": { "numeric": true }, "displayName": "transparency", "displayNameKey": "objects-tag-transparency-displayName" } } } }, "dataViewMappings": [{ "conditions": [{ "urls": { "min": 1, "max": 1, "kind": "Grouping" }, "tag": { "min": 0, "max": 1, "kind": "Grouping" } }], "categorical": { "categories": { "select": [{ "bind": { "to": "urls" } }, { "bind": { "to": "tags" } } ], "dataReductionAlgorithm": { "top": {} } } } }] }