This repository has been archived by the owner on Apr 3, 2023. It is now read-only.
forked from microsoft/PowerBI-visuals-StrippetsBrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcapabilities.json
360 lines (360 loc) · 8.5 KB
/
capabilities.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
{
"dataRoles": [
{
"name": "id",
"displayName": "Document Id",
"description": "Unique ID for the document",
"kind": 0
},
{
"name": "articleValue",
"displayName": "Enable Highlights",
"description": "Bind anything to this field to enable entity highlights",
"kind": 1
},
{
"name": "title",
"displayName": "Title",
"description": "Title of the document; shown on thumbnails and in the reader",
"kind": 0
},
{
"name": "summary",
"displayName": "Summary",
"description": "Summary of the content; only displayed on thumbnails",
"kind": 0
},
{
"name": "content",
"displayName": "Content",
"description": "Full content; only displayed in the reader",
"kind": 0
},
{
"name": "imageUrl",
"displayName": "Title Image (url)",
"description": "Main image for the document; displayed on thumbnails and in the reader",
"kind": 0
},
{
"name": "author",
"displayName": "Author",
"description": "Author for the byline displayed on thumbnails and in the reader",
"kind": 0
},
{
"name": "source",
"displayName": "Source",
"description": "Source domain for the document; shown in the reader header bar",
"kind": 0
},
{
"name": "sourceUrl",
"displayName": "Source URL",
"description": "Source link for the document; accessed by clicking the reader header bar",
"kind": 0
},
{
"name": "sourceImage",
"displayName": "Source Image (url)",
"description": "URL for an image to display in the top-right corner of the thumbnail",
"kind": 0
},
{
"name": "articleDate",
"displayName": "Source Date",
"description": "Date for the byline displayed on thumbnails and in the reader",
"kind": 0
},
{
"name": "entityId",
"displayName": "Entity ID",
"description": "Unique ID for each distinct entity; when working with uncertain data, used to merge entities that differ in Entity Type",
"kind": 0
},
{
"name": "entityType",
"displayName": "Entity Type",
"description": "Type or category of an entity",
"kind": 0
},
{
"name": "entityName",
"displayName": "Entity Name",
"description": "Display name of an entity; shown in Outline tooltips",
"kind": 0
},
{
"name": "entityPosition",
"displayName": "Entity Position",
"description": "Normalized position of an entity within the document; used to layout entity icons in Outlines",
"kind": 0
},
{
"name": "bucket",
"displayName": "Segmented By",
"description": "Used to segment entities with uncertain Entity Type",
"kind": 0
},
{
"name": "entityTypeColor",
"displayName": "Entity Icon Color",
"description": "Color of the entity's Outline icon",
"kind": 0
},
{
"name": "entityTypeClass",
"displayName": "Entity Icon Class",
"description": "Category of the entity used to select an icon for display on the Outline",
"kind": 0
},
{
"name": "dummySortingField",
"displayName": "Sorting Field",
"description": "Field that can be used to sort the visual's data based on an arbitrary column",
"kind": 2
}
],
"dataViewMappings": [
{
"conditions": [
{
"id": {
"max": 1
},
"title": {
"max": 1
},
"summary": {
"max": 1
},
"content": {
"max": 1
},
"imageUrl": {
"max": 1
},
"author": {
"max": 1
},
"source": {
"max": 1
},
"sourceUrl": {
"max": 1
},
"articleDate": {
"max": 1
},
"sourceImage": {
"max": 1
},
"entityId": {
"max": 1
},
"entityType": {
"max": 1
},
"entityName": {
"max": 1
},
"entityPosition": {
"max": 1
},
"entityTypeColor": {
"max": 1
},
"entityTypeClass": {
"max": 1
},
"articleValue": {
"max": 1
},
"bucket": {
"max": 1
}
}
],
"categorical": {
"categories": {
"select": [
{
"bind": {
"to": "id"
}
},
{
"bind": {
"to": "title"
}
},
{
"bind": {
"to": "summary"
}
},
{
"bind": {
"to": "content"
}
},
{
"bind": {
"to": "imageUrl"
}
},
{
"bind": {
"to": "author"
}
},
{
"bind": {
"to": "source"
}
},
{
"bind": {
"to": "sourceUrl"
}
},
{
"bind": {
"to": "sourceImage"
}
},
{
"bind": {
"to": "articleDate"
}
},
{
"bind": {
"to": "entityType"
}
},
{
"bind": {
"to": "entityId"
}
},
{
"bind": {
"to": "entityName"
}
},
{
"bind": {
"to": "entityPosition"
}
},
{
"bind": {
"to": "entityTypeColor"
}
},
{
"bind": {
"to": "entityTypeClass"
}
},
{
"bind": {
"to": "bucket"
}
}
],
"dataReductionAlgorithm": {
"window": {
"count": 200
}
}
},
"values": {
"select": [
{
"bind": {
"to": "articleValue"
}
}
],
"dataReductionAlgorithm": {
"window": {
"count": 200
}
}
}
}
}
],
"objects": {
"presentation": {
"properties": {
"strippetType": {
"type": {
"enumeration": [
{
"displayName": "Outlines",
"value": "outlines"
},
{
"displayName": "Thumbnails",
"value": "thumbnails"
}
]
},
"displayName": "Default",
"description": "Determines Initial Strippet to Display"
},
"viewControls": {
"type": {
"bool": true
},
"displayName": "Switch",
"description": "If true, view controls to switch between the strippet types will be displayed."
},
"wrap": {
"type": {
"bool": true
},
"displayName": "Wrap",
"description": "If true, thumbnail cards wraps on overflow."
}
},
"displayName": "Configuration"
},
"content": {
"properties": {
"readerContentType": {
"type": {
"enumeration": [
{
"displayName": "HTML",
"value": "html"
},
{
"displayName": "Readability URL",
"value": "readability"
}
]
},
"displayName": "Type",
"description": "Specify the content format."
},
"summaryUrl": {
"type": {
"bool": true
},
"displayName": "Auto Summary URL",
"description": "If true, populate Summary from Content's Readability URL, if applicable. Warning: this may quickly hit your request cap."
}
},
"displayName": "Content"
}
},
"supportsHighlight": true,
"sorting": {
"default": {}
},
"suppressDefaultTitle": true
}