pcf-toolkit 0.2.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pcf_toolkit/__init__.py +6 -0
- pcf_toolkit/cli.py +738 -0
- pcf_toolkit/cli_helpers.py +62 -0
- pcf_toolkit/data/__init__.py +1 -0
- pcf_toolkit/data/manifest.schema.json +1097 -0
- pcf_toolkit/data/schema_snapshot.json +2377 -0
- pcf_toolkit/data/spec_raw.json +2877 -0
- pcf_toolkit/io.py +65 -0
- pcf_toolkit/json_schema.py +30 -0
- pcf_toolkit/models.py +384 -0
- pcf_toolkit/proxy/__init__.py +1 -0
- pcf_toolkit/proxy/addons/__init__.py +1 -0
- pcf_toolkit/proxy/addons/redirect_bundle.py +70 -0
- pcf_toolkit/proxy/browser.py +157 -0
- pcf_toolkit/proxy/cli.py +1570 -0
- pcf_toolkit/proxy/config.py +310 -0
- pcf_toolkit/proxy/doctor.py +279 -0
- pcf_toolkit/proxy/mitm.py +206 -0
- pcf_toolkit/proxy/server.py +50 -0
- pcf_toolkit/py.typed +1 -0
- pcf_toolkit/rich_help.py +173 -0
- pcf_toolkit/schema_snapshot.py +47 -0
- pcf_toolkit/types.py +95 -0
- pcf_toolkit/xml.py +484 -0
- pcf_toolkit/xml_import.py +548 -0
- pcf_toolkit-0.2.5.dist-info/METADATA +494 -0
- pcf_toolkit-0.2.5.dist-info/RECORD +31 -0
- pcf_toolkit-0.2.5.dist-info/WHEEL +5 -0
- pcf_toolkit-0.2.5.dist-info/entry_points.txt +2 -0
- pcf_toolkit-0.2.5.dist-info/licenses/LICENSE.md +183 -0
- pcf_toolkit-0.2.5.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1097 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$defs": {
|
|
3
|
+
"Code": {
|
|
4
|
+
"additionalProperties": false,
|
|
5
|
+
"description": "Represents a code element.",
|
|
6
|
+
"properties": {
|
|
7
|
+
"path": {
|
|
8
|
+
"description": "Place where the resource files are located.",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"title": "Path",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"order": {
|
|
14
|
+
"description": "The order in which the resource files should load.",
|
|
15
|
+
"exclusiveMinimum": 0,
|
|
16
|
+
"title": "Order",
|
|
17
|
+
"type": "integer"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"path",
|
|
22
|
+
"order"
|
|
23
|
+
],
|
|
24
|
+
"title": "Code",
|
|
25
|
+
"type": "object"
|
|
26
|
+
},
|
|
27
|
+
"Control": {
|
|
28
|
+
"additionalProperties": false,
|
|
29
|
+
"description": "Represents a control element.",
|
|
30
|
+
"properties": {
|
|
31
|
+
"namespace": {
|
|
32
|
+
"description": "Defines the object prototype of the component.",
|
|
33
|
+
"minLength": 1,
|
|
34
|
+
"title": "Namespace",
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"constructor": {
|
|
38
|
+
"description": "A method for initializing the object.",
|
|
39
|
+
"minLength": 1,
|
|
40
|
+
"title": "Constructor",
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
"version": {
|
|
44
|
+
"description": "Semantic version of the component.",
|
|
45
|
+
"minLength": 1,
|
|
46
|
+
"title": "Version",
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"display-name-key": {
|
|
50
|
+
"description": "Defines the name of the control visible in the UI.",
|
|
51
|
+
"minLength": 1,
|
|
52
|
+
"title": "Display-Name-Key",
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"description-key": {
|
|
56
|
+
"anyOf": [
|
|
57
|
+
{
|
|
58
|
+
"minLength": 1,
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "null"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"default": null,
|
|
66
|
+
"description": "Defines the description of the component visible in the UI.",
|
|
67
|
+
"title": "Description-Key"
|
|
68
|
+
},
|
|
69
|
+
"control-type": {
|
|
70
|
+
"anyOf": [
|
|
71
|
+
{
|
|
72
|
+
"$ref": "#/$defs/ControlType"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "null"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"default": null,
|
|
79
|
+
"description": "Defines whether the control is standard or virtual."
|
|
80
|
+
},
|
|
81
|
+
"preview-image": {
|
|
82
|
+
"anyOf": [
|
|
83
|
+
{
|
|
84
|
+
"minLength": 1,
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "null"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"default": null,
|
|
92
|
+
"description": "Image used on customization screens.",
|
|
93
|
+
"title": "Preview-Image"
|
|
94
|
+
},
|
|
95
|
+
"property": {
|
|
96
|
+
"description": "Property definitions.",
|
|
97
|
+
"items": {
|
|
98
|
+
"$ref": "#/$defs/Property"
|
|
99
|
+
},
|
|
100
|
+
"title": "Property",
|
|
101
|
+
"type": "array"
|
|
102
|
+
},
|
|
103
|
+
"event": {
|
|
104
|
+
"description": "Event definitions.",
|
|
105
|
+
"items": {
|
|
106
|
+
"$ref": "#/$defs/Event"
|
|
107
|
+
},
|
|
108
|
+
"title": "Event",
|
|
109
|
+
"type": "array"
|
|
110
|
+
},
|
|
111
|
+
"data-set": {
|
|
112
|
+
"description": "Data set definitions.",
|
|
113
|
+
"items": {
|
|
114
|
+
"$ref": "#/$defs/DataSet"
|
|
115
|
+
},
|
|
116
|
+
"title": "Data-Set",
|
|
117
|
+
"type": "array"
|
|
118
|
+
},
|
|
119
|
+
"type-group": {
|
|
120
|
+
"description": "Type group definitions.",
|
|
121
|
+
"items": {
|
|
122
|
+
"$ref": "#/$defs/TypeGroup"
|
|
123
|
+
},
|
|
124
|
+
"title": "Type-Group",
|
|
125
|
+
"type": "array"
|
|
126
|
+
},
|
|
127
|
+
"property-dependencies": {
|
|
128
|
+
"anyOf": [
|
|
129
|
+
{
|
|
130
|
+
"$ref": "#/$defs/PropertyDependencies"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"type": "null"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"default": null,
|
|
137
|
+
"description": "Property dependency definitions."
|
|
138
|
+
},
|
|
139
|
+
"feature-usage": {
|
|
140
|
+
"anyOf": [
|
|
141
|
+
{
|
|
142
|
+
"$ref": "#/$defs/FeatureUsage"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"type": "null"
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"default": null,
|
|
149
|
+
"description": "Feature usage definitions."
|
|
150
|
+
},
|
|
151
|
+
"external-service-usage": {
|
|
152
|
+
"anyOf": [
|
|
153
|
+
{
|
|
154
|
+
"$ref": "#/$defs/ExternalServiceUsage"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"type": "null"
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"default": null,
|
|
161
|
+
"description": "External service usage definition."
|
|
162
|
+
},
|
|
163
|
+
"platform-action": {
|
|
164
|
+
"anyOf": [
|
|
165
|
+
{
|
|
166
|
+
"$ref": "#/$defs/PlatformAction"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"type": "null"
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"default": null,
|
|
173
|
+
"description": "Platform action configuration."
|
|
174
|
+
},
|
|
175
|
+
"resources": {
|
|
176
|
+
"$ref": "#/$defs/Resources",
|
|
177
|
+
"description": "Resource definitions."
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"required": [
|
|
181
|
+
"namespace",
|
|
182
|
+
"constructor",
|
|
183
|
+
"version",
|
|
184
|
+
"display-name-key",
|
|
185
|
+
"resources"
|
|
186
|
+
],
|
|
187
|
+
"title": "Control",
|
|
188
|
+
"type": "object"
|
|
189
|
+
},
|
|
190
|
+
"ControlType": {
|
|
191
|
+
"description": "Defines the control type of a PCF component.",
|
|
192
|
+
"enum": [
|
|
193
|
+
"standard",
|
|
194
|
+
"virtual"
|
|
195
|
+
],
|
|
196
|
+
"title": "ControlType",
|
|
197
|
+
"type": "string"
|
|
198
|
+
},
|
|
199
|
+
"Css": {
|
|
200
|
+
"additionalProperties": false,
|
|
201
|
+
"description": "Represents a css element.",
|
|
202
|
+
"properties": {
|
|
203
|
+
"path": {
|
|
204
|
+
"description": "Relative path where CSS files are located.",
|
|
205
|
+
"minLength": 1,
|
|
206
|
+
"title": "Path",
|
|
207
|
+
"type": "string"
|
|
208
|
+
},
|
|
209
|
+
"order": {
|
|
210
|
+
"anyOf": [
|
|
211
|
+
{
|
|
212
|
+
"exclusiveMinimum": 0,
|
|
213
|
+
"type": "integer"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"type": "null"
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"default": null,
|
|
220
|
+
"description": "The order in which the CSS files should load.",
|
|
221
|
+
"title": "Order"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
"required": [
|
|
225
|
+
"path"
|
|
226
|
+
],
|
|
227
|
+
"title": "Css",
|
|
228
|
+
"type": "object"
|
|
229
|
+
},
|
|
230
|
+
"DataSet": {
|
|
231
|
+
"additionalProperties": false,
|
|
232
|
+
"description": "Represents a data-set element.",
|
|
233
|
+
"properties": {
|
|
234
|
+
"name": {
|
|
235
|
+
"description": "Name of the grid.",
|
|
236
|
+
"minLength": 1,
|
|
237
|
+
"title": "Name",
|
|
238
|
+
"type": "string"
|
|
239
|
+
},
|
|
240
|
+
"display-name-key": {
|
|
241
|
+
"description": "Defines the name of the property.",
|
|
242
|
+
"minLength": 1,
|
|
243
|
+
"title": "Display-Name-Key",
|
|
244
|
+
"type": "string"
|
|
245
|
+
},
|
|
246
|
+
"description-key": {
|
|
247
|
+
"anyOf": [
|
|
248
|
+
{
|
|
249
|
+
"minLength": 1,
|
|
250
|
+
"type": "string"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"type": "null"
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"default": null,
|
|
257
|
+
"description": "Defines the description of the property.",
|
|
258
|
+
"title": "Description-Key"
|
|
259
|
+
},
|
|
260
|
+
"cds-data-set-options": {
|
|
261
|
+
"anyOf": [
|
|
262
|
+
{
|
|
263
|
+
"minLength": 1,
|
|
264
|
+
"type": "string"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"type": "null"
|
|
268
|
+
}
|
|
269
|
+
],
|
|
270
|
+
"default": null,
|
|
271
|
+
"description": "Displays the Commandbar, ViewSelector, QuickFind if set to true.",
|
|
272
|
+
"title": "Cds-Data-Set-Options"
|
|
273
|
+
},
|
|
274
|
+
"property-set": {
|
|
275
|
+
"description": "Property sets defined within the dataset.",
|
|
276
|
+
"items": {
|
|
277
|
+
"$ref": "#/$defs/PropertySet"
|
|
278
|
+
},
|
|
279
|
+
"title": "Property-Set",
|
|
280
|
+
"type": "array"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"required": [
|
|
284
|
+
"name",
|
|
285
|
+
"display-name-key"
|
|
286
|
+
],
|
|
287
|
+
"title": "DataSet",
|
|
288
|
+
"type": "object"
|
|
289
|
+
},
|
|
290
|
+
"Dependency": {
|
|
291
|
+
"additionalProperties": false,
|
|
292
|
+
"description": "Represents a dependency element.",
|
|
293
|
+
"properties": {
|
|
294
|
+
"type": {
|
|
295
|
+
"$ref": "#/$defs/DependencyType",
|
|
296
|
+
"description": "Set to control."
|
|
297
|
+
},
|
|
298
|
+
"name": {
|
|
299
|
+
"description": "Schema name of the library component.",
|
|
300
|
+
"minLength": 1,
|
|
301
|
+
"title": "Name",
|
|
302
|
+
"type": "string"
|
|
303
|
+
},
|
|
304
|
+
"order": {
|
|
305
|
+
"anyOf": [
|
|
306
|
+
{
|
|
307
|
+
"exclusiveMinimum": 0,
|
|
308
|
+
"type": "integer"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"type": "null"
|
|
312
|
+
}
|
|
313
|
+
],
|
|
314
|
+
"default": null,
|
|
315
|
+
"description": "The order in which the dependent library should load.",
|
|
316
|
+
"title": "Order"
|
|
317
|
+
},
|
|
318
|
+
"load-type": {
|
|
319
|
+
"anyOf": [
|
|
320
|
+
{
|
|
321
|
+
"$ref": "#/$defs/DependencyLoadType"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"type": "null"
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"default": null,
|
|
328
|
+
"description": "Set to onDemand."
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"required": [
|
|
332
|
+
"type",
|
|
333
|
+
"name"
|
|
334
|
+
],
|
|
335
|
+
"title": "Dependency",
|
|
336
|
+
"type": "object"
|
|
337
|
+
},
|
|
338
|
+
"DependencyLoadType": {
|
|
339
|
+
"description": "Defines how a dependency is loaded.",
|
|
340
|
+
"enum": [
|
|
341
|
+
"onDemand"
|
|
342
|
+
],
|
|
343
|
+
"title": "DependencyLoadType",
|
|
344
|
+
"type": "string"
|
|
345
|
+
},
|
|
346
|
+
"DependencyType": {
|
|
347
|
+
"description": "Defines the dependency type for a component.",
|
|
348
|
+
"enum": [
|
|
349
|
+
"control"
|
|
350
|
+
],
|
|
351
|
+
"title": "DependencyType",
|
|
352
|
+
"type": "string"
|
|
353
|
+
},
|
|
354
|
+
"Domain": {
|
|
355
|
+
"additionalProperties": false,
|
|
356
|
+
"description": "Represents a domain element within external-service-usage.",
|
|
357
|
+
"properties": {
|
|
358
|
+
"value": {
|
|
359
|
+
"description": "Domain name used by the component.",
|
|
360
|
+
"minLength": 1,
|
|
361
|
+
"title": "Value",
|
|
362
|
+
"type": "string"
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"required": [
|
|
366
|
+
"value"
|
|
367
|
+
],
|
|
368
|
+
"title": "Domain",
|
|
369
|
+
"type": "object"
|
|
370
|
+
},
|
|
371
|
+
"EnumValue": {
|
|
372
|
+
"additionalProperties": false,
|
|
373
|
+
"description": "Represents a value element for Enum types.",
|
|
374
|
+
"properties": {
|
|
375
|
+
"name": {
|
|
376
|
+
"description": "Name of the enum value.",
|
|
377
|
+
"minLength": 1,
|
|
378
|
+
"title": "Name",
|
|
379
|
+
"type": "string"
|
|
380
|
+
},
|
|
381
|
+
"display-name-key": {
|
|
382
|
+
"description": "Localized display name for the enum value.",
|
|
383
|
+
"minLength": 1,
|
|
384
|
+
"title": "Display-Name-Key",
|
|
385
|
+
"type": "string"
|
|
386
|
+
},
|
|
387
|
+
"value": {
|
|
388
|
+
"description": "Numeric value for the enum option.",
|
|
389
|
+
"title": "Value",
|
|
390
|
+
"type": "integer"
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"required": [
|
|
394
|
+
"name",
|
|
395
|
+
"display-name-key",
|
|
396
|
+
"value"
|
|
397
|
+
],
|
|
398
|
+
"title": "EnumValue",
|
|
399
|
+
"type": "object"
|
|
400
|
+
},
|
|
401
|
+
"Event": {
|
|
402
|
+
"additionalProperties": false,
|
|
403
|
+
"description": "Represents an event element.",
|
|
404
|
+
"properties": {
|
|
405
|
+
"name": {
|
|
406
|
+
"description": "Name of the event.",
|
|
407
|
+
"minLength": 1,
|
|
408
|
+
"title": "Name",
|
|
409
|
+
"type": "string"
|
|
410
|
+
},
|
|
411
|
+
"display-name-key": {
|
|
412
|
+
"anyOf": [
|
|
413
|
+
{
|
|
414
|
+
"minLength": 1,
|
|
415
|
+
"type": "string"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"type": "null"
|
|
419
|
+
}
|
|
420
|
+
],
|
|
421
|
+
"default": null,
|
|
422
|
+
"description": "Localized display name for the event.",
|
|
423
|
+
"title": "Display-Name-Key"
|
|
424
|
+
},
|
|
425
|
+
"description-key": {
|
|
426
|
+
"anyOf": [
|
|
427
|
+
{
|
|
428
|
+
"minLength": 1,
|
|
429
|
+
"type": "string"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"type": "null"
|
|
433
|
+
}
|
|
434
|
+
],
|
|
435
|
+
"default": null,
|
|
436
|
+
"description": "Localized description for the event.",
|
|
437
|
+
"title": "Description-Key"
|
|
438
|
+
},
|
|
439
|
+
"pfx-default-value": {
|
|
440
|
+
"anyOf": [
|
|
441
|
+
{
|
|
442
|
+
"minLength": 1,
|
|
443
|
+
"type": "string"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"type": "null"
|
|
447
|
+
}
|
|
448
|
+
],
|
|
449
|
+
"default": null,
|
|
450
|
+
"description": "Default Power Fx expression for the event.",
|
|
451
|
+
"title": "Pfx-Default-Value"
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
"required": [
|
|
455
|
+
"name"
|
|
456
|
+
],
|
|
457
|
+
"title": "Event",
|
|
458
|
+
"type": "object"
|
|
459
|
+
},
|
|
460
|
+
"ExternalServiceUsage": {
|
|
461
|
+
"additionalProperties": false,
|
|
462
|
+
"description": "Represents external-service-usage element.",
|
|
463
|
+
"properties": {
|
|
464
|
+
"enabled": {
|
|
465
|
+
"anyOf": [
|
|
466
|
+
{
|
|
467
|
+
"type": "boolean"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"type": "null"
|
|
471
|
+
}
|
|
472
|
+
],
|
|
473
|
+
"default": null,
|
|
474
|
+
"description": "Indicates whether this control uses an external service.",
|
|
475
|
+
"title": "Enabled"
|
|
476
|
+
},
|
|
477
|
+
"domain": {
|
|
478
|
+
"description": "Domains referenced by the control.",
|
|
479
|
+
"items": {
|
|
480
|
+
"$ref": "#/$defs/Domain"
|
|
481
|
+
},
|
|
482
|
+
"title": "Domain",
|
|
483
|
+
"type": "array"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"title": "ExternalServiceUsage",
|
|
487
|
+
"type": "object"
|
|
488
|
+
},
|
|
489
|
+
"FeatureUsage": {
|
|
490
|
+
"additionalProperties": false,
|
|
491
|
+
"description": "Represents a feature-usage element.",
|
|
492
|
+
"properties": {
|
|
493
|
+
"uses-feature": {
|
|
494
|
+
"description": "Features used by the component.",
|
|
495
|
+
"items": {
|
|
496
|
+
"$ref": "#/$defs/UsesFeature"
|
|
497
|
+
},
|
|
498
|
+
"title": "Uses-Feature",
|
|
499
|
+
"type": "array"
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
"title": "FeatureUsage",
|
|
503
|
+
"type": "object"
|
|
504
|
+
},
|
|
505
|
+
"Img": {
|
|
506
|
+
"additionalProperties": false,
|
|
507
|
+
"description": "Represents an img element.",
|
|
508
|
+
"properties": {
|
|
509
|
+
"path": {
|
|
510
|
+
"description": "Relative path where image files are located.",
|
|
511
|
+
"minLength": 1,
|
|
512
|
+
"title": "Path",
|
|
513
|
+
"type": "string"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
"required": [
|
|
517
|
+
"path"
|
|
518
|
+
],
|
|
519
|
+
"title": "Img",
|
|
520
|
+
"type": "object"
|
|
521
|
+
},
|
|
522
|
+
"PlatformAction": {
|
|
523
|
+
"additionalProperties": false,
|
|
524
|
+
"description": "Represents a platform-action element.",
|
|
525
|
+
"properties": {
|
|
526
|
+
"action-type": {
|
|
527
|
+
"anyOf": [
|
|
528
|
+
{
|
|
529
|
+
"$ref": "#/$defs/PlatformActionType"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"type": "null"
|
|
533
|
+
}
|
|
534
|
+
],
|
|
535
|
+
"default": null,
|
|
536
|
+
"description": "Set to afterPageLoad."
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
"title": "PlatformAction",
|
|
540
|
+
"type": "object"
|
|
541
|
+
},
|
|
542
|
+
"PlatformActionType": {
|
|
543
|
+
"description": "Defines platform action types.",
|
|
544
|
+
"enum": [
|
|
545
|
+
"afterPageLoad"
|
|
546
|
+
],
|
|
547
|
+
"title": "PlatformActionType",
|
|
548
|
+
"type": "string"
|
|
549
|
+
},
|
|
550
|
+
"PlatformLibrary": {
|
|
551
|
+
"additionalProperties": false,
|
|
552
|
+
"description": "Represents a platform-library element.",
|
|
553
|
+
"properties": {
|
|
554
|
+
"name": {
|
|
555
|
+
"$ref": "#/$defs/PlatformLibraryName",
|
|
556
|
+
"description": "Either React or Fluent."
|
|
557
|
+
},
|
|
558
|
+
"version": {
|
|
559
|
+
"description": "The current version of the platform library.",
|
|
560
|
+
"minLength": 1,
|
|
561
|
+
"title": "Version",
|
|
562
|
+
"type": "string"
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
"required": [
|
|
566
|
+
"name",
|
|
567
|
+
"version"
|
|
568
|
+
],
|
|
569
|
+
"title": "PlatformLibrary",
|
|
570
|
+
"type": "object"
|
|
571
|
+
},
|
|
572
|
+
"PlatformLibraryName": {
|
|
573
|
+
"description": "Platform library names for React controls and platform libraries.",
|
|
574
|
+
"enum": [
|
|
575
|
+
"React",
|
|
576
|
+
"Fluent"
|
|
577
|
+
],
|
|
578
|
+
"title": "PlatformLibraryName",
|
|
579
|
+
"type": "string"
|
|
580
|
+
},
|
|
581
|
+
"Property": {
|
|
582
|
+
"additionalProperties": false,
|
|
583
|
+
"description": "Represents a property element.",
|
|
584
|
+
"properties": {
|
|
585
|
+
"name": {
|
|
586
|
+
"description": "Name of the property.",
|
|
587
|
+
"minLength": 1,
|
|
588
|
+
"title": "Name",
|
|
589
|
+
"type": "string"
|
|
590
|
+
},
|
|
591
|
+
"display-name-key": {
|
|
592
|
+
"anyOf": [
|
|
593
|
+
{
|
|
594
|
+
"minLength": 1,
|
|
595
|
+
"type": "string"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"type": "null"
|
|
599
|
+
}
|
|
600
|
+
],
|
|
601
|
+
"default": null,
|
|
602
|
+
"description": "Localized display name for the property.",
|
|
603
|
+
"title": "Display-Name-Key"
|
|
604
|
+
},
|
|
605
|
+
"description-key": {
|
|
606
|
+
"anyOf": [
|
|
607
|
+
{
|
|
608
|
+
"minLength": 1,
|
|
609
|
+
"type": "string"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"type": "null"
|
|
613
|
+
}
|
|
614
|
+
],
|
|
615
|
+
"default": null,
|
|
616
|
+
"description": "Localized description for the property.",
|
|
617
|
+
"title": "Description-Key"
|
|
618
|
+
},
|
|
619
|
+
"of-type": {
|
|
620
|
+
"anyOf": [
|
|
621
|
+
{
|
|
622
|
+
"$ref": "#/$defs/TypeValue"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"type": "null"
|
|
626
|
+
}
|
|
627
|
+
],
|
|
628
|
+
"default": null,
|
|
629
|
+
"description": "Defines the data type of the property."
|
|
630
|
+
},
|
|
631
|
+
"of-type-group": {
|
|
632
|
+
"anyOf": [
|
|
633
|
+
{
|
|
634
|
+
"minLength": 1,
|
|
635
|
+
"type": "string"
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"type": "null"
|
|
639
|
+
}
|
|
640
|
+
],
|
|
641
|
+
"default": null,
|
|
642
|
+
"description": "Name of the type-group as defined in manifest.",
|
|
643
|
+
"title": "Of-Type-Group"
|
|
644
|
+
},
|
|
645
|
+
"usage": {
|
|
646
|
+
"anyOf": [
|
|
647
|
+
{
|
|
648
|
+
"$ref": "#/$defs/PropertyUsage"
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"type": "null"
|
|
652
|
+
}
|
|
653
|
+
],
|
|
654
|
+
"default": null,
|
|
655
|
+
"description": "Identifies the usage of the property."
|
|
656
|
+
},
|
|
657
|
+
"required": {
|
|
658
|
+
"anyOf": [
|
|
659
|
+
{
|
|
660
|
+
"type": "boolean"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"type": "null"
|
|
664
|
+
}
|
|
665
|
+
],
|
|
666
|
+
"default": null,
|
|
667
|
+
"description": "Whether the property is required or not.",
|
|
668
|
+
"title": "Required"
|
|
669
|
+
},
|
|
670
|
+
"default-value": {
|
|
671
|
+
"anyOf": [
|
|
672
|
+
{
|
|
673
|
+
"minLength": 1,
|
|
674
|
+
"type": "string"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"type": "null"
|
|
678
|
+
}
|
|
679
|
+
],
|
|
680
|
+
"default": null,
|
|
681
|
+
"description": "Default configuration value provided to the component.",
|
|
682
|
+
"title": "Default-Value"
|
|
683
|
+
},
|
|
684
|
+
"pfx-default-value": {
|
|
685
|
+
"anyOf": [
|
|
686
|
+
{
|
|
687
|
+
"minLength": 1,
|
|
688
|
+
"type": "string"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"type": "null"
|
|
692
|
+
}
|
|
693
|
+
],
|
|
694
|
+
"default": null,
|
|
695
|
+
"description": "Default Power Fx expression value provided to the component.",
|
|
696
|
+
"title": "Pfx-Default-Value"
|
|
697
|
+
},
|
|
698
|
+
"types": {
|
|
699
|
+
"anyOf": [
|
|
700
|
+
{
|
|
701
|
+
"$ref": "#/$defs/TypesElement"
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"type": "null"
|
|
705
|
+
}
|
|
706
|
+
],
|
|
707
|
+
"default": null,
|
|
708
|
+
"description": "Types element for this property."
|
|
709
|
+
},
|
|
710
|
+
"value": {
|
|
711
|
+
"description": "Enum values when of-type is Enum.",
|
|
712
|
+
"items": {
|
|
713
|
+
"$ref": "#/$defs/EnumValue"
|
|
714
|
+
},
|
|
715
|
+
"title": "Value",
|
|
716
|
+
"type": "array"
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
"required": [
|
|
720
|
+
"name"
|
|
721
|
+
],
|
|
722
|
+
"title": "Property",
|
|
723
|
+
"type": "object"
|
|
724
|
+
},
|
|
725
|
+
"PropertyDependencies": {
|
|
726
|
+
"additionalProperties": false,
|
|
727
|
+
"description": "Represents property-dependencies element.",
|
|
728
|
+
"properties": {
|
|
729
|
+
"property-dependency": {
|
|
730
|
+
"description": "Property dependency definitions.",
|
|
731
|
+
"items": {
|
|
732
|
+
"$ref": "#/$defs/PropertyDependency"
|
|
733
|
+
},
|
|
734
|
+
"title": "Property-Dependency",
|
|
735
|
+
"type": "array"
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
"title": "PropertyDependencies",
|
|
739
|
+
"type": "object"
|
|
740
|
+
},
|
|
741
|
+
"PropertyDependency": {
|
|
742
|
+
"additionalProperties": false,
|
|
743
|
+
"description": "Represents a property-dependency element.",
|
|
744
|
+
"properties": {
|
|
745
|
+
"input": {
|
|
746
|
+
"description": "The name of the input property.",
|
|
747
|
+
"minLength": 1,
|
|
748
|
+
"title": "Input",
|
|
749
|
+
"type": "string"
|
|
750
|
+
},
|
|
751
|
+
"output": {
|
|
752
|
+
"description": "The name of the output property.",
|
|
753
|
+
"minLength": 1,
|
|
754
|
+
"title": "Output",
|
|
755
|
+
"type": "string"
|
|
756
|
+
},
|
|
757
|
+
"required-for": {
|
|
758
|
+
"$ref": "#/$defs/RequiredFor",
|
|
759
|
+
"description": "Currently supported value is schema."
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
"required": [
|
|
763
|
+
"input",
|
|
764
|
+
"output",
|
|
765
|
+
"required-for"
|
|
766
|
+
],
|
|
767
|
+
"title": "PropertyDependency",
|
|
768
|
+
"type": "object"
|
|
769
|
+
},
|
|
770
|
+
"PropertySet": {
|
|
771
|
+
"additionalProperties": false,
|
|
772
|
+
"description": "Represents a property-set element within a data-set.",
|
|
773
|
+
"properties": {
|
|
774
|
+
"name": {
|
|
775
|
+
"description": "Name of the column.",
|
|
776
|
+
"minLength": 1,
|
|
777
|
+
"title": "Name",
|
|
778
|
+
"type": "string"
|
|
779
|
+
},
|
|
780
|
+
"display-name-key": {
|
|
781
|
+
"description": "Localized display name for the property set.",
|
|
782
|
+
"minLength": 1,
|
|
783
|
+
"title": "Display-Name-Key",
|
|
784
|
+
"type": "string"
|
|
785
|
+
},
|
|
786
|
+
"description-key": {
|
|
787
|
+
"anyOf": [
|
|
788
|
+
{
|
|
789
|
+
"minLength": 1,
|
|
790
|
+
"type": "string"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"type": "null"
|
|
794
|
+
}
|
|
795
|
+
],
|
|
796
|
+
"default": null,
|
|
797
|
+
"description": "Localized description for the property set.",
|
|
798
|
+
"title": "Description-Key"
|
|
799
|
+
},
|
|
800
|
+
"of-type": {
|
|
801
|
+
"anyOf": [
|
|
802
|
+
{
|
|
803
|
+
"$ref": "#/$defs/TypeValue"
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"type": "null"
|
|
807
|
+
}
|
|
808
|
+
],
|
|
809
|
+
"default": null,
|
|
810
|
+
"description": "Defines the data type of the property set."
|
|
811
|
+
},
|
|
812
|
+
"of-type-group": {
|
|
813
|
+
"anyOf": [
|
|
814
|
+
{
|
|
815
|
+
"minLength": 1,
|
|
816
|
+
"type": "string"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"type": "null"
|
|
820
|
+
}
|
|
821
|
+
],
|
|
822
|
+
"default": null,
|
|
823
|
+
"description": "Name of the type-group as defined in manifest.",
|
|
824
|
+
"title": "Of-Type-Group"
|
|
825
|
+
},
|
|
826
|
+
"usage": {
|
|
827
|
+
"anyOf": [
|
|
828
|
+
{
|
|
829
|
+
"$ref": "#/$defs/PropertySetUsage"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"type": "null"
|
|
833
|
+
}
|
|
834
|
+
],
|
|
835
|
+
"default": null,
|
|
836
|
+
"description": "Usage value for the property set."
|
|
837
|
+
},
|
|
838
|
+
"required": {
|
|
839
|
+
"anyOf": [
|
|
840
|
+
{
|
|
841
|
+
"type": "boolean"
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"type": "null"
|
|
845
|
+
}
|
|
846
|
+
],
|
|
847
|
+
"default": null,
|
|
848
|
+
"description": "Indicates whether the property is required.",
|
|
849
|
+
"title": "Required"
|
|
850
|
+
},
|
|
851
|
+
"types": {
|
|
852
|
+
"anyOf": [
|
|
853
|
+
{
|
|
854
|
+
"$ref": "#/$defs/TypesElement"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"type": "null"
|
|
858
|
+
}
|
|
859
|
+
],
|
|
860
|
+
"default": null,
|
|
861
|
+
"description": "Types element for this property set."
|
|
862
|
+
}
|
|
863
|
+
},
|
|
864
|
+
"required": [
|
|
865
|
+
"name",
|
|
866
|
+
"display-name-key"
|
|
867
|
+
],
|
|
868
|
+
"title": "PropertySet",
|
|
869
|
+
"type": "object"
|
|
870
|
+
},
|
|
871
|
+
"PropertySetUsage": {
|
|
872
|
+
"description": "Usage values for property-set elements.",
|
|
873
|
+
"enum": [
|
|
874
|
+
"bound",
|
|
875
|
+
"input"
|
|
876
|
+
],
|
|
877
|
+
"title": "PropertySetUsage",
|
|
878
|
+
"type": "string"
|
|
879
|
+
},
|
|
880
|
+
"PropertyUsage": {
|
|
881
|
+
"description": "Usage values for property elements.",
|
|
882
|
+
"enum": [
|
|
883
|
+
"bound",
|
|
884
|
+
"input",
|
|
885
|
+
"output"
|
|
886
|
+
],
|
|
887
|
+
"title": "PropertyUsage",
|
|
888
|
+
"type": "string"
|
|
889
|
+
},
|
|
890
|
+
"RequiredFor": {
|
|
891
|
+
"description": "Supported required-for values for property-dependency.",
|
|
892
|
+
"enum": [
|
|
893
|
+
"schema"
|
|
894
|
+
],
|
|
895
|
+
"title": "RequiredFor",
|
|
896
|
+
"type": "string"
|
|
897
|
+
},
|
|
898
|
+
"Resources": {
|
|
899
|
+
"additionalProperties": false,
|
|
900
|
+
"description": "Represents a resources element.",
|
|
901
|
+
"properties": {
|
|
902
|
+
"code": {
|
|
903
|
+
"$ref": "#/$defs/Code",
|
|
904
|
+
"description": "Code resource definition."
|
|
905
|
+
},
|
|
906
|
+
"css": {
|
|
907
|
+
"description": "CSS resources.",
|
|
908
|
+
"items": {
|
|
909
|
+
"$ref": "#/$defs/Css"
|
|
910
|
+
},
|
|
911
|
+
"title": "Css",
|
|
912
|
+
"type": "array"
|
|
913
|
+
},
|
|
914
|
+
"img": {
|
|
915
|
+
"description": "Image resources.",
|
|
916
|
+
"items": {
|
|
917
|
+
"$ref": "#/$defs/Img"
|
|
918
|
+
},
|
|
919
|
+
"title": "Img",
|
|
920
|
+
"type": "array"
|
|
921
|
+
},
|
|
922
|
+
"resx": {
|
|
923
|
+
"description": "Resx resources.",
|
|
924
|
+
"items": {
|
|
925
|
+
"$ref": "#/$defs/Resx"
|
|
926
|
+
},
|
|
927
|
+
"title": "Resx",
|
|
928
|
+
"type": "array"
|
|
929
|
+
},
|
|
930
|
+
"platform-library": {
|
|
931
|
+
"description": "Platform library resources.",
|
|
932
|
+
"items": {
|
|
933
|
+
"$ref": "#/$defs/PlatformLibrary"
|
|
934
|
+
},
|
|
935
|
+
"title": "Platform-Library",
|
|
936
|
+
"type": "array"
|
|
937
|
+
},
|
|
938
|
+
"dependency": {
|
|
939
|
+
"description": "Dependent library resources.",
|
|
940
|
+
"items": {
|
|
941
|
+
"$ref": "#/$defs/Dependency"
|
|
942
|
+
},
|
|
943
|
+
"title": "Dependency",
|
|
944
|
+
"type": "array"
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
"required": [
|
|
948
|
+
"code"
|
|
949
|
+
],
|
|
950
|
+
"title": "Resources",
|
|
951
|
+
"type": "object"
|
|
952
|
+
},
|
|
953
|
+
"Resx": {
|
|
954
|
+
"additionalProperties": false,
|
|
955
|
+
"description": "Represents a resx element.",
|
|
956
|
+
"properties": {
|
|
957
|
+
"path": {
|
|
958
|
+
"description": "Relative path where resx files are located.",
|
|
959
|
+
"minLength": 1,
|
|
960
|
+
"title": "Path",
|
|
961
|
+
"type": "string"
|
|
962
|
+
},
|
|
963
|
+
"version": {
|
|
964
|
+
"description": "The current version of the resx file.",
|
|
965
|
+
"minLength": 1,
|
|
966
|
+
"title": "Version",
|
|
967
|
+
"type": "string"
|
|
968
|
+
}
|
|
969
|
+
},
|
|
970
|
+
"required": [
|
|
971
|
+
"path",
|
|
972
|
+
"version"
|
|
973
|
+
],
|
|
974
|
+
"title": "Resx",
|
|
975
|
+
"type": "object"
|
|
976
|
+
},
|
|
977
|
+
"TypeElement": {
|
|
978
|
+
"additionalProperties": false,
|
|
979
|
+
"description": "Represents a type element inside types or type-group.",
|
|
980
|
+
"properties": {
|
|
981
|
+
"value": {
|
|
982
|
+
"$ref": "#/$defs/TypeValue",
|
|
983
|
+
"description": "Data type value for the type element."
|
|
984
|
+
}
|
|
985
|
+
},
|
|
986
|
+
"required": [
|
|
987
|
+
"value"
|
|
988
|
+
],
|
|
989
|
+
"title": "TypeElement",
|
|
990
|
+
"type": "object"
|
|
991
|
+
},
|
|
992
|
+
"TypeGroup": {
|
|
993
|
+
"additionalProperties": false,
|
|
994
|
+
"description": "Defines a type-group element.",
|
|
995
|
+
"properties": {
|
|
996
|
+
"name": {
|
|
997
|
+
"description": "Name of the data type group.",
|
|
998
|
+
"minLength": 1,
|
|
999
|
+
"title": "Name",
|
|
1000
|
+
"type": "string"
|
|
1001
|
+
},
|
|
1002
|
+
"type": {
|
|
1003
|
+
"description": "Types belonging to the type-group.",
|
|
1004
|
+
"items": {
|
|
1005
|
+
"$ref": "#/$defs/TypeElement"
|
|
1006
|
+
},
|
|
1007
|
+
"title": "Type",
|
|
1008
|
+
"type": "array"
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
"required": [
|
|
1012
|
+
"name"
|
|
1013
|
+
],
|
|
1014
|
+
"title": "TypeGroup",
|
|
1015
|
+
"type": "object"
|
|
1016
|
+
},
|
|
1017
|
+
"TypeValue": {
|
|
1018
|
+
"description": "Supported data types for property and type elements.",
|
|
1019
|
+
"enum": [
|
|
1020
|
+
"Currency",
|
|
1021
|
+
"DateAndTime.DateAndTime",
|
|
1022
|
+
"DateAndTime.DateOnly",
|
|
1023
|
+
"Decimal",
|
|
1024
|
+
"Enum",
|
|
1025
|
+
"FP",
|
|
1026
|
+
"Lookup.Simple",
|
|
1027
|
+
"Multiple",
|
|
1028
|
+
"MultiSelectOptionSet",
|
|
1029
|
+
"Object",
|
|
1030
|
+
"OptionSet",
|
|
1031
|
+
"SingleLine.Email",
|
|
1032
|
+
"SingleLine.Phone",
|
|
1033
|
+
"SingleLine.Text",
|
|
1034
|
+
"SingleLine.TextArea",
|
|
1035
|
+
"SingleLine.Ticker",
|
|
1036
|
+
"SingleLine.URL",
|
|
1037
|
+
"TwoOptions",
|
|
1038
|
+
"Whole.None"
|
|
1039
|
+
],
|
|
1040
|
+
"title": "TypeValue",
|
|
1041
|
+
"type": "string"
|
|
1042
|
+
},
|
|
1043
|
+
"TypesElement": {
|
|
1044
|
+
"additionalProperties": false,
|
|
1045
|
+
"description": "Represents a types element containing type children.",
|
|
1046
|
+
"properties": {
|
|
1047
|
+
"type": {
|
|
1048
|
+
"description": "List of type elements.",
|
|
1049
|
+
"items": {
|
|
1050
|
+
"$ref": "#/$defs/TypeElement"
|
|
1051
|
+
},
|
|
1052
|
+
"title": "Type",
|
|
1053
|
+
"type": "array"
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
"title": "TypesElement",
|
|
1057
|
+
"type": "object"
|
|
1058
|
+
},
|
|
1059
|
+
"UsesFeature": {
|
|
1060
|
+
"additionalProperties": false,
|
|
1061
|
+
"description": "Represents a uses-feature element.",
|
|
1062
|
+
"properties": {
|
|
1063
|
+
"name": {
|
|
1064
|
+
"description": "Name of the feature declared by the component.",
|
|
1065
|
+
"minLength": 1,
|
|
1066
|
+
"title": "Name",
|
|
1067
|
+
"type": "string"
|
|
1068
|
+
},
|
|
1069
|
+
"required": {
|
|
1070
|
+
"description": "Indicates if the component requires the feature.",
|
|
1071
|
+
"title": "Required",
|
|
1072
|
+
"type": "boolean"
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
"required": [
|
|
1076
|
+
"name",
|
|
1077
|
+
"required"
|
|
1078
|
+
],
|
|
1079
|
+
"title": "UsesFeature",
|
|
1080
|
+
"type": "object"
|
|
1081
|
+
}
|
|
1082
|
+
},
|
|
1083
|
+
"additionalProperties": false,
|
|
1084
|
+
"description": "Represents the manifest root element.",
|
|
1085
|
+
"properties": {
|
|
1086
|
+
"control": {
|
|
1087
|
+
"$ref": "#/$defs/Control",
|
|
1088
|
+
"description": "Control definition."
|
|
1089
|
+
}
|
|
1090
|
+
},
|
|
1091
|
+
"required": [
|
|
1092
|
+
"control"
|
|
1093
|
+
],
|
|
1094
|
+
"title": "Manifest",
|
|
1095
|
+
"type": "object",
|
|
1096
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema"
|
|
1097
|
+
}
|