@govcraft/payload-cms-mcp 1.0.1

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.
Files changed (121) hide show
  1. package/README.md +164 -0
  2. package/dist/config/index.d.ts +27 -0
  3. package/dist/config/index.js +31 -0
  4. package/dist/config/index.js.map +1 -0
  5. package/dist/controllers/mcp.controller.d.ts +7 -0
  6. package/dist/controllers/mcp.controller.js +328 -0
  7. package/dist/controllers/mcp.controller.js.map +1 -0
  8. package/dist/controllers/payload-mcp.controller.d.ts +4 -0
  9. package/dist/controllers/payload-mcp.controller.js +185 -0
  10. package/dist/controllers/payload-mcp.controller.js.map +1 -0
  11. package/dist/generate-tools.d.ts +1 -0
  12. package/dist/generate-tools.js +1417 -0
  13. package/dist/generate-tools.js.map +1 -0
  14. package/dist/index.d.ts +2 -0
  15. package/dist/index.js +16 -0
  16. package/dist/index.js.map +1 -0
  17. package/dist/mcp/anthropic-mcp.d.ts +3 -0
  18. package/dist/mcp/anthropic-mcp.js +332 -0
  19. package/dist/mcp/anthropic-mcp.js.map +1 -0
  20. package/dist/mcp/generated/index.d.ts +44 -0
  21. package/dist/mcp/generated/index.js +45 -0
  22. package/dist/mcp/generated/index.js.map +1 -0
  23. package/dist/mcp/generated/payload-tools.d.ts +7 -0
  24. package/dist/mcp/generated/payload-tools.js +69 -0
  25. package/dist/mcp/generated/payload-tools.js.map +1 -0
  26. package/dist/mcp/generated/payload-tools.json +13024 -0
  27. package/dist/mcp/generated/tools/create.json +9138 -0
  28. package/dist/mcp/generated/tools/createAccess.json +10 -0
  29. package/dist/mcp/generated/tools/createAfterChangeHook.json +9 -0
  30. package/dist/mcp/generated/tools/createAfterDeleteHook.json +9 -0
  31. package/dist/mcp/generated/tools/createAfterErrorHook.json +9 -0
  32. package/dist/mcp/generated/tools/createAfterForgotPasswordHook.json +9 -0
  33. package/dist/mcp/generated/tools/createAfterLoginHook.json +9 -0
  34. package/dist/mcp/generated/tools/createAfterLogoutHook.json +9 -0
  35. package/dist/mcp/generated/tools/createAfterMeHook.json +9 -0
  36. package/dist/mcp/generated/tools/createAfterOperationHook.json +9 -0
  37. package/dist/mcp/generated/tools/createAfterReadHook.json +9 -0
  38. package/dist/mcp/generated/tools/createAfterRefreshHook.json +9 -0
  39. package/dist/mcp/generated/tools/createArrayField.json +90 -0
  40. package/dist/mcp/generated/tools/createBeforeChangeHook.json +9 -0
  41. package/dist/mcp/generated/tools/createBeforeDeleteHook.json +9 -0
  42. package/dist/mcp/generated/tools/createBeforeLoginHook.json +9 -0
  43. package/dist/mcp/generated/tools/createBeforeOperationHook.json +9 -0
  44. package/dist/mcp/generated/tools/createBeforeReadHook.json +9 -0
  45. package/dist/mcp/generated/tools/createBeforeValidateHook.json +9 -0
  46. package/dist/mcp/generated/tools/createBlocksField.json +79 -0
  47. package/dist/mcp/generated/tools/createCodeField.json +79 -0
  48. package/dist/mcp/generated/tools/createCollection.json +422 -0
  49. package/dist/mcp/generated/tools/createCollectionAdminOptions.json +2789 -0
  50. package/dist/mcp/generated/tools/createDateField.json +84 -0
  51. package/dist/mcp/generated/tools/createEmailField.json +87 -0
  52. package/dist/mcp/generated/tools/createField.json +31 -0
  53. package/dist/mcp/generated/tools/createGlobal.json +220 -0
  54. package/dist/mcp/generated/tools/createGroupField.json +79 -0
  55. package/dist/mcp/generated/tools/createJSONField.json +79 -0
  56. package/dist/mcp/generated/tools/createJoinField.json +79 -0
  57. package/dist/mcp/generated/tools/createMeHook.json +9 -0
  58. package/dist/mcp/generated/tools/createNumberField.json +31 -0
  59. package/dist/mcp/generated/tools/createPointField.json +79 -0
  60. package/dist/mcp/generated/tools/createPolymorphicRelationshipField.json +31 -0
  61. package/dist/mcp/generated/tools/createRadioField.json +94 -0
  62. package/dist/mcp/generated/tools/createRefreshHook.json +9 -0
  63. package/dist/mcp/generated/tools/createRelationshipField.json +31 -0
  64. package/dist/mcp/generated/tools/createRichTextField.json +79 -0
  65. package/dist/mcp/generated/tools/createSelectField.json +31 -0
  66. package/dist/mcp/generated/tools/createSingleRelationshipField.json +31 -0
  67. package/dist/mcp/generated/tools/createTextField.json +31 -0
  68. package/dist/mcp/generated/tools/createTextareaField.json +87 -0
  69. package/dist/mcp/generated/tools/createUploadField.json +31 -0
  70. package/dist/mcp/handler.d.ts +6 -0
  71. package/dist/mcp/handler.js +147 -0
  72. package/dist/mcp/handler.js.map +1 -0
  73. package/dist/mcp/index.d.ts +1 -0
  74. package/dist/mcp/index.js +28 -0
  75. package/dist/mcp/index.js.map +1 -0
  76. package/dist/mcp/io/index.d.ts +2 -0
  77. package/dist/mcp/io/index.js +31 -0
  78. package/dist/mcp/io/index.js.map +1 -0
  79. package/dist/mcp/io/stdin.d.ts +2 -0
  80. package/dist/mcp/io/stdin.js +118 -0
  81. package/dist/mcp/io/stdin.js.map +1 -0
  82. package/dist/mcp/session.d.ts +16 -0
  83. package/dist/mcp/session.js +85 -0
  84. package/dist/mcp/session.js.map +1 -0
  85. package/dist/mcp/sse.d.ts +10 -0
  86. package/dist/mcp/sse.js +86 -0
  87. package/dist/mcp/sse.js.map +1 -0
  88. package/dist/mcp/tools/calculator.d.ts +2 -0
  89. package/dist/mcp/tools/calculator.js +68 -0
  90. package/dist/mcp/tools/calculator.js.map +1 -0
  91. package/dist/mcp/tools/index.d.ts +3 -0
  92. package/dist/mcp/tools/index.js +6 -0
  93. package/dist/mcp/tools/index.js.map +1 -0
  94. package/dist/mcp/tools/list-tools.d.ts +2 -0
  95. package/dist/mcp/tools/list-tools.js +47 -0
  96. package/dist/mcp/tools/list-tools.js.map +1 -0
  97. package/dist/mcp/tools/payload-tools-loader.d.ts +2 -0
  98. package/dist/mcp/tools/payload-tools-loader.js +21 -0
  99. package/dist/mcp/tools/payload-tools-loader.js.map +1 -0
  100. package/dist/mcp/types.d.ts +69 -0
  101. package/dist/mcp/types.js +2 -0
  102. package/dist/mcp/types.js.map +1 -0
  103. package/dist/middleware/errorHandler.d.ts +14 -0
  104. package/dist/middleware/errorHandler.js +25 -0
  105. package/dist/middleware/errorHandler.js.map +1 -0
  106. package/dist/middleware/notFoundHandler.d.ts +2 -0
  107. package/dist/middleware/notFoundHandler.js +8 -0
  108. package/dist/middleware/notFoundHandler.js.map +1 -0
  109. package/dist/routes/health.d.ts +2 -0
  110. package/dist/routes/health.js +18 -0
  111. package/dist/routes/health.js.map +1 -0
  112. package/dist/routes/mcp.d.ts +2 -0
  113. package/dist/routes/mcp.js +11 -0
  114. package/dist/routes/mcp.js.map +1 -0
  115. package/dist/routes/payload-mcp.routes.d.ts +3 -0
  116. package/dist/routes/payload-mcp.routes.js +8 -0
  117. package/dist/routes/payload-mcp.routes.js.map +1 -0
  118. package/dist/utils/logger.d.ts +2 -0
  119. package/dist/utils/logger.js +35 -0
  120. package/dist/utils/logger.js.map +1 -0
  121. package/package.json +64 -0
@@ -0,0 +1,2789 @@
1
+ {
2
+ "name": "createCollectionAdminOptions",
3
+ "description": "Creates a Payload CMS 3.0 CollectionAdminOptions configuration",
4
+ "inputSchema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "baseListFilter": {
8
+ "type": "string",
9
+ "description": "Function expression (e.g., \"({ req }) => req.user.role === 'admin'\")"
10
+ },
11
+ "components": {
12
+ "type": "object",
13
+ "properties": {
14
+ "afterList": {
15
+ "type": "array",
16
+ "items": {
17
+ "oneOf": [
18
+ {
19
+ "type": "string"
20
+ },
21
+ {
22
+ "type": "object",
23
+ "description": "false configuration object"
24
+ },
25
+ {
26
+ "type": "object",
27
+ "properties": {
28
+ "clientProps": {
29
+ "oneOf": [
30
+ {
31
+ "type": "object",
32
+ "description": "object configuration object"
33
+ },
34
+ {
35
+ "type": "object",
36
+ "properties": {}
37
+ }
38
+ ],
39
+ "description": "One of the allowed types"
40
+ },
41
+ "exportName": {
42
+ "type": "string"
43
+ },
44
+ "path": {
45
+ "type": "string"
46
+ },
47
+ "serverProps": {
48
+ "oneOf": [
49
+ {
50
+ "type": "object",
51
+ "description": "object configuration object"
52
+ },
53
+ {
54
+ "type": "string",
55
+ "description": "String value"
56
+ }
57
+ ],
58
+ "description": "One of the allowed types"
59
+ }
60
+ },
61
+ "required": [
62
+ "path"
63
+ ]
64
+ }
65
+ ],
66
+ "description": "One of the allowed types"
67
+ }
68
+ },
69
+ "afterListTable": {
70
+ "type": "array",
71
+ "items": {
72
+ "oneOf": [
73
+ {
74
+ "type": "string"
75
+ },
76
+ {
77
+ "type": "object",
78
+ "description": "false configuration object"
79
+ },
80
+ {
81
+ "type": "object",
82
+ "properties": {
83
+ "clientProps": {
84
+ "oneOf": [
85
+ {
86
+ "type": "object",
87
+ "description": "object configuration object"
88
+ },
89
+ {
90
+ "type": "object",
91
+ "properties": {}
92
+ }
93
+ ],
94
+ "description": "One of the allowed types"
95
+ },
96
+ "exportName": {
97
+ "type": "string"
98
+ },
99
+ "path": {
100
+ "type": "string"
101
+ },
102
+ "serverProps": {
103
+ "oneOf": [
104
+ {
105
+ "type": "object",
106
+ "description": "object configuration object"
107
+ },
108
+ {
109
+ "type": "string",
110
+ "description": "String value"
111
+ }
112
+ ],
113
+ "description": "One of the allowed types"
114
+ }
115
+ },
116
+ "required": [
117
+ "path"
118
+ ]
119
+ }
120
+ ],
121
+ "description": "One of the allowed types"
122
+ }
123
+ },
124
+ "beforeList": {
125
+ "type": "array",
126
+ "items": {
127
+ "oneOf": [
128
+ {
129
+ "type": "string"
130
+ },
131
+ {
132
+ "type": "object",
133
+ "description": "false configuration object"
134
+ },
135
+ {
136
+ "type": "object",
137
+ "properties": {
138
+ "clientProps": {
139
+ "oneOf": [
140
+ {
141
+ "type": "object",
142
+ "description": "object configuration object"
143
+ },
144
+ {
145
+ "type": "object",
146
+ "properties": {}
147
+ }
148
+ ],
149
+ "description": "One of the allowed types"
150
+ },
151
+ "exportName": {
152
+ "type": "string"
153
+ },
154
+ "path": {
155
+ "type": "string"
156
+ },
157
+ "serverProps": {
158
+ "oneOf": [
159
+ {
160
+ "type": "object",
161
+ "description": "object configuration object"
162
+ },
163
+ {
164
+ "type": "string",
165
+ "description": "String value"
166
+ }
167
+ ],
168
+ "description": "One of the allowed types"
169
+ }
170
+ },
171
+ "required": [
172
+ "path"
173
+ ]
174
+ }
175
+ ],
176
+ "description": "One of the allowed types"
177
+ }
178
+ },
179
+ "beforeListTable": {
180
+ "type": "array",
181
+ "items": {
182
+ "oneOf": [
183
+ {
184
+ "type": "string"
185
+ },
186
+ {
187
+ "type": "object",
188
+ "description": "false configuration object"
189
+ },
190
+ {
191
+ "type": "object",
192
+ "properties": {
193
+ "clientProps": {
194
+ "oneOf": [
195
+ {
196
+ "type": "object",
197
+ "description": "object configuration object"
198
+ },
199
+ {
200
+ "type": "object",
201
+ "properties": {}
202
+ }
203
+ ],
204
+ "description": "One of the allowed types"
205
+ },
206
+ "exportName": {
207
+ "type": "string"
208
+ },
209
+ "path": {
210
+ "type": "string"
211
+ },
212
+ "serverProps": {
213
+ "oneOf": [
214
+ {
215
+ "type": "object",
216
+ "description": "object configuration object"
217
+ },
218
+ {
219
+ "type": "string",
220
+ "description": "String value"
221
+ }
222
+ ],
223
+ "description": "One of the allowed types"
224
+ }
225
+ },
226
+ "required": [
227
+ "path"
228
+ ]
229
+ }
230
+ ],
231
+ "description": "One of the allowed types"
232
+ }
233
+ },
234
+ "Description": {
235
+ "oneOf": [
236
+ {
237
+ "type": "string"
238
+ },
239
+ {
240
+ "type": "object",
241
+ "description": "false configuration object"
242
+ },
243
+ {
244
+ "type": "object",
245
+ "properties": {
246
+ "clientProps": {
247
+ "oneOf": [
248
+ {
249
+ "type": "object",
250
+ "description": "object configuration object"
251
+ },
252
+ {
253
+ "type": "object",
254
+ "properties": {}
255
+ }
256
+ ],
257
+ "description": "One of the allowed types"
258
+ },
259
+ "exportName": {
260
+ "type": "string"
261
+ },
262
+ "path": {
263
+ "type": "string"
264
+ },
265
+ "serverProps": {
266
+ "oneOf": [
267
+ {
268
+ "type": "object",
269
+ "description": "object configuration object"
270
+ },
271
+ {
272
+ "type": "string",
273
+ "description": "String value"
274
+ }
275
+ ],
276
+ "description": "One of the allowed types"
277
+ }
278
+ },
279
+ "required": [
280
+ "path"
281
+ ]
282
+ }
283
+ ],
284
+ "description": "One of the allowed types"
285
+ },
286
+ "edit": {
287
+ "type": "object",
288
+ "properties": {
289
+ "PreviewButton": {
290
+ "oneOf": [
291
+ {
292
+ "type": "string"
293
+ },
294
+ {
295
+ "type": "object",
296
+ "description": "false configuration object"
297
+ },
298
+ {
299
+ "type": "object",
300
+ "properties": {
301
+ "clientProps": {
302
+ "oneOf": [
303
+ {
304
+ "type": "object",
305
+ "description": "object configuration object"
306
+ },
307
+ {
308
+ "type": "object",
309
+ "properties": {}
310
+ }
311
+ ],
312
+ "description": "One of the allowed types"
313
+ },
314
+ "exportName": {
315
+ "type": "string"
316
+ },
317
+ "path": {
318
+ "type": "string"
319
+ },
320
+ "serverProps": {
321
+ "oneOf": [
322
+ {
323
+ "type": "object",
324
+ "description": "object configuration object"
325
+ },
326
+ {
327
+ "type": "string",
328
+ "description": "String value"
329
+ }
330
+ ],
331
+ "description": "One of the allowed types"
332
+ }
333
+ },
334
+ "required": [
335
+ "path"
336
+ ]
337
+ }
338
+ ],
339
+ "description": "One of the allowed types"
340
+ },
341
+ "PublishButton": {
342
+ "oneOf": [
343
+ {
344
+ "type": "string"
345
+ },
346
+ {
347
+ "type": "object",
348
+ "description": "false configuration object"
349
+ },
350
+ {
351
+ "type": "object",
352
+ "properties": {
353
+ "clientProps": {
354
+ "oneOf": [
355
+ {
356
+ "type": "object",
357
+ "description": "object configuration object"
358
+ },
359
+ {
360
+ "type": "object",
361
+ "properties": {}
362
+ }
363
+ ],
364
+ "description": "One of the allowed types"
365
+ },
366
+ "exportName": {
367
+ "type": "string"
368
+ },
369
+ "path": {
370
+ "type": "string"
371
+ },
372
+ "serverProps": {
373
+ "oneOf": [
374
+ {
375
+ "type": "object",
376
+ "description": "object configuration object"
377
+ },
378
+ {
379
+ "type": "string",
380
+ "description": "String value"
381
+ }
382
+ ],
383
+ "description": "One of the allowed types"
384
+ }
385
+ },
386
+ "required": [
387
+ "path"
388
+ ]
389
+ }
390
+ ],
391
+ "description": "One of the allowed types"
392
+ },
393
+ "SaveButton": {
394
+ "oneOf": [
395
+ {
396
+ "type": "string"
397
+ },
398
+ {
399
+ "type": "object",
400
+ "description": "false configuration object"
401
+ },
402
+ {
403
+ "type": "object",
404
+ "properties": {
405
+ "clientProps": {
406
+ "oneOf": [
407
+ {
408
+ "type": "object",
409
+ "description": "object configuration object"
410
+ },
411
+ {
412
+ "type": "object",
413
+ "properties": {}
414
+ }
415
+ ],
416
+ "description": "One of the allowed types"
417
+ },
418
+ "exportName": {
419
+ "type": "string"
420
+ },
421
+ "path": {
422
+ "type": "string"
423
+ },
424
+ "serverProps": {
425
+ "oneOf": [
426
+ {
427
+ "type": "object",
428
+ "description": "object configuration object"
429
+ },
430
+ {
431
+ "type": "string",
432
+ "description": "String value"
433
+ }
434
+ ],
435
+ "description": "One of the allowed types"
436
+ }
437
+ },
438
+ "required": [
439
+ "path"
440
+ ]
441
+ }
442
+ ],
443
+ "description": "One of the allowed types"
444
+ },
445
+ "SaveDraftButton": {
446
+ "oneOf": [
447
+ {
448
+ "type": "string"
449
+ },
450
+ {
451
+ "type": "object",
452
+ "description": "false configuration object"
453
+ },
454
+ {
455
+ "type": "object",
456
+ "properties": {
457
+ "clientProps": {
458
+ "oneOf": [
459
+ {
460
+ "type": "object",
461
+ "description": "object configuration object"
462
+ },
463
+ {
464
+ "type": "object",
465
+ "properties": {}
466
+ }
467
+ ],
468
+ "description": "One of the allowed types"
469
+ },
470
+ "exportName": {
471
+ "type": "string"
472
+ },
473
+ "path": {
474
+ "type": "string"
475
+ },
476
+ "serverProps": {
477
+ "oneOf": [
478
+ {
479
+ "type": "object",
480
+ "description": "object configuration object"
481
+ },
482
+ {
483
+ "type": "string",
484
+ "description": "String value"
485
+ }
486
+ ],
487
+ "description": "One of the allowed types"
488
+ }
489
+ },
490
+ "required": [
491
+ "path"
492
+ ]
493
+ }
494
+ ],
495
+ "description": "One of the allowed types"
496
+ },
497
+ "Upload": {
498
+ "oneOf": [
499
+ {
500
+ "type": "string"
501
+ },
502
+ {
503
+ "type": "object",
504
+ "description": "false configuration object"
505
+ },
506
+ {
507
+ "type": "object",
508
+ "properties": {
509
+ "clientProps": {
510
+ "oneOf": [
511
+ {
512
+ "type": "object",
513
+ "description": "object configuration object"
514
+ },
515
+ {
516
+ "type": "object",
517
+ "properties": {}
518
+ }
519
+ ],
520
+ "description": "One of the allowed types"
521
+ },
522
+ "exportName": {
523
+ "type": "string"
524
+ },
525
+ "path": {
526
+ "type": "string"
527
+ },
528
+ "serverProps": {
529
+ "oneOf": [
530
+ {
531
+ "type": "object",
532
+ "description": "object configuration object"
533
+ },
534
+ {
535
+ "type": "string",
536
+ "description": "String value"
537
+ }
538
+ ],
539
+ "description": "One of the allowed types"
540
+ }
541
+ },
542
+ "required": [
543
+ "path"
544
+ ]
545
+ }
546
+ ],
547
+ "description": "One of the allowed types"
548
+ }
549
+ }
550
+ },
551
+ "listMenuItems": {
552
+ "type": "array",
553
+ "items": {
554
+ "oneOf": [
555
+ {
556
+ "type": "string"
557
+ },
558
+ {
559
+ "type": "object",
560
+ "description": "false configuration object"
561
+ },
562
+ {
563
+ "type": "object",
564
+ "properties": {
565
+ "clientProps": {
566
+ "oneOf": [
567
+ {
568
+ "type": "object",
569
+ "description": "object configuration object"
570
+ },
571
+ {
572
+ "type": "object",
573
+ "properties": {}
574
+ }
575
+ ],
576
+ "description": "One of the allowed types"
577
+ },
578
+ "exportName": {
579
+ "type": "string"
580
+ },
581
+ "path": {
582
+ "type": "string"
583
+ },
584
+ "serverProps": {
585
+ "oneOf": [
586
+ {
587
+ "type": "object",
588
+ "description": "object configuration object"
589
+ },
590
+ {
591
+ "type": "string",
592
+ "description": "String value"
593
+ }
594
+ ],
595
+ "description": "One of the allowed types"
596
+ }
597
+ },
598
+ "required": [
599
+ "path"
600
+ ]
601
+ }
602
+ ],
603
+ "description": "One of the allowed types"
604
+ }
605
+ },
606
+ "views": {
607
+ "type": "object",
608
+ "properties": {
609
+ "edit": {
610
+ "oneOf": [
611
+ {
612
+ "type": "object",
613
+ "properties": {
614
+ "api": {
615
+ "oneOf": [
616
+ {
617
+ "type": "object",
618
+ "properties": {
619
+ "meta": {
620
+ "type": "object",
621
+ "description": "any configuration object"
622
+ },
623
+ "actions": {
624
+ "type": "array",
625
+ "items": {
626
+ "oneOf": [
627
+ {
628
+ "type": "string"
629
+ },
630
+ {
631
+ "type": "object",
632
+ "description": "false configuration object"
633
+ },
634
+ {
635
+ "type": "object",
636
+ "properties": {
637
+ "clientProps": {
638
+ "oneOf": [
639
+ {
640
+ "type": "object",
641
+ "description": "object configuration object"
642
+ },
643
+ {
644
+ "type": "object",
645
+ "properties": {}
646
+ }
647
+ ],
648
+ "description": "One of the allowed types"
649
+ },
650
+ "exportName": {
651
+ "type": "string"
652
+ },
653
+ "path": {
654
+ "type": "string"
655
+ },
656
+ "serverProps": {
657
+ "oneOf": [
658
+ {
659
+ "type": "object",
660
+ "description": "object configuration object"
661
+ },
662
+ {
663
+ "type": "string",
664
+ "description": "String value"
665
+ }
666
+ ],
667
+ "description": "One of the allowed types"
668
+ }
669
+ },
670
+ "required": [
671
+ "path"
672
+ ]
673
+ }
674
+ ],
675
+ "description": "One of the allowed types"
676
+ }
677
+ }
678
+ }
679
+ },
680
+ {
681
+ "type": "object",
682
+ "properties": {
683
+ "meta": {
684
+ "type": "object",
685
+ "description": "any configuration object"
686
+ },
687
+ "Component": {
688
+ "oneOf": [
689
+ {
690
+ "type": "string"
691
+ },
692
+ {
693
+ "type": "object",
694
+ "description": "false configuration object"
695
+ },
696
+ {
697
+ "type": "object",
698
+ "properties": {
699
+ "clientProps": {
700
+ "oneOf": [
701
+ {
702
+ "type": "object",
703
+ "description": "object configuration object"
704
+ },
705
+ {
706
+ "type": "object",
707
+ "properties": {}
708
+ }
709
+ ],
710
+ "description": "One of the allowed types"
711
+ },
712
+ "exportName": {
713
+ "type": "string"
714
+ },
715
+ "path": {
716
+ "type": "string"
717
+ },
718
+ "serverProps": {
719
+ "oneOf": [
720
+ {
721
+ "type": "object",
722
+ "description": "object configuration object"
723
+ },
724
+ {
725
+ "type": "object",
726
+ "description": "Payload.DocumentViewServerProps configuration object"
727
+ }
728
+ ],
729
+ "description": "One of the allowed types"
730
+ }
731
+ },
732
+ "required": [
733
+ "path"
734
+ ]
735
+ }
736
+ ],
737
+ "description": "One of the allowed types"
738
+ },
739
+ "path": {
740
+ "type": "string"
741
+ }
742
+ }
743
+ },
744
+ {
745
+ "type": "object",
746
+ "properties": {
747
+ "meta": {
748
+ "type": "object",
749
+ "description": "any configuration object"
750
+ },
751
+ "path": {
752
+ "type": "string"
753
+ },
754
+ "tab": {
755
+ "type": "object",
756
+ "properties": {
757
+ "Component": {
758
+ "oneOf": [
759
+ {
760
+ "type": "string"
761
+ },
762
+ {
763
+ "type": "object",
764
+ "description": "false configuration object"
765
+ },
766
+ {
767
+ "type": "object",
768
+ "properties": {
769
+ "clientProps": {
770
+ "oneOf": [
771
+ {
772
+ "type": "object",
773
+ "description": "object configuration object"
774
+ },
775
+ {
776
+ "type": "object",
777
+ "properties": {}
778
+ }
779
+ ],
780
+ "description": "One of the allowed types"
781
+ },
782
+ "exportName": {
783
+ "type": "string"
784
+ },
785
+ "path": {
786
+ "type": "string"
787
+ },
788
+ "serverProps": {
789
+ "oneOf": [
790
+ {
791
+ "type": "object",
792
+ "description": "object configuration object"
793
+ },
794
+ {
795
+ "type": "object",
796
+ "properties": {
797
+ "path": {
798
+ "type": "string"
799
+ }
800
+ },
801
+ "required": [
802
+ "path"
803
+ ]
804
+ }
805
+ ],
806
+ "description": "One of the allowed types"
807
+ }
808
+ },
809
+ "required": [
810
+ "path"
811
+ ]
812
+ }
813
+ ],
814
+ "description": "One of the allowed types"
815
+ },
816
+ "condition": {
817
+ "type": "string",
818
+ "description": "Function expression (e.g., \"({ req }) => req.user.role === 'admin'\")"
819
+ },
820
+ "href": {
821
+ "oneOf": [
822
+ {
823
+ "type": "string"
824
+ },
825
+ {
826
+ "type": "object",
827
+ "properties": {}
828
+ }
829
+ ],
830
+ "description": "One of the allowed types"
831
+ },
832
+ "isActive": {
833
+ "oneOf": [
834
+ {
835
+ "type": "object",
836
+ "description": "false configuration object"
837
+ },
838
+ {
839
+ "type": "object",
840
+ "description": "true configuration object"
841
+ },
842
+ {
843
+ "type": "object",
844
+ "properties": {}
845
+ }
846
+ ],
847
+ "description": "One of the allowed types"
848
+ },
849
+ "label": {
850
+ "oneOf": [
851
+ {
852
+ "type": "string"
853
+ },
854
+ {
855
+ "type": "object",
856
+ "properties": {}
857
+ }
858
+ ],
859
+ "description": "One of the allowed types"
860
+ },
861
+ "newTab": {
862
+ "type": "boolean"
863
+ },
864
+ "Pill": {
865
+ "oneOf": [
866
+ {
867
+ "type": "string"
868
+ },
869
+ {
870
+ "type": "object",
871
+ "description": "false configuration object"
872
+ },
873
+ {
874
+ "type": "object",
875
+ "properties": {
876
+ "clientProps": {
877
+ "oneOf": [
878
+ {
879
+ "type": "object",
880
+ "description": "object configuration object"
881
+ },
882
+ {
883
+ "type": "object",
884
+ "properties": {}
885
+ }
886
+ ],
887
+ "description": "One of the allowed types"
888
+ },
889
+ "exportName": {
890
+ "type": "string"
891
+ },
892
+ "path": {
893
+ "type": "string"
894
+ },
895
+ "serverProps": {
896
+ "oneOf": [
897
+ {
898
+ "type": "object",
899
+ "description": "object configuration object"
900
+ },
901
+ {
902
+ "type": "object",
903
+ "properties": {}
904
+ }
905
+ ],
906
+ "description": "One of the allowed types"
907
+ }
908
+ },
909
+ "required": [
910
+ "path"
911
+ ]
912
+ }
913
+ ],
914
+ "description": "One of the allowed types"
915
+ }
916
+ }
917
+ }
918
+ }
919
+ }
920
+ ],
921
+ "description": "One of the allowed types"
922
+ },
923
+ "default": {
924
+ "oneOf": [
925
+ {
926
+ "type": "object",
927
+ "properties": {
928
+ "meta": {
929
+ "type": "object",
930
+ "description": "any configuration object"
931
+ },
932
+ "actions": {
933
+ "type": "array",
934
+ "items": {
935
+ "oneOf": [
936
+ {
937
+ "type": "string"
938
+ },
939
+ {
940
+ "type": "object",
941
+ "description": "false configuration object"
942
+ },
943
+ {
944
+ "type": "object",
945
+ "properties": {
946
+ "clientProps": {
947
+ "oneOf": [
948
+ {
949
+ "type": "object",
950
+ "description": "object configuration object"
951
+ },
952
+ {
953
+ "type": "object",
954
+ "properties": {}
955
+ }
956
+ ],
957
+ "description": "One of the allowed types"
958
+ },
959
+ "exportName": {
960
+ "type": "string"
961
+ },
962
+ "path": {
963
+ "type": "string"
964
+ },
965
+ "serverProps": {
966
+ "oneOf": [
967
+ {
968
+ "type": "object",
969
+ "description": "object configuration object"
970
+ },
971
+ {
972
+ "type": "string",
973
+ "description": "String value"
974
+ }
975
+ ],
976
+ "description": "One of the allowed types"
977
+ }
978
+ },
979
+ "required": [
980
+ "path"
981
+ ]
982
+ }
983
+ ],
984
+ "description": "One of the allowed types"
985
+ }
986
+ }
987
+ }
988
+ },
989
+ {
990
+ "type": "object",
991
+ "properties": {
992
+ "meta": {
993
+ "type": "object",
994
+ "description": "any configuration object"
995
+ },
996
+ "Component": {
997
+ "oneOf": [
998
+ {
999
+ "type": "string"
1000
+ },
1001
+ {
1002
+ "type": "object",
1003
+ "description": "false configuration object"
1004
+ },
1005
+ {
1006
+ "type": "object",
1007
+ "properties": {
1008
+ "clientProps": {
1009
+ "oneOf": [
1010
+ {
1011
+ "type": "object",
1012
+ "description": "object configuration object"
1013
+ },
1014
+ {
1015
+ "type": "object",
1016
+ "properties": {}
1017
+ }
1018
+ ],
1019
+ "description": "One of the allowed types"
1020
+ },
1021
+ "exportName": {
1022
+ "type": "string"
1023
+ },
1024
+ "path": {
1025
+ "type": "string"
1026
+ },
1027
+ "serverProps": {
1028
+ "oneOf": [
1029
+ {
1030
+ "type": "object",
1031
+ "description": "object configuration object"
1032
+ },
1033
+ {
1034
+ "type": "object",
1035
+ "description": "Payload.DocumentViewServerProps configuration object"
1036
+ }
1037
+ ],
1038
+ "description": "One of the allowed types"
1039
+ }
1040
+ },
1041
+ "required": [
1042
+ "path"
1043
+ ]
1044
+ }
1045
+ ],
1046
+ "description": "One of the allowed types"
1047
+ },
1048
+ "path": {
1049
+ "type": "string"
1050
+ }
1051
+ }
1052
+ },
1053
+ {
1054
+ "type": "object",
1055
+ "properties": {
1056
+ "meta": {
1057
+ "type": "object",
1058
+ "description": "any configuration object"
1059
+ },
1060
+ "path": {
1061
+ "type": "string"
1062
+ },
1063
+ "tab": {
1064
+ "type": "object",
1065
+ "properties": {
1066
+ "Component": {
1067
+ "oneOf": [
1068
+ {
1069
+ "type": "string"
1070
+ },
1071
+ {
1072
+ "type": "object",
1073
+ "description": "false configuration object"
1074
+ },
1075
+ {
1076
+ "type": "object",
1077
+ "properties": {
1078
+ "clientProps": {
1079
+ "oneOf": [
1080
+ {
1081
+ "type": "object",
1082
+ "description": "object configuration object"
1083
+ },
1084
+ {
1085
+ "type": "object",
1086
+ "properties": {}
1087
+ }
1088
+ ],
1089
+ "description": "One of the allowed types"
1090
+ },
1091
+ "exportName": {
1092
+ "type": "string"
1093
+ },
1094
+ "path": {
1095
+ "type": "string"
1096
+ },
1097
+ "serverProps": {
1098
+ "oneOf": [
1099
+ {
1100
+ "type": "object",
1101
+ "description": "object configuration object"
1102
+ },
1103
+ {
1104
+ "type": "object",
1105
+ "properties": {
1106
+ "path": {
1107
+ "type": "string"
1108
+ }
1109
+ },
1110
+ "required": [
1111
+ "path"
1112
+ ]
1113
+ }
1114
+ ],
1115
+ "description": "One of the allowed types"
1116
+ }
1117
+ },
1118
+ "required": [
1119
+ "path"
1120
+ ]
1121
+ }
1122
+ ],
1123
+ "description": "One of the allowed types"
1124
+ },
1125
+ "condition": {
1126
+ "type": "string",
1127
+ "description": "Function expression (e.g., \"({ req }) => req.user.role === 'admin'\")"
1128
+ },
1129
+ "href": {
1130
+ "oneOf": [
1131
+ {
1132
+ "type": "string"
1133
+ },
1134
+ {
1135
+ "type": "object",
1136
+ "properties": {}
1137
+ }
1138
+ ],
1139
+ "description": "One of the allowed types"
1140
+ },
1141
+ "isActive": {
1142
+ "oneOf": [
1143
+ {
1144
+ "type": "object",
1145
+ "description": "false configuration object"
1146
+ },
1147
+ {
1148
+ "type": "object",
1149
+ "description": "true configuration object"
1150
+ },
1151
+ {
1152
+ "type": "object",
1153
+ "properties": {}
1154
+ }
1155
+ ],
1156
+ "description": "One of the allowed types"
1157
+ },
1158
+ "label": {
1159
+ "oneOf": [
1160
+ {
1161
+ "type": "string"
1162
+ },
1163
+ {
1164
+ "type": "object",
1165
+ "properties": {}
1166
+ }
1167
+ ],
1168
+ "description": "One of the allowed types"
1169
+ },
1170
+ "newTab": {
1171
+ "type": "boolean"
1172
+ },
1173
+ "Pill": {
1174
+ "oneOf": [
1175
+ {
1176
+ "type": "string"
1177
+ },
1178
+ {
1179
+ "type": "object",
1180
+ "description": "false configuration object"
1181
+ },
1182
+ {
1183
+ "type": "object",
1184
+ "properties": {
1185
+ "clientProps": {
1186
+ "oneOf": [
1187
+ {
1188
+ "type": "object",
1189
+ "description": "object configuration object"
1190
+ },
1191
+ {
1192
+ "type": "object",
1193
+ "properties": {}
1194
+ }
1195
+ ],
1196
+ "description": "One of the allowed types"
1197
+ },
1198
+ "exportName": {
1199
+ "type": "string"
1200
+ },
1201
+ "path": {
1202
+ "type": "string"
1203
+ },
1204
+ "serverProps": {
1205
+ "oneOf": [
1206
+ {
1207
+ "type": "object",
1208
+ "description": "object configuration object"
1209
+ },
1210
+ {
1211
+ "type": "object",
1212
+ "properties": {}
1213
+ }
1214
+ ],
1215
+ "description": "One of the allowed types"
1216
+ }
1217
+ },
1218
+ "required": [
1219
+ "path"
1220
+ ]
1221
+ }
1222
+ ],
1223
+ "description": "One of the allowed types"
1224
+ }
1225
+ }
1226
+ }
1227
+ }
1228
+ }
1229
+ ],
1230
+ "description": "One of the allowed types"
1231
+ },
1232
+ "livePreview": {
1233
+ "oneOf": [
1234
+ {
1235
+ "type": "object",
1236
+ "properties": {
1237
+ "meta": {
1238
+ "type": "object",
1239
+ "description": "any configuration object"
1240
+ },
1241
+ "actions": {
1242
+ "type": "array",
1243
+ "items": {
1244
+ "oneOf": [
1245
+ {
1246
+ "type": "string"
1247
+ },
1248
+ {
1249
+ "type": "object",
1250
+ "description": "false configuration object"
1251
+ },
1252
+ {
1253
+ "type": "object",
1254
+ "properties": {
1255
+ "clientProps": {
1256
+ "oneOf": [
1257
+ {
1258
+ "type": "object",
1259
+ "description": "object configuration object"
1260
+ },
1261
+ {
1262
+ "type": "object",
1263
+ "properties": {}
1264
+ }
1265
+ ],
1266
+ "description": "One of the allowed types"
1267
+ },
1268
+ "exportName": {
1269
+ "type": "string"
1270
+ },
1271
+ "path": {
1272
+ "type": "string"
1273
+ },
1274
+ "serverProps": {
1275
+ "oneOf": [
1276
+ {
1277
+ "type": "object",
1278
+ "description": "object configuration object"
1279
+ },
1280
+ {
1281
+ "type": "string",
1282
+ "description": "String value"
1283
+ }
1284
+ ],
1285
+ "description": "One of the allowed types"
1286
+ }
1287
+ },
1288
+ "required": [
1289
+ "path"
1290
+ ]
1291
+ }
1292
+ ],
1293
+ "description": "One of the allowed types"
1294
+ }
1295
+ }
1296
+ }
1297
+ },
1298
+ {
1299
+ "type": "object",
1300
+ "properties": {
1301
+ "meta": {
1302
+ "type": "object",
1303
+ "description": "any configuration object"
1304
+ },
1305
+ "Component": {
1306
+ "oneOf": [
1307
+ {
1308
+ "type": "string"
1309
+ },
1310
+ {
1311
+ "type": "object",
1312
+ "description": "false configuration object"
1313
+ },
1314
+ {
1315
+ "type": "object",
1316
+ "properties": {
1317
+ "clientProps": {
1318
+ "oneOf": [
1319
+ {
1320
+ "type": "object",
1321
+ "description": "object configuration object"
1322
+ },
1323
+ {
1324
+ "type": "object",
1325
+ "properties": {}
1326
+ }
1327
+ ],
1328
+ "description": "One of the allowed types"
1329
+ },
1330
+ "exportName": {
1331
+ "type": "string"
1332
+ },
1333
+ "path": {
1334
+ "type": "string"
1335
+ },
1336
+ "serverProps": {
1337
+ "oneOf": [
1338
+ {
1339
+ "type": "object",
1340
+ "description": "object configuration object"
1341
+ },
1342
+ {
1343
+ "type": "object",
1344
+ "description": "Payload.DocumentViewServerProps configuration object"
1345
+ }
1346
+ ],
1347
+ "description": "One of the allowed types"
1348
+ }
1349
+ },
1350
+ "required": [
1351
+ "path"
1352
+ ]
1353
+ }
1354
+ ],
1355
+ "description": "One of the allowed types"
1356
+ },
1357
+ "path": {
1358
+ "type": "string"
1359
+ }
1360
+ }
1361
+ },
1362
+ {
1363
+ "type": "object",
1364
+ "properties": {
1365
+ "meta": {
1366
+ "type": "object",
1367
+ "description": "any configuration object"
1368
+ },
1369
+ "path": {
1370
+ "type": "string"
1371
+ },
1372
+ "tab": {
1373
+ "type": "object",
1374
+ "properties": {
1375
+ "Component": {
1376
+ "oneOf": [
1377
+ {
1378
+ "type": "string"
1379
+ },
1380
+ {
1381
+ "type": "object",
1382
+ "description": "false configuration object"
1383
+ },
1384
+ {
1385
+ "type": "object",
1386
+ "properties": {
1387
+ "clientProps": {
1388
+ "oneOf": [
1389
+ {
1390
+ "type": "object",
1391
+ "description": "object configuration object"
1392
+ },
1393
+ {
1394
+ "type": "object",
1395
+ "properties": {}
1396
+ }
1397
+ ],
1398
+ "description": "One of the allowed types"
1399
+ },
1400
+ "exportName": {
1401
+ "type": "string"
1402
+ },
1403
+ "path": {
1404
+ "type": "string"
1405
+ },
1406
+ "serverProps": {
1407
+ "oneOf": [
1408
+ {
1409
+ "type": "object",
1410
+ "description": "object configuration object"
1411
+ },
1412
+ {
1413
+ "type": "object",
1414
+ "properties": {
1415
+ "path": {
1416
+ "type": "string"
1417
+ }
1418
+ },
1419
+ "required": [
1420
+ "path"
1421
+ ]
1422
+ }
1423
+ ],
1424
+ "description": "One of the allowed types"
1425
+ }
1426
+ },
1427
+ "required": [
1428
+ "path"
1429
+ ]
1430
+ }
1431
+ ],
1432
+ "description": "One of the allowed types"
1433
+ },
1434
+ "condition": {
1435
+ "type": "string",
1436
+ "description": "Function expression (e.g., \"({ req }) => req.user.role === 'admin'\")"
1437
+ },
1438
+ "href": {
1439
+ "oneOf": [
1440
+ {
1441
+ "type": "string"
1442
+ },
1443
+ {
1444
+ "type": "object",
1445
+ "properties": {}
1446
+ }
1447
+ ],
1448
+ "description": "One of the allowed types"
1449
+ },
1450
+ "isActive": {
1451
+ "oneOf": [
1452
+ {
1453
+ "type": "object",
1454
+ "description": "false configuration object"
1455
+ },
1456
+ {
1457
+ "type": "object",
1458
+ "description": "true configuration object"
1459
+ },
1460
+ {
1461
+ "type": "object",
1462
+ "properties": {}
1463
+ }
1464
+ ],
1465
+ "description": "One of the allowed types"
1466
+ },
1467
+ "label": {
1468
+ "oneOf": [
1469
+ {
1470
+ "type": "string"
1471
+ },
1472
+ {
1473
+ "type": "object",
1474
+ "properties": {}
1475
+ }
1476
+ ],
1477
+ "description": "One of the allowed types"
1478
+ },
1479
+ "newTab": {
1480
+ "type": "boolean"
1481
+ },
1482
+ "Pill": {
1483
+ "oneOf": [
1484
+ {
1485
+ "type": "string"
1486
+ },
1487
+ {
1488
+ "type": "object",
1489
+ "description": "false configuration object"
1490
+ },
1491
+ {
1492
+ "type": "object",
1493
+ "properties": {
1494
+ "clientProps": {
1495
+ "oneOf": [
1496
+ {
1497
+ "type": "object",
1498
+ "description": "object configuration object"
1499
+ },
1500
+ {
1501
+ "type": "object",
1502
+ "properties": {}
1503
+ }
1504
+ ],
1505
+ "description": "One of the allowed types"
1506
+ },
1507
+ "exportName": {
1508
+ "type": "string"
1509
+ },
1510
+ "path": {
1511
+ "type": "string"
1512
+ },
1513
+ "serverProps": {
1514
+ "oneOf": [
1515
+ {
1516
+ "type": "object",
1517
+ "description": "object configuration object"
1518
+ },
1519
+ {
1520
+ "type": "object",
1521
+ "properties": {}
1522
+ }
1523
+ ],
1524
+ "description": "One of the allowed types"
1525
+ }
1526
+ },
1527
+ "required": [
1528
+ "path"
1529
+ ]
1530
+ }
1531
+ ],
1532
+ "description": "One of the allowed types"
1533
+ }
1534
+ }
1535
+ }
1536
+ }
1537
+ }
1538
+ ],
1539
+ "description": "One of the allowed types"
1540
+ },
1541
+ "root": {
1542
+ "type": "object",
1543
+ "description": "never configuration object"
1544
+ },
1545
+ "version": {
1546
+ "oneOf": [
1547
+ {
1548
+ "type": "object",
1549
+ "properties": {
1550
+ "meta": {
1551
+ "type": "object",
1552
+ "description": "any configuration object"
1553
+ },
1554
+ "actions": {
1555
+ "type": "array",
1556
+ "items": {
1557
+ "oneOf": [
1558
+ {
1559
+ "type": "string"
1560
+ },
1561
+ {
1562
+ "type": "object",
1563
+ "description": "false configuration object"
1564
+ },
1565
+ {
1566
+ "type": "object",
1567
+ "properties": {
1568
+ "clientProps": {
1569
+ "oneOf": [
1570
+ {
1571
+ "type": "object",
1572
+ "description": "object configuration object"
1573
+ },
1574
+ {
1575
+ "type": "object",
1576
+ "properties": {}
1577
+ }
1578
+ ],
1579
+ "description": "One of the allowed types"
1580
+ },
1581
+ "exportName": {
1582
+ "type": "string"
1583
+ },
1584
+ "path": {
1585
+ "type": "string"
1586
+ },
1587
+ "serverProps": {
1588
+ "oneOf": [
1589
+ {
1590
+ "type": "object",
1591
+ "description": "object configuration object"
1592
+ },
1593
+ {
1594
+ "type": "string",
1595
+ "description": "String value"
1596
+ }
1597
+ ],
1598
+ "description": "One of the allowed types"
1599
+ }
1600
+ },
1601
+ "required": [
1602
+ "path"
1603
+ ]
1604
+ }
1605
+ ],
1606
+ "description": "One of the allowed types"
1607
+ }
1608
+ }
1609
+ }
1610
+ },
1611
+ {
1612
+ "type": "object",
1613
+ "properties": {
1614
+ "meta": {
1615
+ "type": "object",
1616
+ "description": "any configuration object"
1617
+ },
1618
+ "Component": {
1619
+ "oneOf": [
1620
+ {
1621
+ "type": "string"
1622
+ },
1623
+ {
1624
+ "type": "object",
1625
+ "description": "false configuration object"
1626
+ },
1627
+ {
1628
+ "type": "object",
1629
+ "properties": {
1630
+ "clientProps": {
1631
+ "oneOf": [
1632
+ {
1633
+ "type": "object",
1634
+ "description": "object configuration object"
1635
+ },
1636
+ {
1637
+ "type": "object",
1638
+ "properties": {}
1639
+ }
1640
+ ],
1641
+ "description": "One of the allowed types"
1642
+ },
1643
+ "exportName": {
1644
+ "type": "string"
1645
+ },
1646
+ "path": {
1647
+ "type": "string"
1648
+ },
1649
+ "serverProps": {
1650
+ "oneOf": [
1651
+ {
1652
+ "type": "object",
1653
+ "description": "object configuration object"
1654
+ },
1655
+ {
1656
+ "type": "object",
1657
+ "description": "Payload.DocumentViewServerProps configuration object"
1658
+ }
1659
+ ],
1660
+ "description": "One of the allowed types"
1661
+ }
1662
+ },
1663
+ "required": [
1664
+ "path"
1665
+ ]
1666
+ }
1667
+ ],
1668
+ "description": "One of the allowed types"
1669
+ },
1670
+ "path": {
1671
+ "type": "string"
1672
+ }
1673
+ }
1674
+ },
1675
+ {
1676
+ "type": "object",
1677
+ "properties": {
1678
+ "meta": {
1679
+ "type": "object",
1680
+ "description": "any configuration object"
1681
+ },
1682
+ "path": {
1683
+ "type": "string"
1684
+ },
1685
+ "tab": {
1686
+ "type": "object",
1687
+ "properties": {
1688
+ "Component": {
1689
+ "oneOf": [
1690
+ {
1691
+ "type": "string"
1692
+ },
1693
+ {
1694
+ "type": "object",
1695
+ "description": "false configuration object"
1696
+ },
1697
+ {
1698
+ "type": "object",
1699
+ "properties": {
1700
+ "clientProps": {
1701
+ "oneOf": [
1702
+ {
1703
+ "type": "object",
1704
+ "description": "object configuration object"
1705
+ },
1706
+ {
1707
+ "type": "object",
1708
+ "properties": {}
1709
+ }
1710
+ ],
1711
+ "description": "One of the allowed types"
1712
+ },
1713
+ "exportName": {
1714
+ "type": "string"
1715
+ },
1716
+ "path": {
1717
+ "type": "string"
1718
+ },
1719
+ "serverProps": {
1720
+ "oneOf": [
1721
+ {
1722
+ "type": "object",
1723
+ "description": "object configuration object"
1724
+ },
1725
+ {
1726
+ "type": "object",
1727
+ "properties": {
1728
+ "path": {
1729
+ "type": "string"
1730
+ }
1731
+ },
1732
+ "required": [
1733
+ "path"
1734
+ ]
1735
+ }
1736
+ ],
1737
+ "description": "One of the allowed types"
1738
+ }
1739
+ },
1740
+ "required": [
1741
+ "path"
1742
+ ]
1743
+ }
1744
+ ],
1745
+ "description": "One of the allowed types"
1746
+ },
1747
+ "condition": {
1748
+ "type": "string",
1749
+ "description": "Function expression (e.g., \"({ req }) => req.user.role === 'admin'\")"
1750
+ },
1751
+ "href": {
1752
+ "oneOf": [
1753
+ {
1754
+ "type": "string"
1755
+ },
1756
+ {
1757
+ "type": "object",
1758
+ "properties": {}
1759
+ }
1760
+ ],
1761
+ "description": "One of the allowed types"
1762
+ },
1763
+ "isActive": {
1764
+ "oneOf": [
1765
+ {
1766
+ "type": "object",
1767
+ "description": "false configuration object"
1768
+ },
1769
+ {
1770
+ "type": "object",
1771
+ "description": "true configuration object"
1772
+ },
1773
+ {
1774
+ "type": "object",
1775
+ "properties": {}
1776
+ }
1777
+ ],
1778
+ "description": "One of the allowed types"
1779
+ },
1780
+ "label": {
1781
+ "oneOf": [
1782
+ {
1783
+ "type": "string"
1784
+ },
1785
+ {
1786
+ "type": "object",
1787
+ "properties": {}
1788
+ }
1789
+ ],
1790
+ "description": "One of the allowed types"
1791
+ },
1792
+ "newTab": {
1793
+ "type": "boolean"
1794
+ },
1795
+ "Pill": {
1796
+ "oneOf": [
1797
+ {
1798
+ "type": "string"
1799
+ },
1800
+ {
1801
+ "type": "object",
1802
+ "description": "false configuration object"
1803
+ },
1804
+ {
1805
+ "type": "object",
1806
+ "properties": {
1807
+ "clientProps": {
1808
+ "oneOf": [
1809
+ {
1810
+ "type": "object",
1811
+ "description": "object configuration object"
1812
+ },
1813
+ {
1814
+ "type": "object",
1815
+ "properties": {}
1816
+ }
1817
+ ],
1818
+ "description": "One of the allowed types"
1819
+ },
1820
+ "exportName": {
1821
+ "type": "string"
1822
+ },
1823
+ "path": {
1824
+ "type": "string"
1825
+ },
1826
+ "serverProps": {
1827
+ "oneOf": [
1828
+ {
1829
+ "type": "object",
1830
+ "description": "object configuration object"
1831
+ },
1832
+ {
1833
+ "type": "object",
1834
+ "properties": {}
1835
+ }
1836
+ ],
1837
+ "description": "One of the allowed types"
1838
+ }
1839
+ },
1840
+ "required": [
1841
+ "path"
1842
+ ]
1843
+ }
1844
+ ],
1845
+ "description": "One of the allowed types"
1846
+ }
1847
+ }
1848
+ }
1849
+ }
1850
+ }
1851
+ ],
1852
+ "description": "One of the allowed types"
1853
+ },
1854
+ "versions": {
1855
+ "oneOf": [
1856
+ {
1857
+ "type": "object",
1858
+ "properties": {
1859
+ "meta": {
1860
+ "type": "object",
1861
+ "description": "any configuration object"
1862
+ },
1863
+ "actions": {
1864
+ "type": "array",
1865
+ "items": {
1866
+ "oneOf": [
1867
+ {
1868
+ "type": "string"
1869
+ },
1870
+ {
1871
+ "type": "object",
1872
+ "description": "false configuration object"
1873
+ },
1874
+ {
1875
+ "type": "object",
1876
+ "properties": {
1877
+ "clientProps": {
1878
+ "oneOf": [
1879
+ {
1880
+ "type": "object",
1881
+ "description": "object configuration object"
1882
+ },
1883
+ {
1884
+ "type": "object",
1885
+ "properties": {}
1886
+ }
1887
+ ],
1888
+ "description": "One of the allowed types"
1889
+ },
1890
+ "exportName": {
1891
+ "type": "string"
1892
+ },
1893
+ "path": {
1894
+ "type": "string"
1895
+ },
1896
+ "serverProps": {
1897
+ "oneOf": [
1898
+ {
1899
+ "type": "object",
1900
+ "description": "object configuration object"
1901
+ },
1902
+ {
1903
+ "type": "string",
1904
+ "description": "String value"
1905
+ }
1906
+ ],
1907
+ "description": "One of the allowed types"
1908
+ }
1909
+ },
1910
+ "required": [
1911
+ "path"
1912
+ ]
1913
+ }
1914
+ ],
1915
+ "description": "One of the allowed types"
1916
+ }
1917
+ }
1918
+ }
1919
+ },
1920
+ {
1921
+ "type": "object",
1922
+ "properties": {
1923
+ "meta": {
1924
+ "type": "object",
1925
+ "description": "any configuration object"
1926
+ },
1927
+ "Component": {
1928
+ "oneOf": [
1929
+ {
1930
+ "type": "string"
1931
+ },
1932
+ {
1933
+ "type": "object",
1934
+ "description": "false configuration object"
1935
+ },
1936
+ {
1937
+ "type": "object",
1938
+ "properties": {
1939
+ "clientProps": {
1940
+ "oneOf": [
1941
+ {
1942
+ "type": "object",
1943
+ "description": "object configuration object"
1944
+ },
1945
+ {
1946
+ "type": "object",
1947
+ "properties": {}
1948
+ }
1949
+ ],
1950
+ "description": "One of the allowed types"
1951
+ },
1952
+ "exportName": {
1953
+ "type": "string"
1954
+ },
1955
+ "path": {
1956
+ "type": "string"
1957
+ },
1958
+ "serverProps": {
1959
+ "oneOf": [
1960
+ {
1961
+ "type": "object",
1962
+ "description": "object configuration object"
1963
+ },
1964
+ {
1965
+ "type": "object",
1966
+ "description": "Payload.DocumentViewServerProps configuration object"
1967
+ }
1968
+ ],
1969
+ "description": "One of the allowed types"
1970
+ }
1971
+ },
1972
+ "required": [
1973
+ "path"
1974
+ ]
1975
+ }
1976
+ ],
1977
+ "description": "One of the allowed types"
1978
+ },
1979
+ "path": {
1980
+ "type": "string"
1981
+ }
1982
+ }
1983
+ },
1984
+ {
1985
+ "type": "object",
1986
+ "properties": {
1987
+ "meta": {
1988
+ "type": "object",
1989
+ "description": "any configuration object"
1990
+ },
1991
+ "path": {
1992
+ "type": "string"
1993
+ },
1994
+ "tab": {
1995
+ "type": "object",
1996
+ "properties": {
1997
+ "Component": {
1998
+ "oneOf": [
1999
+ {
2000
+ "type": "string"
2001
+ },
2002
+ {
2003
+ "type": "object",
2004
+ "description": "false configuration object"
2005
+ },
2006
+ {
2007
+ "type": "object",
2008
+ "properties": {
2009
+ "clientProps": {
2010
+ "oneOf": [
2011
+ {
2012
+ "type": "object",
2013
+ "description": "object configuration object"
2014
+ },
2015
+ {
2016
+ "type": "object",
2017
+ "properties": {}
2018
+ }
2019
+ ],
2020
+ "description": "One of the allowed types"
2021
+ },
2022
+ "exportName": {
2023
+ "type": "string"
2024
+ },
2025
+ "path": {
2026
+ "type": "string"
2027
+ },
2028
+ "serverProps": {
2029
+ "oneOf": [
2030
+ {
2031
+ "type": "object",
2032
+ "description": "object configuration object"
2033
+ },
2034
+ {
2035
+ "type": "object",
2036
+ "properties": {
2037
+ "path": {
2038
+ "type": "string"
2039
+ }
2040
+ },
2041
+ "required": [
2042
+ "path"
2043
+ ]
2044
+ }
2045
+ ],
2046
+ "description": "One of the allowed types"
2047
+ }
2048
+ },
2049
+ "required": [
2050
+ "path"
2051
+ ]
2052
+ }
2053
+ ],
2054
+ "description": "One of the allowed types"
2055
+ },
2056
+ "condition": {
2057
+ "type": "string",
2058
+ "description": "Function expression (e.g., \"({ req }) => req.user.role === 'admin'\")"
2059
+ },
2060
+ "href": {
2061
+ "oneOf": [
2062
+ {
2063
+ "type": "string"
2064
+ },
2065
+ {
2066
+ "type": "object",
2067
+ "properties": {}
2068
+ }
2069
+ ],
2070
+ "description": "One of the allowed types"
2071
+ },
2072
+ "isActive": {
2073
+ "oneOf": [
2074
+ {
2075
+ "type": "object",
2076
+ "description": "false configuration object"
2077
+ },
2078
+ {
2079
+ "type": "object",
2080
+ "description": "true configuration object"
2081
+ },
2082
+ {
2083
+ "type": "object",
2084
+ "properties": {}
2085
+ }
2086
+ ],
2087
+ "description": "One of the allowed types"
2088
+ },
2089
+ "label": {
2090
+ "oneOf": [
2091
+ {
2092
+ "type": "string"
2093
+ },
2094
+ {
2095
+ "type": "object",
2096
+ "properties": {}
2097
+ }
2098
+ ],
2099
+ "description": "One of the allowed types"
2100
+ },
2101
+ "newTab": {
2102
+ "type": "boolean"
2103
+ },
2104
+ "Pill": {
2105
+ "oneOf": [
2106
+ {
2107
+ "type": "string"
2108
+ },
2109
+ {
2110
+ "type": "object",
2111
+ "description": "false configuration object"
2112
+ },
2113
+ {
2114
+ "type": "object",
2115
+ "properties": {
2116
+ "clientProps": {
2117
+ "oneOf": [
2118
+ {
2119
+ "type": "object",
2120
+ "description": "object configuration object"
2121
+ },
2122
+ {
2123
+ "type": "object",
2124
+ "properties": {}
2125
+ }
2126
+ ],
2127
+ "description": "One of the allowed types"
2128
+ },
2129
+ "exportName": {
2130
+ "type": "string"
2131
+ },
2132
+ "path": {
2133
+ "type": "string"
2134
+ },
2135
+ "serverProps": {
2136
+ "oneOf": [
2137
+ {
2138
+ "type": "object",
2139
+ "description": "object configuration object"
2140
+ },
2141
+ {
2142
+ "type": "object",
2143
+ "properties": {}
2144
+ }
2145
+ ],
2146
+ "description": "One of the allowed types"
2147
+ }
2148
+ },
2149
+ "required": [
2150
+ "path"
2151
+ ]
2152
+ }
2153
+ ],
2154
+ "description": "One of the allowed types"
2155
+ }
2156
+ }
2157
+ }
2158
+ }
2159
+ }
2160
+ ],
2161
+ "description": "One of the allowed types"
2162
+ }
2163
+ }
2164
+ },
2165
+ {
2166
+ "type": "object",
2167
+ "properties": {
2168
+ "api": {
2169
+ "type": "object",
2170
+ "description": "never configuration object"
2171
+ },
2172
+ "default": {
2173
+ "type": "object",
2174
+ "description": "never configuration object"
2175
+ },
2176
+ "livePreview": {
2177
+ "type": "object",
2178
+ "description": "never configuration object"
2179
+ },
2180
+ "root": {
2181
+ "oneOf": [
2182
+ {
2183
+ "type": "object",
2184
+ "properties": {
2185
+ "meta": {
2186
+ "type": "object",
2187
+ "description": "any configuration object"
2188
+ },
2189
+ "actions": {
2190
+ "type": "array",
2191
+ "items": {
2192
+ "oneOf": [
2193
+ {
2194
+ "type": "string"
2195
+ },
2196
+ {
2197
+ "type": "object",
2198
+ "description": "false configuration object"
2199
+ },
2200
+ {
2201
+ "type": "object",
2202
+ "properties": {
2203
+ "clientProps": {
2204
+ "oneOf": [
2205
+ {
2206
+ "type": "object",
2207
+ "description": "object configuration object"
2208
+ },
2209
+ {
2210
+ "type": "object",
2211
+ "properties": {}
2212
+ }
2213
+ ],
2214
+ "description": "One of the allowed types"
2215
+ },
2216
+ "exportName": {
2217
+ "type": "string"
2218
+ },
2219
+ "path": {
2220
+ "type": "string"
2221
+ },
2222
+ "serverProps": {
2223
+ "oneOf": [
2224
+ {
2225
+ "type": "object",
2226
+ "description": "object configuration object"
2227
+ },
2228
+ {
2229
+ "type": "string",
2230
+ "description": "String value"
2231
+ }
2232
+ ],
2233
+ "description": "One of the allowed types"
2234
+ }
2235
+ },
2236
+ "required": [
2237
+ "path"
2238
+ ]
2239
+ }
2240
+ ],
2241
+ "description": "One of the allowed types"
2242
+ }
2243
+ }
2244
+ }
2245
+ },
2246
+ {
2247
+ "type": "object",
2248
+ "properties": {
2249
+ "meta": {
2250
+ "type": "object",
2251
+ "description": "any configuration object"
2252
+ },
2253
+ "Component": {
2254
+ "oneOf": [
2255
+ {
2256
+ "type": "string"
2257
+ },
2258
+ {
2259
+ "type": "object",
2260
+ "description": "false configuration object"
2261
+ },
2262
+ {
2263
+ "type": "object",
2264
+ "properties": {
2265
+ "clientProps": {
2266
+ "oneOf": [
2267
+ {
2268
+ "type": "object",
2269
+ "description": "object configuration object"
2270
+ },
2271
+ {
2272
+ "type": "object",
2273
+ "properties": {}
2274
+ }
2275
+ ],
2276
+ "description": "One of the allowed types"
2277
+ },
2278
+ "exportName": {
2279
+ "type": "string"
2280
+ },
2281
+ "path": {
2282
+ "type": "string"
2283
+ },
2284
+ "serverProps": {
2285
+ "oneOf": [
2286
+ {
2287
+ "type": "object",
2288
+ "description": "object configuration object"
2289
+ },
2290
+ {
2291
+ "type": "object",
2292
+ "description": "Payload.DocumentViewServerProps configuration object"
2293
+ }
2294
+ ],
2295
+ "description": "One of the allowed types"
2296
+ }
2297
+ },
2298
+ "required": [
2299
+ "path"
2300
+ ]
2301
+ }
2302
+ ],
2303
+ "description": "One of the allowed types"
2304
+ },
2305
+ "path": {
2306
+ "type": "string"
2307
+ }
2308
+ }
2309
+ },
2310
+ {
2311
+ "type": "object",
2312
+ "properties": {
2313
+ "meta": {
2314
+ "type": "object",
2315
+ "description": "any configuration object"
2316
+ },
2317
+ "path": {
2318
+ "type": "string"
2319
+ },
2320
+ "tab": {
2321
+ "type": "object",
2322
+ "properties": {
2323
+ "Component": {
2324
+ "oneOf": [
2325
+ {
2326
+ "type": "string"
2327
+ },
2328
+ {
2329
+ "type": "object",
2330
+ "description": "false configuration object"
2331
+ },
2332
+ {
2333
+ "type": "object",
2334
+ "properties": {
2335
+ "clientProps": {
2336
+ "oneOf": [
2337
+ {
2338
+ "type": "object",
2339
+ "description": "object configuration object"
2340
+ },
2341
+ {
2342
+ "type": "object",
2343
+ "properties": {}
2344
+ }
2345
+ ],
2346
+ "description": "One of the allowed types"
2347
+ },
2348
+ "exportName": {
2349
+ "type": "string"
2350
+ },
2351
+ "path": {
2352
+ "type": "string"
2353
+ },
2354
+ "serverProps": {
2355
+ "oneOf": [
2356
+ {
2357
+ "type": "object",
2358
+ "description": "object configuration object"
2359
+ },
2360
+ {
2361
+ "type": "object",
2362
+ "properties": {
2363
+ "path": {
2364
+ "type": "string"
2365
+ }
2366
+ },
2367
+ "required": [
2368
+ "path"
2369
+ ]
2370
+ }
2371
+ ],
2372
+ "description": "One of the allowed types"
2373
+ }
2374
+ },
2375
+ "required": [
2376
+ "path"
2377
+ ]
2378
+ }
2379
+ ],
2380
+ "description": "One of the allowed types"
2381
+ },
2382
+ "condition": {
2383
+ "type": "string",
2384
+ "description": "Function expression (e.g., \"({ req }) => req.user.role === 'admin'\")"
2385
+ },
2386
+ "href": {
2387
+ "oneOf": [
2388
+ {
2389
+ "type": "string"
2390
+ },
2391
+ {
2392
+ "type": "object",
2393
+ "properties": {}
2394
+ }
2395
+ ],
2396
+ "description": "One of the allowed types"
2397
+ },
2398
+ "isActive": {
2399
+ "oneOf": [
2400
+ {
2401
+ "type": "object",
2402
+ "description": "false configuration object"
2403
+ },
2404
+ {
2405
+ "type": "object",
2406
+ "description": "true configuration object"
2407
+ },
2408
+ {
2409
+ "type": "object",
2410
+ "properties": {}
2411
+ }
2412
+ ],
2413
+ "description": "One of the allowed types"
2414
+ },
2415
+ "label": {
2416
+ "oneOf": [
2417
+ {
2418
+ "type": "string"
2419
+ },
2420
+ {
2421
+ "type": "object",
2422
+ "properties": {}
2423
+ }
2424
+ ],
2425
+ "description": "One of the allowed types"
2426
+ },
2427
+ "newTab": {
2428
+ "type": "boolean"
2429
+ },
2430
+ "Pill": {
2431
+ "oneOf": [
2432
+ {
2433
+ "type": "string"
2434
+ },
2435
+ {
2436
+ "type": "object",
2437
+ "description": "false configuration object"
2438
+ },
2439
+ {
2440
+ "type": "object",
2441
+ "properties": {
2442
+ "clientProps": {
2443
+ "oneOf": [
2444
+ {
2445
+ "type": "object",
2446
+ "description": "object configuration object"
2447
+ },
2448
+ {
2449
+ "type": "object",
2450
+ "properties": {}
2451
+ }
2452
+ ],
2453
+ "description": "One of the allowed types"
2454
+ },
2455
+ "exportName": {
2456
+ "type": "string"
2457
+ },
2458
+ "path": {
2459
+ "type": "string"
2460
+ },
2461
+ "serverProps": {
2462
+ "oneOf": [
2463
+ {
2464
+ "type": "object",
2465
+ "description": "object configuration object"
2466
+ },
2467
+ {
2468
+ "type": "object",
2469
+ "properties": {}
2470
+ }
2471
+ ],
2472
+ "description": "One of the allowed types"
2473
+ }
2474
+ },
2475
+ "required": [
2476
+ "path"
2477
+ ]
2478
+ }
2479
+ ],
2480
+ "description": "One of the allowed types"
2481
+ }
2482
+ }
2483
+ }
2484
+ }
2485
+ }
2486
+ ],
2487
+ "description": "One of the allowed types"
2488
+ },
2489
+ "version": {
2490
+ "type": "object",
2491
+ "description": "never configuration object"
2492
+ },
2493
+ "versions": {
2494
+ "type": "object",
2495
+ "description": "never configuration object"
2496
+ }
2497
+ },
2498
+ "required": [
2499
+ "root"
2500
+ ]
2501
+ }
2502
+ ],
2503
+ "description": "One of the allowed types"
2504
+ },
2505
+ "list": {
2506
+ "type": "object",
2507
+ "properties": {
2508
+ "actions": {
2509
+ "type": "array",
2510
+ "items": {
2511
+ "oneOf": [
2512
+ {
2513
+ "type": "string"
2514
+ },
2515
+ {
2516
+ "type": "object",
2517
+ "description": "false configuration object"
2518
+ },
2519
+ {
2520
+ "type": "object",
2521
+ "properties": {
2522
+ "clientProps": {
2523
+ "oneOf": [
2524
+ {
2525
+ "type": "object",
2526
+ "description": "object configuration object"
2527
+ },
2528
+ {
2529
+ "type": "object",
2530
+ "properties": {}
2531
+ }
2532
+ ],
2533
+ "description": "One of the allowed types"
2534
+ },
2535
+ "exportName": {
2536
+ "type": "string"
2537
+ },
2538
+ "path": {
2539
+ "type": "string"
2540
+ },
2541
+ "serverProps": {
2542
+ "oneOf": [
2543
+ {
2544
+ "type": "object",
2545
+ "description": "object configuration object"
2546
+ },
2547
+ {
2548
+ "type": "string",
2549
+ "description": "String value"
2550
+ }
2551
+ ],
2552
+ "description": "One of the allowed types"
2553
+ }
2554
+ },
2555
+ "required": [
2556
+ "path"
2557
+ ]
2558
+ }
2559
+ ],
2560
+ "description": "One of the allowed types"
2561
+ }
2562
+ },
2563
+ "Component": {
2564
+ "oneOf": [
2565
+ {
2566
+ "type": "string"
2567
+ },
2568
+ {
2569
+ "type": "object",
2570
+ "description": "false configuration object"
2571
+ },
2572
+ {
2573
+ "type": "object",
2574
+ "properties": {
2575
+ "clientProps": {
2576
+ "oneOf": [
2577
+ {
2578
+ "type": "object",
2579
+ "description": "object configuration object"
2580
+ },
2581
+ {
2582
+ "type": "object",
2583
+ "properties": {}
2584
+ }
2585
+ ],
2586
+ "description": "One of the allowed types"
2587
+ },
2588
+ "exportName": {
2589
+ "type": "string"
2590
+ },
2591
+ "path": {
2592
+ "type": "string"
2593
+ },
2594
+ "serverProps": {
2595
+ "oneOf": [
2596
+ {
2597
+ "type": "object",
2598
+ "description": "object configuration object"
2599
+ },
2600
+ {
2601
+ "type": "object",
2602
+ "properties": {}
2603
+ }
2604
+ ],
2605
+ "description": "One of the allowed types"
2606
+ }
2607
+ },
2608
+ "required": [
2609
+ "path"
2610
+ ]
2611
+ }
2612
+ ],
2613
+ "description": "One of the allowed types"
2614
+ }
2615
+ }
2616
+ }
2617
+ }
2618
+ }
2619
+ }
2620
+ },
2621
+ "custom": {
2622
+ "type": "object",
2623
+ "properties": {}
2624
+ },
2625
+ "defaultColumns": {
2626
+ "type": "array",
2627
+ "items": {
2628
+ "type": "string"
2629
+ }
2630
+ },
2631
+ "description": {
2632
+ "oneOf": [
2633
+ {
2634
+ "type": "string"
2635
+ },
2636
+ {
2637
+ "type": "object",
2638
+ "properties": {}
2639
+ },
2640
+ {
2641
+ "type": "object",
2642
+ "properties": {}
2643
+ }
2644
+ ],
2645
+ "description": "One of the allowed types"
2646
+ },
2647
+ "disableCopyToLocale": {
2648
+ "type": "boolean"
2649
+ },
2650
+ "enableRichTextLink": {
2651
+ "type": "boolean"
2652
+ },
2653
+ "enableRichTextRelationship": {
2654
+ "type": "boolean"
2655
+ },
2656
+ "group": {
2657
+ "oneOf": [
2658
+ {
2659
+ "type": "string"
2660
+ },
2661
+ {
2662
+ "type": "object",
2663
+ "description": "false configuration object"
2664
+ },
2665
+ {
2666
+ "type": "object",
2667
+ "properties": {}
2668
+ }
2669
+ ],
2670
+ "description": "One of the allowed types"
2671
+ },
2672
+ "hidden": {
2673
+ "oneOf": [
2674
+ {
2675
+ "type": "object",
2676
+ "description": "false configuration object"
2677
+ },
2678
+ {
2679
+ "type": "object",
2680
+ "description": "true configuration object"
2681
+ },
2682
+ {
2683
+ "type": "object",
2684
+ "properties": {}
2685
+ }
2686
+ ],
2687
+ "description": "One of the allowed types"
2688
+ },
2689
+ "hideAPIURL": {
2690
+ "type": "boolean"
2691
+ },
2692
+ "listSearchableFields": {
2693
+ "type": "array",
2694
+ "items": {
2695
+ "type": "string"
2696
+ }
2697
+ },
2698
+ "livePreview": {
2699
+ "type": "object",
2700
+ "properties": {
2701
+ "breakpoints": {
2702
+ "type": "array",
2703
+ "items": {
2704
+ "type": "object",
2705
+ "properties": {
2706
+ "height": {
2707
+ "oneOf": [
2708
+ {
2709
+ "type": "string",
2710
+ "description": "String value"
2711
+ },
2712
+ {
2713
+ "type": "number",
2714
+ "description": "Numeric value"
2715
+ }
2716
+ ],
2717
+ "description": "String or number value"
2718
+ },
2719
+ "label": {
2720
+ "type": "string"
2721
+ },
2722
+ "name": {
2723
+ "type": "string"
2724
+ },
2725
+ "width": {
2726
+ "oneOf": [
2727
+ {
2728
+ "type": "string",
2729
+ "description": "String value"
2730
+ },
2731
+ {
2732
+ "type": "number",
2733
+ "description": "Numeric value"
2734
+ }
2735
+ ],
2736
+ "description": "String or number value"
2737
+ }
2738
+ },
2739
+ "required": [
2740
+ "height",
2741
+ "label",
2742
+ "name",
2743
+ "width"
2744
+ ]
2745
+ }
2746
+ },
2747
+ "url": {
2748
+ "oneOf": [
2749
+ {
2750
+ "type": "string"
2751
+ },
2752
+ {
2753
+ "type": "object",
2754
+ "properties": {}
2755
+ }
2756
+ ],
2757
+ "description": "One of the allowed types"
2758
+ }
2759
+ }
2760
+ },
2761
+ "meta": {
2762
+ "type": "object",
2763
+ "description": "any configuration object"
2764
+ },
2765
+ "pagination": {
2766
+ "type": "object",
2767
+ "properties": {
2768
+ "defaultLimit": {
2769
+ "type": "number"
2770
+ },
2771
+ "limits": {
2772
+ "type": "array",
2773
+ "items": {
2774
+ "type": "number"
2775
+ }
2776
+ }
2777
+ }
2778
+ },
2779
+ "preview": {
2780
+ "type": "string",
2781
+ "description": "Function expression (e.g., \"({ req }) => req.user.role === 'admin'\")"
2782
+ },
2783
+ "useAsTitle": {
2784
+ "type": "string"
2785
+ }
2786
+ }
2787
+ },
2788
+ "template": "/**\n * Admin UI options for a collection\n */\n{\n // Field to use as the title in the admin UI\n useAsTitle: 'title',\n \n // Default columns to show in the admin UI list view\n defaultColumns: ['title', 'status', 'createdAt'],\n \n // Group collections in the admin UI sidebar\n group: 'Content',\n \n // Custom admin components (requires importing from your components)\n // components: {\n // views: {\n // List: MyCustomListView,\n // },\n // },\n \n // Additional options\n ...{rest}\n}"
2789
+ }