@cloudcannon/configuration-types 0.0.10 → 0.0.12

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.
@@ -402,7 +402,7 @@
402
402
  "type": "boolean"
403
403
  },
404
404
  "paths": {
405
- "$ref": "#/definitions/ReducedPaths",
405
+ "$ref": "#/definitions/Paths",
406
406
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
407
407
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
408
408
  },
@@ -716,6 +716,70 @@
716
716
  },
717
717
  "type": "object"
718
718
  },
719
+ "BuildCoupledPaths": {
720
+ "additionalProperties": false,
721
+ "properties": {
722
+ "collections": {
723
+ "description": "Parent folder of all collections.",
724
+ "markdownDescription": "Parent folder of all collections.",
725
+ "type": "string"
726
+ },
727
+ "dam_static": {
728
+ "default": "",
729
+ "description": "Location of statically copied assets for DAM files. This prefix will be removed from the _DAM Uploads_ path when CloudCannon outputs the URL of an asset.",
730
+ "markdownDescription": "Location of statically copied assets for DAM files. This prefix will be removed from the _DAM\nUploads_ path when CloudCannon outputs the URL of an asset.",
731
+ "type": "string"
732
+ },
733
+ "dam_uploads": {
734
+ "default": "",
735
+ "description": "Default location of newly uploaded DAM files.",
736
+ "markdownDescription": "Default location of newly uploaded DAM files.",
737
+ "type": "string"
738
+ },
739
+ "dam_uploads_filename": {
740
+ "description": "Filename template for newly uploaded DAM files.",
741
+ "markdownDescription": "Filename template for newly uploaded DAM files.",
742
+ "type": "string"
743
+ },
744
+ "data": {
745
+ "description": "Parent folder of all site data files.",
746
+ "markdownDescription": "Parent folder of all site data files.",
747
+ "type": "string"
748
+ },
749
+ "includes": {
750
+ "description": "Parent folder of all includes, partials, or shortcode files. _Only applies to Jekyll, Hugo, and Eleventy sites_.",
751
+ "markdownDescription": "Parent folder of all includes, partials, or shortcode files. _Only applies to Jekyll, Hugo, and\nEleventy sites_.",
752
+ "type": "string"
753
+ },
754
+ "layouts": {
755
+ "description": "Parent folder of all site layout files. _Only applies to Jekyll, Hugo, and Eleventy sites_.",
756
+ "markdownDescription": "Parent folder of all site layout files. _Only applies to Jekyll, Hugo, and Eleventy sites_.",
757
+ "type": "string"
758
+ },
759
+ "static": {
760
+ "description": "Location of assets that are statically copied to the output site. This prefix will be removed from the _Uploads_ path when CloudCannon outputs the URL of an asset.",
761
+ "markdownDescription": "Location of assets that are statically copied to the output site. This prefix will be removed\nfrom the _Uploads_ path when CloudCannon outputs the URL of an asset.",
762
+ "type": "string"
763
+ },
764
+ "uploads": {
765
+ "default": "uploads",
766
+ "description": "Default location of newly uploaded site files.",
767
+ "markdownDescription": "Default location of newly uploaded site files.",
768
+ "type": "string"
769
+ },
770
+ "uploads_filename": {
771
+ "description": "Filename template for newly uploaded site files.",
772
+ "markdownDescription": "Filename template for newly uploaded site files.",
773
+ "type": "string"
774
+ },
775
+ "uploads_use_relative_path": {
776
+ "description": "When set to true, CloudCannon will reference files relative to the path of the file they were uploaded to.",
777
+ "markdownDescription": "When set to true, CloudCannon will reference files relative to the path of the file they were\nuploaded to.",
778
+ "type": "boolean"
779
+ }
780
+ },
781
+ "type": "object"
782
+ },
719
783
  "ChoiceInput": {
720
784
  "additionalProperties": false,
721
785
  "properties": {
@@ -1585,7 +1649,7 @@
1585
1649
  "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
1586
1650
  },
1587
1651
  "paths": {
1588
- "$ref": "#/definitions/ReducedPaths",
1652
+ "$ref": "#/definitions/Paths",
1589
1653
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
1590
1654
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
1591
1655
  }
@@ -3794,7 +3858,7 @@
3794
3858
  "type": "string"
3795
3859
  },
3796
3860
  "paths": {
3797
- "$ref": "#/definitions/ReducedPaths",
3861
+ "$ref": "#/definitions/Paths",
3798
3862
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
3799
3863
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
3800
3864
  },
@@ -3989,7 +4053,7 @@
3989
4053
  "type": "string"
3990
4054
  },
3991
4055
  "paths": {
3992
- "$ref": "#/definitions/ReducedPaths",
4056
+ "$ref": "#/definitions/Paths",
3993
4057
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
3994
4058
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
3995
4059
  },
@@ -4299,9 +4363,9 @@
4299
4363
  "markdownDescription": "Contains settings for various Markdown engines."
4300
4364
  },
4301
4365
  "paths": {
4302
- "$ref": "#/definitions/Paths",
4303
- "description": "Global paths to common folders.",
4304
- "markdownDescription": "Global paths to common folders."
4366
+ "$ref": "#/definitions/BuildCoupledPaths",
4367
+ "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
4368
+ "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
4305
4369
  },
4306
4370
  "source": {
4307
4371
  "description": "Base path to your site source files, relative to the root folder.",
@@ -4326,7 +4390,7 @@
4326
4390
  "additionalProperties": false,
4327
4391
  "properties": {
4328
4392
  "paths": {
4329
- "$ref": "#/definitions/ReducedPaths",
4393
+ "$ref": "#/definitions/Paths",
4330
4394
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
4331
4395
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
4332
4396
  }
@@ -4745,7 +4809,7 @@
4745
4809
  },
4746
4810
  "quotes": {
4747
4811
  "description": "Double + single quotes replacement pairs, when typographer enabled and smartquotes on. For example, you can use '«»„“' for Russian, '„“‚‘' for German, and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).",
4748
- "markdownDescription": "Double + single quotes replacement pairs, when typographer enabled and smartquotes on. For example, you can use '«»„“' for Russian, '„“‚‘' for German, and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).",
4812
+ "markdownDescription": "Double + single quotes replacement pairs, when typographer enabled and smartquotes on. For\nexample, you can use '«»„“' for Russian, '„“‚‘' for German, and ['«\\xA0', '\\xA0»', '‹\\xA0',\n'\\xA0›'] for French (including nbsp).",
4749
4813
  "type": "string"
4750
4814
  },
4751
4815
  "sentence_per_line": {
@@ -5803,11 +5867,6 @@
5803
5867
  "Paths": {
5804
5868
  "additionalProperties": false,
5805
5869
  "properties": {
5806
- "collections": {
5807
- "description": "Parent folder of all collections.",
5808
- "markdownDescription": "Parent folder of all collections.",
5809
- "type": "string"
5810
- },
5811
5870
  "dam_static": {
5812
5871
  "default": "",
5813
5872
  "description": "Location of statically copied assets for DAM files. This prefix will be removed from the _DAM Uploads_ path when CloudCannon outputs the URL of an asset.",
@@ -5825,21 +5884,6 @@
5825
5884
  "markdownDescription": "Filename template for newly uploaded DAM files.",
5826
5885
  "type": "string"
5827
5886
  },
5828
- "data": {
5829
- "description": "Parent folder of all site data files.",
5830
- "markdownDescription": "Parent folder of all site data files.",
5831
- "type": "string"
5832
- },
5833
- "includes": {
5834
- "description": "Parent folder of all includes, partials, or shortcode files. _Only applies to Jekyll, Hugo, and Eleventy sites_.",
5835
- "markdownDescription": "Parent folder of all includes, partials, or shortcode files. _Only applies to Jekyll, Hugo, and\nEleventy sites_.",
5836
- "type": "string"
5837
- },
5838
- "layouts": {
5839
- "description": "Parent folder of all site layout files. _Only applies to Jekyll, Hugo, and Eleventy sites_.",
5840
- "markdownDescription": "Parent folder of all site layout files. _Only applies to Jekyll, Hugo, and Eleventy sites_.",
5841
- "type": "string"
5842
- },
5843
5887
  "static": {
5844
5888
  "description": "Location of assets that are statically copied to the output site. This prefix will be removed from the _Uploads_ path when CloudCannon outputs the URL of an asset.",
5845
5889
  "markdownDescription": "Location of assets that are statically copied to the output site. This prefix will be removed\nfrom the _Uploads_ path when CloudCannon outputs the URL of an asset.",
@@ -6123,50 +6167,6 @@
6123
6167
  ],
6124
6168
  "type": "object"
6125
6169
  },
6126
- "ReducedPaths": {
6127
- "additionalProperties": false,
6128
- "properties": {
6129
- "dam_static": {
6130
- "default": "",
6131
- "description": "Location of statically copied assets for DAM files. This prefix will be removed from the _DAM Uploads_ path when CloudCannon outputs the URL of an asset.",
6132
- "markdownDescription": "Location of statically copied assets for DAM files. This prefix will be removed from the _DAM\nUploads_ path when CloudCannon outputs the URL of an asset.",
6133
- "type": "string"
6134
- },
6135
- "dam_uploads": {
6136
- "default": "",
6137
- "description": "Default location of newly uploaded DAM files.",
6138
- "markdownDescription": "Default location of newly uploaded DAM files.",
6139
- "type": "string"
6140
- },
6141
- "dam_uploads_filename": {
6142
- "description": "Filename template for newly uploaded DAM files.",
6143
- "markdownDescription": "Filename template for newly uploaded DAM files.",
6144
- "type": "string"
6145
- },
6146
- "static": {
6147
- "description": "Location of assets that are statically copied to the output site. This prefix will be removed from the _Uploads_ path when CloudCannon outputs the URL of an asset.",
6148
- "markdownDescription": "Location of assets that are statically copied to the output site. This prefix will be removed\nfrom the _Uploads_ path when CloudCannon outputs the URL of an asset.",
6149
- "type": "string"
6150
- },
6151
- "uploads": {
6152
- "default": "uploads",
6153
- "description": "Default location of newly uploaded site files.",
6154
- "markdownDescription": "Default location of newly uploaded site files.",
6155
- "type": "string"
6156
- },
6157
- "uploads_filename": {
6158
- "description": "Filename template for newly uploaded site files.",
6159
- "markdownDescription": "Filename template for newly uploaded site files.",
6160
- "type": "string"
6161
- },
6162
- "uploads_use_relative_path": {
6163
- "description": "When set to true, CloudCannon will reference files relative to the path of the file they were uploaded to.",
6164
- "markdownDescription": "When set to true, CloudCannon will reference files relative to the path of the file they were\nuploaded to.",
6165
- "type": "boolean"
6166
- }
6167
- },
6168
- "type": "object"
6169
- },
6170
6170
  "RichTextInput": {
6171
6171
  "additionalProperties": false,
6172
6172
  "properties": {
@@ -6405,7 +6405,7 @@
6405
6405
  "type": "boolean"
6406
6406
  },
6407
6407
  "paths": {
6408
- "$ref": "#/definitions/ReducedPaths",
6408
+ "$ref": "#/definitions/Paths",
6409
6409
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
6410
6410
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
6411
6411
  },
@@ -7747,7 +7747,7 @@
7747
7747
  "type": "boolean"
7748
7748
  },
7749
7749
  "paths": {
7750
- "$ref": "#/definitions/ReducedPaths",
7750
+ "$ref": "#/definitions/Paths",
7751
7751
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
7752
7752
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
7753
7753
  },
@@ -7892,6 +7892,11 @@
7892
7892
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
7893
7893
  "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
7894
7894
  },
7895
+ "icon": {
7896
+ "$ref": "#/definitions/Icon",
7897
+ "description": "Icon shown beside the input.",
7898
+ "markdownDescription": "Icon shown beside the input."
7899
+ },
7895
7900
  "placeholder": {
7896
7901
  "description": "Text shown when this input has no value.",
7897
7902
  "markdownDescription": "Text shown when this input has no value.",
@@ -8710,7 +8715,7 @@
8710
8715
  "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
8711
8716
  },
8712
8717
  "paths": {
8713
- "$ref": "#/definitions/ReducedPaths",
8718
+ "$ref": "#/definitions/Paths",
8714
8719
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
8715
8720
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
8716
8721
  }
@@ -402,7 +402,7 @@
402
402
  "type": "boolean"
403
403
  },
404
404
  "paths": {
405
- "$ref": "#/definitions/ReducedPaths",
405
+ "$ref": "#/definitions/Paths",
406
406
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
407
407
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
408
408
  },
@@ -516,6 +516,70 @@
516
516
  },
517
517
  "type": "object"
518
518
  },
519
+ "BuildCoupledPaths": {
520
+ "additionalProperties": false,
521
+ "properties": {
522
+ "collections": {
523
+ "description": "Parent folder of all collections.",
524
+ "markdownDescription": "Parent folder of all collections.",
525
+ "type": "string"
526
+ },
527
+ "dam_static": {
528
+ "default": "",
529
+ "description": "Location of statically copied assets for DAM files. This prefix will be removed from the _DAM Uploads_ path when CloudCannon outputs the URL of an asset.",
530
+ "markdownDescription": "Location of statically copied assets for DAM files. This prefix will be removed from the _DAM\nUploads_ path when CloudCannon outputs the URL of an asset.",
531
+ "type": "string"
532
+ },
533
+ "dam_uploads": {
534
+ "default": "",
535
+ "description": "Default location of newly uploaded DAM files.",
536
+ "markdownDescription": "Default location of newly uploaded DAM files.",
537
+ "type": "string"
538
+ },
539
+ "dam_uploads_filename": {
540
+ "description": "Filename template for newly uploaded DAM files.",
541
+ "markdownDescription": "Filename template for newly uploaded DAM files.",
542
+ "type": "string"
543
+ },
544
+ "data": {
545
+ "description": "Parent folder of all site data files.",
546
+ "markdownDescription": "Parent folder of all site data files.",
547
+ "type": "string"
548
+ },
549
+ "includes": {
550
+ "description": "Parent folder of all includes, partials, or shortcode files. _Only applies to Jekyll, Hugo, and Eleventy sites_.",
551
+ "markdownDescription": "Parent folder of all includes, partials, or shortcode files. _Only applies to Jekyll, Hugo, and\nEleventy sites_.",
552
+ "type": "string"
553
+ },
554
+ "layouts": {
555
+ "description": "Parent folder of all site layout files. _Only applies to Jekyll, Hugo, and Eleventy sites_.",
556
+ "markdownDescription": "Parent folder of all site layout files. _Only applies to Jekyll, Hugo, and Eleventy sites_.",
557
+ "type": "string"
558
+ },
559
+ "static": {
560
+ "description": "Location of assets that are statically copied to the output site. This prefix will be removed from the _Uploads_ path when CloudCannon outputs the URL of an asset.",
561
+ "markdownDescription": "Location of assets that are statically copied to the output site. This prefix will be removed\nfrom the _Uploads_ path when CloudCannon outputs the URL of an asset.",
562
+ "type": "string"
563
+ },
564
+ "uploads": {
565
+ "default": "uploads",
566
+ "description": "Default location of newly uploaded site files.",
567
+ "markdownDescription": "Default location of newly uploaded site files.",
568
+ "type": "string"
569
+ },
570
+ "uploads_filename": {
571
+ "description": "Filename template for newly uploaded site files.",
572
+ "markdownDescription": "Filename template for newly uploaded site files.",
573
+ "type": "string"
574
+ },
575
+ "uploads_use_relative_path": {
576
+ "description": "When set to true, CloudCannon will reference files relative to the path of the file they were uploaded to.",
577
+ "markdownDescription": "When set to true, CloudCannon will reference files relative to the path of the file they were\nuploaded to.",
578
+ "type": "boolean"
579
+ }
580
+ },
581
+ "type": "object"
582
+ },
519
583
  "ChoiceInput": {
520
584
  "additionalProperties": false,
521
585
  "properties": {
@@ -975,33 +1039,6 @@
975
1039
  ],
976
1040
  "type": "object"
977
1041
  },
978
- "DataConfigEntry": {
979
- "additionalProperties": false,
980
- "properties": {
981
- "parser": {
982
- "description": "Overrides the format files are read. Detected automatically from file extension if unset.",
983
- "enum": [
984
- "csv",
985
- "front-matter",
986
- "json",
987
- "properties",
988
- "toml",
989
- "yaml"
990
- ],
991
- "markdownDescription": "Overrides the format files are read. Detected automatically from file extension if unset.",
992
- "type": "string"
993
- },
994
- "path": {
995
- "description": "The path to a file or folder of files containing data.",
996
- "markdownDescription": "The path to a file or folder of files containing data.",
997
- "type": "string"
998
- }
999
- },
1000
- "required": [
1001
- "path"
1002
- ],
1003
- "type": "object"
1004
- },
1005
1042
  "DateInput": {
1006
1043
  "additionalProperties": false,
1007
1044
  "properties": {
@@ -1412,7 +1449,7 @@
1412
1449
  "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
1413
1450
  },
1414
1451
  "paths": {
1415
- "$ref": "#/definitions/ReducedPaths",
1452
+ "$ref": "#/definitions/Paths",
1416
1453
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
1417
1454
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
1418
1455
  }
@@ -3621,7 +3658,7 @@
3621
3658
  "type": "string"
3622
3659
  },
3623
3660
  "paths": {
3624
- "$ref": "#/definitions/ReducedPaths",
3661
+ "$ref": "#/definitions/Paths",
3625
3662
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
3626
3663
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
3627
3664
  },
@@ -3816,7 +3853,7 @@
3816
3853
  "type": "string"
3817
3854
  },
3818
3855
  "paths": {
3819
- "$ref": "#/definitions/ReducedPaths",
3856
+ "$ref": "#/definitions/Paths",
3820
3857
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
3821
3858
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
3822
3859
  },
@@ -3974,7 +4011,7 @@
3974
4011
  "additionalProperties": false,
3975
4012
  "properties": {
3976
4013
  "paths": {
3977
- "$ref": "#/definitions/ReducedPaths",
4014
+ "$ref": "#/definitions/Paths",
3978
4015
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
3979
4016
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
3980
4017
  }
@@ -4393,7 +4430,7 @@
4393
4430
  },
4394
4431
  "quotes": {
4395
4432
  "description": "Double + single quotes replacement pairs, when typographer enabled and smartquotes on. For example, you can use '«»„“' for Russian, '„“‚‘' for German, and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).",
4396
- "markdownDescription": "Double + single quotes replacement pairs, when typographer enabled and smartquotes on. For example, you can use '«»„“' for Russian, '„“‚‘' for German, and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).",
4433
+ "markdownDescription": "Double + single quotes replacement pairs, when typographer enabled and smartquotes on. For\nexample, you can use '«»„“' for Russian, '„“‚‘' for German, and ['«\\xA0', '\\xA0»', '‹\\xA0',\n'\\xA0›'] for French (including nbsp).",
4397
4434
  "type": "string"
4398
4435
  },
4399
4436
  "sentence_per_line": {
@@ -5451,11 +5488,6 @@
5451
5488
  "Paths": {
5452
5489
  "additionalProperties": false,
5453
5490
  "properties": {
5454
- "collections": {
5455
- "description": "Parent folder of all collections.",
5456
- "markdownDescription": "Parent folder of all collections.",
5457
- "type": "string"
5458
- },
5459
5491
  "dam_static": {
5460
5492
  "default": "",
5461
5493
  "description": "Location of statically copied assets for DAM files. This prefix will be removed from the _DAM Uploads_ path when CloudCannon outputs the URL of an asset.",
@@ -5473,21 +5505,6 @@
5473
5505
  "markdownDescription": "Filename template for newly uploaded DAM files.",
5474
5506
  "type": "string"
5475
5507
  },
5476
- "data": {
5477
- "description": "Parent folder of all site data files.",
5478
- "markdownDescription": "Parent folder of all site data files.",
5479
- "type": "string"
5480
- },
5481
- "includes": {
5482
- "description": "Parent folder of all includes, partials, or shortcode files. _Only applies to Jekyll, Hugo, and Eleventy sites_.",
5483
- "markdownDescription": "Parent folder of all includes, partials, or shortcode files. _Only applies to Jekyll, Hugo, and\nEleventy sites_.",
5484
- "type": "string"
5485
- },
5486
- "layouts": {
5487
- "description": "Parent folder of all site layout files. _Only applies to Jekyll, Hugo, and Eleventy sites_.",
5488
- "markdownDescription": "Parent folder of all site layout files. _Only applies to Jekyll, Hugo, and Eleventy sites_.",
5489
- "type": "string"
5490
- },
5491
5508
  "static": {
5492
5509
  "description": "Location of assets that are statically copied to the output site. This prefix will be removed from the _Uploads_ path when CloudCannon outputs the URL of an asset.",
5493
5510
  "markdownDescription": "Location of assets that are statically copied to the output site. This prefix will be removed\nfrom the _Uploads_ path when CloudCannon outputs the URL of an asset.",
@@ -6119,7 +6136,31 @@
6119
6136
  },
6120
6137
  "data_config": {
6121
6138
  "additionalProperties": {
6122
- "$ref": "#/definitions/DataConfigEntry"
6139
+ "additionalProperties": false,
6140
+ "properties": {
6141
+ "parser": {
6142
+ "description": "Overrides the format files are read. Detected automatically from file extension if unset.",
6143
+ "enum": [
6144
+ "csv",
6145
+ "front-matter",
6146
+ "json",
6147
+ "properties",
6148
+ "toml",
6149
+ "yaml"
6150
+ ],
6151
+ "markdownDescription": "Overrides the format files are read. Detected automatically from file extension if unset.",
6152
+ "type": "string"
6153
+ },
6154
+ "path": {
6155
+ "description": "The path to a file or folder of files containing data.",
6156
+ "markdownDescription": "The path to a file or folder of files containing data.",
6157
+ "type": "string"
6158
+ }
6159
+ },
6160
+ "required": [
6161
+ "path"
6162
+ ],
6163
+ "type": "object"
6123
6164
  },
6124
6165
  "description": "Controls what data sets are available to populate select and multiselect inputs.",
6125
6166
  "markdownDescription": "Controls what data sets are available to populate select and multiselect inputs.",
@@ -6149,9 +6190,9 @@
6149
6190
  "type": "string"
6150
6191
  },
6151
6192
  "paths": {
6152
- "$ref": "#/definitions/Paths",
6153
- "description": "Global paths to common folders.",
6154
- "markdownDescription": "Global paths to common folders."
6193
+ "$ref": "#/definitions/BuildCoupledPaths",
6194
+ "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
6195
+ "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
6155
6196
  },
6156
6197
  "source": {
6157
6198
  "description": "Base path to your site source files, relative to the root folder.",
@@ -6172,50 +6213,6 @@
6172
6213
  },
6173
6214
  "type": "object"
6174
6215
  },
6175
- "ReducedPaths": {
6176
- "additionalProperties": false,
6177
- "properties": {
6178
- "dam_static": {
6179
- "default": "",
6180
- "description": "Location of statically copied assets for DAM files. This prefix will be removed from the _DAM Uploads_ path when CloudCannon outputs the URL of an asset.",
6181
- "markdownDescription": "Location of statically copied assets for DAM files. This prefix will be removed from the _DAM\nUploads_ path when CloudCannon outputs the URL of an asset.",
6182
- "type": "string"
6183
- },
6184
- "dam_uploads": {
6185
- "default": "",
6186
- "description": "Default location of newly uploaded DAM files.",
6187
- "markdownDescription": "Default location of newly uploaded DAM files.",
6188
- "type": "string"
6189
- },
6190
- "dam_uploads_filename": {
6191
- "description": "Filename template for newly uploaded DAM files.",
6192
- "markdownDescription": "Filename template for newly uploaded DAM files.",
6193
- "type": "string"
6194
- },
6195
- "static": {
6196
- "description": "Location of assets that are statically copied to the output site. This prefix will be removed from the _Uploads_ path when CloudCannon outputs the URL of an asset.",
6197
- "markdownDescription": "Location of assets that are statically copied to the output site. This prefix will be removed\nfrom the _Uploads_ path when CloudCannon outputs the URL of an asset.",
6198
- "type": "string"
6199
- },
6200
- "uploads": {
6201
- "default": "uploads",
6202
- "description": "Default location of newly uploaded site files.",
6203
- "markdownDescription": "Default location of newly uploaded site files.",
6204
- "type": "string"
6205
- },
6206
- "uploads_filename": {
6207
- "description": "Filename template for newly uploaded site files.",
6208
- "markdownDescription": "Filename template for newly uploaded site files.",
6209
- "type": "string"
6210
- },
6211
- "uploads_use_relative_path": {
6212
- "description": "When set to true, CloudCannon will reference files relative to the path of the file they were uploaded to.",
6213
- "markdownDescription": "When set to true, CloudCannon will reference files relative to the path of the file they were\nuploaded to.",
6214
- "type": "boolean"
6215
- }
6216
- },
6217
- "type": "object"
6218
- },
6219
6216
  "RichTextInput": {
6220
6217
  "additionalProperties": false,
6221
6218
  "properties": {
@@ -6454,7 +6451,7 @@
6454
6451
  "type": "boolean"
6455
6452
  },
6456
6453
  "paths": {
6457
- "$ref": "#/definitions/ReducedPaths",
6454
+ "$ref": "#/definitions/Paths",
6458
6455
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
6459
6456
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
6460
6457
  },
@@ -7796,7 +7793,7 @@
7796
7793
  "type": "boolean"
7797
7794
  },
7798
7795
  "paths": {
7799
- "$ref": "#/definitions/ReducedPaths",
7796
+ "$ref": "#/definitions/Paths",
7800
7797
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
7801
7798
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
7802
7799
  },
@@ -7941,6 +7938,11 @@
7941
7938
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
7942
7939
  "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
7943
7940
  },
7941
+ "icon": {
7942
+ "$ref": "#/definitions/Icon",
7943
+ "description": "Icon shown beside the input.",
7944
+ "markdownDescription": "Icon shown beside the input."
7945
+ },
7944
7946
  "placeholder": {
7945
7947
  "description": "Text shown when this input has no value.",
7946
7948
  "markdownDescription": "Text shown when this input has no value.",
@@ -8759,7 +8761,7 @@
8759
8761
  "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
8760
8762
  },
8761
8763
  "paths": {
8762
- "$ref": "#/definitions/ReducedPaths",
8764
+ "$ref": "#/definitions/Paths",
8763
8765
  "description": "Paths to where new asset files are uploaded to. They also set the default path when choosing existing images, and linking to existing files. Each path is relative to global `source`. Defaults to the global `paths`.",
8764
8766
  "markdownDescription": "Paths to where new asset files are uploaded to. They also set the default path when choosing\nexisting images, and linking to existing files. Each path is relative to global `source`.\nDefaults to the global `paths`."
8765
8767
  }