@defra/forms-model 3.0.466 → 3.0.468
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.
- package/dist/module/__stubs__/components.js +151 -39
- package/dist/module/__stubs__/components.js.map +1 -1
- package/dist/module/__stubs__/pages.js +10 -19
- package/dist/module/__stubs__/pages.js.map +1 -1
- package/dist/module/form/form-definition/index.js +18 -1
- package/dist/module/form/form-definition/index.js.map +1 -1
- package/dist/module/form/form-definition/types.js +5 -0
- package/dist/module/form/form-definition/types.js.map +1 -1
- package/dist/types/__stubs__/components.d.ts +19 -7
- package/dist/types/__stubs__/components.d.ts.map +1 -1
- package/dist/types/__stubs__/pages.d.ts.map +1 -1
- package/dist/types/form/form-definition/index.d.ts +4 -1
- package/dist/types/form/form-definition/index.d.ts.map +1 -1
- package/dist/types/form/form-definition/types.d.ts +5 -0
- package/dist/types/form/form-definition/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/schemas/form-definition-schema.json +6 -0
- package/schemas/form-definition-v2-schema.json +532 -149
- package/schemas/page-schema-v2.json +527 -149
- package/src/__stubs__/components.ts +190 -44
- package/src/__stubs__/pages.ts +10 -18
- package/src/form/form-definition/index.ts +62 -6
- package/src/form/form-definition/types.ts +6 -0
@@ -163,6 +163,11 @@
|
|
163
163
|
"additionalProperties": false,
|
164
164
|
"title": "Output"
|
165
165
|
},
|
166
|
+
"schema": {
|
167
|
+
"description": "Form schema version to use (2)",
|
168
|
+
"const": 2,
|
169
|
+
"title": "Schema"
|
170
|
+
},
|
166
171
|
"pages": {
|
167
172
|
"type": "array",
|
168
173
|
"description": "Pages schema for V2 forms",
|
@@ -387,178 +392,556 @@
|
|
387
392
|
"title": "Title"
|
388
393
|
},
|
389
394
|
"components": {
|
390
|
-
"type":
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
"
|
395
|
-
"
|
396
|
-
"
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
"
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
"name": {
|
408
|
-
"type": [
|
409
|
-
"array",
|
410
|
-
"boolean",
|
411
|
-
"number",
|
412
|
-
"object",
|
413
|
-
"string",
|
414
|
-
"null"
|
415
|
-
],
|
416
|
-
"oneOf": [
|
417
|
-
{
|
418
|
-
"type": "string",
|
419
|
-
"description": "Name format for display-only components like HTML, Markdown, etc.",
|
420
|
-
"pattern": "^[a-zA-Z]+$",
|
421
|
-
"title": "Display Component Name"
|
422
|
-
},
|
423
|
-
{
|
424
|
-
"type": "string",
|
425
|
-
"description": "Name format for input components that collect user data.",
|
426
|
-
"pattern": "^[a-zA-Z]+$",
|
427
|
-
"title": "Input Component Name"
|
428
|
-
}
|
429
|
-
],
|
430
|
-
"title": "Name",
|
431
|
-
"description": "The name value.",
|
432
|
-
"oneOfTitles": [
|
433
|
-
"Display Component Name",
|
434
|
-
"Input Component Name"
|
435
|
-
]
|
436
|
-
},
|
437
|
-
"title": {
|
438
|
-
"type": [
|
439
|
-
"array",
|
440
|
-
"boolean",
|
441
|
-
"number",
|
442
|
-
"object",
|
443
|
-
"string",
|
444
|
-
"null"
|
445
|
-
],
|
446
|
-
"oneOf": [
|
395
|
+
"type": [
|
396
|
+
"array",
|
397
|
+
"boolean",
|
398
|
+
"number",
|
399
|
+
"object",
|
400
|
+
"string",
|
401
|
+
"null"
|
402
|
+
],
|
403
|
+
"anyOf": [
|
404
|
+
{
|
405
|
+
"type": "array",
|
406
|
+
"description": "Components allowed on Page Upload schema",
|
407
|
+
"uniqueItems": true,
|
408
|
+
"minItems": 1,
|
409
|
+
"maxItems": 2,
|
410
|
+
"items": {
|
411
|
+
"anyOf": [
|
447
412
|
{
|
448
|
-
"type": "
|
449
|
-
"description": "
|
450
|
-
"
|
413
|
+
"type": "object",
|
414
|
+
"description": "Component schema for V2 forms",
|
415
|
+
"properties": {
|
416
|
+
"shortDescription": {
|
417
|
+
"type": "string",
|
418
|
+
"description": "Brief description of the component purpose",
|
419
|
+
"title": "Short Description"
|
420
|
+
},
|
421
|
+
"hint": {
|
422
|
+
"type": "string",
|
423
|
+
"description": "Additional guidance text displayed below the component title",
|
424
|
+
"title": "Hint"
|
425
|
+
},
|
426
|
+
"options": {
|
427
|
+
"type": "object",
|
428
|
+
"description": "Component-specific configuration options",
|
429
|
+
"default": {},
|
430
|
+
"properties": {
|
431
|
+
"rows": {
|
432
|
+
"type": "number",
|
433
|
+
"description": "Number of rows for textarea components",
|
434
|
+
"title": "Rows"
|
435
|
+
},
|
436
|
+
"maxWords": {
|
437
|
+
"type": "number",
|
438
|
+
"description": "Maximum number of words allowed in text inputs",
|
439
|
+
"title": "Max Words"
|
440
|
+
},
|
441
|
+
"maxDaysInPast": {
|
442
|
+
"type": "number",
|
443
|
+
"description": "Maximum days in the past allowed for date inputs",
|
444
|
+
"title": "Max Days In Past"
|
445
|
+
},
|
446
|
+
"maxDaysInFuture": {
|
447
|
+
"type": "number",
|
448
|
+
"description": "Maximum days in the future allowed for date inputs",
|
449
|
+
"title": "Max Days In Future"
|
450
|
+
},
|
451
|
+
"customValidationMessage": {
|
452
|
+
"type": "string",
|
453
|
+
"description": "Custom error message for validation failures",
|
454
|
+
"title": "Custom Validation Message"
|
455
|
+
},
|
456
|
+
"customValidationMessages": {
|
457
|
+
"type": "object",
|
458
|
+
"description": "Custom error messages keyed by validation rule name",
|
459
|
+
"properties": {},
|
460
|
+
"additionalProperties": true,
|
461
|
+
"title": "Custom Validation Messages"
|
462
|
+
}
|
463
|
+
},
|
464
|
+
"additionalProperties": true,
|
465
|
+
"title": "Options"
|
466
|
+
},
|
467
|
+
"schema": {
|
468
|
+
"type": "object",
|
469
|
+
"description": "Validation rules for the component",
|
470
|
+
"default": {},
|
471
|
+
"properties": {
|
472
|
+
"min": {
|
473
|
+
"type": "number",
|
474
|
+
"description": "Minimum value or length for validation",
|
475
|
+
"title": "Min"
|
476
|
+
},
|
477
|
+
"max": {
|
478
|
+
"type": "number",
|
479
|
+
"description": "Maximum value or length for validation",
|
480
|
+
"title": "Max"
|
481
|
+
},
|
482
|
+
"length": {
|
483
|
+
"type": "number",
|
484
|
+
"description": "Exact length required for validation",
|
485
|
+
"title": "Length"
|
486
|
+
}
|
487
|
+
},
|
488
|
+
"additionalProperties": true,
|
489
|
+
"title": "Schema"
|
490
|
+
},
|
491
|
+
"id": {
|
492
|
+
"type": "string",
|
493
|
+
"description": "Unique identifier for the component",
|
494
|
+
"format": "uuid",
|
495
|
+
"title": "Id"
|
496
|
+
},
|
497
|
+
"list": {
|
498
|
+
"description": "List id reference to a predefined list of options for select components",
|
499
|
+
"const": {
|
500
|
+
"ref": {
|
501
|
+
"path": [
|
502
|
+
"lists"
|
503
|
+
],
|
504
|
+
"ancestor": "root",
|
505
|
+
"in": true
|
506
|
+
}
|
507
|
+
},
|
508
|
+
"title": "List"
|
509
|
+
},
|
510
|
+
"type": {
|
511
|
+
"description": "Component that can only be a FileUploadField",
|
512
|
+
"const": "FileUploadField",
|
513
|
+
"title": "Type"
|
514
|
+
},
|
515
|
+
"name": {
|
516
|
+
"type": [
|
517
|
+
"array",
|
518
|
+
"boolean",
|
519
|
+
"number",
|
520
|
+
"object",
|
521
|
+
"string",
|
522
|
+
"null"
|
523
|
+
],
|
524
|
+
"oneOf": [
|
525
|
+
{
|
526
|
+
"type": "string",
|
527
|
+
"description": "Name format for display-only components like HTML, Markdown, etc.",
|
528
|
+
"pattern": "^[a-zA-Z]+$",
|
529
|
+
"title": "Display Component Name"
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"type": "string",
|
533
|
+
"description": "Name format for input components that collect user data.",
|
534
|
+
"pattern": "^[a-zA-Z]+$",
|
535
|
+
"title": "Input Component Name"
|
536
|
+
}
|
537
|
+
],
|
538
|
+
"title": "Name",
|
539
|
+
"description": "The name value.",
|
540
|
+
"oneOfTitles": [
|
541
|
+
"Display Component Name",
|
542
|
+
"Input Component Name"
|
543
|
+
]
|
544
|
+
},
|
545
|
+
"title": {
|
546
|
+
"type": [
|
547
|
+
"array",
|
548
|
+
"boolean",
|
549
|
+
"number",
|
550
|
+
"object",
|
551
|
+
"string",
|
552
|
+
"null"
|
553
|
+
],
|
554
|
+
"oneOf": [
|
555
|
+
{
|
556
|
+
"type": "string",
|
557
|
+
"description": "Title format for display-only components.",
|
558
|
+
"title": "Display Component Title"
|
559
|
+
},
|
560
|
+
{
|
561
|
+
"type": "string",
|
562
|
+
"description": "Title displayed above input components.",
|
563
|
+
"title": "Input Component Title"
|
564
|
+
}
|
565
|
+
],
|
566
|
+
"title": "Title",
|
567
|
+
"description": "The title value.",
|
568
|
+
"oneOfTitles": [
|
569
|
+
"Display Component Title",
|
570
|
+
"Input Component Title"
|
571
|
+
]
|
572
|
+
}
|
573
|
+
},
|
574
|
+
"required": [
|
575
|
+
"type"
|
576
|
+
],
|
577
|
+
"additionalProperties": true,
|
578
|
+
"title": "Components (array) Item (object)"
|
451
579
|
},
|
452
580
|
{
|
453
|
-
"type": "
|
454
|
-
"description": "
|
455
|
-
"
|
581
|
+
"type": "object",
|
582
|
+
"description": "Component schema for V2 forms",
|
583
|
+
"properties": {
|
584
|
+
"shortDescription": {
|
585
|
+
"type": "string",
|
586
|
+
"description": "Brief description of the component purpose",
|
587
|
+
"title": "Short Description"
|
588
|
+
},
|
589
|
+
"hint": {
|
590
|
+
"type": "string",
|
591
|
+
"description": "Additional guidance text displayed below the component title",
|
592
|
+
"title": "Hint"
|
593
|
+
},
|
594
|
+
"options": {
|
595
|
+
"type": "object",
|
596
|
+
"description": "Component-specific configuration options",
|
597
|
+
"default": {},
|
598
|
+
"properties": {
|
599
|
+
"rows": {
|
600
|
+
"type": "number",
|
601
|
+
"description": "Number of rows for textarea components",
|
602
|
+
"title": "Rows"
|
603
|
+
},
|
604
|
+
"maxWords": {
|
605
|
+
"type": "number",
|
606
|
+
"description": "Maximum number of words allowed in text inputs",
|
607
|
+
"title": "Max Words"
|
608
|
+
},
|
609
|
+
"maxDaysInPast": {
|
610
|
+
"type": "number",
|
611
|
+
"description": "Maximum days in the past allowed for date inputs",
|
612
|
+
"title": "Max Days In Past"
|
613
|
+
},
|
614
|
+
"maxDaysInFuture": {
|
615
|
+
"type": "number",
|
616
|
+
"description": "Maximum days in the future allowed for date inputs",
|
617
|
+
"title": "Max Days In Future"
|
618
|
+
},
|
619
|
+
"customValidationMessage": {
|
620
|
+
"type": "string",
|
621
|
+
"description": "Custom error message for validation failures",
|
622
|
+
"title": "Custom Validation Message"
|
623
|
+
},
|
624
|
+
"customValidationMessages": {
|
625
|
+
"type": "object",
|
626
|
+
"description": "Custom error messages keyed by validation rule name",
|
627
|
+
"properties": {},
|
628
|
+
"additionalProperties": true,
|
629
|
+
"title": "Custom Validation Messages"
|
630
|
+
}
|
631
|
+
},
|
632
|
+
"additionalProperties": true,
|
633
|
+
"title": "Options"
|
634
|
+
},
|
635
|
+
"schema": {
|
636
|
+
"type": "object",
|
637
|
+
"description": "Validation rules for the component",
|
638
|
+
"default": {},
|
639
|
+
"properties": {
|
640
|
+
"min": {
|
641
|
+
"type": "number",
|
642
|
+
"description": "Minimum value or length for validation",
|
643
|
+
"title": "Min"
|
644
|
+
},
|
645
|
+
"max": {
|
646
|
+
"type": "number",
|
647
|
+
"description": "Maximum value or length for validation",
|
648
|
+
"title": "Max"
|
649
|
+
},
|
650
|
+
"length": {
|
651
|
+
"type": "number",
|
652
|
+
"description": "Exact length required for validation",
|
653
|
+
"title": "Length"
|
654
|
+
}
|
655
|
+
},
|
656
|
+
"additionalProperties": true,
|
657
|
+
"title": "Schema"
|
658
|
+
},
|
659
|
+
"id": {
|
660
|
+
"type": "string",
|
661
|
+
"description": "Unique identifier for the component",
|
662
|
+
"format": "uuid",
|
663
|
+
"title": "Id"
|
664
|
+
},
|
665
|
+
"list": {
|
666
|
+
"description": "List id reference to a predefined list of options for select components",
|
667
|
+
"const": {
|
668
|
+
"ref": {
|
669
|
+
"path": [
|
670
|
+
"lists"
|
671
|
+
],
|
672
|
+
"ancestor": "root",
|
673
|
+
"in": true
|
674
|
+
}
|
675
|
+
},
|
676
|
+
"title": "List"
|
677
|
+
},
|
678
|
+
"type": {
|
679
|
+
"type": "string",
|
680
|
+
"description": "Content only component type (Details, Html, Markdown, etc.)",
|
681
|
+
"enum": [
|
682
|
+
"Details",
|
683
|
+
"Html",
|
684
|
+
"Markdown",
|
685
|
+
"InsetText",
|
686
|
+
"List"
|
687
|
+
],
|
688
|
+
"title": "Type"
|
689
|
+
},
|
690
|
+
"name": {
|
691
|
+
"type": [
|
692
|
+
"array",
|
693
|
+
"boolean",
|
694
|
+
"number",
|
695
|
+
"object",
|
696
|
+
"string",
|
697
|
+
"null"
|
698
|
+
],
|
699
|
+
"oneOf": [
|
700
|
+
{
|
701
|
+
"type": "string",
|
702
|
+
"description": "Name format for display-only components like HTML, Markdown, etc.",
|
703
|
+
"pattern": "^[a-zA-Z]+$",
|
704
|
+
"title": "Display Component Name"
|
705
|
+
},
|
706
|
+
{
|
707
|
+
"type": "string",
|
708
|
+
"description": "Name format for input components that collect user data.",
|
709
|
+
"pattern": "^[a-zA-Z]+$",
|
710
|
+
"title": "Input Component Name"
|
711
|
+
}
|
712
|
+
],
|
713
|
+
"title": "Name",
|
714
|
+
"description": "The name value.",
|
715
|
+
"oneOfTitles": [
|
716
|
+
"Display Component Name",
|
717
|
+
"Input Component Name"
|
718
|
+
]
|
719
|
+
},
|
720
|
+
"title": {
|
721
|
+
"type": [
|
722
|
+
"array",
|
723
|
+
"boolean",
|
724
|
+
"number",
|
725
|
+
"object",
|
726
|
+
"string",
|
727
|
+
"null"
|
728
|
+
],
|
729
|
+
"oneOf": [
|
730
|
+
{
|
731
|
+
"type": "string",
|
732
|
+
"description": "Title format for display-only components.",
|
733
|
+
"title": "Display Component Title"
|
734
|
+
},
|
735
|
+
{
|
736
|
+
"type": "string",
|
737
|
+
"description": "Title displayed above input components.",
|
738
|
+
"title": "Input Component Title"
|
739
|
+
}
|
740
|
+
],
|
741
|
+
"title": "Title",
|
742
|
+
"description": "The title value.",
|
743
|
+
"oneOfTitles": [
|
744
|
+
"Display Component Title",
|
745
|
+
"Input Component Title"
|
746
|
+
]
|
747
|
+
}
|
748
|
+
},
|
749
|
+
"required": [
|
750
|
+
"type"
|
751
|
+
],
|
752
|
+
"additionalProperties": true,
|
753
|
+
"title": "Components (array) Item (object)"
|
456
754
|
}
|
457
755
|
],
|
458
|
-
"title": "
|
459
|
-
"
|
460
|
-
|
461
|
-
"
|
462
|
-
"Input Component Title"
|
756
|
+
"title": "Components (array) Item",
|
757
|
+
"anyOfTitles": [
|
758
|
+
"Components (array) Item (object)",
|
759
|
+
"Components (array) Item (object)"
|
463
760
|
]
|
464
761
|
},
|
465
|
-
"
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
"
|
762
|
+
"title": "Components (array)"
|
763
|
+
},
|
764
|
+
{
|
765
|
+
"type": "array",
|
766
|
+
"description": "Components schema for V2 forms",
|
767
|
+
"uniqueItems": true,
|
768
|
+
"items": {
|
471
769
|
"type": "object",
|
472
|
-
"description": "Component
|
473
|
-
"default": {},
|
770
|
+
"description": "Component schema for V2 forms",
|
474
771
|
"properties": {
|
475
|
-
"
|
476
|
-
"type": "
|
477
|
-
"description": "
|
478
|
-
"title": "
|
772
|
+
"type": {
|
773
|
+
"type": "string",
|
774
|
+
"description": "Component type (TextField, RadioButtons, DateField, etc.)",
|
775
|
+
"title": "Type"
|
479
776
|
},
|
480
|
-
"
|
481
|
-
"type": "
|
482
|
-
"description": "
|
483
|
-
"title": "
|
777
|
+
"shortDescription": {
|
778
|
+
"type": "string",
|
779
|
+
"description": "Brief description of the component purpose",
|
780
|
+
"title": "Short Description"
|
484
781
|
},
|
485
|
-
"
|
486
|
-
"type":
|
487
|
-
|
488
|
-
|
782
|
+
"name": {
|
783
|
+
"type": [
|
784
|
+
"array",
|
785
|
+
"boolean",
|
786
|
+
"number",
|
787
|
+
"object",
|
788
|
+
"string",
|
789
|
+
"null"
|
790
|
+
],
|
791
|
+
"oneOf": [
|
792
|
+
{
|
793
|
+
"type": "string",
|
794
|
+
"description": "Name format for display-only components like HTML, Markdown, etc.",
|
795
|
+
"pattern": "^[a-zA-Z]+$",
|
796
|
+
"title": "Display Component Name"
|
797
|
+
},
|
798
|
+
{
|
799
|
+
"type": "string",
|
800
|
+
"description": "Name format for input components that collect user data.",
|
801
|
+
"pattern": "^[a-zA-Z]+$",
|
802
|
+
"title": "Input Component Name"
|
803
|
+
}
|
804
|
+
],
|
805
|
+
"title": "Name",
|
806
|
+
"description": "The name value.",
|
807
|
+
"oneOfTitles": [
|
808
|
+
"Display Component Name",
|
809
|
+
"Input Component Name"
|
810
|
+
]
|
489
811
|
},
|
490
|
-
"
|
491
|
-
"type":
|
492
|
-
|
493
|
-
|
812
|
+
"title": {
|
813
|
+
"type": [
|
814
|
+
"array",
|
815
|
+
"boolean",
|
816
|
+
"number",
|
817
|
+
"object",
|
818
|
+
"string",
|
819
|
+
"null"
|
820
|
+
],
|
821
|
+
"oneOf": [
|
822
|
+
{
|
823
|
+
"type": "string",
|
824
|
+
"description": "Title format for display-only components.",
|
825
|
+
"title": "Display Component Title"
|
826
|
+
},
|
827
|
+
{
|
828
|
+
"type": "string",
|
829
|
+
"description": "Title displayed above input components.",
|
830
|
+
"title": "Input Component Title"
|
831
|
+
}
|
832
|
+
],
|
833
|
+
"title": "Title",
|
834
|
+
"description": "The title value.",
|
835
|
+
"oneOfTitles": [
|
836
|
+
"Display Component Title",
|
837
|
+
"Input Component Title"
|
838
|
+
]
|
494
839
|
},
|
495
|
-
"
|
840
|
+
"hint": {
|
496
841
|
"type": "string",
|
497
|
-
"description": "
|
498
|
-
"title": "
|
842
|
+
"description": "Additional guidance text displayed below the component title",
|
843
|
+
"title": "Hint"
|
499
844
|
},
|
500
|
-
"
|
845
|
+
"options": {
|
501
846
|
"type": "object",
|
502
|
-
"description": "
|
503
|
-
"
|
847
|
+
"description": "Component-specific configuration options",
|
848
|
+
"default": {},
|
849
|
+
"properties": {
|
850
|
+
"rows": {
|
851
|
+
"type": "number",
|
852
|
+
"description": "Number of rows for textarea components",
|
853
|
+
"title": "Rows"
|
854
|
+
},
|
855
|
+
"maxWords": {
|
856
|
+
"type": "number",
|
857
|
+
"description": "Maximum number of words allowed in text inputs",
|
858
|
+
"title": "Max Words"
|
859
|
+
},
|
860
|
+
"maxDaysInPast": {
|
861
|
+
"type": "number",
|
862
|
+
"description": "Maximum days in the past allowed for date inputs",
|
863
|
+
"title": "Max Days In Past"
|
864
|
+
},
|
865
|
+
"maxDaysInFuture": {
|
866
|
+
"type": "number",
|
867
|
+
"description": "Maximum days in the future allowed for date inputs",
|
868
|
+
"title": "Max Days In Future"
|
869
|
+
},
|
870
|
+
"customValidationMessage": {
|
871
|
+
"type": "string",
|
872
|
+
"description": "Custom error message for validation failures",
|
873
|
+
"title": "Custom Validation Message"
|
874
|
+
},
|
875
|
+
"customValidationMessages": {
|
876
|
+
"type": "object",
|
877
|
+
"description": "Custom error messages keyed by validation rule name",
|
878
|
+
"properties": {},
|
879
|
+
"additionalProperties": true,
|
880
|
+
"title": "Custom Validation Messages"
|
881
|
+
}
|
882
|
+
},
|
504
883
|
"additionalProperties": true,
|
505
|
-
"title": "
|
506
|
-
}
|
507
|
-
},
|
508
|
-
"additionalProperties": true,
|
509
|
-
"title": "Options"
|
510
|
-
},
|
511
|
-
"schema": {
|
512
|
-
"type": "object",
|
513
|
-
"description": "Validation rules for the component",
|
514
|
-
"default": {},
|
515
|
-
"properties": {
|
516
|
-
"min": {
|
517
|
-
"type": "number",
|
518
|
-
"description": "Minimum value or length for validation",
|
519
|
-
"title": "Min"
|
884
|
+
"title": "Options"
|
520
885
|
},
|
521
|
-
"
|
522
|
-
"type": "
|
523
|
-
"description": "
|
524
|
-
"
|
886
|
+
"schema": {
|
887
|
+
"type": "object",
|
888
|
+
"description": "Validation rules for the component",
|
889
|
+
"default": {},
|
890
|
+
"properties": {
|
891
|
+
"min": {
|
892
|
+
"type": "number",
|
893
|
+
"description": "Minimum value or length for validation",
|
894
|
+
"title": "Min"
|
895
|
+
},
|
896
|
+
"max": {
|
897
|
+
"type": "number",
|
898
|
+
"description": "Maximum value or length for validation",
|
899
|
+
"title": "Max"
|
900
|
+
},
|
901
|
+
"length": {
|
902
|
+
"type": "number",
|
903
|
+
"description": "Exact length required for validation",
|
904
|
+
"title": "Length"
|
905
|
+
}
|
906
|
+
},
|
907
|
+
"additionalProperties": true,
|
908
|
+
"title": "Schema"
|
525
909
|
},
|
526
|
-
"
|
527
|
-
"type": "
|
528
|
-
"description": "
|
529
|
-
"
|
910
|
+
"id": {
|
911
|
+
"type": "string",
|
912
|
+
"description": "Unique identifier for the component",
|
913
|
+
"format": "uuid",
|
914
|
+
"title": "Id"
|
915
|
+
},
|
916
|
+
"list": {
|
917
|
+
"description": "List id reference to a predefined list of options for select components",
|
918
|
+
"const": {
|
919
|
+
"ref": {
|
920
|
+
"path": [
|
921
|
+
"lists"
|
922
|
+
],
|
923
|
+
"ancestor": "root",
|
924
|
+
"in": true
|
925
|
+
}
|
926
|
+
},
|
927
|
+
"title": "List"
|
530
928
|
}
|
531
929
|
},
|
930
|
+
"required": [
|
931
|
+
"type"
|
932
|
+
],
|
532
933
|
"additionalProperties": true,
|
533
|
-
"title": "
|
534
|
-
},
|
535
|
-
"id": {
|
536
|
-
"type": "string",
|
537
|
-
"description": "Unique identifier for the component",
|
538
|
-
"format": "uuid",
|
539
|
-
"title": "Id"
|
934
|
+
"title": "Components (array) Item"
|
540
935
|
},
|
541
|
-
"
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
}
|
551
|
-
},
|
552
|
-
"title": "List"
|
553
|
-
}
|
554
|
-
},
|
555
|
-
"required": [
|
556
|
-
"type"
|
557
|
-
],
|
558
|
-
"additionalProperties": true,
|
559
|
-
"title": "Components Item"
|
560
|
-
},
|
561
|
-
"title": "Components"
|
936
|
+
"title": "Components (array)"
|
937
|
+
}
|
938
|
+
],
|
939
|
+
"title": "Components",
|
940
|
+
"description": "The components value.",
|
941
|
+
"anyOfTitles": [
|
942
|
+
"Components (array)",
|
943
|
+
"Components (array)"
|
944
|
+
]
|
562
945
|
},
|
563
946
|
"condition": {
|
564
947
|
"description": "Optional condition that determines if this page is shown",
|