-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcapabilities.json
238 lines (238 loc) · 8.41 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
{
"dataRoles": [
{
"displayName": "Data",
"name": "data",
"kind": "GroupingOrMeasure"
}
],
"objects": {
"chart": {
"description": "Chart",
"descriptionKey": "Visual_Chart",
"displayName": "Chart",
"displayNameKey": "Visual_Chart",
"properties": {
"echart": {
"description": "EChart schema",
"descriptionKey": "Visual_EChartSchema",
"displayName": "EChart schema",
"displayNameKey": "Visual_EChartSchema",
"type": {
"text": true
}
},
"schema": {
"description": "Chart schema",
"descriptionKey": "Visual_ChartSchema",
"displayName": "Chart schema",
"displayNameKey": "Visual_ChartSchema",
"type": {
"text": true
}
},
"template": {
"description": "Charticulator template",
"descriptionKey": "Visual_CharticulatorTemplate",
"displayName": "Charticulator template",
"displayNameKey": "Visual_CharticulatorTemplate",
"type": {
"text": true
}
}
}
},
"vega": {
"description": "Vega chart specification",
"descriptionKey": "Visual_VegaChart",
"displayName": "Vega chart",
"displayNameKey": "Visual_VegaChart",
"properties": {
"jsonSpec": {
"description": "Chart schema",
"descriptionKey": "Visual_ChartSchema",
"displayName": "Chart schema",
"displayNameKey": "Visual_ChartSchema",
"type": {
"text": true
}
}
}
},
"editor": {
"description": "Editor settings",
"displayName": "Editor",
"descriptionKey": "Editor_Description",
"displayNameKey": "Editor",
"properties": {
"hideData": {
"description": "Hides data arrays from JSON schema of chart, to avoid long scrolling. Data will displayed as empty array.",
"descriptionKey": "Visual_HideDataDescription",
"displayName": "Hide data in JSON editor",
"displayNameKey": "Visual_HideData",
"type": {
"bool": true
}
},
"parseOnPaste": {
"displayName": "Parse text on paste",
"description": "The editor try to parse text from clipboard and convert to pure JSON document",
"type": {
"bool": true
}
},
"loadJSONSchema": {
"displayName": "Load schema",
"description": "Load JSON schema for code completion",
"type": {
"bool": true
}
},
"targetVisual": {
"displayName": "Target visual for editing",
"description": "Specifies the visual to edit",
"type": {
"enumeration": [
{
"displayName": "PlotlyJS Visual",
"value": "plotlyjs"
},
{
"displayName": "Deneb",
"value": "deneb"
},
{
"displayName": "ECharts",
"value": "echart"
},
{
"displayName": "Charticulator",
"value": "charticulator"
},
{
"displayName": "HTML/SVG/Handlebars",
"value": "handlebars"
}
]
}
},
"jsonSchema": {
"displayName": "JSON schema",
"description": "Specifies the schema to load for code completion",
"type": {
"enumeration": [
{
"displayName": "ECharts",
"value": "options.json"
},
{
"displayName": "Plotly.js",
"value": "plotly.js.json"
},
{
"displayName": "Vega v5",
"value": "vega.v5.json"
},
{
"displayName": "Vega-Lite v5",
"value": "vega-lite.v5.json"
},
{
"displayName": "Handlebars",
"value": "handlebars"
}
]
}
}
}
},
"template": {
"description": "Template for HTML/SVG/Handlebars template",
"descriptionKey": "Visual_HandlebarsDescription",
"displayName": "Handlebars",
"displayNameKey": "Visual_Handlebars",
"properties": {
"chunk0": {
"description": "Template storage",
"descriptionKey": "Visual_TemplateStorage",
"displayName": "Template chunk 1",
"displayNameKey": "Visual_TemplateChunk1",
"type": {
"text": true
}
},
"chunk1": {
"description": "Template storage",
"descriptionKey": "Visual_TemplateStorage",
"displayName": "Template chunk 2",
"displayNameKey": "Visual_TemplateChunk2",
"type": {
"text": true
}
},
"chunk2": {
"description": "Template storage",
"descriptionKey": "Visual_TemplateStorage",
"displayName": "Template chunk 2",
"displayNameKey": "Visual_TemplateChunk2",
"type": {
"text": true
}
}
}
}
},
"dataViewMappings": [
{
"categorical": {
"categories": {
"select": [
{
"bind": {
"to": "data"
}
}
],
"dataReductionAlgorithm": {
"window": {
"count": 30000
}
}
},
"values": {
"select": [
{
"bind": {
"to": "data"
}
}
]
}
}
}
],
"advancedEditModeSupport": 2,
"supportsHighlight": false,
"supportsLandingPage": true,
"sorting": {
"default": {}
},
"privileges": [
{
"name": "ExportContent",
"essential": false
},
{
"name": "WebAccess",
"parameters": [
"raw.githubusercontent.com"
],
"essential": true
},
{
"name": "LocalStorage",
"essential": true,
"parameters": []
}
]
}