diff --git a/tools/assets-selector/config.json b/tools/assets-selector/config.json new file mode 100644 index 0000000000..73624d3002 --- /dev/null +++ b/tools/assets-selector/config.json @@ -0,0 +1,88 @@ +{ + "blockName": [ + { + "mimeType": "video/*", + "value": "Core Embed" + } + ], + "headerStyle": [ + { + "mimeType": "video/*", + "value": "background-color:#f5680a;color:#fff" + } + ], + "blockTemplate": [ + { + "mimeType": "video/*", + "value": "\n \n \n \n \n \n \n
${blockName}
${asset.name}
" + } + ], + "filterSchema": [ + { + "header": "File Types", + "groupKey": "TopGroup", + "fields": [ + { + "defaultValue": ["image/*", "video/*"], + "excludeTags": ["image/*", "video/*"], + "element": "checkbox", + "name": "type", + "options": [ + { + "label": "Images", + "value": "image/*" + }, + { + "label": "Videos", + "value": "video/*" + } + ], + "columns": 2 + } + ] + }, + { + "header": "Assets Tags", + "groupKey": "AssetTagsGroup", + "fields": [ + { + "element": "taggroup", + "name": "property=metadata.application.xcm:keywords.id", + "defaultValue": ["company:context/tagA"], + "options": [ + { + "label": "tagA", + "value": "company:context/tagA" + } + ], + "columns": 3 + } + ] + }, + { + "fields": [ + { + "element": "checkbox", + "name": "expiredAsset", + "options": [ + { + "label": "Expired", + "value": "expired" + } + ], + "orientation": "horizontal", + "columns": 2 + }, + { + "element": "DateRange", + "name": "property=pur:expirationDate", + "position": "top", + "label": "Expiration Duration", + "orientation": "horizontal" + } + ], + "header": "Expiration Status", + "groupKey": "ExpirationGroup" + } + ] +}