@cloudcannon/configuration-types 0.0.6 → 0.0.8

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.
@@ -289,8 +289,18 @@
289
289
  "type": "string"
290
290
  },
291
291
  "code": {
292
- "description": "Enables a control to set selected text to inline code, and unselected blocks of text to code blocks.",
293
- "markdownDescription": "Enables a control to set selected text to inline code, and unselected blocks of text to code\nblocks.",
292
+ "description": "Enables both block and inline code controls: `code_block` and `code_inline`.",
293
+ "markdownDescription": "Enables both block and inline code controls: `code_block` and `code_inline`.",
294
+ "type": "boolean"
295
+ },
296
+ "code_block": {
297
+ "description": "Enables a control to insert a code block.",
298
+ "markdownDescription": "Enables a control to insert a code block.",
299
+ "type": "boolean"
300
+ },
301
+ "code_inline": {
302
+ "description": "Enables a control to create an inline code element, containing any selected text.",
303
+ "markdownDescription": "Enables a control to create an inline code element, containing any selected text.",
294
304
  "type": "boolean"
295
305
  },
296
306
  "copyformatting": {
@@ -732,10 +742,10 @@
732
742
  "type": "number"
733
743
  },
734
744
  "theme": {
745
+ "$ref": "#/definitions/Theme",
735
746
  "default": "monokai",
736
747
  "description": "Changes the color scheme for syntax highlighting in the editor.",
737
- "markdownDescription": "Changes the color scheme for syntax highlighting in the editor.",
738
- "type": "string"
748
+ "markdownDescription": "Changes the color scheme for syntax highlighting in the editor."
739
749
  }
740
750
  },
741
751
  "type": "object"
@@ -745,16 +755,18 @@
745
755
  "properties": {
746
756
  "_array_structures": {
747
757
  "additionalProperties": {},
748
- "description": "[DEPRECATED] Now known as _structures.",
749
- "markdownDescription": "[DEPRECATED] Now known as _structures.",
758
+ "deprecated": "Use _structures instead.",
759
+ "description": "Now known as _structures.",
760
+ "markdownDescription": "Now known as _structures.",
750
761
  "type": "object"
751
762
  },
752
763
  "_comments": {
753
764
  "additionalProperties": {
754
765
  "type": "string"
755
766
  },
756
- "description": "[DEPRECATED] Now part of _inputs.*.comment.",
757
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.comment.",
767
+ "deprecated": "Use _inputs instead.",
768
+ "description": "Now part of _inputs.*.comment.",
769
+ "markdownDescription": "Now part of _inputs.*.comment.",
758
770
  "type": "object"
759
771
  },
760
772
  "_editables": {
@@ -783,8 +795,9 @@
783
795
  "additionalProperties": {},
784
796
  "type": "object"
785
797
  },
786
- "description": "[DEPRECATED] Now part of _inputs.*.options.",
787
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.options.",
798
+ "deprecated": "Use _inputs instead.",
799
+ "description": "Now part of _inputs.*.options.",
800
+ "markdownDescription": "Now part of _inputs.*.options.",
788
801
  "type": "object"
789
802
  },
790
803
  "_select_data": {
@@ -822,18 +835,18 @@
822
835
  "type": "string"
823
836
  },
824
837
  "disable_add": {
825
- "description": "Prevents users from adding new files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only (data sub-folders act as non-output collections). Otherwise, defaults to false.",
826
- "markdownDescription": "Prevents users from adding new files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only\n(data sub-folders act as non-output collections). Otherwise, defaults to false.",
838
+ "description": "Prevents users from adding new files in the collection file list if true.",
839
+ "markdownDescription": "Prevents users from adding new files in the collection file list if true.",
827
840
  "type": "boolean"
828
841
  },
829
842
  "disable_add_folder": {
830
- "description": "Prevents users from adding new folders in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only (data sub-folders act as non-output collections). Otherwise, defaults to false.",
831
- "markdownDescription": "Prevents users from adding new folders in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only\n(data sub-folders act as non-output collections). Otherwise, defaults to false.",
843
+ "description": "Prevents users from adding new folders in the collection file list if true.",
844
+ "markdownDescription": "Prevents users from adding new folders in the collection file list if true.",
832
845
  "type": "boolean"
833
846
  },
834
847
  "disable_file_actions": {
835
- "description": "Prevents users from renaming, moving and deleting files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only (data sub-folders act as non-output collections). Otherwise, defaults to false.",
836
- "markdownDescription": "Prevents users from renaming, moving and deleting files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only\n(data sub-folders act as non-output collections). Otherwise, defaults to false.",
848
+ "description": "Prevents users from renaming, moving and deleting files in the collection file list if true.",
849
+ "markdownDescription": "Prevents users from renaming, moving and deleting files in the collection file list if true.",
837
850
  "type": "boolean"
838
851
  },
839
852
  "documentation": {
@@ -841,17 +854,20 @@
841
854
  "description": "Provides a custom link for documentation for editors shown above the collection file list.",
842
855
  "markdownDescription": "Provides a custom link for documentation for editors shown above the collection file list."
843
856
  },
844
- "filter": {
857
+ "glob": {
845
858
  "anyOf": [
846
859
  {
847
- "$ref": "#/definitions/Filter"
860
+ "items": {
861
+ "type": "string"
862
+ },
863
+ "type": "array"
848
864
  },
849
865
  {
850
- "$ref": "#/definitions/FilterBase"
866
+ "type": "string"
851
867
  }
852
868
  ],
853
- "description": "Controls which files are displayed in the collection list. Does not change which files are assigned to this collection.",
854
- "markdownDescription": "Controls which files are displayed in the collection list. Does not change which files are\nassigned to this collection."
869
+ "description": "Glob pattern(s) to include or exclude files from this collection. It is relative to `path`.",
870
+ "markdownDescription": "Glob pattern(s) to include or exclude files from this collection. It is relative to `path`."
855
871
  },
856
872
  "icon": {
857
873
  "$ref": "#/definitions/Icon",
@@ -873,22 +889,9 @@
873
889
  "markdownDescription": "Whether or not files in this collection produce files in the build output.",
874
890
  "type": "boolean"
875
891
  },
876
- "parser": {
877
- "description": "Overrides how each file in the collection is read. Detected automatically from file extension if unset.",
878
- "enum": [
879
- "csv",
880
- "front-matter",
881
- "json",
882
- "properties",
883
- "toml",
884
- "yaml"
885
- ],
886
- "markdownDescription": "Overrides how each file in the collection is read. Detected automatically from file extension\nif unset.",
887
- "type": "string"
888
- },
889
892
  "path": {
890
- "description": "The top-most folder where the files in this collection are stored. It is relative to source. Each collection must have a unique path.",
891
- "markdownDescription": "The top-most folder where the files in this collection are stored. It is relative to source.\nEach collection must have a unique path.",
893
+ "description": "The top-most folder where the files in this collection are stored. It is relative to source.",
894
+ "markdownDescription": "The top-most folder where the files in this collection are stored. It is relative to source.",
892
895
  "type": "string"
893
896
  },
894
897
  "preview": {
@@ -1109,214 +1112,22 @@
1109
1112
  "type": "object"
1110
1113
  },
1111
1114
  "Configuration": {
1112
- "anyOf": [
1113
- {
1114
- "$ref": "#/definitions/DefaultConfiguration"
1115
- },
1116
- {
1117
- "$ref": "#/definitions/HugoConfiguration"
1118
- },
1119
- {
1120
- "$ref": "#/definitions/JekyllConfiguration"
1121
- },
1122
- {
1123
- "$ref": "#/definitions/EleventyConfiguration"
1124
- }
1125
- ]
1126
- },
1127
- "Create": {
1128
- "additionalProperties": false,
1129
- "properties": {
1130
- "_inputs": {
1131
- "additionalProperties": {
1132
- "$ref": "#/definitions/Input"
1133
- },
1134
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1135
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1136
- "type": "object"
1137
- },
1138
- "_select_data": {
1139
- "additionalProperties": {
1140
- "$ref": "#/definitions/SelectValues"
1141
- },
1142
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
1143
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
1144
- "type": "object"
1145
- },
1146
- "_structures": {
1147
- "additionalProperties": {
1148
- "$ref": "#/definitions/Structure"
1149
- },
1150
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
1151
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
1152
- "type": "object"
1153
- },
1154
- "extra_data": {
1155
- "additionalProperties": {
1156
- "type": "string"
1157
- },
1158
- "description": "Adds to the available data placeholders coming from the file. Entry values follow the same format as path, and are processed sequentially before path. These values are not saved back to your file.",
1159
- "markdownDescription": "Adds to the available data placeholders coming from the file. Entry values follow the same\nformat as path, and are processed sequentially before path. These values are not saved back to\nyour file.",
1160
- "type": "object"
1161
- },
1162
- "path": {
1163
- "description": "The raw template to be processed when creating files. Relative to the containing collection's path.",
1164
- "markdownDescription": "The raw template to be processed when creating files. Relative to the containing collection's\npath.",
1165
- "type": "string"
1166
- },
1167
- "publish_to": {
1168
- "description": "Defines a target collection when publishing. When a file is published (currently only relevant to Jekyll), the target collection's create definition is used instead.",
1169
- "markdownDescription": "Defines a target collection when publishing. When a file is published (currently only relevant\nto Jekyll), the target collection's create definition is used instead.",
1170
- "type": "string"
1171
- }
1172
- },
1173
- "required": [
1174
- "path"
1175
- ],
1176
- "type": "object"
1177
- },
1178
- "DataConfigEntry": {
1179
- "additionalProperties": false,
1180
- "properties": {
1181
- "parser": {
1182
- "description": "Overrides how each file in the dataset is read. Detected automatically from file extension if unset.",
1183
- "enum": [
1184
- "csv",
1185
- "front-matter",
1186
- "json",
1187
- "properties",
1188
- "toml",
1189
- "yaml"
1190
- ],
1191
- "markdownDescription": "Overrides how each file in the dataset is read. Detected automatically from file extension if\nunset.",
1192
- "type": "string"
1193
- },
1194
- "path": {
1195
- "description": "The path to a file or folder of files containing data.",
1196
- "markdownDescription": "The path to a file or folder of files containing data.",
1197
- "type": "string"
1198
- }
1199
- },
1200
- "required": [
1201
- "path"
1202
- ],
1203
- "type": "object"
1204
- },
1205
- "DateInput": {
1206
- "additionalProperties": false,
1207
- "properties": {
1208
- "cascade": {
1209
- "default": true,
1210
- "description": "Specifies whether or not this input configuration should be merged with any matching, less specific configuration.",
1211
- "markdownDescription": "Specifies whether or not this input configuration should be merged with any matching, less\nspecific configuration.",
1212
- "type": "boolean"
1213
- },
1214
- "comment": {
1215
- "description": "Changes the subtext below the _Label_. Has no default. Supports a limited set of Markdown: links, bold, italic, subscript, superscript, and inline code elements are allowed.",
1216
- "markdownDescription": "Changes the subtext below the _Label_. Has no default. Supports a limited set of Markdown:\nlinks, bold, italic, subscript, superscript, and inline code elements are allowed.",
1217
- "type": "string"
1218
- },
1219
- "context": {
1220
- "additionalProperties": false,
1221
- "description": "Adds an expandable section of rich text below the input.",
1222
- "markdownDescription": "Adds an expandable section of rich text below the input.",
1223
- "properties": {
1224
- "content": {
1225
- "description": "The rich text content shown when opened. Supports a limited set of Markdown.",
1226
- "markdownDescription": "The rich text content shown when opened. Supports a limited set of Markdown.",
1227
- "type": "string"
1228
- },
1229
- "icon": {
1230
- "$ref": "#/definitions/Icon",
1231
- "description": "The icon shown when not open.",
1232
- "markdownDescription": "The icon shown when not open."
1233
- },
1234
- "open": {
1235
- "description": "Makes the content visible initially.",
1236
- "markdownDescription": "Makes the content visible initially.",
1237
- "type": "boolean"
1238
- },
1239
- "title": {
1240
- "description": "The text shown when not open. Defaults to \"Context\" if unset.",
1241
- "markdownDescription": "The text shown when not open. Defaults to \"Context\" if unset.",
1242
- "type": "string"
1243
- }
1244
- },
1245
- "type": "object"
1246
- },
1247
- "documentation": {
1248
- "$ref": "#/definitions/Documentation",
1249
- "description": "Provides a custom link for documentation for editors shown above input.",
1250
- "markdownDescription": "Provides a custom link for documentation for editors shown above input."
1251
- },
1252
- "hidden": {
1253
- "default": false,
1254
- "description": "Toggles the visibility of this input.",
1255
- "markdownDescription": "Toggles the visibility of this input.",
1256
- "type": [
1257
- "boolean",
1258
- "string"
1259
- ]
1260
- },
1261
- "instance_value": {
1262
- "$ref": "#/definitions/InstanceValue",
1263
- "description": "Controls if and how the value of this input is instantiated when created. This occurs when creating files, or adding array items containing the configured input.",
1264
- "markdownDescription": "Controls if and how the value of this input is instantiated when created. This occurs when\ncreating files, or adding array items containing the configured input."
1265
- },
1266
- "label": {
1267
- "description": "Optionally changes the text above this input.",
1268
- "markdownDescription": "Optionally changes the text above this input.",
1269
- "type": "string"
1270
- },
1271
- "options": {
1272
- "$ref": "#/definitions/DateInputOptions",
1273
- "description": "Options that are specific to this `type` of input.",
1274
- "markdownDescription": "Options that are specific to this `type` of input."
1275
- },
1276
- "type": {
1277
- "enum": [
1278
- "date",
1279
- "datetime"
1280
- ],
1281
- "type": "string"
1282
- }
1283
- },
1284
- "required": [
1285
- "type"
1286
- ],
1287
- "type": "object"
1288
- },
1289
- "DateInputOptions": {
1290
- "additionalProperties": false,
1291
- "properties": {
1292
- "empty_type": {
1293
- "$ref": "#/definitions/EmptyTypeText",
1294
- "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
1295
- "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
1296
- },
1297
- "timezone": {
1298
- "$ref": "#/definitions/Timezone",
1299
- "description": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the date is persisted to the file with. Defaults to the global `timezone`.",
1300
- "markdownDescription": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the\ndate is persisted to the file with. Defaults to the global `timezone`."
1301
- }
1302
- },
1303
- "type": "object"
1304
- },
1305
- "DefaultConfiguration": {
1306
1115
  "additionalProperties": false,
1307
1116
  "properties": {
1308
1117
  "_array_structures": {
1309
1118
  "additionalProperties": {},
1310
- "description": "[DEPRECATED] Now known as _structures.",
1311
- "markdownDescription": "[DEPRECATED] Now known as _structures.",
1119
+ "deprecated": "Use _structures instead.",
1120
+ "description": "Now known as _structures.",
1121
+ "markdownDescription": "Now known as _structures.",
1312
1122
  "type": "object"
1313
1123
  },
1314
1124
  "_comments": {
1315
1125
  "additionalProperties": {
1316
1126
  "type": "string"
1317
1127
  },
1318
- "description": "[DEPRECATED] Now part of _inputs.*.comment.",
1319
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.comment.",
1128
+ "deprecated": "Use _inputs instead.",
1129
+ "description": "Now part of _inputs.*.comment.",
1130
+ "markdownDescription": "Now part of _inputs.*.comment.",
1320
1131
  "type": "object"
1321
1132
  },
1322
1133
  "_editables": {
@@ -1345,8 +1156,9 @@
1345
1156
  "additionalProperties": {},
1346
1157
  "type": "object"
1347
1158
  },
1348
- "description": "[DEPRECATED] Now part of _inputs.*.options.",
1349
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.options.",
1159
+ "deprecated": "Use _inputs instead.",
1160
+ "description": "Now part of _inputs.*.options.",
1161
+ "markdownDescription": "Now part of _inputs.*.options.",
1350
1162
  "type": "object"
1351
1163
  },
1352
1164
  "_select_data": {
@@ -1416,9 +1228,11 @@
1416
1228
  "type": "object"
1417
1229
  },
1418
1230
  "commit_templates": {
1231
+ "description": "Templates for commit messages when saving changes.",
1419
1232
  "items": {
1420
1233
  "$ref": "#/definitions/CommitTemplate"
1421
1234
  },
1235
+ "markdownDescription": "Templates for commit messages when saving changes.",
1422
1236
  "type": "array"
1423
1237
  },
1424
1238
  "data_config": {
@@ -1434,6 +1248,14 @@
1434
1248
  "description": "Contains settings for the default editor actions on your site.",
1435
1249
  "markdownDescription": "Contains settings for the default editor actions on your site."
1436
1250
  },
1251
+ "file_config": {
1252
+ "additionalProperties": {
1253
+ "$ref": "#/definitions/FileConfigEntry"
1254
+ },
1255
+ "description": "Provides scope to configure at a file level, without adding configuration to files.",
1256
+ "markdownDescription": "Provides scope to configure at a file level, without adding configuration to files.",
1257
+ "type": "object"
1258
+ },
1437
1259
  "generator": {
1438
1260
  "additionalProperties": false,
1439
1261
  "description": "Contains settings for various Markdown engines.",
@@ -1490,11 +1312,6 @@
1490
1312
  },
1491
1313
  "type": "object"
1492
1314
  },
1493
- "output": {
1494
- "description": "Generates the integration file in another folder. Not applicable to Jekyll, Hugo, and Eleventy. Defaults to the root folder.",
1495
- "markdownDescription": "Generates the integration file in another folder. Not applicable to Jekyll, Hugo, and Eleventy.\nDefaults to the root folder.",
1496
- "type": "string"
1497
- },
1498
1315
  "paths": {
1499
1316
  "$ref": "#/definitions/Paths",
1500
1317
  "description": "Global paths to common folders.",
@@ -1510,9 +1327,6 @@
1510
1327
  "description": "Settings for the behavior and appearance of the Source Editor.",
1511
1328
  "markdownDescription": "Settings for the behavior and appearance of the Source Editor."
1512
1329
  },
1513
- "ssg": {
1514
- "$ref": "#/definitions/SsgKey"
1515
- },
1516
1330
  "timezone": {
1517
1331
  "$ref": "#/definitions/Timezone",
1518
1332
  "default": "Etc/UTC",
@@ -1522,37 +1336,215 @@
1522
1336
  },
1523
1337
  "type": "object"
1524
1338
  },
1525
- "Documentation": {
1339
+ "Create": {
1526
1340
  "additionalProperties": false,
1527
1341
  "properties": {
1528
- "icon": {
1529
- "$ref": "#/definitions/Icon",
1530
- "description": "The icon displayed next to the link.",
1531
- "markdownDescription": "The icon displayed next to the link."
1342
+ "_inputs": {
1343
+ "additionalProperties": {
1344
+ "$ref": "#/definitions/Input"
1345
+ },
1346
+ "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1347
+ "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1348
+ "type": "object"
1532
1349
  },
1533
- "text": {
1534
- "description": "The visible text used in the link.",
1535
- "markdownDescription": "The visible text used in the link.",
1536
- "type": "string"
1350
+ "_select_data": {
1351
+ "additionalProperties": {
1352
+ "$ref": "#/definitions/SelectValues"
1353
+ },
1354
+ "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
1355
+ "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
1356
+ "type": "object"
1537
1357
  },
1538
- "url": {
1539
- "description": "The \"href\" value of the link.",
1540
- "markdownDescription": "The \"href\" value of the link.",
1541
- "type": "string"
1542
- }
1543
- },
1544
- "required": [
1545
- "url"
1546
- ],
1547
- "type": "object"
1548
- },
1549
- "Editables": {
1550
- "additionalProperties": false,
1551
- "properties": {
1552
- "block": {
1553
- "$ref": "#/definitions/BlockEditable",
1554
- "description": "Contains input options for block Editable Regions.",
1555
- "markdownDescription": "Contains input options for block Editable Regions."
1358
+ "_structures": {
1359
+ "additionalProperties": {
1360
+ "$ref": "#/definitions/Structure"
1361
+ },
1362
+ "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
1363
+ "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
1364
+ "type": "object"
1365
+ },
1366
+ "extra_data": {
1367
+ "additionalProperties": {
1368
+ "type": "string"
1369
+ },
1370
+ "description": "Adds to the available data placeholders coming from the file. Entry values follow the same format as path, and are processed sequentially before path. These values are not saved back to your file.",
1371
+ "markdownDescription": "Adds to the available data placeholders coming from the file. Entry values follow the same\nformat as path, and are processed sequentially before path. These values are not saved back to\nyour file.",
1372
+ "type": "object"
1373
+ },
1374
+ "path": {
1375
+ "description": "The raw template to be processed when creating files. Relative to the containing collection's path.",
1376
+ "markdownDescription": "The raw template to be processed when creating files. Relative to the containing collection's\npath.",
1377
+ "type": "string"
1378
+ },
1379
+ "publish_to": {
1380
+ "description": "Defines a target collection when publishing. When a file is published, the target collection's create definition is used instead.",
1381
+ "markdownDescription": "Defines a target collection when publishing. When a file is published, the target collection's\ncreate definition is used instead.",
1382
+ "type": "string"
1383
+ }
1384
+ },
1385
+ "required": [
1386
+ "path"
1387
+ ],
1388
+ "type": "object"
1389
+ },
1390
+ "DataConfigEntry": {
1391
+ "additionalProperties": false,
1392
+ "properties": {
1393
+ "parser": {
1394
+ "description": "Overrides the format files are read. Detected automatically from file extension if unset.",
1395
+ "enum": [
1396
+ "csv",
1397
+ "front-matter",
1398
+ "json",
1399
+ "properties",
1400
+ "toml",
1401
+ "yaml"
1402
+ ],
1403
+ "markdownDescription": "Overrides the format files are read. Detected automatically from file extension if unset.",
1404
+ "type": "string"
1405
+ },
1406
+ "path": {
1407
+ "description": "The path to a file or folder of files containing data.",
1408
+ "markdownDescription": "The path to a file or folder of files containing data.",
1409
+ "type": "string"
1410
+ }
1411
+ },
1412
+ "required": [
1413
+ "path"
1414
+ ],
1415
+ "type": "object"
1416
+ },
1417
+ "DateInput": {
1418
+ "additionalProperties": false,
1419
+ "properties": {
1420
+ "cascade": {
1421
+ "default": true,
1422
+ "description": "Specifies whether or not this input configuration should be merged with any matching, less specific configuration.",
1423
+ "markdownDescription": "Specifies whether or not this input configuration should be merged with any matching, less\nspecific configuration.",
1424
+ "type": "boolean"
1425
+ },
1426
+ "comment": {
1427
+ "description": "Changes the subtext below the _Label_. Has no default. Supports a limited set of Markdown: links, bold, italic, subscript, superscript, and inline code elements are allowed.",
1428
+ "markdownDescription": "Changes the subtext below the _Label_. Has no default. Supports a limited set of Markdown:\nlinks, bold, italic, subscript, superscript, and inline code elements are allowed.",
1429
+ "type": "string"
1430
+ },
1431
+ "context": {
1432
+ "additionalProperties": false,
1433
+ "description": "Adds an expandable section of rich text below the input.",
1434
+ "markdownDescription": "Adds an expandable section of rich text below the input.",
1435
+ "properties": {
1436
+ "content": {
1437
+ "description": "The rich text content shown when opened. Supports a limited set of Markdown.",
1438
+ "markdownDescription": "The rich text content shown when opened. Supports a limited set of Markdown.",
1439
+ "type": "string"
1440
+ },
1441
+ "icon": {
1442
+ "$ref": "#/definitions/Icon",
1443
+ "description": "The icon shown when not open.",
1444
+ "markdownDescription": "The icon shown when not open."
1445
+ },
1446
+ "open": {
1447
+ "description": "Makes the content visible initially.",
1448
+ "markdownDescription": "Makes the content visible initially.",
1449
+ "type": "boolean"
1450
+ },
1451
+ "title": {
1452
+ "description": "The text shown when not open. Defaults to \"Context\" if unset.",
1453
+ "markdownDescription": "The text shown when not open. Defaults to \"Context\" if unset.",
1454
+ "type": "string"
1455
+ }
1456
+ },
1457
+ "type": "object"
1458
+ },
1459
+ "documentation": {
1460
+ "$ref": "#/definitions/Documentation",
1461
+ "description": "Provides a custom link for documentation for editors shown above input.",
1462
+ "markdownDescription": "Provides a custom link for documentation for editors shown above input."
1463
+ },
1464
+ "hidden": {
1465
+ "default": false,
1466
+ "description": "Toggles the visibility of this input.",
1467
+ "markdownDescription": "Toggles the visibility of this input.",
1468
+ "type": [
1469
+ "boolean",
1470
+ "string"
1471
+ ]
1472
+ },
1473
+ "instance_value": {
1474
+ "$ref": "#/definitions/InstanceValue",
1475
+ "description": "Controls if and how the value of this input is instantiated when created. This occurs when creating files, or adding array items containing the configured input.",
1476
+ "markdownDescription": "Controls if and how the value of this input is instantiated when created. This occurs when\ncreating files, or adding array items containing the configured input."
1477
+ },
1478
+ "label": {
1479
+ "description": "Optionally changes the text above this input.",
1480
+ "markdownDescription": "Optionally changes the text above this input.",
1481
+ "type": "string"
1482
+ },
1483
+ "options": {
1484
+ "$ref": "#/definitions/DateInputOptions",
1485
+ "description": "Options that are specific to this `type` of input.",
1486
+ "markdownDescription": "Options that are specific to this `type` of input."
1487
+ },
1488
+ "type": {
1489
+ "enum": [
1490
+ "date",
1491
+ "datetime"
1492
+ ],
1493
+ "type": "string"
1494
+ }
1495
+ },
1496
+ "required": [
1497
+ "type"
1498
+ ],
1499
+ "type": "object"
1500
+ },
1501
+ "DateInputOptions": {
1502
+ "additionalProperties": false,
1503
+ "properties": {
1504
+ "empty_type": {
1505
+ "$ref": "#/definitions/EmptyTypeText",
1506
+ "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
1507
+ "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
1508
+ },
1509
+ "timezone": {
1510
+ "$ref": "#/definitions/Timezone",
1511
+ "description": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the date is persisted to the file with. Defaults to the global `timezone`.",
1512
+ "markdownDescription": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the\ndate is persisted to the file with. Defaults to the global `timezone`."
1513
+ }
1514
+ },
1515
+ "type": "object"
1516
+ },
1517
+ "Documentation": {
1518
+ "additionalProperties": false,
1519
+ "properties": {
1520
+ "icon": {
1521
+ "$ref": "#/definitions/Icon",
1522
+ "description": "The icon displayed next to the link.",
1523
+ "markdownDescription": "The icon displayed next to the link."
1524
+ },
1525
+ "text": {
1526
+ "description": "The visible text used in the link.",
1527
+ "markdownDescription": "The visible text used in the link.",
1528
+ "type": "string"
1529
+ },
1530
+ "url": {
1531
+ "description": "The \"href\" value of the link.",
1532
+ "markdownDescription": "The \"href\" value of the link.",
1533
+ "type": "string"
1534
+ }
1535
+ },
1536
+ "required": [
1537
+ "url"
1538
+ ],
1539
+ "type": "object"
1540
+ },
1541
+ "Editables": {
1542
+ "additionalProperties": false,
1543
+ "properties": {
1544
+ "block": {
1545
+ "$ref": "#/definitions/BlockEditable",
1546
+ "description": "Contains input options for block Editable Regions.",
1547
+ "markdownDescription": "Contains input options for block Editable Regions."
1556
1548
  },
1557
1549
  "content": {
1558
1550
  "$ref": "#/definitions/BlockEditable",
@@ -1600,21 +1592,51 @@
1600
1592
  ],
1601
1593
  "type": "string"
1602
1594
  },
1603
- "EleventyConfiguration": {
1595
+ "EmptyTypeArray": {
1596
+ "enum": [
1597
+ "null",
1598
+ "array"
1599
+ ],
1600
+ "type": "string"
1601
+ },
1602
+ "EmptyTypeNumber": {
1603
+ "enum": [
1604
+ "null",
1605
+ "number"
1606
+ ],
1607
+ "type": "string"
1608
+ },
1609
+ "EmptyTypeObject": {
1610
+ "enum": [
1611
+ "null",
1612
+ "object"
1613
+ ],
1614
+ "type": "string"
1615
+ },
1616
+ "EmptyTypeText": {
1617
+ "enum": [
1618
+ "null",
1619
+ "string"
1620
+ ],
1621
+ "type": "string"
1622
+ },
1623
+ "FileConfigEntry": {
1604
1624
  "additionalProperties": false,
1605
1625
  "properties": {
1606
1626
  "_array_structures": {
1607
1627
  "additionalProperties": {},
1608
- "description": "[DEPRECATED] Now known as _structures.",
1609
- "markdownDescription": "[DEPRECATED] Now known as _structures.",
1628
+ "deprecated": "Use _structures instead.",
1629
+ "description": "Now known as _structures.",
1630
+ "markdownDescription": "Now known as _structures.",
1610
1631
  "type": "object"
1611
1632
  },
1612
1633
  "_comments": {
1613
1634
  "additionalProperties": {
1614
1635
  "type": "string"
1615
1636
  },
1616
- "description": "[DEPRECATED] Now part of _inputs.*.comment.",
1617
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.comment.",
1637
+ "deprecated": "Use _inputs instead.",
1638
+ "description": "Now part of _inputs.*.comment.",
1639
+ "markdownDescription": "Now part of _inputs.*.comment.",
1618
1640
  "type": "object"
1619
1641
  },
1620
1642
  "_editables": {
@@ -1643,8 +1665,9 @@
1643
1665
  "additionalProperties": {},
1644
1666
  "type": "object"
1645
1667
  },
1646
- "description": "[DEPRECATED] Now part of _inputs.*.options.",
1647
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.options.",
1668
+ "deprecated": "Use _inputs instead.",
1669
+ "description": "Now part of _inputs.*.options.",
1670
+ "markdownDescription": "Now part of _inputs.*.options.",
1648
1671
  "type": "object"
1649
1672
  },
1650
1673
  "_select_data": {
@@ -1655,35 +1678,6 @@
1655
1678
  "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
1656
1679
  "type": "object"
1657
1680
  },
1658
- "_snippets": {
1659
- "additionalProperties": {
1660
- "$ref": "#/definitions/SnippetConfig"
1661
- },
1662
- "description": "Configuration for custom snippets.",
1663
- "markdownDescription": "Configuration for custom snippets.",
1664
- "type": "object"
1665
- },
1666
- "_snippets_definitions": {
1667
- "additionalProperties": {
1668
- "$ref": "#/definitions/SnippetConfig"
1669
- },
1670
- "description": "Extended option used when creating more complex custom snippets.",
1671
- "markdownDescription": "Extended option used when creating more complex custom snippets.",
1672
- "type": "object"
1673
- },
1674
- "_snippets_imports": {
1675
- "$ref": "#/definitions/SnippetsImports",
1676
- "description": "Provides control over which snippets are available to use and/or extend within `_snippets`.",
1677
- "markdownDescription": "Provides control over which snippets are available to use and/or extend within `_snippets`."
1678
- },
1679
- "_snippets_templates": {
1680
- "additionalProperties": {
1681
- "$ref": "#/definitions/SnippetConfig"
1682
- },
1683
- "description": "Extended option used when creating more complex custom snippets.",
1684
- "markdownDescription": "Extended option used when creating more complex custom snippets.",
1685
- "type": "object"
1686
- },
1687
1681
  "_structures": {
1688
1682
  "additionalProperties": {
1689
1683
  "$ref": "#/definitions/Structure"
@@ -1692,341 +1686,26 @@
1692
1686
  "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
1693
1687
  "type": "object"
1694
1688
  },
1695
- "base_url": {
1696
- "description": "The subpath where your output files are hosted.",
1697
- "markdownDescription": "The subpath where your output files are hosted.",
1698
- "type": "string"
1699
- },
1700
- "collection_groups": {
1701
- "description": "Defines which collections are shown in the site navigation and how those collections are grouped.",
1702
- "items": {
1703
- "$ref": "#/definitions/CollectionGroup"
1704
- },
1705
- "markdownDescription": "Defines which collections are shown in the site navigation and how those collections are\ngrouped.",
1706
- "type": "array"
1707
- },
1708
- "collections_config": {
1709
- "additionalProperties": {
1710
- "additionalProperties": false,
1711
- "properties": {
1712
- "_array_structures": {
1713
- "additionalProperties": {},
1714
- "description": "[DEPRECATED] Now known as _structures.",
1715
- "markdownDescription": "[DEPRECATED] Now known as _structures.",
1716
- "type": "object"
1717
- },
1718
- "_comments": {
1719
- "additionalProperties": {
1720
- "type": "string"
1721
- },
1722
- "description": "[DEPRECATED] Now part of _inputs.*.comment.",
1723
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.comment.",
1724
- "type": "object"
1725
- },
1726
- "_editables": {
1727
- "$ref": "#/definitions/Editables",
1728
- "description": "Contains input options for Editable Regions and the Content Editor.",
1729
- "markdownDescription": "Contains input options for Editable Regions and the Content Editor."
1730
- },
1731
- "_enabled_editors": {
1732
- "description": "Set a preferred editor and/or disable the others. The first value sets which editor opens by default, and the following values specify which editors are accessible.",
1733
- "items": {
1734
- "$ref": "#/definitions/EditorKey"
1735
- },
1736
- "markdownDescription": "Set a preferred editor and/or disable the others. The first value sets which editor opens by\ndefault, and the following values specify which editors are accessible.",
1737
- "type": "array"
1738
- },
1739
- "_inputs": {
1740
- "additionalProperties": {
1741
- "$ref": "#/definitions/Input"
1742
- },
1743
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1744
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1745
- "type": "object"
1746
- },
1747
- "_options": {
1748
- "additionalProperties": {
1749
- "additionalProperties": {},
1750
- "type": "object"
1751
- },
1752
- "description": "[DEPRECATED] Now part of _inputs.*.options.",
1753
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.options.",
1754
- "type": "object"
1755
- },
1756
- "_select_data": {
1757
- "additionalProperties": {
1758
- "$ref": "#/definitions/SelectValues"
1759
- },
1760
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
1761
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
1762
- "type": "object"
1763
- },
1764
- "_structures": {
1765
- "additionalProperties": {
1766
- "$ref": "#/definitions/Structure"
1767
- },
1768
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
1769
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
1770
- "type": "object"
1771
- },
1772
- "add_options": {
1773
- "description": "Changes the options presented in the add menu in the collection file list. Defaults to an automatically generated list from _Schemas_, or uses the first file in the collection if no schemas are configured.",
1774
- "items": {
1775
- "$ref": "#/definitions/AddOption"
1776
- },
1777
- "markdownDescription": "Changes the options presented in the add menu in the collection file list. Defaults to an\nautomatically generated list from _Schemas_, or uses the first file in the collection if no\nschemas are configured.",
1778
- "type": "array"
1779
- },
1780
- "create": {
1781
- "$ref": "#/definitions/Create",
1782
- "description": "The create path definition to control where new files are saved to inside this collection. Defaults to [relative_base_path]/{title|slugify}.md.",
1783
- "markdownDescription": "The create path definition to control where new files are saved to inside this collection.\nDefaults to [relative_base_path]/{title|slugify}.md."
1784
- },
1785
- "description": {
1786
- "description": "Text or Markdown to show above the collection file list.",
1787
- "markdownDescription": "Text or Markdown to show above the collection file list.",
1788
- "type": "string"
1789
- },
1790
- "disable_add": {
1791
- "description": "Prevents users from adding new files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only (data sub-folders act as non-output collections). Otherwise, defaults to false.",
1792
- "markdownDescription": "Prevents users from adding new files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only\n(data sub-folders act as non-output collections). Otherwise, defaults to false.",
1793
- "type": "boolean"
1794
- },
1795
- "disable_add_folder": {
1796
- "description": "Prevents users from adding new folders in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only (data sub-folders act as non-output collections). Otherwise, defaults to false.",
1797
- "markdownDescription": "Prevents users from adding new folders in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only\n(data sub-folders act as non-output collections). Otherwise, defaults to false.",
1798
- "type": "boolean"
1799
- },
1800
- "disable_file_actions": {
1801
- "description": "Prevents users from renaming, moving and deleting files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only (data sub-folders act as non-output collections). Otherwise, defaults to false.",
1802
- "markdownDescription": "Prevents users from renaming, moving and deleting files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only\n(data sub-folders act as non-output collections). Otherwise, defaults to false.",
1803
- "type": "boolean"
1804
- },
1805
- "documentation": {
1806
- "$ref": "#/definitions/Documentation",
1807
- "description": "Provides a custom link for documentation for editors shown above the collection file list.",
1808
- "markdownDescription": "Provides a custom link for documentation for editors shown above the collection file list."
1809
- },
1810
- "filter": {
1811
- "anyOf": [
1812
- {
1813
- "$ref": "#/definitions/Filter"
1814
- },
1815
- {
1816
- "$ref": "#/definitions/FilterBase"
1817
- }
1818
- ],
1819
- "description": "Controls which files are displayed in the collection list. Does not change which files are assigned to this collection.",
1820
- "markdownDescription": "Controls which files are displayed in the collection list. Does not change which files are\nassigned to this collection."
1821
- },
1822
- "icon": {
1823
- "$ref": "#/definitions/Icon",
1824
- "description": "Sets an icon to use alongside references to this collection.",
1825
- "markdownDescription": "Sets an icon to use alongside references to this collection."
1826
- },
1827
- "name": {
1828
- "description": "The display name of this collection. Used in headings and in the context menu for items in the collection. This is optional as CloudCannon auto-generates this from the collection key.",
1829
- "markdownDescription": "The display name of this collection. Used in headings and in the context menu for items in the\ncollection. This is optional as CloudCannon auto-generates this from the collection key.",
1830
- "type": "string"
1831
- },
1832
- "new_preview_url": {
1833
- "description": "Preview your unbuilt pages (e.g. drafts) to another page’s output URL. The Visual Editor will load that set preview URL and use the Data Bindings and Previews to render your new page without saving.\n\nFor example new_preview_url: /about/ will load the /about/ URL on new or unbuilt pages in the Visual Editor.",
1834
- "markdownDescription": "Preview your unbuilt pages (e.g. drafts) to another page’s output URL. The Visual Editor will\nload that set preview URL and use the Data Bindings and Previews to render your new page\nwithout saving.\n\nFor example new_preview_url: /about/ will load the /about/ URL on new or unbuilt pages in the\nVisual Editor.",
1835
- "type": "string"
1836
- },
1837
- "output": {
1838
- "description": "Whether or not files in this collection produce files in the build output.",
1839
- "markdownDescription": "Whether or not files in this collection produce files in the build output.",
1840
- "type": "boolean"
1841
- },
1842
- "path": {
1843
- "description": "The top-most folder where the files in this collection are stored. It is relative to source. Each collection must have a unique path.",
1844
- "markdownDescription": "The top-most folder where the files in this collection are stored. It is relative to source.\nEach collection must have a unique path.",
1845
- "type": "string"
1846
- },
1847
- "preview": {
1848
- "$ref": "#/definitions/Preview",
1849
- "description": "Changes the way items are previewed in the CMS.",
1850
- "markdownDescription": "Changes the way items are previewed in the CMS."
1851
- },
1852
- "schema_key": {
1853
- "description": "The key used in each file to identify the schema that file uses. The value this key represents in each of this collection's files should match the keys in schemas. Defaults to _schema.",
1854
- "markdownDescription": "The key used in each file to identify the schema that file uses. The value this key represents\nin each of this collection's files should match the keys in schemas. Defaults to _schema.",
1855
- "type": "string"
1856
- },
1857
- "schemas": {
1858
- "additionalProperties": {
1859
- "$ref": "#/definitions/Schema"
1860
- },
1861
- "description": "The set of schemas for this collection. Schemas are used when creating and editing files in this collection. Each entry corresponds to a schema that describes a data structure for this collection.\n\nThe keys in this object should match the values used for schema_key inside each of this collection's files. default is a special entry and is used when a file has no schema.",
1862
- "markdownDescription": "The set of schemas for this collection. Schemas are used when creating and editing files in\nthis collection. Each entry corresponds to a schema that describes a data structure for this\ncollection.\n\nThe keys in this object should match the values used for schema_key inside each of this\ncollection's files. default is a special entry and is used when a file has no schema.",
1863
- "type": "object"
1864
- },
1865
- "singular_key": {
1866
- "description": "Overrides the default singular input key of the collection. This is used for naming conventions for select and multiselect inputs.",
1867
- "markdownDescription": "Overrides the default singular input key of the collection. This is used for naming conventions\nfor select and multiselect inputs.",
1868
- "type": "string"
1869
- },
1870
- "singular_name": {
1871
- "description": "Overrides the default singular display name of the collection. This is displayed in the collection add menu and file context menu.",
1872
- "markdownDescription": "Overrides the default singular display name of the collection. This is displayed in the\ncollection add menu and file context menu.",
1689
+ "glob": {
1690
+ "anyOf": [
1691
+ {
1692
+ "items": {
1873
1693
  "type": "string"
1874
1694
  },
1875
- "sort": {
1876
- "$ref": "#/definitions/Sort",
1877
- "description": "Sets the default sorting for the collection file list. Defaults to the first option in sort_options, then falls back descending path. As an exception, defaults to descending date for blog-like collections.",
1878
- "markdownDescription": "Sets the default sorting for the collection file list. Defaults to the first option in\nsort_options, then falls back descending path. As an exception, defaults to descending date for\nblog-like collections."
1879
- },
1880
- "sort_options": {
1881
- "description": "Controls the available options in the sort menu. Defaults to generating the options from the first item in the collection, falling back to ascending path and descending path.",
1882
- "items": {
1883
- "$ref": "#/definitions/SortOption"
1884
- },
1885
- "markdownDescription": "Controls the available options in the sort menu. Defaults to generating the options from the\nfirst item in the collection, falling back to ascending path and descending path.",
1886
- "type": "array"
1887
- }
1695
+ "type": "array"
1888
1696
  },
1889
- "type": "object"
1890
- },
1891
- "description": "Definitions for your collections, which are the sets of content files for your site grouped by folder. Entries are keyed by a chosen collection key, and contain configuration specific to that collection.",
1892
- "markdownDescription": "Definitions for your collections, which are the sets of content files for your site grouped by\nfolder. Entries are keyed by a chosen collection key, and contain configuration specific to\nthat collection.",
1893
- "type": "object"
1894
- },
1895
- "collections_config_override": {
1896
- "description": "Prevents CloudCannon from automatically discovering collections for supported SSGs if true. Defaults to false.",
1897
- "markdownDescription": "Prevents CloudCannon from automatically discovering collections for supported SSGs if true.\nDefaults to false.",
1898
- "type": "boolean"
1899
- },
1900
- "commit_templates": {
1901
- "items": {
1902
- "$ref": "#/definitions/CommitTemplate"
1903
- },
1904
- "type": "array"
1905
- },
1906
- "data_config": {
1907
- "additionalProperties": {
1908
- "type": "boolean"
1909
- },
1910
- "description": "Controls what data sets are available to populate select and multiselect inputs.",
1911
- "markdownDescription": "Controls what data sets are available to populate select and multiselect inputs.",
1912
- "type": "object"
1913
- },
1914
- "editor": {
1915
- "$ref": "#/definitions/Editor",
1916
- "description": "Contains settings for the default editor actions on your site.",
1917
- "markdownDescription": "Contains settings for the default editor actions on your site."
1918
- },
1919
- "generator": {
1920
- "additionalProperties": false,
1921
- "description": "Contains settings for various Markdown engines.",
1922
- "markdownDescription": "Contains settings for various Markdown engines.",
1923
- "properties": {
1924
- "metadata": {
1925
- "additionalProperties": false,
1926
- "description": "Settings for various Markdown engines.",
1927
- "markdownDescription": "Settings for various Markdown engines.",
1928
- "properties": {
1929
- "commonmark": {
1930
- "description": "Markdown options specific used when markdown is set to \"commonmark\".",
1931
- "markdownDescription": "Markdown options specific used when markdown is set to \"commonmark\".",
1932
- "type": "object"
1933
- },
1934
- "commonmarkghpages": {
1935
- "description": "Markdown options specific used when markdown is set to \"commonmarkghpages\".",
1936
- "markdownDescription": "Markdown options specific used when markdown is set to \"commonmarkghpages\".",
1937
- "type": "object"
1938
- },
1939
- "goldmark": {
1940
- "description": "Markdown options specific used when markdown is set to \"goldmark\".",
1941
- "markdownDescription": "Markdown options specific used when markdown is set to \"goldmark\".",
1942
- "type": "object"
1943
- },
1944
- "kramdown": {
1945
- "description": "Markdown options specific used when markdown is set to \"kramdown\".",
1946
- "markdownDescription": "Markdown options specific used when markdown is set to \"kramdown\".",
1947
- "type": "object"
1948
- },
1949
- "markdown": {
1950
- "description": "The Markdown engine used on your site.",
1951
- "enum": [
1952
- "kramdown",
1953
- "commonmark",
1954
- "commonmarkghpages",
1955
- "goldmark",
1956
- "markdown-it"
1957
- ],
1958
- "markdownDescription": "The Markdown engine used on your site.",
1959
- "type": "string"
1960
- },
1961
- "markdown-it": {
1962
- "description": "Markdown options specific used when markdown is set to \"markdown-it\".",
1963
- "markdownDescription": "Markdown options specific used when markdown is set to \"markdown-it\".",
1964
- "type": "object"
1965
- }
1966
- },
1967
- "required": [
1968
- "markdown"
1969
- ],
1970
- "type": "object"
1697
+ {
1698
+ "type": "string"
1971
1699
  }
1972
- },
1973
- "type": "object"
1974
- },
1975
- "paths": {
1976
- "$ref": "#/definitions/Paths",
1977
- "description": "Global paths to common folders.",
1978
- "markdownDescription": "Global paths to common folders."
1979
- },
1980
- "source": {
1981
- "description": "Base path to your site source files, relative to the root folder.",
1982
- "markdownDescription": "Base path to your site source files, relative to the root folder.",
1983
- "type": "string"
1984
- },
1985
- "source_editor": {
1986
- "$ref": "#/definitions/SourceEditor",
1987
- "description": "Settings for the behavior and appearance of the Source Editor.",
1988
- "markdownDescription": "Settings for the behavior and appearance of the Source Editor."
1989
- },
1990
- "ssg": {
1991
- "const": "eleventy",
1992
- "type": "string"
1993
- },
1994
- "timezone": {
1995
- "$ref": "#/definitions/Timezone",
1996
- "default": "Etc/UTC",
1997
- "description": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the date is persisted to the file with.",
1998
- "markdownDescription": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the\ndate is persisted to the file with."
1700
+ ],
1701
+ "description": "The glob pattern(s) targeting a path to one or more files.",
1702
+ "markdownDescription": "The glob pattern(s) targeting a path to one or more files."
1999
1703
  }
2000
1704
  },
2001
- "type": "object"
2002
- },
2003
- "EmptyTypeArray": {
2004
- "enum": [
2005
- "null",
2006
- "array"
2007
- ],
2008
- "type": "string"
2009
- },
2010
- "EmptyTypeNumber": {
2011
- "enum": [
2012
- "null",
2013
- "number"
2014
- ],
2015
- "type": "string"
2016
- },
2017
- "EmptyTypeObject": {
2018
- "enum": [
2019
- "null",
2020
- "object"
2021
- ],
2022
- "type": "string"
2023
- },
2024
- "EmptyTypeText": {
2025
- "enum": [
2026
- "null",
2027
- "string"
1705
+ "required": [
1706
+ "glob"
2028
1707
  ],
2029
- "type": "string"
1708
+ "type": "object"
2030
1709
  },
2031
1710
  "FileInput": {
2032
1711
  "additionalProperties": false,
@@ -2152,450 +1831,7 @@
2152
1831
  },
2153
1832
  "type": "object"
2154
1833
  },
2155
- "Filter": {
2156
- "additionalProperties": false,
2157
- "properties": {
2158
- "base": {
2159
- "$ref": "#/definitions/FilterBase",
2160
- "description": "Defines the initial set of visible files in the collection file list. Defaults to \"all\", or \"strict\" for the auto-discovered `pages` collection in Jekyll, Hugo, and Eleventy.",
2161
- "markdownDescription": "Defines the initial set of visible files in the collection file list. Defaults to \"all\", or\n\"strict\" for the auto-discovered `pages` collection in Jekyll, Hugo, and Eleventy."
2162
- },
2163
- "exclude": {
2164
- "description": "Remove from the visible files set with `base`. Paths must be relative to the containing collection `path`.",
2165
- "items": {
2166
- "type": "string"
2167
- },
2168
- "markdownDescription": "Remove from the visible files set with `base`. Paths must be relative to the containing\ncollection `path`.",
2169
- "type": "array"
2170
- },
2171
- "include": {
2172
- "description": "Add to the visible files set with `base`. Paths must be relative to the containing collection `path`.",
2173
- "items": {
2174
- "type": "string"
2175
- },
2176
- "markdownDescription": "Add to the visible files set with `base`. Paths must be relative to the containing collection\n`path`.",
2177
- "type": "array"
2178
- }
2179
- },
2180
- "type": "object"
2181
- },
2182
- "FilterBase": {
2183
- "enum": [
2184
- "none",
2185
- "all",
2186
- "strict"
2187
- ],
2188
- "type": "string"
2189
- },
2190
- "HugoCollectionConfig": {
2191
- "additionalProperties": false,
2192
- "properties": {
2193
- "_array_structures": {
2194
- "additionalProperties": {},
2195
- "description": "[DEPRECATED] Now known as _structures.",
2196
- "markdownDescription": "[DEPRECATED] Now known as _structures.",
2197
- "type": "object"
2198
- },
2199
- "_comments": {
2200
- "additionalProperties": {
2201
- "type": "string"
2202
- },
2203
- "description": "[DEPRECATED] Now part of _inputs.*.comment.",
2204
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.comment.",
2205
- "type": "object"
2206
- },
2207
- "_editables": {
2208
- "$ref": "#/definitions/Editables",
2209
- "description": "Contains input options for Editable Regions and the Content Editor.",
2210
- "markdownDescription": "Contains input options for Editable Regions and the Content Editor."
2211
- },
2212
- "_enabled_editors": {
2213
- "description": "Set a preferred editor and/or disable the others. The first value sets which editor opens by default, and the following values specify which editors are accessible.",
2214
- "items": {
2215
- "$ref": "#/definitions/EditorKey"
2216
- },
2217
- "markdownDescription": "Set a preferred editor and/or disable the others. The first value sets which editor opens by\ndefault, and the following values specify which editors are accessible.",
2218
- "type": "array"
2219
- },
2220
- "_inputs": {
2221
- "additionalProperties": {
2222
- "$ref": "#/definitions/Input"
2223
- },
2224
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2225
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2226
- "type": "object"
2227
- },
2228
- "_options": {
2229
- "additionalProperties": {
2230
- "additionalProperties": {},
2231
- "type": "object"
2232
- },
2233
- "description": "[DEPRECATED] Now part of _inputs.*.options.",
2234
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.options.",
2235
- "type": "object"
2236
- },
2237
- "_select_data": {
2238
- "additionalProperties": {
2239
- "$ref": "#/definitions/SelectValues"
2240
- },
2241
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
2242
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
2243
- "type": "object"
2244
- },
2245
- "_structures": {
2246
- "additionalProperties": {
2247
- "$ref": "#/definitions/Structure"
2248
- },
2249
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
2250
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
2251
- "type": "object"
2252
- },
2253
- "add_options": {
2254
- "description": "Changes the options presented in the add menu in the collection file list. Defaults to an automatically generated list from _Schemas_, or uses the first file in the collection if no schemas are configured.",
2255
- "items": {
2256
- "$ref": "#/definitions/AddOption"
2257
- },
2258
- "markdownDescription": "Changes the options presented in the add menu in the collection file list. Defaults to an\nautomatically generated list from _Schemas_, or uses the first file in the collection if no\nschemas are configured.",
2259
- "type": "array"
2260
- },
2261
- "create": {
2262
- "$ref": "#/definitions/Create",
2263
- "description": "The create path definition to control where new files are saved to inside this collection. Defaults to [relative_base_path]/{title|slugify}.md.",
2264
- "markdownDescription": "The create path definition to control where new files are saved to inside this collection.\nDefaults to [relative_base_path]/{title|slugify}.md."
2265
- },
2266
- "description": {
2267
- "description": "Text or Markdown to show above the collection file list.",
2268
- "markdownDescription": "Text or Markdown to show above the collection file list.",
2269
- "type": "string"
2270
- },
2271
- "disable_add": {
2272
- "description": "Prevents users from adding new files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only (data sub-folders act as non-output collections). Otherwise, defaults to false.",
2273
- "markdownDescription": "Prevents users from adding new files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only\n(data sub-folders act as non-output collections). Otherwise, defaults to false.",
2274
- "type": "boolean"
2275
- },
2276
- "disable_add_folder": {
2277
- "description": "Prevents users from adding new folders in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only (data sub-folders act as non-output collections). Otherwise, defaults to false.",
2278
- "markdownDescription": "Prevents users from adding new folders in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only\n(data sub-folders act as non-output collections). Otherwise, defaults to false.",
2279
- "type": "boolean"
2280
- },
2281
- "disable_file_actions": {
2282
- "description": "Prevents users from renaming, moving and deleting files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only (data sub-folders act as non-output collections). Otherwise, defaults to false.",
2283
- "markdownDescription": "Prevents users from renaming, moving and deleting files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only\n(data sub-folders act as non-output collections). Otherwise, defaults to false.",
2284
- "type": "boolean"
2285
- },
2286
- "documentation": {
2287
- "$ref": "#/definitions/Documentation",
2288
- "description": "Provides a custom link for documentation for editors shown above the collection file list.",
2289
- "markdownDescription": "Provides a custom link for documentation for editors shown above the collection file list."
2290
- },
2291
- "filter": {
2292
- "anyOf": [
2293
- {
2294
- "$ref": "#/definitions/Filter"
2295
- },
2296
- {
2297
- "$ref": "#/definitions/FilterBase"
2298
- }
2299
- ],
2300
- "description": "Controls which files are displayed in the collection list. Does not change which files are assigned to this collection.",
2301
- "markdownDescription": "Controls which files are displayed in the collection list. Does not change which files are\nassigned to this collection."
2302
- },
2303
- "icon": {
2304
- "$ref": "#/definitions/Icon",
2305
- "description": "Sets an icon to use alongside references to this collection.",
2306
- "markdownDescription": "Sets an icon to use alongside references to this collection."
2307
- },
2308
- "name": {
2309
- "description": "The display name of this collection. Used in headings and in the context menu for items in the collection. This is optional as CloudCannon auto-generates this from the collection key.",
2310
- "markdownDescription": "The display name of this collection. Used in headings and in the context menu for items in the\ncollection. This is optional as CloudCannon auto-generates this from the collection key.",
2311
- "type": "string"
2312
- },
2313
- "new_preview_url": {
2314
- "description": "Preview your unbuilt pages (e.g. drafts) to another page’s output URL. The Visual Editor will load that set preview URL and use the Data Bindings and Previews to render your new page without saving.\n\nFor example new_preview_url: /about/ will load the /about/ URL on new or unbuilt pages in the Visual Editor.",
2315
- "markdownDescription": "Preview your unbuilt pages (e.g. drafts) to another page’s output URL. The Visual Editor will\nload that set preview URL and use the Data Bindings and Previews to render your new page\nwithout saving.\n\nFor example new_preview_url: /about/ will load the /about/ URL on new or unbuilt pages in the\nVisual Editor.",
2316
- "type": "string"
2317
- },
2318
- "output": {
2319
- "description": "Whether or not files in this collection produce files in the build output.",
2320
- "markdownDescription": "Whether or not files in this collection produce files in the build output.",
2321
- "type": "boolean"
2322
- },
2323
- "parse_branch_index": {
2324
- "description": "Controls whether branch index files (e.g. _index.md) are assigned to this collection or not. The \"pages\" collection defaults this to true, and false otherwise.",
2325
- "markdownDescription": "Controls whether branch index files (e.g. _index.md) are assigned to this collection or not.\nThe \"pages\" collection defaults this to true, and false otherwise.",
2326
- "type": "boolean"
2327
- },
2328
- "path": {
2329
- "description": "The top-most folder where the files in this collection are stored. It is relative to source. Each collection must have a unique path.",
2330
- "markdownDescription": "The top-most folder where the files in this collection are stored. It is relative to source.\nEach collection must have a unique path.",
2331
- "type": "string"
2332
- },
2333
- "preview": {
2334
- "$ref": "#/definitions/Preview",
2335
- "description": "Changes the way items are previewed in the CMS.",
2336
- "markdownDescription": "Changes the way items are previewed in the CMS."
2337
- },
2338
- "schema_key": {
2339
- "description": "The key used in each file to identify the schema that file uses. The value this key represents in each of this collection's files should match the keys in schemas. Defaults to _schema.",
2340
- "markdownDescription": "The key used in each file to identify the schema that file uses. The value this key represents\nin each of this collection's files should match the keys in schemas. Defaults to _schema.",
2341
- "type": "string"
2342
- },
2343
- "schemas": {
2344
- "additionalProperties": {
2345
- "$ref": "#/definitions/Schema"
2346
- },
2347
- "description": "The set of schemas for this collection. Schemas are used when creating and editing files in this collection. Each entry corresponds to a schema that describes a data structure for this collection.\n\nThe keys in this object should match the values used for schema_key inside each of this collection's files. default is a special entry and is used when a file has no schema.",
2348
- "markdownDescription": "The set of schemas for this collection. Schemas are used when creating and editing files in\nthis collection. Each entry corresponds to a schema that describes a data structure for this\ncollection.\n\nThe keys in this object should match the values used for schema_key inside each of this\ncollection's files. default is a special entry and is used when a file has no schema.",
2349
- "type": "object"
2350
- },
2351
- "singular_key": {
2352
- "description": "Overrides the default singular input key of the collection. This is used for naming conventions for select and multiselect inputs.",
2353
- "markdownDescription": "Overrides the default singular input key of the collection. This is used for naming conventions\nfor select and multiselect inputs.",
2354
- "type": "string"
2355
- },
2356
- "singular_name": {
2357
- "description": "Overrides the default singular display name of the collection. This is displayed in the collection add menu and file context menu.",
2358
- "markdownDescription": "Overrides the default singular display name of the collection. This is displayed in the\ncollection add menu and file context menu.",
2359
- "type": "string"
2360
- },
2361
- "sort": {
2362
- "$ref": "#/definitions/Sort",
2363
- "description": "Sets the default sorting for the collection file list. Defaults to the first option in sort_options, then falls back descending path. As an exception, defaults to descending date for blog-like collections.",
2364
- "markdownDescription": "Sets the default sorting for the collection file list. Defaults to the first option in\nsort_options, then falls back descending path. As an exception, defaults to descending date for\nblog-like collections."
2365
- },
2366
- "sort_options": {
2367
- "description": "Controls the available options in the sort menu. Defaults to generating the options from the first item in the collection, falling back to ascending path and descending path.",
2368
- "items": {
2369
- "$ref": "#/definitions/SortOption"
2370
- },
2371
- "markdownDescription": "Controls the available options in the sort menu. Defaults to generating the options from the\nfirst item in the collection, falling back to ascending path and descending path.",
2372
- "type": "array"
2373
- }
2374
- },
2375
- "type": "object"
2376
- },
2377
- "HugoConfiguration": {
2378
- "additionalProperties": false,
2379
- "properties": {
2380
- "_array_structures": {
2381
- "additionalProperties": {},
2382
- "description": "[DEPRECATED] Now known as _structures.",
2383
- "markdownDescription": "[DEPRECATED] Now known as _structures.",
2384
- "type": "object"
2385
- },
2386
- "_comments": {
2387
- "additionalProperties": {
2388
- "type": "string"
2389
- },
2390
- "description": "[DEPRECATED] Now part of _inputs.*.comment.",
2391
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.comment.",
2392
- "type": "object"
2393
- },
2394
- "_editables": {
2395
- "$ref": "#/definitions/Editables",
2396
- "description": "Contains input options for Editable Regions and the Content Editor.",
2397
- "markdownDescription": "Contains input options for Editable Regions and the Content Editor."
2398
- },
2399
- "_enabled_editors": {
2400
- "description": "Set a preferred editor and/or disable the others. The first value sets which editor opens by default, and the following values specify which editors are accessible.",
2401
- "items": {
2402
- "$ref": "#/definitions/EditorKey"
2403
- },
2404
- "markdownDescription": "Set a preferred editor and/or disable the others. The first value sets which editor opens by\ndefault, and the following values specify which editors are accessible.",
2405
- "type": "array"
2406
- },
2407
- "_inputs": {
2408
- "additionalProperties": {
2409
- "$ref": "#/definitions/Input"
2410
- },
2411
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2412
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2413
- "type": "object"
2414
- },
2415
- "_options": {
2416
- "additionalProperties": {
2417
- "additionalProperties": {},
2418
- "type": "object"
2419
- },
2420
- "description": "[DEPRECATED] Now part of _inputs.*.options.",
2421
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.options.",
2422
- "type": "object"
2423
- },
2424
- "_select_data": {
2425
- "additionalProperties": {
2426
- "$ref": "#/definitions/SelectValues"
2427
- },
2428
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
2429
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
2430
- "type": "object"
2431
- },
2432
- "_snippets": {
2433
- "additionalProperties": {
2434
- "$ref": "#/definitions/SnippetConfig"
2435
- },
2436
- "description": "Configuration for custom snippets.",
2437
- "markdownDescription": "Configuration for custom snippets.",
2438
- "type": "object"
2439
- },
2440
- "_snippets_definitions": {
2441
- "additionalProperties": {
2442
- "$ref": "#/definitions/SnippetConfig"
2443
- },
2444
- "description": "Extended option used when creating more complex custom snippets.",
2445
- "markdownDescription": "Extended option used when creating more complex custom snippets.",
2446
- "type": "object"
2447
- },
2448
- "_snippets_imports": {
2449
- "$ref": "#/definitions/SnippetsImports",
2450
- "description": "Provides control over which snippets are available to use and/or extend within `_snippets`.",
2451
- "markdownDescription": "Provides control over which snippets are available to use and/or extend within `_snippets`."
2452
- },
2453
- "_snippets_templates": {
2454
- "additionalProperties": {
2455
- "$ref": "#/definitions/SnippetConfig"
2456
- },
2457
- "description": "Extended option used when creating more complex custom snippets.",
2458
- "markdownDescription": "Extended option used when creating more complex custom snippets.",
2459
- "type": "object"
2460
- },
2461
- "_structures": {
2462
- "additionalProperties": {
2463
- "$ref": "#/definitions/Structure"
2464
- },
2465
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
2466
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
2467
- "type": "object"
2468
- },
2469
- "base_url": {
2470
- "description": "The subpath where your output files are hosted.",
2471
- "markdownDescription": "The subpath where your output files are hosted.",
2472
- "type": "string"
2473
- },
2474
- "collection_groups": {
2475
- "description": "Defines which collections are shown in the site navigation and how those collections are grouped.",
2476
- "items": {
2477
- "$ref": "#/definitions/CollectionGroup"
2478
- },
2479
- "markdownDescription": "Defines which collections are shown in the site navigation and how those collections are\ngrouped.",
2480
- "type": "array"
2481
- },
2482
- "collections_config": {
2483
- "additionalProperties": {
2484
- "$ref": "#/definitions/HugoCollectionConfig"
2485
- },
2486
- "description": "Definitions for your collections, which are the sets of content files for your site grouped by folder. Entries are keyed by a chosen collection key, and contain configuration specific to that collection.",
2487
- "markdownDescription": "Definitions for your collections, which are the sets of content files for your site grouped by\nfolder. Entries are keyed by a chosen collection key, and contain configuration specific to\nthat collection.",
2488
- "type": "object"
2489
- },
2490
- "collections_config_override": {
2491
- "description": "Prevents CloudCannon from automatically discovering collections for supported SSGs if true. Defaults to false.",
2492
- "markdownDescription": "Prevents CloudCannon from automatically discovering collections for supported SSGs if true.\nDefaults to false.",
2493
- "type": "boolean"
2494
- },
2495
- "commit_templates": {
2496
- "items": {
2497
- "$ref": "#/definitions/CommitTemplate"
2498
- },
2499
- "type": "array"
2500
- },
2501
- "data_config": {
2502
- "additionalProperties": {
2503
- "type": "boolean"
2504
- },
2505
- "description": "Controls what data sets are available to populate select and multiselect inputs.",
2506
- "markdownDescription": "Controls what data sets are available to populate select and multiselect inputs.",
2507
- "type": "object"
2508
- },
2509
- "editor": {
2510
- "$ref": "#/definitions/Editor",
2511
- "description": "Contains settings for the default editor actions on your site.",
2512
- "markdownDescription": "Contains settings for the default editor actions on your site."
2513
- },
2514
- "generator": {
2515
- "additionalProperties": false,
2516
- "description": "Contains settings for various Markdown engines.",
2517
- "markdownDescription": "Contains settings for various Markdown engines.",
2518
- "properties": {
2519
- "metadata": {
2520
- "additionalProperties": false,
2521
- "description": "Settings for various Markdown engines.",
2522
- "markdownDescription": "Settings for various Markdown engines.",
2523
- "properties": {
2524
- "commonmark": {
2525
- "description": "Markdown options specific used when markdown is set to \"commonmark\".",
2526
- "markdownDescription": "Markdown options specific used when markdown is set to \"commonmark\".",
2527
- "type": "object"
2528
- },
2529
- "commonmarkghpages": {
2530
- "description": "Markdown options specific used when markdown is set to \"commonmarkghpages\".",
2531
- "markdownDescription": "Markdown options specific used when markdown is set to \"commonmarkghpages\".",
2532
- "type": "object"
2533
- },
2534
- "goldmark": {
2535
- "description": "Markdown options specific used when markdown is set to \"goldmark\".",
2536
- "markdownDescription": "Markdown options specific used when markdown is set to \"goldmark\".",
2537
- "type": "object"
2538
- },
2539
- "kramdown": {
2540
- "description": "Markdown options specific used when markdown is set to \"kramdown\".",
2541
- "markdownDescription": "Markdown options specific used when markdown is set to \"kramdown\".",
2542
- "type": "object"
2543
- },
2544
- "markdown": {
2545
- "description": "The Markdown engine used on your site.",
2546
- "enum": [
2547
- "kramdown",
2548
- "commonmark",
2549
- "commonmarkghpages",
2550
- "goldmark",
2551
- "markdown-it"
2552
- ],
2553
- "markdownDescription": "The Markdown engine used on your site.",
2554
- "type": "string"
2555
- },
2556
- "markdown-it": {
2557
- "description": "Markdown options specific used when markdown is set to \"markdown-it\".",
2558
- "markdownDescription": "Markdown options specific used when markdown is set to \"markdown-it\".",
2559
- "type": "object"
2560
- }
2561
- },
2562
- "required": [
2563
- "markdown"
2564
- ],
2565
- "type": "object"
2566
- }
2567
- },
2568
- "type": "object"
2569
- },
2570
- "paths": {
2571
- "$ref": "#/definitions/Paths",
2572
- "description": "Global paths to common folders.",
2573
- "markdownDescription": "Global paths to common folders."
2574
- },
2575
- "source": {
2576
- "description": "Base path to your site source files, relative to the root folder.",
2577
- "markdownDescription": "Base path to your site source files, relative to the root folder.",
2578
- "type": "string"
2579
- },
2580
- "source_editor": {
2581
- "$ref": "#/definitions/SourceEditor",
2582
- "description": "Settings for the behavior and appearance of the Source Editor.",
2583
- "markdownDescription": "Settings for the behavior and appearance of the Source Editor."
2584
- },
2585
- "ssg": {
2586
- "const": "hugo",
2587
- "type": "string"
2588
- },
2589
- "timezone": {
2590
- "$ref": "#/definitions/Timezone",
2591
- "default": "Etc/UTC",
2592
- "description": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the date is persisted to the file with.",
2593
- "markdownDescription": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the\ndate is persisted to the file with."
2594
- }
2595
- },
2596
- "type": "object"
2597
- },
2598
- "Icon": {
1834
+ "Icon": {
2599
1835
  "enum": [
2600
1836
  "10k",
2601
1837
  "10mp",
@@ -4957,569 +4193,169 @@
4957
4193
  "markdownDescription": "Instructs the editor to save `width` and `height` attributes on the image elements. This can\nprevent pop-in as a page loads.",
4958
4194
  "type": "boolean"
4959
4195
  },
4960
- "mime_type": {
4961
- "description": "Sets the format images are converted to prior to upload. The extension of the file is updated to match. Defaults to keeping the mime type of the uploaded file.",
4962
- "enum": [
4963
- "image/jpeg",
4964
- "image/png"
4965
- ],
4966
- "markdownDescription": "Sets the format images are converted to prior to upload. The extension of the file is updated\nto match. Defaults to keeping the mime type of the uploaded file.",
4967
- "type": "string"
4968
- },
4969
- "paths": {
4970
- "$ref": "#/definitions/ReducedPaths",
4971
- "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`.",
4972
- "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`."
4973
- },
4974
- "prevent_resize_existing_files": {
4975
- "default": false,
4976
- "description": "Enable to skip the image resizing process configured for this input when selecting existing images.",
4977
- "markdownDescription": "Enable to skip the image resizing process configured for this input when selecting existing\nimages.",
4978
- "type": "boolean"
4979
- },
4980
- "resize_style": {
4981
- "default": "contain",
4982
- "description": "Sets how uploaded image files are resized with a bounding box defined by width and height prior to upload. Has no effect when selecting existing images, or if width and height are unset.",
4983
- "enum": [
4984
- "cover",
4985
- "contain",
4986
- "stretch",
4987
- "crop"
4988
- ],
4989
- "markdownDescription": "Sets how uploaded image files are resized with a bounding box defined by width and height prior\nto upload. Has no effect when selecting existing images, or if width and height are unset.",
4990
- "type": "string"
4991
- },
4992
- "sizes": {
4993
- "description": "Definitions for creating additional images of different sizes when uploading or selecting existing files.",
4994
- "items": {
4995
- "additionalProperties": false,
4996
- "properties": {
4997
- "size": {
4998
- "description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).",
4999
- "markdownDescription": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of\nthe image (e.g. 2x, 3x, 100w, 360w).",
5000
- "type": "string"
5001
- },
5002
- "target": {
5003
- "description": "A reference to another input that is given the path to this additional image file.",
5004
- "markdownDescription": "A reference to another input that is given the path to this additional image file.",
5005
- "type": "string"
5006
- }
5007
- },
5008
- "required": [
5009
- "size"
5010
- ],
5011
- "type": "object"
5012
- },
5013
- "markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
5014
- "type": "array"
5015
- },
5016
- "width": {
5017
- "description": "Defines the width of the bounding box used in the image resizing process defined with resize_style.",
5018
- "markdownDescription": "Defines the width of the bounding box used in the image resizing process defined with\nresize_style.",
5019
- "type": "number"
5020
- }
5021
- },
5022
- "type": "object"
5023
- },
5024
- "Input": {
5025
- "anyOf": [
5026
- {
5027
- "$ref": "#/definitions/BaseInput"
5028
- },
5029
- {
5030
- "$ref": "#/definitions/UnknownInput"
5031
- },
5032
- {
5033
- "$ref": "#/definitions/TextInput"
5034
- },
5035
- {
5036
- "$ref": "#/definitions/CodeInput"
5037
- },
5038
- {
5039
- "$ref": "#/definitions/ColorInput"
5040
- },
5041
- {
5042
- "$ref": "#/definitions/NumberInput"
5043
- },
5044
- {
5045
- "$ref": "#/definitions/RangeInput"
5046
- },
5047
- {
5048
- "$ref": "#/definitions/UrlInput"
5049
- },
5050
- {
5051
- "$ref": "#/definitions/RichTextInput"
5052
- },
5053
- {
5054
- "$ref": "#/definitions/DateInput"
5055
- },
5056
- {
5057
- "$ref": "#/definitions/FileInput"
5058
- },
5059
- {
5060
- "$ref": "#/definitions/ImageInput"
5061
- },
5062
- {
5063
- "$ref": "#/definitions/SelectInput"
5064
- },
5065
- {
5066
- "$ref": "#/definitions/MultiselectInput"
5067
- },
5068
- {
5069
- "$ref": "#/definitions/ChoiceInput"
5070
- },
5071
- {
5072
- "$ref": "#/definitions/MultichoiceInput"
5073
- },
5074
- {
5075
- "$ref": "#/definitions/ObjectInput"
5076
- },
5077
- {
5078
- "$ref": "#/definitions/ArrayInput"
5079
- }
5080
- ]
5081
- },
5082
- "InputType": {
5083
- "enum": [
5084
- "text",
5085
- "textarea",
5086
- "email",
5087
- "disabled",
5088
- "pinterest",
5089
- "facebook",
5090
- "twitter",
5091
- "github",
5092
- "instagram",
5093
- "code",
5094
- "checkbox",
5095
- "switch",
5096
- "color",
5097
- "number",
5098
- "range",
5099
- "url",
5100
- "html",
5101
- "markdown",
5102
- "date",
5103
- "datetime",
5104
- "time",
5105
- "file",
5106
- "image",
5107
- "document",
5108
- "select",
5109
- "multiselect",
5110
- "choice",
5111
- "multichoice",
5112
- "object",
5113
- "array"
5114
- ],
5115
- "type": "string"
5116
- },
5117
- "InstanceValue": {
5118
- "enum": [
5119
- "UUID",
5120
- "NOW"
5121
- ],
5122
- "type": "string"
5123
- },
5124
- "JekyllConfiguration": {
5125
- "additionalProperties": false,
5126
- "properties": {
5127
- "_array_structures": {
5128
- "additionalProperties": {},
5129
- "description": "[DEPRECATED] Now known as _structures.",
5130
- "markdownDescription": "[DEPRECATED] Now known as _structures.",
5131
- "type": "object"
5132
- },
5133
- "_comments": {
5134
- "additionalProperties": {
5135
- "type": "string"
5136
- },
5137
- "description": "[DEPRECATED] Now part of _inputs.*.comment.",
5138
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.comment.",
5139
- "type": "object"
5140
- },
5141
- "_editables": {
5142
- "$ref": "#/definitions/Editables",
5143
- "description": "Contains input options for Editable Regions and the Content Editor.",
5144
- "markdownDescription": "Contains input options for Editable Regions and the Content Editor."
5145
- },
5146
- "_enabled_editors": {
5147
- "description": "Set a preferred editor and/or disable the others. The first value sets which editor opens by default, and the following values specify which editors are accessible.",
5148
- "items": {
5149
- "$ref": "#/definitions/EditorKey"
5150
- },
5151
- "markdownDescription": "Set a preferred editor and/or disable the others. The first value sets which editor opens by\ndefault, and the following values specify which editors are accessible.",
5152
- "type": "array"
5153
- },
5154
- "_inputs": {
5155
- "additionalProperties": {
5156
- "$ref": "#/definitions/Input"
5157
- },
5158
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
5159
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
5160
- "type": "object"
5161
- },
5162
- "_options": {
5163
- "additionalProperties": {
5164
- "additionalProperties": {},
5165
- "type": "object"
5166
- },
5167
- "description": "[DEPRECATED] Now part of _inputs.*.options.",
5168
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.options.",
5169
- "type": "object"
5170
- },
5171
- "_select_data": {
5172
- "additionalProperties": {
5173
- "$ref": "#/definitions/SelectValues"
5174
- },
5175
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
5176
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
5177
- "type": "object"
5178
- },
5179
- "_snippets": {
5180
- "additionalProperties": {
5181
- "$ref": "#/definitions/SnippetConfig"
5182
- },
5183
- "description": "Configuration for custom snippets.",
5184
- "markdownDescription": "Configuration for custom snippets.",
5185
- "type": "object"
5186
- },
5187
- "_snippets_definitions": {
5188
- "additionalProperties": {
5189
- "$ref": "#/definitions/SnippetConfig"
5190
- },
5191
- "description": "Extended option used when creating more complex custom snippets.",
5192
- "markdownDescription": "Extended option used when creating more complex custom snippets.",
5193
- "type": "object"
5194
- },
5195
- "_snippets_imports": {
5196
- "$ref": "#/definitions/SnippetsImports",
5197
- "description": "Provides control over which snippets are available to use and/or extend within `_snippets`.",
5198
- "markdownDescription": "Provides control over which snippets are available to use and/or extend within `_snippets`."
5199
- },
5200
- "_snippets_templates": {
5201
- "additionalProperties": {
5202
- "$ref": "#/definitions/SnippetConfig"
5203
- },
5204
- "description": "Extended option used when creating more complex custom snippets.",
5205
- "markdownDescription": "Extended option used when creating more complex custom snippets.",
5206
- "type": "object"
4196
+ "mime_type": {
4197
+ "description": "Sets the format images are converted to prior to upload. The extension of the file is updated to match. Defaults to keeping the mime type of the uploaded file.",
4198
+ "enum": [
4199
+ "image/jpeg",
4200
+ "image/png"
4201
+ ],
4202
+ "markdownDescription": "Sets the format images are converted to prior to upload. The extension of the file is updated\nto match. Defaults to keeping the mime type of the uploaded file.",
4203
+ "type": "string"
5207
4204
  },
5208
- "_structures": {
5209
- "additionalProperties": {
5210
- "$ref": "#/definitions/Structure"
5211
- },
5212
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
5213
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
5214
- "type": "object"
4205
+ "paths": {
4206
+ "$ref": "#/definitions/ReducedPaths",
4207
+ "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`.",
4208
+ "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`."
5215
4209
  },
5216
- "base_url": {
5217
- "description": "The subpath where your output files are hosted.",
5218
- "markdownDescription": "The subpath where your output files are hosted.",
4210
+ "prevent_resize_existing_files": {
4211
+ "default": false,
4212
+ "description": "Enable to skip the image resizing process configured for this input when selecting existing images.",
4213
+ "markdownDescription": "Enable to skip the image resizing process configured for this input when selecting existing\nimages.",
4214
+ "type": "boolean"
4215
+ },
4216
+ "resize_style": {
4217
+ "default": "contain",
4218
+ "description": "Sets how uploaded image files are resized with a bounding box defined by width and height prior to upload. Has no effect when selecting existing images, or if width and height are unset.",
4219
+ "enum": [
4220
+ "cover",
4221
+ "contain",
4222
+ "stretch",
4223
+ "crop"
4224
+ ],
4225
+ "markdownDescription": "Sets how uploaded image files are resized with a bounding box defined by width and height prior\nto upload. Has no effect when selecting existing images, or if width and height are unset.",
5219
4226
  "type": "string"
5220
4227
  },
5221
- "collection_groups": {
5222
- "description": "Defines which collections are shown in the site navigation and how those collections are grouped.",
4228
+ "sizes": {
4229
+ "description": "Definitions for creating additional images of different sizes when uploading or selecting existing files.",
5223
4230
  "items": {
5224
- "$ref": "#/definitions/CollectionGroup"
5225
- },
5226
- "markdownDescription": "Defines which collections are shown in the site navigation and how those collections are\ngrouped.",
5227
- "type": "array"
5228
- },
5229
- "collections_config": {
5230
- "additionalProperties": {
5231
4231
  "additionalProperties": false,
5232
4232
  "properties": {
5233
- "_array_structures": {
5234
- "additionalProperties": {},
5235
- "description": "[DEPRECATED] Now known as _structures.",
5236
- "markdownDescription": "[DEPRECATED] Now known as _structures.",
5237
- "type": "object"
5238
- },
5239
- "_comments": {
5240
- "additionalProperties": {
5241
- "type": "string"
5242
- },
5243
- "description": "[DEPRECATED] Now part of _inputs.*.comment.",
5244
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.comment.",
5245
- "type": "object"
5246
- },
5247
- "_editables": {
5248
- "$ref": "#/definitions/Editables",
5249
- "description": "Contains input options for Editable Regions and the Content Editor.",
5250
- "markdownDescription": "Contains input options for Editable Regions and the Content Editor."
5251
- },
5252
- "_enabled_editors": {
5253
- "description": "Set a preferred editor and/or disable the others. The first value sets which editor opens by default, and the following values specify which editors are accessible.",
5254
- "items": {
5255
- "$ref": "#/definitions/EditorKey"
5256
- },
5257
- "markdownDescription": "Set a preferred editor and/or disable the others. The first value sets which editor opens by\ndefault, and the following values specify which editors are accessible.",
5258
- "type": "array"
5259
- },
5260
- "_inputs": {
5261
- "additionalProperties": {
5262
- "$ref": "#/definitions/Input"
5263
- },
5264
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
5265
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
5266
- "type": "object"
5267
- },
5268
- "_options": {
5269
- "additionalProperties": {
5270
- "additionalProperties": {},
5271
- "type": "object"
5272
- },
5273
- "description": "[DEPRECATED] Now part of _inputs.*.options.",
5274
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.options.",
5275
- "type": "object"
5276
- },
5277
- "_select_data": {
5278
- "additionalProperties": {
5279
- "$ref": "#/definitions/SelectValues"
5280
- },
5281
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
5282
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
5283
- "type": "object"
5284
- },
5285
- "_structures": {
5286
- "additionalProperties": {
5287
- "$ref": "#/definitions/Structure"
5288
- },
5289
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
5290
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
5291
- "type": "object"
5292
- },
5293
- "add_options": {
5294
- "description": "Changes the options presented in the add menu in the collection file list. Defaults to an automatically generated list from _Schemas_, or uses the first file in the collection if no schemas are configured.",
5295
- "items": {
5296
- "$ref": "#/definitions/AddOption"
5297
- },
5298
- "markdownDescription": "Changes the options presented in the add menu in the collection file list. Defaults to an\nautomatically generated list from _Schemas_, or uses the first file in the collection if no\nschemas are configured.",
5299
- "type": "array"
5300
- },
5301
- "create": {
5302
- "$ref": "#/definitions/Create",
5303
- "description": "The create path definition to control where new files are saved to inside this collection. Defaults to [relative_base_path]/{title|slugify}.md.",
5304
- "markdownDescription": "The create path definition to control where new files are saved to inside this collection.\nDefaults to [relative_base_path]/{title|slugify}.md."
5305
- },
5306
- "description": {
5307
- "description": "Text or Markdown to show above the collection file list.",
5308
- "markdownDescription": "Text or Markdown to show above the collection file list.",
5309
- "type": "string"
5310
- },
5311
- "disable_add": {
5312
- "description": "Prevents users from adding new files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only (data sub-folders act as non-output collections). Otherwise, defaults to false.",
5313
- "markdownDescription": "Prevents users from adding new files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only\n(data sub-folders act as non-output collections). Otherwise, defaults to false.",
5314
- "type": "boolean"
5315
- },
5316
- "disable_add_folder": {
5317
- "description": "Prevents users from adding new folders in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only (data sub-folders act as non-output collections). Otherwise, defaults to false.",
5318
- "markdownDescription": "Prevents users from adding new folders in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only\n(data sub-folders act as non-output collections). Otherwise, defaults to false.",
5319
- "type": "boolean"
5320
- },
5321
- "disable_file_actions": {
5322
- "description": "Prevents users from renaming, moving and deleting files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only (data sub-folders act as non-output collections). Otherwise, defaults to false.",
5323
- "markdownDescription": "Prevents users from renaming, moving and deleting files in the collection file list if true.\n\nDefaults to true for the Jekyll, Hugo and Eleventy data collection in the base data folder only\n(data sub-folders act as non-output collections). Otherwise, defaults to false.",
5324
- "type": "boolean"
5325
- },
5326
- "documentation": {
5327
- "$ref": "#/definitions/Documentation",
5328
- "description": "Provides a custom link for documentation for editors shown above the collection file list.",
5329
- "markdownDescription": "Provides a custom link for documentation for editors shown above the collection file list."
5330
- },
5331
- "filter": {
5332
- "anyOf": [
5333
- {
5334
- "$ref": "#/definitions/Filter"
5335
- },
5336
- {
5337
- "$ref": "#/definitions/FilterBase"
5338
- }
5339
- ],
5340
- "description": "Controls which files are displayed in the collection list. Does not change which files are assigned to this collection.",
5341
- "markdownDescription": "Controls which files are displayed in the collection list. Does not change which files are\nassigned to this collection."
5342
- },
5343
- "icon": {
5344
- "$ref": "#/definitions/Icon",
5345
- "description": "Sets an icon to use alongside references to this collection.",
5346
- "markdownDescription": "Sets an icon to use alongside references to this collection."
5347
- },
5348
- "name": {
5349
- "description": "The display name of this collection. Used in headings and in the context menu for items in the collection. This is optional as CloudCannon auto-generates this from the collection key.",
5350
- "markdownDescription": "The display name of this collection. Used in headings and in the context menu for items in the\ncollection. This is optional as CloudCannon auto-generates this from the collection key.",
5351
- "type": "string"
5352
- },
5353
- "new_preview_url": {
5354
- "description": "Preview your unbuilt pages (e.g. drafts) to another page’s output URL. The Visual Editor will load that set preview URL and use the Data Bindings and Previews to render your new page without saving.\n\nFor example new_preview_url: /about/ will load the /about/ URL on new or unbuilt pages in the Visual Editor.",
5355
- "markdownDescription": "Preview your unbuilt pages (e.g. drafts) to another page’s output URL. The Visual Editor will\nload that set preview URL and use the Data Bindings and Previews to render your new page\nwithout saving.\n\nFor example new_preview_url: /about/ will load the /about/ URL on new or unbuilt pages in the\nVisual Editor.",
5356
- "type": "string"
5357
- },
5358
- "output": {
5359
- "description": "Whether or not files in this collection produce files in the build output.",
5360
- "markdownDescription": "Whether or not files in this collection produce files in the build output.",
5361
- "type": "boolean"
5362
- },
5363
- "path": {
5364
- "description": "The top-most folder where the files in this collection are stored. It is relative to source. Each collection must have a unique path.",
5365
- "markdownDescription": "The top-most folder where the files in this collection are stored. It is relative to source.\nEach collection must have a unique path.",
5366
- "type": "string"
5367
- },
5368
- "preview": {
5369
- "$ref": "#/definitions/Preview",
5370
- "description": "Changes the way items are previewed in the CMS.",
5371
- "markdownDescription": "Changes the way items are previewed in the CMS."
5372
- },
5373
- "schema_key": {
5374
- "description": "The key used in each file to identify the schema that file uses. The value this key represents in each of this collection's files should match the keys in schemas. Defaults to _schema.",
5375
- "markdownDescription": "The key used in each file to identify the schema that file uses. The value this key represents\nin each of this collection's files should match the keys in schemas. Defaults to _schema.",
5376
- "type": "string"
5377
- },
5378
- "schemas": {
5379
- "additionalProperties": {
5380
- "$ref": "#/definitions/Schema"
5381
- },
5382
- "description": "The set of schemas for this collection. Schemas are used when creating and editing files in this collection. Each entry corresponds to a schema that describes a data structure for this collection.\n\nThe keys in this object should match the values used for schema_key inside each of this collection's files. default is a special entry and is used when a file has no schema.",
5383
- "markdownDescription": "The set of schemas for this collection. Schemas are used when creating and editing files in\nthis collection. Each entry corresponds to a schema that describes a data structure for this\ncollection.\n\nThe keys in this object should match the values used for schema_key inside each of this\ncollection's files. default is a special entry and is used when a file has no schema.",
5384
- "type": "object"
5385
- },
5386
- "singular_key": {
5387
- "description": "Overrides the default singular input key of the collection. This is used for naming conventions for select and multiselect inputs.",
5388
- "markdownDescription": "Overrides the default singular input key of the collection. This is used for naming conventions\nfor select and multiselect inputs.",
4233
+ "size": {
4234
+ "description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).",
4235
+ "markdownDescription": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of\nthe image (e.g. 2x, 3x, 100w, 360w).",
5389
4236
  "type": "string"
5390
4237
  },
5391
- "singular_name": {
5392
- "description": "Overrides the default singular display name of the collection. This is displayed in the collection add menu and file context menu.",
5393
- "markdownDescription": "Overrides the default singular display name of the collection. This is displayed in the\ncollection add menu and file context menu.",
4238
+ "target": {
4239
+ "description": "A reference to another input that is given the path to this additional image file.",
4240
+ "markdownDescription": "A reference to another input that is given the path to this additional image file.",
5394
4241
  "type": "string"
5395
- },
5396
- "sort": {
5397
- "$ref": "#/definitions/Sort",
5398
- "description": "Sets the default sorting for the collection file list. Defaults to the first option in sort_options, then falls back descending path. As an exception, defaults to descending date for blog-like collections.",
5399
- "markdownDescription": "Sets the default sorting for the collection file list. Defaults to the first option in\nsort_options, then falls back descending path. As an exception, defaults to descending date for\nblog-like collections."
5400
- },
5401
- "sort_options": {
5402
- "description": "Controls the available options in the sort menu. Defaults to generating the options from the first item in the collection, falling back to ascending path and descending path.",
5403
- "items": {
5404
- "$ref": "#/definitions/SortOption"
5405
- },
5406
- "markdownDescription": "Controls the available options in the sort menu. Defaults to generating the options from the\nfirst item in the collection, falling back to ascending path and descending path.",
5407
- "type": "array"
5408
4242
  }
5409
4243
  },
4244
+ "required": [
4245
+ "size"
4246
+ ],
5410
4247
  "type": "object"
5411
4248
  },
5412
- "description": "Definitions for your collections, which are the sets of content files for your site grouped by folder. Entries are keyed by a chosen collection key, and contain configuration specific to that collection.",
5413
- "markdownDescription": "Definitions for your collections, which are the sets of content files for your site grouped by\nfolder. Entries are keyed by a chosen collection key, and contain configuration specific to\nthat collection.",
5414
- "type": "object"
4249
+ "markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
4250
+ "type": "array"
5415
4251
  },
5416
- "collections_config_override": {
5417
- "description": "Prevents CloudCannon from automatically discovering collections for supported SSGs if true. Defaults to false.",
5418
- "markdownDescription": "Prevents CloudCannon from automatically discovering collections for supported SSGs if true.\nDefaults to false.",
5419
- "type": "boolean"
4252
+ "width": {
4253
+ "description": "Defines the width of the bounding box used in the image resizing process defined with resize_style.",
4254
+ "markdownDescription": "Defines the width of the bounding box used in the image resizing process defined with\nresize_style.",
4255
+ "type": "number"
4256
+ }
4257
+ },
4258
+ "type": "object"
4259
+ },
4260
+ "Input": {
4261
+ "anyOf": [
4262
+ {
4263
+ "$ref": "#/definitions/BaseInput"
5420
4264
  },
5421
- "commit_templates": {
5422
- "items": {
5423
- "$ref": "#/definitions/CommitTemplate"
5424
- },
5425
- "type": "array"
4265
+ {
4266
+ "$ref": "#/definitions/UnknownInput"
5426
4267
  },
5427
- "data_config": {
5428
- "additionalProperties": {
5429
- "type": "boolean"
5430
- },
5431
- "description": "Controls what data sets are available to populate select and multiselect inputs.",
5432
- "markdownDescription": "Controls what data sets are available to populate select and multiselect inputs.",
5433
- "type": "object"
4268
+ {
4269
+ "$ref": "#/definitions/TextInput"
5434
4270
  },
5435
- "editor": {
5436
- "$ref": "#/definitions/Editor",
5437
- "description": "Contains settings for the default editor actions on your site.",
5438
- "markdownDescription": "Contains settings for the default editor actions on your site."
4271
+ {
4272
+ "$ref": "#/definitions/CodeInput"
5439
4273
  },
5440
- "generator": {
5441
- "additionalProperties": false,
5442
- "description": "Contains settings for various Markdown engines.",
5443
- "markdownDescription": "Contains settings for various Markdown engines.",
5444
- "properties": {
5445
- "metadata": {
5446
- "additionalProperties": false,
5447
- "description": "Settings for various Markdown engines.",
5448
- "markdownDescription": "Settings for various Markdown engines.",
5449
- "properties": {
5450
- "commonmark": {
5451
- "description": "Markdown options specific used when markdown is set to \"commonmark\".",
5452
- "markdownDescription": "Markdown options specific used when markdown is set to \"commonmark\".",
5453
- "type": "object"
5454
- },
5455
- "commonmarkghpages": {
5456
- "description": "Markdown options specific used when markdown is set to \"commonmarkghpages\".",
5457
- "markdownDescription": "Markdown options specific used when markdown is set to \"commonmarkghpages\".",
5458
- "type": "object"
5459
- },
5460
- "goldmark": {
5461
- "description": "Markdown options specific used when markdown is set to \"goldmark\".",
5462
- "markdownDescription": "Markdown options specific used when markdown is set to \"goldmark\".",
5463
- "type": "object"
5464
- },
5465
- "kramdown": {
5466
- "description": "Markdown options specific used when markdown is set to \"kramdown\".",
5467
- "markdownDescription": "Markdown options specific used when markdown is set to \"kramdown\".",
5468
- "type": "object"
5469
- },
5470
- "markdown": {
5471
- "description": "The Markdown engine used on your site.",
5472
- "enum": [
5473
- "kramdown",
5474
- "commonmark",
5475
- "commonmarkghpages",
5476
- "goldmark",
5477
- "markdown-it"
5478
- ],
5479
- "markdownDescription": "The Markdown engine used on your site.",
5480
- "type": "string"
5481
- },
5482
- "markdown-it": {
5483
- "description": "Markdown options specific used when markdown is set to \"markdown-it\".",
5484
- "markdownDescription": "Markdown options specific used when markdown is set to \"markdown-it\".",
5485
- "type": "object"
5486
- }
5487
- },
5488
- "required": [
5489
- "markdown"
5490
- ],
5491
- "type": "object"
5492
- }
5493
- },
5494
- "type": "object"
4274
+ {
4275
+ "$ref": "#/definitions/ColorInput"
5495
4276
  },
5496
- "paths": {
5497
- "$ref": "#/definitions/Paths",
5498
- "description": "Global paths to common folders.",
5499
- "markdownDescription": "Global paths to common folders."
4277
+ {
4278
+ "$ref": "#/definitions/NumberInput"
5500
4279
  },
5501
- "source": {
5502
- "description": "Base path to your site source files, relative to the root folder.",
5503
- "markdownDescription": "Base path to your site source files, relative to the root folder.",
5504
- "type": "string"
4280
+ {
4281
+ "$ref": "#/definitions/RangeInput"
5505
4282
  },
5506
- "source_editor": {
5507
- "$ref": "#/definitions/SourceEditor",
5508
- "description": "Settings for the behavior and appearance of the Source Editor.",
5509
- "markdownDescription": "Settings for the behavior and appearance of the Source Editor."
4283
+ {
4284
+ "$ref": "#/definitions/UrlInput"
4285
+ },
4286
+ {
4287
+ "$ref": "#/definitions/RichTextInput"
4288
+ },
4289
+ {
4290
+ "$ref": "#/definitions/DateInput"
4291
+ },
4292
+ {
4293
+ "$ref": "#/definitions/FileInput"
4294
+ },
4295
+ {
4296
+ "$ref": "#/definitions/ImageInput"
4297
+ },
4298
+ {
4299
+ "$ref": "#/definitions/SelectInput"
4300
+ },
4301
+ {
4302
+ "$ref": "#/definitions/MultiselectInput"
4303
+ },
4304
+ {
4305
+ "$ref": "#/definitions/ChoiceInput"
4306
+ },
4307
+ {
4308
+ "$ref": "#/definitions/MultichoiceInput"
5510
4309
  },
5511
- "ssg": {
5512
- "const": "jekyll",
5513
- "type": "string"
4310
+ {
4311
+ "$ref": "#/definitions/ObjectInput"
5514
4312
  },
5515
- "timezone": {
5516
- "$ref": "#/definitions/Timezone",
5517
- "default": "Etc/UTC",
5518
- "description": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the date is persisted to the file with.",
5519
- "markdownDescription": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the\ndate is persisted to the file with."
4313
+ {
4314
+ "$ref": "#/definitions/ArrayInput"
5520
4315
  }
5521
- },
5522
- "type": "object"
4316
+ ]
4317
+ },
4318
+ "InputType": {
4319
+ "enum": [
4320
+ "text",
4321
+ "textarea",
4322
+ "email",
4323
+ "disabled",
4324
+ "pinterest",
4325
+ "facebook",
4326
+ "twitter",
4327
+ "github",
4328
+ "instagram",
4329
+ "code",
4330
+ "checkbox",
4331
+ "switch",
4332
+ "color",
4333
+ "number",
4334
+ "range",
4335
+ "url",
4336
+ "html",
4337
+ "markdown",
4338
+ "date",
4339
+ "datetime",
4340
+ "time",
4341
+ "file",
4342
+ "image",
4343
+ "document",
4344
+ "select",
4345
+ "multiselect",
4346
+ "choice",
4347
+ "multichoice",
4348
+ "object",
4349
+ "array"
4350
+ ],
4351
+ "type": "string"
4352
+ },
4353
+ "InstanceValue": {
4354
+ "enum": [
4355
+ "UUID",
4356
+ "NOW"
4357
+ ],
4358
+ "type": "string"
5523
4359
  },
5524
4360
  "LinkEditable": {
5525
4361
  "additionalProperties": false,
@@ -6507,158 +5343,22 @@
6507
5343
  "additionalProperties": false,
6508
5344
  "properties": {
6509
5345
  "icon": {
6510
- "anyOf": [
6511
- {
6512
- "items": {
6513
- "anyOf": [
6514
- {
6515
- "additionalProperties": false,
6516
- "properties": {
6517
- "key": {
6518
- "description": "The key used to access the value used for the preview.",
6519
- "markdownDescription": "The key used to access the value used for the preview.",
6520
- "type": "string"
6521
- }
6522
- },
6523
- "required": [
6524
- "key"
6525
- ],
6526
- "type": "object"
6527
- },
6528
- {
6529
- "type": "string"
6530
- },
6531
- {
6532
- "type": "boolean"
6533
- }
6534
- ]
6535
- },
6536
- "type": "array"
6537
- },
6538
- {
6539
- "type": "string"
6540
- },
6541
- {
6542
- "type": "boolean"
6543
- }
6544
- ],
5346
+ "$ref": "#/definitions/PreviewEntry",
6545
5347
  "description": "Controls the icon shown per item. Must result in a Material Icon name.",
6546
5348
  "markdownDescription": "Controls the icon shown per item. Must result in a Material Icon name."
6547
5349
  },
6548
5350
  "image": {
6549
- "anyOf": [
6550
- {
6551
- "items": {
6552
- "anyOf": [
6553
- {
6554
- "additionalProperties": false,
6555
- "properties": {
6556
- "key": {
6557
- "description": "The key used to access the value used for the preview.",
6558
- "markdownDescription": "The key used to access the value used for the preview.",
6559
- "type": "string"
6560
- }
6561
- },
6562
- "required": [
6563
- "key"
6564
- ],
6565
- "type": "object"
6566
- },
6567
- {
6568
- "type": "string"
6569
- },
6570
- {
6571
- "type": "boolean"
6572
- }
6573
- ]
6574
- },
6575
- "type": "array"
6576
- },
6577
- {
6578
- "type": "string"
6579
- },
6580
- {
6581
- "type": "boolean"
6582
- }
6583
- ],
5351
+ "$ref": "#/definitions/PreviewEntry",
6584
5352
  "description": "Controls the image shown per item.",
6585
5353
  "markdownDescription": "Controls the image shown per item."
6586
5354
  },
6587
5355
  "subtext": {
6588
- "anyOf": [
6589
- {
6590
- "items": {
6591
- "anyOf": [
6592
- {
6593
- "additionalProperties": false,
6594
- "properties": {
6595
- "key": {
6596
- "description": "The key used to access the value used for the preview.",
6597
- "markdownDescription": "The key used to access the value used for the preview.",
6598
- "type": "string"
6599
- }
6600
- },
6601
- "required": [
6602
- "key"
6603
- ],
6604
- "type": "object"
6605
- },
6606
- {
6607
- "type": "string"
6608
- },
6609
- {
6610
- "type": "boolean"
6611
- }
6612
- ]
6613
- },
6614
- "type": "array"
6615
- },
6616
- {
6617
- "type": "string"
6618
- },
6619
- {
6620
- "type": "boolean"
6621
- }
6622
- ],
5356
+ "$ref": "#/definitions/PreviewEntry",
6623
5357
  "description": "Controls the supporting text shown per item.",
6624
5358
  "markdownDescription": "Controls the supporting text shown per item."
6625
5359
  },
6626
5360
  "text": {
6627
- "anyOf": [
6628
- {
6629
- "items": {
6630
- "anyOf": [
6631
- {
6632
- "additionalProperties": false,
6633
- "properties": {
6634
- "key": {
6635
- "description": "The key used to access the value used for the preview.",
6636
- "markdownDescription": "The key used to access the value used for the preview.",
6637
- "type": "string"
6638
- }
6639
- },
6640
- "required": [
6641
- "key"
6642
- ],
6643
- "type": "object"
6644
- },
6645
- {
6646
- "type": "string"
6647
- },
6648
- {
6649
- "type": "boolean"
6650
- }
6651
- ]
6652
- },
6653
- "type": "array"
6654
- },
6655
- {
6656
- "type": "string"
6657
- },
6658
- {
6659
- "type": "boolean"
6660
- }
6661
- ],
5361
+ "$ref": "#/definitions/PreviewEntry",
6662
5362
  "description": "Controls the main text shown per item.",
6663
5363
  "markdownDescription": "Controls the main text shown per item."
6664
5364
  }
@@ -6669,7 +5369,6 @@
6669
5369
  "additionalProperties": false,
6670
5370
  "properties": {
6671
5371
  "collections": {
6672
- "default": "",
6673
5372
  "description": "Parent folder of all collections.",
6674
5373
  "markdownDescription": "Parent folder of all collections.",
6675
5374
  "type": "string"
@@ -6739,41 +5438,7 @@
6739
5438
  "markdownDescription": "Details for large image/icon preview per item."
6740
5439
  },
6741
5440
  "icon": {
6742
- "anyOf": [
6743
- {
6744
- "items": {
6745
- "anyOf": [
6746
- {
6747
- "additionalProperties": false,
6748
- "properties": {
6749
- "key": {
6750
- "description": "The key used to access the value used for the preview.",
6751
- "markdownDescription": "The key used to access the value used for the preview.",
6752
- "type": "string"
6753
- }
6754
- },
6755
- "required": [
6756
- "key"
6757
- ],
6758
- "type": "object"
6759
- },
6760
- {
6761
- "type": "string"
6762
- },
6763
- {
6764
- "type": "boolean"
6765
- }
6766
- ]
6767
- },
6768
- "type": "array"
6769
- },
6770
- {
6771
- "type": "string"
6772
- },
6773
- {
6774
- "type": "boolean"
6775
- }
6776
- ],
5441
+ "$ref": "#/definitions/PreviewEntry",
6777
5442
  "description": "Controls the icon shown per item. Must result in a Material Icon name.",
6778
5443
  "markdownDescription": "Controls the icon shown per item. Must result in a Material Icon name."
6779
5444
  },
@@ -6783,41 +5448,7 @@
6783
5448
  "type": "string"
6784
5449
  },
6785
5450
  "image": {
6786
- "anyOf": [
6787
- {
6788
- "items": {
6789
- "anyOf": [
6790
- {
6791
- "additionalProperties": false,
6792
- "properties": {
6793
- "key": {
6794
- "description": "The key used to access the value used for the preview.",
6795
- "markdownDescription": "The key used to access the value used for the preview.",
6796
- "type": "string"
6797
- }
6798
- },
6799
- "required": [
6800
- "key"
6801
- ],
6802
- "type": "object"
6803
- },
6804
- {
6805
- "type": "string"
6806
- },
6807
- {
6808
- "type": "boolean"
6809
- }
6810
- ]
6811
- },
6812
- "type": "array"
6813
- },
6814
- {
6815
- "type": "string"
6816
- },
6817
- {
6818
- "type": "boolean"
6819
- }
6820
- ],
5451
+ "$ref": "#/definitions/PreviewEntry",
6821
5452
  "description": "Controls the image shown per item.",
6822
5453
  "markdownDescription": "Controls the image shown per item."
6823
5454
  },
@@ -6830,86 +5461,44 @@
6830
5461
  "type": "array"
6831
5462
  },
6832
5463
  "subtext": {
6833
- "anyOf": [
6834
- {
6835
- "items": {
6836
- "anyOf": [
6837
- {
6838
- "additionalProperties": false,
6839
- "properties": {
6840
- "key": {
6841
- "description": "The key used to access the value used for the preview.",
6842
- "markdownDescription": "The key used to access the value used for the preview.",
6843
- "type": "string"
6844
- }
6845
- },
6846
- "required": [
6847
- "key"
6848
- ],
6849
- "type": "object"
6850
- },
6851
- {
6852
- "type": "string"
6853
- },
6854
- {
6855
- "type": "boolean"
6856
- }
6857
- ]
6858
- },
6859
- "type": "array"
6860
- },
6861
- {
6862
- "type": "string"
6863
- },
6864
- {
6865
- "type": "boolean"
6866
- }
6867
- ],
5464
+ "$ref": "#/definitions/PreviewEntry",
6868
5465
  "description": "Controls the supporting text shown per item.",
6869
5466
  "markdownDescription": "Controls the supporting text shown per item."
6870
5467
  },
6871
5468
  "text": {
6872
- "anyOf": [
6873
- {
6874
- "items": {
6875
- "anyOf": [
6876
- {
6877
- "additionalProperties": false,
6878
- "properties": {
6879
- "key": {
6880
- "description": "The key used to access the value used for the preview.",
6881
- "markdownDescription": "The key used to access the value used for the preview.",
6882
- "type": "string"
6883
- }
6884
- },
6885
- "required": [
6886
- "key"
6887
- ],
6888
- "type": "object"
6889
- },
6890
- {
6891
- "type": "string"
6892
- },
6893
- {
6894
- "type": "boolean"
6895
- }
6896
- ]
6897
- },
6898
- "type": "array"
6899
- },
6900
- {
6901
- "type": "string"
6902
- },
6903
- {
6904
- "type": "boolean"
6905
- }
6906
- ],
5469
+ "$ref": "#/definitions/PreviewEntry",
6907
5470
  "description": "Controls the main text shown per item.",
6908
5471
  "markdownDescription": "Controls the main text shown per item."
6909
5472
  }
6910
5473
  },
6911
5474
  "type": "object"
6912
5475
  },
5476
+ "PreviewEntry": {
5477
+ "anyOf": [
5478
+ {
5479
+ "items": {
5480
+ "anyOf": [
5481
+ {
5482
+ "$ref": "#/definitions/PreviewKeyEntry"
5483
+ },
5484
+ {
5485
+ "type": "string"
5486
+ },
5487
+ {
5488
+ "type": "boolean"
5489
+ }
5490
+ ]
5491
+ },
5492
+ "type": "array"
5493
+ },
5494
+ {
5495
+ "type": "string"
5496
+ },
5497
+ {
5498
+ "type": "boolean"
5499
+ }
5500
+ ]
5501
+ },
6913
5502
  "PreviewGallery": {
6914
5503
  "additionalProperties": false,
6915
5504
  "properties": {
@@ -6925,41 +5514,7 @@
6925
5514
  "type": "string"
6926
5515
  },
6927
5516
  "icon": {
6928
- "anyOf": [
6929
- {
6930
- "items": {
6931
- "anyOf": [
6932
- {
6933
- "additionalProperties": false,
6934
- "properties": {
6935
- "key": {
6936
- "description": "The key used to access the value used for the preview.",
6937
- "markdownDescription": "The key used to access the value used for the preview.",
6938
- "type": "string"
6939
- }
6940
- },
6941
- "required": [
6942
- "key"
6943
- ],
6944
- "type": "object"
6945
- },
6946
- {
6947
- "type": "string"
6948
- },
6949
- {
6950
- "type": "boolean"
6951
- }
6952
- ]
6953
- },
6954
- "type": "array"
6955
- },
6956
- {
6957
- "type": "string"
6958
- },
6959
- {
6960
- "type": "boolean"
6961
- }
6962
- ],
5517
+ "$ref": "#/definitions/PreviewEntry",
6963
5518
  "description": "Controls the icon shown per item. Must result in a Material Icon name.",
6964
5519
  "markdownDescription": "Controls the icon shown per item. Must result in a Material Icon name."
6965
5520
  },
@@ -6969,125 +5524,37 @@
6969
5524
  "type": "string"
6970
5525
  },
6971
5526
  "image": {
6972
- "anyOf": [
6973
- {
6974
- "items": {
6975
- "anyOf": [
6976
- {
6977
- "additionalProperties": false,
6978
- "properties": {
6979
- "key": {
6980
- "description": "The key used to access the value used for the preview.",
6981
- "markdownDescription": "The key used to access the value used for the preview.",
6982
- "type": "string"
6983
- }
6984
- },
6985
- "required": [
6986
- "key"
6987
- ],
6988
- "type": "object"
6989
- },
6990
- {
6991
- "type": "string"
6992
- },
6993
- {
6994
- "type": "boolean"
6995
- }
6996
- ]
6997
- },
6998
- "type": "array"
6999
- },
7000
- {
7001
- "type": "string"
7002
- },
7003
- {
7004
- "type": "boolean"
7005
- }
7006
- ],
5527
+ "$ref": "#/definitions/PreviewEntry",
7007
5528
  "description": "Controls the image shown per item.",
7008
5529
  "markdownDescription": "Controls the image shown per item."
7009
5530
  },
7010
5531
  "text": {
7011
- "anyOf": [
7012
- {
7013
- "items": {
7014
- "anyOf": [
7015
- {
7016
- "additionalProperties": false,
7017
- "properties": {
7018
- "key": {
7019
- "description": "The key used to access the value used for the preview.",
7020
- "markdownDescription": "The key used to access the value used for the preview.",
7021
- "type": "string"
7022
- }
7023
- },
7024
- "required": [
7025
- "key"
7026
- ],
7027
- "type": "object"
7028
- },
7029
- {
7030
- "type": "string"
7031
- },
7032
- {
7033
- "type": "boolean"
7034
- }
7035
- ]
7036
- },
7037
- "type": "array"
7038
- },
7039
- {
7040
- "type": "string"
7041
- },
7042
- {
7043
- "type": "boolean"
7044
- }
7045
- ],
5532
+ "$ref": "#/definitions/PreviewEntry",
7046
5533
  "description": "Controls the main text shown per item.",
7047
5534
  "markdownDescription": "Controls the main text shown per item."
7048
5535
  }
7049
5536
  },
7050
5537
  "type": "object"
7051
5538
  },
5539
+ "PreviewKeyEntry": {
5540
+ "additionalProperties": false,
5541
+ "properties": {
5542
+ "key": {
5543
+ "description": "The key used to access the value used for the preview.",
5544
+ "markdownDescription": "The key used to access the value used for the preview.",
5545
+ "type": "string"
5546
+ }
5547
+ },
5548
+ "required": [
5549
+ "key"
5550
+ ],
5551
+ "type": "object"
5552
+ },
7052
5553
  "PreviewMetadata": {
7053
5554
  "additionalProperties": false,
7054
5555
  "properties": {
7055
5556
  "icon": {
7056
- "anyOf": [
7057
- {
7058
- "items": {
7059
- "anyOf": [
7060
- {
7061
- "additionalProperties": false,
7062
- "properties": {
7063
- "key": {
7064
- "description": "The key used to access the value used for the preview.",
7065
- "markdownDescription": "The key used to access the value used for the preview.",
7066
- "type": "string"
7067
- }
7068
- },
7069
- "required": [
7070
- "key"
7071
- ],
7072
- "type": "object"
7073
- },
7074
- {
7075
- "type": "string"
7076
- },
7077
- {
7078
- "type": "boolean"
7079
- }
7080
- ]
7081
- },
7082
- "type": "array"
7083
- },
7084
- {
7085
- "type": "string"
7086
- },
7087
- {
7088
- "type": "boolean"
7089
- }
7090
- ],
5557
+ "$ref": "#/definitions/PreviewEntry",
7091
5558
  "description": "Controls the icon shown per item. Must result in a Material Icon name.",
7092
5559
  "markdownDescription": "Controls the icon shown per item. Must result in a Material Icon name."
7093
5560
  },
@@ -7096,81 +5563,13 @@
7096
5563
  "markdownDescription": "Controls the color of the icon.",
7097
5564
  "type": "string"
7098
5565
  },
7099
- "image": {
7100
- "anyOf": [
7101
- {
7102
- "items": {
7103
- "anyOf": [
7104
- {
7105
- "additionalProperties": false,
7106
- "properties": {
7107
- "key": {
7108
- "description": "The key used to access the value used for the preview.",
7109
- "markdownDescription": "The key used to access the value used for the preview.",
7110
- "type": "string"
7111
- }
7112
- },
7113
- "required": [
7114
- "key"
7115
- ],
7116
- "type": "object"
7117
- },
7118
- {
7119
- "type": "string"
7120
- },
7121
- {
7122
- "type": "boolean"
7123
- }
7124
- ]
7125
- },
7126
- "type": "array"
7127
- },
7128
- {
7129
- "type": "string"
7130
- },
7131
- {
7132
- "type": "boolean"
7133
- }
7134
- ],
5566
+ "image": {
5567
+ "$ref": "#/definitions/PreviewEntry",
7135
5568
  "description": "Controls the image shown per item.",
7136
5569
  "markdownDescription": "Controls the image shown per item."
7137
5570
  },
7138
5571
  "text": {
7139
- "anyOf": [
7140
- {
7141
- "items": {
7142
- "anyOf": [
7143
- {
7144
- "additionalProperties": false,
7145
- "properties": {
7146
- "key": {
7147
- "description": "The key used to access the value used for the preview.",
7148
- "markdownDescription": "The key used to access the value used for the preview.",
7149
- "type": "string"
7150
- }
7151
- },
7152
- "required": [
7153
- "key"
7154
- ],
7155
- "type": "object"
7156
- },
7157
- {
7158
- "type": "string"
7159
- },
7160
- {
7161
- "type": "boolean"
7162
- }
7163
- ]
7164
- },
7165
- "type": "array"
7166
- },
7167
- {
7168
- "type": "string"
7169
- },
7170
- {
7171
- "type": "boolean"
7172
- }
7173
- ],
5572
+ "$ref": "#/definitions/PreviewEntry",
7174
5573
  "description": "Controls the main text shown per item.",
7175
5574
  "markdownDescription": "Controls the main text shown per item."
7176
5575
  }
@@ -7459,8 +5858,18 @@
7459
5858
  "type": "string"
7460
5859
  },
7461
5860
  "code": {
7462
- "description": "Enables a control to set selected text to inline code, and unselected blocks of text to code blocks.",
7463
- "markdownDescription": "Enables a control to set selected text to inline code, and unselected blocks of text to code\nblocks.",
5861
+ "description": "Enables both block and inline code controls: `code_block` and `code_inline`.",
5862
+ "markdownDescription": "Enables both block and inline code controls: `code_block` and `code_inline`.",
5863
+ "type": "boolean"
5864
+ },
5865
+ "code_block": {
5866
+ "description": "Enables a control to insert a code block.",
5867
+ "markdownDescription": "Enables a control to insert a code block.",
5868
+ "type": "boolean"
5869
+ },
5870
+ "code_inline": {
5871
+ "description": "Enables a control to create an inline code element, containing any selected text.",
5872
+ "markdownDescription": "Enables a control to create an inline code element, containing any selected text.",
7464
5873
  "type": "boolean"
7465
5874
  },
7466
5875
  "copyformatting": {
@@ -7685,16 +6094,18 @@
7685
6094
  "properties": {
7686
6095
  "_array_structures": {
7687
6096
  "additionalProperties": {},
7688
- "description": "[DEPRECATED] Now known as _structures.",
7689
- "markdownDescription": "[DEPRECATED] Now known as _structures.",
6097
+ "deprecated": "Use _structures instead.",
6098
+ "description": "Now known as _structures.",
6099
+ "markdownDescription": "Now known as _structures.",
7690
6100
  "type": "object"
7691
6101
  },
7692
6102
  "_comments": {
7693
6103
  "additionalProperties": {
7694
6104
  "type": "string"
7695
6105
  },
7696
- "description": "[DEPRECATED] Now part of _inputs.*.comment.",
7697
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.comment.",
6106
+ "deprecated": "Use _inputs instead.",
6107
+ "description": "Now part of _inputs.*.comment.",
6108
+ "markdownDescription": "Now part of _inputs.*.comment.",
7698
6109
  "type": "object"
7699
6110
  },
7700
6111
  "_editables": {
@@ -7723,8 +6134,9 @@
7723
6134
  "additionalProperties": {},
7724
6135
  "type": "object"
7725
6136
  },
7726
- "description": "[DEPRECATED] Now part of _inputs.*.options.",
7727
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.options.",
6137
+ "deprecated": "Use _inputs instead.",
6138
+ "description": "Now part of _inputs.*.options.",
6139
+ "markdownDescription": "Now part of _inputs.*.options.",
7728
6140
  "type": "object"
7729
6141
  },
7730
6142
  "_select_data": {
@@ -7922,80 +6334,12 @@
7922
6334
  "additionalProperties": false,
7923
6335
  "properties": {
7924
6336
  "icon": {
7925
- "anyOf": [
7926
- {
7927
- "items": {
7928
- "anyOf": [
7929
- {
7930
- "additionalProperties": false,
7931
- "properties": {
7932
- "key": {
7933
- "description": "The key used to access the value used for the preview.",
7934
- "markdownDescription": "The key used to access the value used for the preview.",
7935
- "type": "string"
7936
- }
7937
- },
7938
- "required": [
7939
- "key"
7940
- ],
7941
- "type": "object"
7942
- },
7943
- {
7944
- "type": "string"
7945
- },
7946
- {
7947
- "type": "boolean"
7948
- }
7949
- ]
7950
- },
7951
- "type": "array"
7952
- },
7953
- {
7954
- "type": "string"
7955
- },
7956
- {
7957
- "type": "boolean"
7958
- }
7959
- ],
6337
+ "$ref": "#/definitions/PreviewEntry",
7960
6338
  "description": "Controls the icon shown per item. Must result in a Material Icon name.",
7961
6339
  "markdownDescription": "Controls the icon shown per item. Must result in a Material Icon name."
7962
6340
  },
7963
6341
  "text": {
7964
- "anyOf": [
7965
- {
7966
- "items": {
7967
- "anyOf": [
7968
- {
7969
- "additionalProperties": false,
7970
- "properties": {
7971
- "key": {
7972
- "description": "The key used to access the value used for the preview.",
7973
- "markdownDescription": "The key used to access the value used for the preview.",
7974
- "type": "string"
7975
- }
7976
- },
7977
- "required": [
7978
- "key"
7979
- ],
7980
- "type": "object"
7981
- },
7982
- {
7983
- "type": "string"
7984
- },
7985
- {
7986
- "type": "boolean"
7987
- }
7988
- ]
7989
- },
7990
- "type": "array"
7991
- },
7992
- {
7993
- "type": "string"
7994
- },
7995
- {
7996
- "type": "boolean"
7997
- }
7998
- ],
6342
+ "$ref": "#/definitions/PreviewEntry",
7999
6343
  "description": "Controls the main text shown per item.",
8000
6344
  "markdownDescription": "Controls the main text shown per item."
8001
6345
  }
@@ -8105,6 +6449,354 @@
8105
6449
  },
8106
6450
  "type": "object"
8107
6451
  },
6452
+ "SnippetsImport<(\"_cc_jekyll_unknown_paired_tag\"|\"_cc_jekyll_unknown_tag\"|\"jekyll_highlight\"|\"_cc_jekyll_template\"|\"jekyll_raw\"|\"jekyll_link\"|\"jekyll_post_url\")>": {
6453
+ "additionalProperties": false,
6454
+ "properties": {
6455
+ "exclude": {
6456
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6457
+ "items": {
6458
+ "enum": [
6459
+ "_cc_jekyll_unknown_paired_tag",
6460
+ "_cc_jekyll_unknown_tag",
6461
+ "jekyll_highlight",
6462
+ "_cc_jekyll_template",
6463
+ "jekyll_raw",
6464
+ "jekyll_link",
6465
+ "jekyll_post_url"
6466
+ ],
6467
+ "type": "string"
6468
+ },
6469
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6470
+ "type": "array"
6471
+ },
6472
+ "include": {
6473
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6474
+ "items": {
6475
+ "enum": [
6476
+ "_cc_jekyll_unknown_paired_tag",
6477
+ "_cc_jekyll_unknown_tag",
6478
+ "jekyll_highlight",
6479
+ "_cc_jekyll_template",
6480
+ "jekyll_raw",
6481
+ "jekyll_link",
6482
+ "jekyll_post_url"
6483
+ ],
6484
+ "type": "string"
6485
+ },
6486
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6487
+ "type": "array"
6488
+ }
6489
+ },
6490
+ "type": "object"
6491
+ },
6492
+ "SnippetsImport<(\"docusaurus_mdx_admonition\"|\"docusaurus_mdx_tabs\"|\"docusaurus_mdx_truncate\"|\"docusaurus_mdx_codeblock\")>": {
6493
+ "additionalProperties": false,
6494
+ "properties": {
6495
+ "exclude": {
6496
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6497
+ "items": {
6498
+ "enum": [
6499
+ "docusaurus_mdx_admonition",
6500
+ "docusaurus_mdx_tabs",
6501
+ "docusaurus_mdx_truncate",
6502
+ "docusaurus_mdx_codeblock"
6503
+ ],
6504
+ "type": "string"
6505
+ },
6506
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6507
+ "type": "array"
6508
+ },
6509
+ "include": {
6510
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6511
+ "items": {
6512
+ "enum": [
6513
+ "docusaurus_mdx_admonition",
6514
+ "docusaurus_mdx_tabs",
6515
+ "docusaurus_mdx_truncate",
6516
+ "docusaurus_mdx_codeblock"
6517
+ ],
6518
+ "type": "string"
6519
+ },
6520
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6521
+ "type": "array"
6522
+ }
6523
+ },
6524
+ "type": "object"
6525
+ },
6526
+ "SnippetsImport<(\"eleventy_liquid_raw\"|\"_cc_eleventy_liquid_unknown_paired_shortcode\"|\"_cc_eleventy_liquid_unknown_shortcode\"|\"_cc_eleventy_liquid_template\")>": {
6527
+ "additionalProperties": false,
6528
+ "properties": {
6529
+ "exclude": {
6530
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6531
+ "items": {
6532
+ "enum": [
6533
+ "eleventy_liquid_raw",
6534
+ "_cc_eleventy_liquid_unknown_paired_shortcode",
6535
+ "_cc_eleventy_liquid_unknown_shortcode",
6536
+ "_cc_eleventy_liquid_template"
6537
+ ],
6538
+ "type": "string"
6539
+ },
6540
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6541
+ "type": "array"
6542
+ },
6543
+ "include": {
6544
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6545
+ "items": {
6546
+ "enum": [
6547
+ "eleventy_liquid_raw",
6548
+ "_cc_eleventy_liquid_unknown_paired_shortcode",
6549
+ "_cc_eleventy_liquid_unknown_shortcode",
6550
+ "_cc_eleventy_liquid_template"
6551
+ ],
6552
+ "type": "string"
6553
+ },
6554
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6555
+ "type": "array"
6556
+ }
6557
+ },
6558
+ "type": "object"
6559
+ },
6560
+ "SnippetsImport<(\"eleventy_nunjucks_raw\"|\"eleventy_nunjucks_verbatim\"|\"_cc_eleventy_nunjucks_unknown_paired_shortcode\"|\"_cc_eleventy_nunjucks_unknown_shortcode\"|\"_cc_eleventy_nunjucks_template\")>": {
6561
+ "additionalProperties": false,
6562
+ "properties": {
6563
+ "exclude": {
6564
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6565
+ "items": {
6566
+ "enum": [
6567
+ "eleventy_nunjucks_raw",
6568
+ "eleventy_nunjucks_verbatim",
6569
+ "_cc_eleventy_nunjucks_unknown_paired_shortcode",
6570
+ "_cc_eleventy_nunjucks_unknown_shortcode",
6571
+ "_cc_eleventy_nunjucks_template"
6572
+ ],
6573
+ "type": "string"
6574
+ },
6575
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6576
+ "type": "array"
6577
+ },
6578
+ "include": {
6579
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6580
+ "items": {
6581
+ "enum": [
6582
+ "eleventy_nunjucks_raw",
6583
+ "eleventy_nunjucks_verbatim",
6584
+ "_cc_eleventy_nunjucks_unknown_paired_shortcode",
6585
+ "_cc_eleventy_nunjucks_unknown_shortcode",
6586
+ "_cc_eleventy_nunjucks_template"
6587
+ ],
6588
+ "type": "string"
6589
+ },
6590
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6591
+ "type": "array"
6592
+ }
6593
+ },
6594
+ "type": "object"
6595
+ },
6596
+ "SnippetsImport<(\"hugo_summary_divider\"|\"hugo_highlight\"|\"hugo_figure\"|\"hugo_gist\"|\"hugo_instagram\"|\"hugo_param\"|\"hugo_ref\"|\"hugo_relref\"|\"hugo_tweet\"|\"hugo_vimeo\"|\"hugo_youtube\"|\"_cc_hugo_unknown_paired\"|\"_cc_hugo_unknown\"|\"_cc_hugo_unknown_paired_processed\"|\"_cc_hugo_unknown_processed\")>": {
6597
+ "additionalProperties": false,
6598
+ "properties": {
6599
+ "exclude": {
6600
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6601
+ "items": {
6602
+ "enum": [
6603
+ "hugo_summary_divider",
6604
+ "hugo_highlight",
6605
+ "hugo_figure",
6606
+ "hugo_gist",
6607
+ "hugo_instagram",
6608
+ "hugo_param",
6609
+ "hugo_ref",
6610
+ "hugo_relref",
6611
+ "hugo_tweet",
6612
+ "hugo_vimeo",
6613
+ "hugo_youtube",
6614
+ "_cc_hugo_unknown_paired",
6615
+ "_cc_hugo_unknown",
6616
+ "_cc_hugo_unknown_paired_processed",
6617
+ "_cc_hugo_unknown_processed"
6618
+ ],
6619
+ "type": "string"
6620
+ },
6621
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6622
+ "type": "array"
6623
+ },
6624
+ "include": {
6625
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6626
+ "items": {
6627
+ "enum": [
6628
+ "hugo_summary_divider",
6629
+ "hugo_highlight",
6630
+ "hugo_figure",
6631
+ "hugo_gist",
6632
+ "hugo_instagram",
6633
+ "hugo_param",
6634
+ "hugo_ref",
6635
+ "hugo_relref",
6636
+ "hugo_tweet",
6637
+ "hugo_vimeo",
6638
+ "hugo_youtube",
6639
+ "_cc_hugo_unknown_paired",
6640
+ "_cc_hugo_unknown",
6641
+ "_cc_hugo_unknown_paired_processed",
6642
+ "_cc_hugo_unknown_processed"
6643
+ ],
6644
+ "type": "string"
6645
+ },
6646
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6647
+ "type": "array"
6648
+ }
6649
+ },
6650
+ "type": "object"
6651
+ },
6652
+ "SnippetsImport<(\"import\"|\"_cc_mdx_unknown_export\"|\"_cc_mdx_unknown_export_expression\"|\"_cc_mdx_unknown_export_default\"|\"_cc_mdx_unknown_template\"|\"_cc_mdx_paired_unknown\"|\"_cc_mdx_unknown\")>": {
6653
+ "additionalProperties": false,
6654
+ "properties": {
6655
+ "exclude": {
6656
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6657
+ "items": {
6658
+ "enum": [
6659
+ "import",
6660
+ "_cc_mdx_unknown_export",
6661
+ "_cc_mdx_unknown_export_expression",
6662
+ "_cc_mdx_unknown_export_default",
6663
+ "_cc_mdx_unknown_template",
6664
+ "_cc_mdx_paired_unknown",
6665
+ "_cc_mdx_unknown"
6666
+ ],
6667
+ "type": "string"
6668
+ },
6669
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6670
+ "type": "array"
6671
+ },
6672
+ "include": {
6673
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6674
+ "items": {
6675
+ "enum": [
6676
+ "import",
6677
+ "_cc_mdx_unknown_export",
6678
+ "_cc_mdx_unknown_export_expression",
6679
+ "_cc_mdx_unknown_export_default",
6680
+ "_cc_mdx_unknown_template",
6681
+ "_cc_mdx_paired_unknown",
6682
+ "_cc_mdx_unknown"
6683
+ ],
6684
+ "type": "string"
6685
+ },
6686
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6687
+ "type": "array"
6688
+ }
6689
+ },
6690
+ "type": "object"
6691
+ },
6692
+ "SnippetsImport<(\"markdoc_id_annotation\"|\"markdoc_class_annotation\"|\"markdoc_table\"|\"_cc_markdoc_unknown_tag\"|\"_cc_markdoc_unknown_paired_tag\"|\"_cc_markdoc_unknown_template\")>": {
6693
+ "additionalProperties": false,
6694
+ "properties": {
6695
+ "exclude": {
6696
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6697
+ "items": {
6698
+ "enum": [
6699
+ "markdoc_id_annotation",
6700
+ "markdoc_class_annotation",
6701
+ "markdoc_table",
6702
+ "_cc_markdoc_unknown_tag",
6703
+ "_cc_markdoc_unknown_paired_tag",
6704
+ "_cc_markdoc_unknown_template"
6705
+ ],
6706
+ "type": "string"
6707
+ },
6708
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6709
+ "type": "array"
6710
+ },
6711
+ "include": {
6712
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6713
+ "items": {
6714
+ "enum": [
6715
+ "markdoc_id_annotation",
6716
+ "markdoc_class_annotation",
6717
+ "markdoc_table",
6718
+ "_cc_markdoc_unknown_tag",
6719
+ "_cc_markdoc_unknown_paired_tag",
6720
+ "_cc_markdoc_unknown_template"
6721
+ ],
6722
+ "type": "string"
6723
+ },
6724
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6725
+ "type": "array"
6726
+ }
6727
+ },
6728
+ "type": "object"
6729
+ },
6730
+ "SnippetsImport<(\"python_markdown_abbreviation\"|\"python_markdown_admonition\"|\"python_markdown_arithmatex\"|\"python_markdown_attribute_list\"|\"python_markdown_code_block\"|\"python_markdown_collapsible_admonition\"|\"python_markdown_tabs\"|\"python_markdown_footnote\"|\"python_markdown_footnote_marker\"|\"python_markdown_icon\"|\"python_markdown_image\"|\"python_markdown_inline_arithmatex\"|\"python_markdown_inline_code\"|\"python_markdown_link\"|\"python_markdown_reference_image\"|\"python_markdown_reference_template_image\"|\"python_markdown_reference_link\"|\"python_markdown_reference\"|\"python_markdown_reference_template\"|\"python_markdown_block_snippet\"|\"_cc_python_markdown_unknown_snippet\"|\"_cc_python_markdown_unknown_markdown_in_html\")>": {
6731
+ "additionalProperties": false,
6732
+ "properties": {
6733
+ "exclude": {
6734
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6735
+ "items": {
6736
+ "enum": [
6737
+ "python_markdown_abbreviation",
6738
+ "python_markdown_admonition",
6739
+ "python_markdown_arithmatex",
6740
+ "python_markdown_attribute_list",
6741
+ "python_markdown_code_block",
6742
+ "python_markdown_collapsible_admonition",
6743
+ "python_markdown_tabs",
6744
+ "python_markdown_footnote",
6745
+ "python_markdown_footnote_marker",
6746
+ "python_markdown_icon",
6747
+ "python_markdown_image",
6748
+ "python_markdown_inline_arithmatex",
6749
+ "python_markdown_inline_code",
6750
+ "python_markdown_link",
6751
+ "python_markdown_reference_image",
6752
+ "python_markdown_reference_template_image",
6753
+ "python_markdown_reference_link",
6754
+ "python_markdown_reference",
6755
+ "python_markdown_reference_template",
6756
+ "python_markdown_block_snippet",
6757
+ "_cc_python_markdown_unknown_snippet",
6758
+ "_cc_python_markdown_unknown_markdown_in_html"
6759
+ ],
6760
+ "type": "string"
6761
+ },
6762
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6763
+ "type": "array"
6764
+ },
6765
+ "include": {
6766
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6767
+ "items": {
6768
+ "enum": [
6769
+ "python_markdown_abbreviation",
6770
+ "python_markdown_admonition",
6771
+ "python_markdown_arithmatex",
6772
+ "python_markdown_attribute_list",
6773
+ "python_markdown_code_block",
6774
+ "python_markdown_collapsible_admonition",
6775
+ "python_markdown_tabs",
6776
+ "python_markdown_footnote",
6777
+ "python_markdown_footnote_marker",
6778
+ "python_markdown_icon",
6779
+ "python_markdown_image",
6780
+ "python_markdown_inline_arithmatex",
6781
+ "python_markdown_inline_code",
6782
+ "python_markdown_link",
6783
+ "python_markdown_reference_image",
6784
+ "python_markdown_reference_template_image",
6785
+ "python_markdown_reference_link",
6786
+ "python_markdown_reference",
6787
+ "python_markdown_reference_template",
6788
+ "python_markdown_block_snippet",
6789
+ "_cc_python_markdown_unknown_snippet",
6790
+ "_cc_python_markdown_unknown_markdown_in_html"
6791
+ ],
6792
+ "type": "string"
6793
+ },
6794
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6795
+ "type": "array"
6796
+ }
6797
+ },
6798
+ "type": "object"
6799
+ },
8108
6800
  "SnippetsImports": {
8109
6801
  "additionalProperties": false,
8110
6802
  "properties": {
@@ -8114,38 +6806,7 @@
8114
6806
  "type": "boolean"
8115
6807
  },
8116
6808
  {
8117
- "additionalProperties": false,
8118
- "properties": {
8119
- "exclude": {
8120
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8121
- "items": {
8122
- "enum": [
8123
- "docusaurus_mdx_admonition",
8124
- "docusaurus_mdx_tabs",
8125
- "docusaurus_mdx_truncate",
8126
- "docusaurus_mdx_codeblock"
8127
- ],
8128
- "type": "string"
8129
- },
8130
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8131
- "type": "array"
8132
- },
8133
- "include": {
8134
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8135
- "items": {
8136
- "enum": [
8137
- "docusaurus_mdx_admonition",
8138
- "docusaurus_mdx_tabs",
8139
- "docusaurus_mdx_truncate",
8140
- "docusaurus_mdx_codeblock"
8141
- ],
8142
- "type": "string"
8143
- },
8144
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8145
- "type": "array"
8146
- }
8147
- },
8148
- "type": "object"
6809
+ "$ref": "#/definitions/SnippetsImport%3C(%22docusaurus_mdx_admonition%22%7C%22docusaurus_mdx_tabs%22%7C%22docusaurus_mdx_truncate%22%7C%22docusaurus_mdx_codeblock%22)%3E"
8149
6810
  }
8150
6811
  ],
8151
6812
  "description": "Default snippets for Docusaurus SSG.",
@@ -8157,38 +6818,7 @@
8157
6818
  "type": "boolean"
8158
6819
  },
8159
6820
  {
8160
- "additionalProperties": false,
8161
- "properties": {
8162
- "exclude": {
8163
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8164
- "items": {
8165
- "enum": [
8166
- "eleventy_liquid_raw",
8167
- "_cc_eleventy_liquid_unknown_paired_shortcode",
8168
- "_cc_eleventy_liquid_unknown_shortcode",
8169
- "_cc_eleventy_liquid_template"
8170
- ],
8171
- "type": "string"
8172
- },
8173
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8174
- "type": "array"
8175
- },
8176
- "include": {
8177
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8178
- "items": {
8179
- "enum": [
8180
- "eleventy_liquid_raw",
8181
- "_cc_eleventy_liquid_unknown_paired_shortcode",
8182
- "_cc_eleventy_liquid_unknown_shortcode",
8183
- "_cc_eleventy_liquid_template"
8184
- ],
8185
- "type": "string"
8186
- },
8187
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8188
- "type": "array"
8189
- }
8190
- },
8191
- "type": "object"
6821
+ "$ref": "#/definitions/SnippetsImport%3C(%22eleventy_liquid_raw%22%7C%22_cc_eleventy_liquid_unknown_paired_shortcode%22%7C%22_cc_eleventy_liquid_unknown_shortcode%22%7C%22_cc_eleventy_liquid_template%22)%3E"
8192
6822
  }
8193
6823
  ],
8194
6824
  "description": "Default snippets for Eleventy SSG Liquid files.",
@@ -8200,40 +6830,7 @@
8200
6830
  "type": "boolean"
8201
6831
  },
8202
6832
  {
8203
- "additionalProperties": false,
8204
- "properties": {
8205
- "exclude": {
8206
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8207
- "items": {
8208
- "enum": [
8209
- "eleventy_nunjucks_raw",
8210
- "eleventy_nunjucks_verbatim",
8211
- "_cc_eleventy_nunjucks_unknown_paired_shortcode",
8212
- "_cc_eleventy_nunjucks_unknown_shortcode",
8213
- "_cc_eleventy_nunjucks_template"
8214
- ],
8215
- "type": "string"
8216
- },
8217
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8218
- "type": "array"
8219
- },
8220
- "include": {
8221
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8222
- "items": {
8223
- "enum": [
8224
- "eleventy_nunjucks_raw",
8225
- "eleventy_nunjucks_verbatim",
8226
- "_cc_eleventy_nunjucks_unknown_paired_shortcode",
8227
- "_cc_eleventy_nunjucks_unknown_shortcode",
8228
- "_cc_eleventy_nunjucks_template"
8229
- ],
8230
- "type": "string"
8231
- },
8232
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8233
- "type": "array"
8234
- }
8235
- },
8236
- "type": "object"
6833
+ "$ref": "#/definitions/SnippetsImport%3C(%22eleventy_nunjucks_raw%22%7C%22eleventy_nunjucks_verbatim%22%7C%22_cc_eleventy_nunjucks_unknown_paired_shortcode%22%7C%22_cc_eleventy_nunjucks_unknown_shortcode%22%7C%22_cc_eleventy_nunjucks_template%22)%3E"
8237
6834
  }
8238
6835
  ],
8239
6836
  "description": "Default snippets for Eleventy SSG Nunjucks files.",
@@ -8245,60 +6842,7 @@
8245
6842
  "type": "boolean"
8246
6843
  },
8247
6844
  {
8248
- "additionalProperties": false,
8249
- "properties": {
8250
- "exclude": {
8251
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8252
- "items": {
8253
- "enum": [
8254
- "hugo_summary_divider",
8255
- "hugo_highlight",
8256
- "hugo_figure",
8257
- "hugo_gist",
8258
- "hugo_instagram",
8259
- "hugo_param",
8260
- "hugo_ref",
8261
- "hugo_relref",
8262
- "hugo_tweet",
8263
- "hugo_vimeo",
8264
- "hugo_youtube",
8265
- "_cc_hugo_unknown_paired",
8266
- "_cc_hugo_unknown",
8267
- "_cc_hugo_unknown_paired_processed",
8268
- "_cc_hugo_unknown_processed"
8269
- ],
8270
- "type": "string"
8271
- },
8272
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8273
- "type": "array"
8274
- },
8275
- "include": {
8276
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8277
- "items": {
8278
- "enum": [
8279
- "hugo_summary_divider",
8280
- "hugo_highlight",
8281
- "hugo_figure",
8282
- "hugo_gist",
8283
- "hugo_instagram",
8284
- "hugo_param",
8285
- "hugo_ref",
8286
- "hugo_relref",
8287
- "hugo_tweet",
8288
- "hugo_vimeo",
8289
- "hugo_youtube",
8290
- "_cc_hugo_unknown_paired",
8291
- "_cc_hugo_unknown",
8292
- "_cc_hugo_unknown_paired_processed",
8293
- "_cc_hugo_unknown_processed"
8294
- ],
8295
- "type": "string"
8296
- },
8297
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8298
- "type": "array"
8299
- }
8300
- },
8301
- "type": "object"
6845
+ "$ref": "#/definitions/SnippetsImport%3C(%22hugo_summary_divider%22%7C%22hugo_highlight%22%7C%22hugo_figure%22%7C%22hugo_gist%22%7C%22hugo_instagram%22%7C%22hugo_param%22%7C%22hugo_ref%22%7C%22hugo_relref%22%7C%22hugo_tweet%22%7C%22hugo_vimeo%22%7C%22hugo_youtube%22%7C%22_cc_hugo_unknown_paired%22%7C%22_cc_hugo_unknown%22%7C%22_cc_hugo_unknown_paired_processed%22%7C%22_cc_hugo_unknown_processed%22)%3E"
8302
6846
  }
8303
6847
  ],
8304
6848
  "description": "Default snippets for Hugo SSG.",
@@ -8310,44 +6854,7 @@
8310
6854
  "type": "boolean"
8311
6855
  },
8312
6856
  {
8313
- "additionalProperties": false,
8314
- "properties": {
8315
- "exclude": {
8316
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8317
- "items": {
8318
- "enum": [
8319
- "_cc_jekyll_unknown_paired_tag",
8320
- "_cc_jekyll_unknown_tag",
8321
- "jekyll_highlight",
8322
- "_cc_jekyll_template",
8323
- "jekyll_raw",
8324
- "jekyll_link",
8325
- "jekyll_post_url"
8326
- ],
8327
- "type": "string"
8328
- },
8329
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8330
- "type": "array"
8331
- },
8332
- "include": {
8333
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8334
- "items": {
8335
- "enum": [
8336
- "_cc_jekyll_unknown_paired_tag",
8337
- "_cc_jekyll_unknown_tag",
8338
- "jekyll_highlight",
8339
- "_cc_jekyll_template",
8340
- "jekyll_raw",
8341
- "jekyll_link",
8342
- "jekyll_post_url"
8343
- ],
8344
- "type": "string"
8345
- },
8346
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8347
- "type": "array"
8348
- }
8349
- },
8350
- "type": "object"
6857
+ "$ref": "#/definitions/SnippetsImport%3C(%22_cc_jekyll_unknown_paired_tag%22%7C%22_cc_jekyll_unknown_tag%22%7C%22jekyll_highlight%22%7C%22_cc_jekyll_template%22%7C%22jekyll_raw%22%7C%22jekyll_link%22%7C%22jekyll_post_url%22)%3E"
8351
6858
  }
8352
6859
  ],
8353
6860
  "description": "Default snippets for Jekyll SSG.",
@@ -8359,42 +6866,7 @@
8359
6866
  "type": "boolean"
8360
6867
  },
8361
6868
  {
8362
- "additionalProperties": false,
8363
- "properties": {
8364
- "exclude": {
8365
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8366
- "items": {
8367
- "enum": [
8368
- "markdoc_id_annotation",
8369
- "markdoc_class_annotation",
8370
- "markdoc_table",
8371
- "_cc_markdoc_unknown_tag",
8372
- "_cc_markdoc_unknown_paired_tag",
8373
- "_cc_markdoc_unknown_template"
8374
- ],
8375
- "type": "string"
8376
- },
8377
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8378
- "type": "array"
8379
- },
8380
- "include": {
8381
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8382
- "items": {
8383
- "enum": [
8384
- "markdoc_id_annotation",
8385
- "markdoc_class_annotation",
8386
- "markdoc_table",
8387
- "_cc_markdoc_unknown_tag",
8388
- "_cc_markdoc_unknown_paired_tag",
8389
- "_cc_markdoc_unknown_template"
8390
- ],
8391
- "type": "string"
8392
- },
8393
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8394
- "type": "array"
8395
- }
8396
- },
8397
- "type": "object"
6869
+ "$ref": "#/definitions/SnippetsImport%3C(%22markdoc_id_annotation%22%7C%22markdoc_class_annotation%22%7C%22markdoc_table%22%7C%22_cc_markdoc_unknown_tag%22%7C%22_cc_markdoc_unknown_paired_tag%22%7C%22_cc_markdoc_unknown_template%22)%3E"
8398
6870
  }
8399
6871
  ],
8400
6872
  "description": "Default snippets for Markdoc-based content.",
@@ -8406,44 +6878,7 @@
8406
6878
  "type": "boolean"
8407
6879
  },
8408
6880
  {
8409
- "additionalProperties": false,
8410
- "properties": {
8411
- "exclude": {
8412
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8413
- "items": {
8414
- "enum": [
8415
- "import",
8416
- "_cc_mdx_unknown_export",
8417
- "_cc_mdx_unknown_export_expression",
8418
- "_cc_mdx_unknown_export_default",
8419
- "_cc_mdx_unknown_template",
8420
- "_cc_mdx_paired_unknown",
8421
- "_cc_mdx_unknown"
8422
- ],
8423
- "type": "string"
8424
- },
8425
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8426
- "type": "array"
8427
- },
8428
- "include": {
8429
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8430
- "items": {
8431
- "enum": [
8432
- "import",
8433
- "_cc_mdx_unknown_export",
8434
- "_cc_mdx_unknown_export_expression",
8435
- "_cc_mdx_unknown_export_default",
8436
- "_cc_mdx_unknown_template",
8437
- "_cc_mdx_paired_unknown",
8438
- "_cc_mdx_unknown"
8439
- ],
8440
- "type": "string"
8441
- },
8442
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8443
- "type": "array"
8444
- }
8445
- },
8446
- "type": "object"
6881
+ "$ref": "#/definitions/SnippetsImport%3C(%22import%22%7C%22_cc_mdx_unknown_export%22%7C%22_cc_mdx_unknown_export_expression%22%7C%22_cc_mdx_unknown_export_default%22%7C%22_cc_mdx_unknown_template%22%7C%22_cc_mdx_paired_unknown%22%7C%22_cc_mdx_unknown%22)%3E"
8447
6882
  }
8448
6883
  ],
8449
6884
  "description": "Default snippets for MDX-based content.",
@@ -8455,74 +6890,7 @@
8455
6890
  "type": "boolean"
8456
6891
  },
8457
6892
  {
8458
- "additionalProperties": false,
8459
- "properties": {
8460
- "exclude": {
8461
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8462
- "items": {
8463
- "enum": [
8464
- "python_markdown_abbreviation",
8465
- "python_markdown_admonition",
8466
- "python_markdown_arithmatex",
8467
- "python_markdown_attribute_list",
8468
- "python_markdown_code_block",
8469
- "python_markdown_collapsible_admonition",
8470
- "python_markdown_tabs",
8471
- "python_markdown_footnote",
8472
- "python_markdown_footnote_marker",
8473
- "python_markdown_icon",
8474
- "python_markdown_image",
8475
- "python_markdown_inline_arithmatex",
8476
- "python_markdown_inline_code",
8477
- "python_markdown_link",
8478
- "python_markdown_reference_image",
8479
- "python_markdown_reference_template_image",
8480
- "python_markdown_reference_link",
8481
- "python_markdown_reference",
8482
- "python_markdown_reference_template",
8483
- "python_markdown_block_snippet",
8484
- "_cc_python_markdown_unknown_snippet",
8485
- "_cc_python_markdown_unknown_markdown_in_html"
8486
- ],
8487
- "type": "string"
8488
- },
8489
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
8490
- "type": "array"
8491
- },
8492
- "include": {
8493
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8494
- "items": {
8495
- "enum": [
8496
- "python_markdown_abbreviation",
8497
- "python_markdown_admonition",
8498
- "python_markdown_arithmatex",
8499
- "python_markdown_attribute_list",
8500
- "python_markdown_code_block",
8501
- "python_markdown_collapsible_admonition",
8502
- "python_markdown_tabs",
8503
- "python_markdown_footnote",
8504
- "python_markdown_footnote_marker",
8505
- "python_markdown_icon",
8506
- "python_markdown_image",
8507
- "python_markdown_inline_arithmatex",
8508
- "python_markdown_inline_code",
8509
- "python_markdown_link",
8510
- "python_markdown_reference_image",
8511
- "python_markdown_reference_template_image",
8512
- "python_markdown_reference_link",
8513
- "python_markdown_reference",
8514
- "python_markdown_reference_template",
8515
- "python_markdown_block_snippet",
8516
- "_cc_python_markdown_unknown_snippet",
8517
- "_cc_python_markdown_unknown_markdown_in_html"
8518
- ],
8519
- "type": "string"
8520
- },
8521
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
8522
- "type": "array"
8523
- }
8524
- },
8525
- "type": "object"
6893
+ "$ref": "#/definitions/SnippetsImport%3C(%22python_markdown_abbreviation%22%7C%22python_markdown_admonition%22%7C%22python_markdown_arithmatex%22%7C%22python_markdown_attribute_list%22%7C%22python_markdown_code_block%22%7C%22python_markdown_collapsible_admonition%22%7C%22python_markdown_tabs%22%7C%22python_markdown_footnote%22%7C%22python_markdown_footnote_marker%22%7C%22python_markdown_icon%22%7C%22python_markdown_image%22%7C%22python_markdown_inline_arithmatex%22%7C%22python_markdown_inline_code%22%7C%22python_markdown_link%22%7C%22python_markdown_reference_image%22%7C%22python_markdown_reference_template_image%22%7C%22python_markdown_reference_link%22%7C%22python_markdown_reference%22%7C%22python_markdown_reference_template%22%7C%22python_markdown_block_snippet%22%7C%22_cc_python_markdown_unknown_snippet%22%7C%22_cc_python_markdown_unknown_markdown_in_html%22)%3E"
8526
6894
  }
8527
6895
  ],
8528
6896
  "description": "Default snippets for content using Python markdown extensions.",
@@ -8601,37 +6969,14 @@
8601
6969
  "type": "number"
8602
6970
  },
8603
6971
  "theme": {
6972
+ "$ref": "#/definitions/Theme",
8604
6973
  "default": "monokai",
8605
6974
  "description": "Changes the color scheme for syntax highlighting in the editor.",
8606
- "markdownDescription": "Changes the color scheme for syntax highlighting in the editor.",
8607
- "type": "string"
6975
+ "markdownDescription": "Changes the color scheme for syntax highlighting in the editor."
8608
6976
  }
8609
6977
  },
8610
6978
  "type": "object"
8611
6979
  },
8612
- "SsgKey": {
8613
- "enum": [
8614
- "hugo",
8615
- "jekyll",
8616
- "eleventy",
8617
- "astro",
8618
- "lume",
8619
- "mkdocs",
8620
- "nextjs",
8621
- "sveltekit",
8622
- "bridgetown",
8623
- "docusaurus",
8624
- "gatsby",
8625
- "hexo",
8626
- "nuxtjs",
8627
- "sphinx",
8628
- "static",
8629
- "other",
8630
- "legacy",
8631
- "unknown"
8632
- ],
8633
- "type": "string"
8634
- },
8635
6980
  "Structure": {
8636
6981
  "additionalProperties": false,
8637
6982
  "properties": {
@@ -9125,6 +7470,49 @@
9125
7470
  },
9126
7471
  "type": "object"
9127
7472
  },
7473
+ "Theme": {
7474
+ "enum": [
7475
+ "ambiance",
7476
+ "chaos",
7477
+ "chrome",
7478
+ "clouds",
7479
+ "clouds_midnight",
7480
+ "cobalt",
7481
+ "crimson_editor",
7482
+ "dawn",
7483
+ "dracula",
7484
+ "dreamweaver",
7485
+ "eclipse",
7486
+ "github",
7487
+ "gob",
7488
+ "gruvbox",
7489
+ "idle_fingers",
7490
+ "iplastic",
7491
+ "katzenmilch",
7492
+ "kr_theme",
7493
+ "kuroir",
7494
+ "merbivore",
7495
+ "merbivore_soft",
7496
+ "mono_industrial",
7497
+ "monokai",
7498
+ "nord_dark",
7499
+ "pastel_on_dark",
7500
+ "solarized_dark",
7501
+ "solarized_light",
7502
+ "sqlserver",
7503
+ "terminal",
7504
+ "textmate",
7505
+ "tomorrow",
7506
+ "tomorrow_night",
7507
+ "tomorrow_night_blue",
7508
+ "tomorrow_night_bright",
7509
+ "tomorrow_night_eighties",
7510
+ "twilight",
7511
+ "vibrant_ink",
7512
+ "xcode"
7513
+ ],
7514
+ "type": "string"
7515
+ },
9128
7516
  "Timezone": {
9129
7517
  "enum": [
9130
7518
  "Africa/Abidjan",