formeo 5.1.3 → 5.2.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.
@@ -1,4 +1,733 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "formData"
3
+ "title": "formData",
4
+ "type": "object",
5
+ "properties": {
6
+ "$schema": {
7
+ "type": "string",
8
+ "pattern": "\\.json$"
9
+ },
10
+ "id": {
11
+ "type": "string",
12
+ "pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?$",
13
+ "description": "Formeo component id: 8-character hex short id or full uuid"
14
+ },
15
+ "stages": {
16
+ "type": "object",
17
+ "propertyNames": {
18
+ "type": "string",
19
+ "pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?$",
20
+ "description": "Formeo component id: 8-character hex short id or full uuid"
21
+ },
22
+ "additionalProperties": {
23
+ "type": "object",
24
+ "properties": {
25
+ "id": {
26
+ "type": "string",
27
+ "pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?$",
28
+ "description": "Formeo component id: 8-character hex short id or full uuid"
29
+ },
30
+ "children": {
31
+ "type": "array",
32
+ "items": {
33
+ "type": "string",
34
+ "pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?$",
35
+ "description": "Formeo component id: 8-character hex short id or full uuid"
36
+ }
37
+ },
38
+ "attrs": {
39
+ "type": "object",
40
+ "propertyNames": {
41
+ "type": "string"
42
+ },
43
+ "additionalProperties": {
44
+ "anyOf": [
45
+ {
46
+ "type": "string"
47
+ },
48
+ {
49
+ "type": "number"
50
+ },
51
+ {
52
+ "type": "boolean"
53
+ },
54
+ {},
55
+ {
56
+ "type": "object",
57
+ "propertyNames": {
58
+ "type": "string"
59
+ },
60
+ "additionalProperties": {
61
+ "type": "string"
62
+ }
63
+ },
64
+ {
65
+ "type": "array",
66
+ "items": {
67
+ "type": "object",
68
+ "properties": {
69
+ "label": {
70
+ "type": "string"
71
+ },
72
+ "value": {
73
+ "type": "string"
74
+ },
75
+ "selected": {
76
+ "type": "boolean"
77
+ }
78
+ },
79
+ "required": [
80
+ "label",
81
+ "value"
82
+ ],
83
+ "additionalProperties": {}
84
+ }
85
+ }
86
+ ]
87
+ }
88
+ },
89
+ "conditions": {
90
+ "type": "array",
91
+ "items": {
92
+ "type": "object",
93
+ "properties": {
94
+ "if": {
95
+ "type": "array",
96
+ "items": {
97
+ "type": "object",
98
+ "properties": {
99
+ "logical": {
100
+ "description": "Joins this clause to the previous one. The editor stores && or ||",
101
+ "type": "string",
102
+ "enum": [
103
+ "&&",
104
+ "||",
105
+ "and",
106
+ "or"
107
+ ]
108
+ },
109
+ "source": {
110
+ "type": "string"
111
+ },
112
+ "sourceProperty": {
113
+ "type": "string"
114
+ },
115
+ "comparison": {
116
+ "type": "string"
117
+ },
118
+ "target": {
119
+ "type": "string"
120
+ },
121
+ "targetProperty": {
122
+ "type": "string"
123
+ }
124
+ },
125
+ "additionalProperties": {}
126
+ }
127
+ },
128
+ "then": {
129
+ "type": "array",
130
+ "items": {
131
+ "type": "object",
132
+ "properties": {
133
+ "target": {
134
+ "type": "string"
135
+ },
136
+ "targetProperty": {
137
+ "type": "string"
138
+ },
139
+ "assignment": {
140
+ "type": "string"
141
+ },
142
+ "value": {
143
+ "type": "string"
144
+ }
145
+ },
146
+ "additionalProperties": {}
147
+ }
148
+ }
149
+ },
150
+ "additionalProperties": {}
151
+ }
152
+ }
153
+ },
154
+ "required": [
155
+ "id",
156
+ "children"
157
+ ],
158
+ "additionalProperties": {}
159
+ },
160
+ "description": "Droppable zones for rows, columns and fields"
161
+ },
162
+ "rows": {
163
+ "type": "object",
164
+ "propertyNames": {
165
+ "type": "string",
166
+ "pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?$",
167
+ "description": "Formeo component id: 8-character hex short id or full uuid"
168
+ },
169
+ "additionalProperties": {
170
+ "type": "object",
171
+ "properties": {
172
+ "id": {
173
+ "type": "string",
174
+ "pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?$",
175
+ "description": "Formeo component id: 8-character hex short id or full uuid"
176
+ },
177
+ "children": {
178
+ "type": "array",
179
+ "items": {
180
+ "type": "string",
181
+ "pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?$",
182
+ "description": "Formeo component id: 8-character hex short id or full uuid"
183
+ }
184
+ },
185
+ "className": {
186
+ "anyOf": [
187
+ {
188
+ "type": "string"
189
+ },
190
+ {
191
+ "type": "array",
192
+ "items": {
193
+ "type": "string"
194
+ }
195
+ }
196
+ ]
197
+ },
198
+ "attrs": {
199
+ "type": "object",
200
+ "propertyNames": {
201
+ "type": "string"
202
+ },
203
+ "additionalProperties": {
204
+ "anyOf": [
205
+ {
206
+ "type": "string"
207
+ },
208
+ {
209
+ "type": "number"
210
+ },
211
+ {
212
+ "type": "boolean"
213
+ },
214
+ {},
215
+ {
216
+ "type": "object",
217
+ "propertyNames": {
218
+ "type": "string"
219
+ },
220
+ "additionalProperties": {
221
+ "type": "string"
222
+ }
223
+ },
224
+ {
225
+ "type": "array",
226
+ "items": {
227
+ "type": "object",
228
+ "properties": {
229
+ "label": {
230
+ "type": "string"
231
+ },
232
+ "value": {
233
+ "type": "string"
234
+ },
235
+ "selected": {
236
+ "type": "boolean"
237
+ }
238
+ },
239
+ "required": [
240
+ "label",
241
+ "value"
242
+ ],
243
+ "additionalProperties": {}
244
+ }
245
+ }
246
+ ]
247
+ }
248
+ },
249
+ "config": {
250
+ "type": "object",
251
+ "properties": {
252
+ "fieldset": {
253
+ "type": "boolean"
254
+ },
255
+ "legend": {
256
+ "type": "string"
257
+ },
258
+ "inputGroup": {
259
+ "type": "boolean"
260
+ }
261
+ },
262
+ "additionalProperties": {}
263
+ },
264
+ "conditions": {
265
+ "type": "array",
266
+ "items": {
267
+ "type": "object",
268
+ "properties": {
269
+ "if": {
270
+ "type": "array",
271
+ "items": {
272
+ "type": "object",
273
+ "properties": {
274
+ "logical": {
275
+ "description": "Joins this clause to the previous one. The editor stores && or ||",
276
+ "type": "string",
277
+ "enum": [
278
+ "&&",
279
+ "||",
280
+ "and",
281
+ "or"
282
+ ]
283
+ },
284
+ "source": {
285
+ "type": "string"
286
+ },
287
+ "sourceProperty": {
288
+ "type": "string"
289
+ },
290
+ "comparison": {
291
+ "type": "string"
292
+ },
293
+ "target": {
294
+ "type": "string"
295
+ },
296
+ "targetProperty": {
297
+ "type": "string"
298
+ }
299
+ },
300
+ "additionalProperties": {}
301
+ }
302
+ },
303
+ "then": {
304
+ "type": "array",
305
+ "items": {
306
+ "type": "object",
307
+ "properties": {
308
+ "target": {
309
+ "type": "string"
310
+ },
311
+ "targetProperty": {
312
+ "type": "string"
313
+ },
314
+ "assignment": {
315
+ "type": "string"
316
+ },
317
+ "value": {
318
+ "type": "string"
319
+ }
320
+ },
321
+ "additionalProperties": {}
322
+ }
323
+ }
324
+ },
325
+ "additionalProperties": {}
326
+ }
327
+ }
328
+ },
329
+ "required": [
330
+ "id",
331
+ "children"
332
+ ],
333
+ "additionalProperties": {}
334
+ },
335
+ "description": "Droppable zones for columns and fields"
336
+ },
337
+ "columns": {
338
+ "type": "object",
339
+ "propertyNames": {
340
+ "type": "string",
341
+ "pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?$",
342
+ "description": "Formeo component id: 8-character hex short id or full uuid"
343
+ },
344
+ "additionalProperties": {
345
+ "type": "object",
346
+ "properties": {
347
+ "id": {
348
+ "type": "string",
349
+ "pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?$",
350
+ "description": "Formeo component id: 8-character hex short id or full uuid"
351
+ },
352
+ "children": {
353
+ "type": "array",
354
+ "items": {
355
+ "type": "string",
356
+ "pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?$",
357
+ "description": "Formeo component id: 8-character hex short id or full uuid"
358
+ }
359
+ },
360
+ "className": {
361
+ "anyOf": [
362
+ {
363
+ "type": "string"
364
+ },
365
+ {
366
+ "type": "array",
367
+ "items": {
368
+ "type": "string"
369
+ }
370
+ }
371
+ ]
372
+ },
373
+ "attrs": {
374
+ "type": "object",
375
+ "propertyNames": {
376
+ "type": "string"
377
+ },
378
+ "additionalProperties": {
379
+ "anyOf": [
380
+ {
381
+ "type": "string"
382
+ },
383
+ {
384
+ "type": "number"
385
+ },
386
+ {
387
+ "type": "boolean"
388
+ },
389
+ {},
390
+ {
391
+ "type": "object",
392
+ "propertyNames": {
393
+ "type": "string"
394
+ },
395
+ "additionalProperties": {
396
+ "type": "string"
397
+ }
398
+ },
399
+ {
400
+ "type": "array",
401
+ "items": {
402
+ "type": "object",
403
+ "properties": {
404
+ "label": {
405
+ "type": "string"
406
+ },
407
+ "value": {
408
+ "type": "string"
409
+ },
410
+ "selected": {
411
+ "type": "boolean"
412
+ }
413
+ },
414
+ "required": [
415
+ "label",
416
+ "value"
417
+ ],
418
+ "additionalProperties": {}
419
+ }
420
+ }
421
+ ]
422
+ }
423
+ },
424
+ "config": {
425
+ "type": "object",
426
+ "properties": {
427
+ "width": {
428
+ "type": "string"
429
+ }
430
+ },
431
+ "additionalProperties": {}
432
+ },
433
+ "conditions": {
434
+ "type": "array",
435
+ "items": {
436
+ "type": "object",
437
+ "properties": {
438
+ "if": {
439
+ "type": "array",
440
+ "items": {
441
+ "type": "object",
442
+ "properties": {
443
+ "logical": {
444
+ "description": "Joins this clause to the previous one. The editor stores && or ||",
445
+ "type": "string",
446
+ "enum": [
447
+ "&&",
448
+ "||",
449
+ "and",
450
+ "or"
451
+ ]
452
+ },
453
+ "source": {
454
+ "type": "string"
455
+ },
456
+ "sourceProperty": {
457
+ "type": "string"
458
+ },
459
+ "comparison": {
460
+ "type": "string"
461
+ },
462
+ "target": {
463
+ "type": "string"
464
+ },
465
+ "targetProperty": {
466
+ "type": "string"
467
+ }
468
+ },
469
+ "additionalProperties": {}
470
+ }
471
+ },
472
+ "then": {
473
+ "type": "array",
474
+ "items": {
475
+ "type": "object",
476
+ "properties": {
477
+ "target": {
478
+ "type": "string"
479
+ },
480
+ "targetProperty": {
481
+ "type": "string"
482
+ },
483
+ "assignment": {
484
+ "type": "string"
485
+ },
486
+ "value": {
487
+ "type": "string"
488
+ }
489
+ },
490
+ "additionalProperties": {}
491
+ }
492
+ }
493
+ },
494
+ "additionalProperties": {}
495
+ }
496
+ }
497
+ },
498
+ "required": [
499
+ "id",
500
+ "children"
501
+ ],
502
+ "additionalProperties": {}
503
+ },
504
+ "description": "Droppable zones for fields"
505
+ },
506
+ "fields": {
507
+ "type": "object",
508
+ "propertyNames": {
509
+ "type": "string",
510
+ "pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?$",
511
+ "description": "Formeo component id: 8-character hex short id or full uuid"
512
+ },
513
+ "additionalProperties": {
514
+ "type": "object",
515
+ "properties": {
516
+ "id": {
517
+ "type": "string",
518
+ "pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?$",
519
+ "description": "Formeo component id: 8-character hex short id or full uuid"
520
+ },
521
+ "tag": {
522
+ "type": "string"
523
+ },
524
+ "attrs": {
525
+ "type": "object",
526
+ "propertyNames": {
527
+ "type": "string"
528
+ },
529
+ "additionalProperties": {
530
+ "anyOf": [
531
+ {
532
+ "type": "string"
533
+ },
534
+ {
535
+ "type": "number"
536
+ },
537
+ {
538
+ "type": "boolean"
539
+ },
540
+ {},
541
+ {
542
+ "type": "object",
543
+ "propertyNames": {
544
+ "type": "string"
545
+ },
546
+ "additionalProperties": {
547
+ "type": "string"
548
+ }
549
+ },
550
+ {
551
+ "type": "array",
552
+ "items": {
553
+ "type": "object",
554
+ "properties": {
555
+ "label": {
556
+ "type": "string"
557
+ },
558
+ "value": {
559
+ "type": "string"
560
+ },
561
+ "selected": {
562
+ "type": "boolean"
563
+ }
564
+ },
565
+ "required": [
566
+ "label",
567
+ "value"
568
+ ],
569
+ "additionalProperties": {}
570
+ }
571
+ }
572
+ ]
573
+ }
574
+ },
575
+ "config": {
576
+ "type": "object",
577
+ "properties": {
578
+ "label": {
579
+ "type": "string"
580
+ },
581
+ "hideLabel": {
582
+ "type": "boolean"
583
+ },
584
+ "editableContent": {
585
+ "type": "boolean"
586
+ },
587
+ "controlId": {
588
+ "type": "string"
589
+ },
590
+ "disabledAttrs": {
591
+ "type": "array",
592
+ "items": {
593
+ "type": "string"
594
+ }
595
+ },
596
+ "lockedAttrs": {
597
+ "type": "array",
598
+ "items": {
599
+ "type": "string"
600
+ }
601
+ }
602
+ },
603
+ "additionalProperties": {}
604
+ },
605
+ "meta": {
606
+ "type": "object",
607
+ "properties": {
608
+ "group": {
609
+ "type": "string"
610
+ },
611
+ "icon": {
612
+ "type": "string"
613
+ },
614
+ "id": {
615
+ "type": "string"
616
+ }
617
+ },
618
+ "additionalProperties": {}
619
+ },
620
+ "content": {},
621
+ "action": {
622
+ "type": "object",
623
+ "properties": {},
624
+ "additionalProperties": {}
625
+ },
626
+ "options": {
627
+ "type": "array",
628
+ "items": {
629
+ "type": "object",
630
+ "properties": {
631
+ "label": {
632
+ "type": "string"
633
+ },
634
+ "value": {
635
+ "type": "string"
636
+ },
637
+ "selected": {
638
+ "type": "boolean"
639
+ },
640
+ "checked": {
641
+ "type": "boolean"
642
+ }
643
+ },
644
+ "required": [
645
+ "label"
646
+ ],
647
+ "additionalProperties": {}
648
+ }
649
+ },
650
+ "conditions": {
651
+ "type": "array",
652
+ "items": {
653
+ "type": "object",
654
+ "properties": {
655
+ "if": {
656
+ "type": "array",
657
+ "items": {
658
+ "type": "object",
659
+ "properties": {
660
+ "logical": {
661
+ "description": "Joins this clause to the previous one. The editor stores && or ||",
662
+ "type": "string",
663
+ "enum": [
664
+ "&&",
665
+ "||",
666
+ "and",
667
+ "or"
668
+ ]
669
+ },
670
+ "source": {
671
+ "type": "string"
672
+ },
673
+ "sourceProperty": {
674
+ "type": "string"
675
+ },
676
+ "comparison": {
677
+ "type": "string"
678
+ },
679
+ "target": {
680
+ "type": "string"
681
+ },
682
+ "targetProperty": {
683
+ "type": "string"
684
+ }
685
+ },
686
+ "additionalProperties": {}
687
+ }
688
+ },
689
+ "then": {
690
+ "type": "array",
691
+ "items": {
692
+ "type": "object",
693
+ "properties": {
694
+ "target": {
695
+ "type": "string"
696
+ },
697
+ "targetProperty": {
698
+ "type": "string"
699
+ },
700
+ "assignment": {
701
+ "type": "string"
702
+ },
703
+ "value": {
704
+ "type": "string"
705
+ }
706
+ },
707
+ "additionalProperties": {}
708
+ }
709
+ }
710
+ },
711
+ "additionalProperties": {}
712
+ }
713
+ }
714
+ },
715
+ "required": [
716
+ "id",
717
+ "tag"
718
+ ],
719
+ "additionalProperties": {}
720
+ },
721
+ "description": "Field and Element definitions"
722
+ }
723
+ },
724
+ "required": [
725
+ "id",
726
+ "stages",
727
+ "rows",
728
+ "columns",
729
+ "fields"
730
+ ],
731
+ "additionalProperties": {},
732
+ "description": "Schema definition for formData"
4
733
  }