@cloudcannon/configuration-types 0.0.16 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,7 @@
1
1
  {
2
- "$ref": "#/definitions/Configuration",
2
+ "$id": "https://schema.cloudcannon.com/cloudcannon-config.schema.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "additionalProperties": false,
4
5
  "definitions": {
5
6
  "AddOption": {
6
7
  "additionalProperties": false,
@@ -229,11 +230,6 @@
229
230
  "markdownDescription": "Optionally changes the text above this input.",
230
231
  "type": "string"
231
232
  },
232
- "options": {
233
- "$ref": "#/definitions/BaseInputOptions",
234
- "description": "Options that are specific to this `type` of input.",
235
- "markdownDescription": "Options that are specific to this `type` of input."
236
- },
237
233
  "type": {
238
234
  "anyOf": [
239
235
  {
@@ -247,17 +243,6 @@
247
243
  },
248
244
  "type": "object"
249
245
  },
250
- "BaseInputOptions": {
251
- "additionalProperties": false,
252
- "properties": {
253
- "empty_type": {
254
- "$ref": "#/definitions/EmptyTypeText",
255
- "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
256
- "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
257
- }
258
- },
259
- "type": "object"
260
- },
261
246
  "BlockEditable": {
262
247
  "additionalProperties": false,
263
248
  "properties": {
@@ -578,9 +563,72 @@
578
563
  "type": "string"
579
564
  },
580
565
  "options": {
581
- "$ref": "#/definitions/ChoiceInputOptions",
566
+ "additionalProperties": false,
582
567
  "description": "Options that are specific to this `type` of input.",
583
- "markdownDescription": "Options that are specific to this `type` of input."
568
+ "markdownDescription": "Options that are specific to this `type` of input.",
569
+ "properties": {
570
+ "allow_empty": {
571
+ "default": true,
572
+ "description": "Provides an empty option alongside the options provided by values.",
573
+ "markdownDescription": "Provides an empty option alongside the options provided by values.",
574
+ "type": "boolean"
575
+ },
576
+ "empty_type": {
577
+ "$ref": "#/definitions/EmptyTypeText",
578
+ "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
579
+ "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
580
+ },
581
+ "picker_preview": {
582
+ "$ref": "#/definitions/Preview",
583
+ "description": "Changes the way items are previewed in the CMS while being chosen.",
584
+ "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
585
+ },
586
+ "picker_view": {
587
+ "description": "Controls how selectable options are rendered.",
588
+ "enum": [
589
+ "card",
590
+ "text",
591
+ "gallery",
592
+ "gallery-left"
593
+ ],
594
+ "markdownDescription": "Controls how selectable options are rendered.",
595
+ "type": "string"
596
+ },
597
+ "preview": {
598
+ "$ref": "#/definitions/Preview",
599
+ "description": "Changes the way items are previewed in the CMS.",
600
+ "markdownDescription": "Changes the way items are previewed in the CMS."
601
+ },
602
+ "value_key": {
603
+ "description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
604
+ "markdownDescription": "Defines the key used for mapping between saved values and objects in values. This changes how\nthe input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\",\n\"title\", then \"name\". Has no effect unless values is an array of objects, the key is used\ninstead for objects, and the value itself is used for primitive types.",
605
+ "type": "string"
606
+ },
607
+ "values": {
608
+ "anyOf": [
609
+ {
610
+ "type": "string"
611
+ },
612
+ {
613
+ "$ref": "#/definitions/SelectValues"
614
+ }
615
+ ],
616
+ "description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
617
+ "markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
618
+ },
619
+ "view": {
620
+ "description": "Controls how selected items are rendered.",
621
+ "enum": [
622
+ "card",
623
+ "text",
624
+ "gallery",
625
+ "gallery-left"
626
+ ],
627
+ "markdownDescription": "Controls how selected items are rendered.",
628
+ "type": "string"
629
+ }
630
+ },
631
+ "type": "object"
584
632
  },
585
633
  "type": {
586
634
  "const": "choice",
@@ -592,65 +640,6 @@
592
640
  ],
593
641
  "type": "object"
594
642
  },
595
- "ChoiceInputOptions": {
596
- "additionalProperties": false,
597
- "properties": {
598
- "allow_empty": {
599
- "default": true,
600
- "description": "Provides an empty option alongside the options provided by values.",
601
- "markdownDescription": "Provides an empty option alongside the options provided by values.",
602
- "type": "boolean"
603
- },
604
- "empty_type": {
605
- "$ref": "#/definitions/EmptyTypeText",
606
- "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
607
- "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
608
- },
609
- "picker_preview": {
610
- "$ref": "#/definitions/Preview",
611
- "description": "Changes the way items are previewed in the CMS while being chosen.",
612
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
613
- },
614
- "picker_view": {
615
- "description": "Controls how selectable options are rendered.",
616
- "enum": [
617
- "card",
618
- "text",
619
- "gallery",
620
- "gallery-left"
621
- ],
622
- "markdownDescription": "Controls how selectable options are rendered.",
623
- "type": "string"
624
- },
625
- "preview": {
626
- "$ref": "#/definitions/Preview",
627
- "description": "Changes the way items are previewed in the CMS.",
628
- "markdownDescription": "Changes the way items are previewed in the CMS."
629
- },
630
- "value_key": {
631
- "description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
632
- "markdownDescription": "Defines the key used for mapping between saved values and objects in values. This changes how\nthe input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\",\n\"title\", then \"name\". Has no effect unless values is an array of objects, the key is used\ninstead for objects, and the value itself is used for primitive types.",
633
- "type": "string"
634
- },
635
- "values": {
636
- "$ref": "#/definitions/SelectValues",
637
- "description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
638
- "markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
639
- },
640
- "view": {
641
- "description": "Controls how selected items are rendered.",
642
- "enum": [
643
- "card",
644
- "text",
645
- "gallery",
646
- "gallery-left"
647
- ],
648
- "markdownDescription": "Controls how selected items are rendered.",
649
- "type": "string"
650
- }
651
- },
652
- "type": "object"
653
- },
654
643
  "CodeInput": {
655
644
  "additionalProperties": false,
656
645
  "properties": {
@@ -808,7 +797,8 @@
808
797
  "$ref": "#/definitions/EditorKey"
809
798
  },
810
799
  "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.",
811
- "type": "array"
800
+ "type": "array",
801
+ "uniqueItems": true
812
802
  },
813
803
  "_inputs": {
814
804
  "additionalProperties": {
@@ -1139,180 +1129,6 @@
1139
1129
  },
1140
1130
  "type": "object"
1141
1131
  },
1142
- "Configuration": {
1143
- "additionalProperties": false,
1144
- "properties": {
1145
- "_array_structures": {
1146
- "additionalProperties": {},
1147
- "deprecated": "Use _structures instead.",
1148
- "description": "Now known as _structures.",
1149
- "markdownDescription": "Now known as _structures.",
1150
- "type": "object"
1151
- },
1152
- "_comments": {
1153
- "additionalProperties": {
1154
- "type": "string"
1155
- },
1156
- "deprecated": "Use _inputs instead.",
1157
- "description": "Now part of _inputs.*.comment.",
1158
- "markdownDescription": "Now part of _inputs.*.comment.",
1159
- "type": "object"
1160
- },
1161
- "_editables": {
1162
- "$ref": "#/definitions/Editables",
1163
- "description": "Contains input options for Editable Regions and the Content Editor.",
1164
- "markdownDescription": "Contains input options for Editable Regions and the Content Editor."
1165
- },
1166
- "_enabled_editors": {
1167
- "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.",
1168
- "items": {
1169
- "$ref": "#/definitions/EditorKey"
1170
- },
1171
- "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.",
1172
- "type": "array"
1173
- },
1174
- "_inputs": {
1175
- "additionalProperties": {
1176
- "$ref": "#/definitions/Input"
1177
- },
1178
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1179
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1180
- "type": "object"
1181
- },
1182
- "_options": {
1183
- "additionalProperties": {
1184
- "additionalProperties": {},
1185
- "type": "object"
1186
- },
1187
- "deprecated": "Use _inputs instead.",
1188
- "description": "Now part of _inputs.*.options.",
1189
- "markdownDescription": "Now part of _inputs.*.options.",
1190
- "type": "object"
1191
- },
1192
- "_select_data": {
1193
- "additionalProperties": {
1194
- "$ref": "#/definitions/SelectValues"
1195
- },
1196
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
1197
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
1198
- "type": "object"
1199
- },
1200
- "_snippets": {
1201
- "additionalProperties": {
1202
- "$ref": "#/definitions/SnippetConfig"
1203
- },
1204
- "description": "Configuration for custom snippets.",
1205
- "markdownDescription": "Configuration for custom snippets.",
1206
- "type": "object"
1207
- },
1208
- "_snippets_definitions": {
1209
- "additionalProperties": {
1210
- "$ref": "#/definitions/SnippetConfig"
1211
- },
1212
- "description": "Extended option used when creating more complex custom snippets.",
1213
- "markdownDescription": "Extended option used when creating more complex custom snippets.",
1214
- "type": "object"
1215
- },
1216
- "_snippets_imports": {
1217
- "$ref": "#/definitions/SnippetsImports",
1218
- "description": "Provides control over which snippets are available to use and/or extend within `_snippets`.",
1219
- "markdownDescription": "Provides control over which snippets are available to use and/or extend within `_snippets`."
1220
- },
1221
- "_snippets_templates": {
1222
- "additionalProperties": {
1223
- "$ref": "#/definitions/SnippetConfig"
1224
- },
1225
- "description": "Extended option used when creating more complex custom snippets.",
1226
- "markdownDescription": "Extended option used when creating more complex custom snippets.",
1227
- "type": "object"
1228
- },
1229
- "_structures": {
1230
- "additionalProperties": {
1231
- "$ref": "#/definitions/Structure"
1232
- },
1233
- "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.",
1234
- "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.",
1235
- "type": "object"
1236
- },
1237
- "base_url": {
1238
- "description": "The subpath where your output files are hosted.",
1239
- "markdownDescription": "The subpath where your output files are hosted.",
1240
- "type": "string"
1241
- },
1242
- "collection_groups": {
1243
- "description": "Defines which collections are shown in the site navigation and how those collections are grouped.",
1244
- "items": {
1245
- "$ref": "#/definitions/CollectionGroup"
1246
- },
1247
- "markdownDescription": "Defines which collections are shown in the site navigation and how those collections are\ngrouped.",
1248
- "type": "array"
1249
- },
1250
- "collections_config": {
1251
- "additionalProperties": {
1252
- "$ref": "#/definitions/CollectionConfig"
1253
- },
1254
- "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.",
1255
- "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.",
1256
- "type": "object"
1257
- },
1258
- "commit_templates": {
1259
- "description": "Templates for commit messages when saving changes.",
1260
- "items": {
1261
- "$ref": "#/definitions/CommitTemplate"
1262
- },
1263
- "markdownDescription": "Templates for commit messages when saving changes.",
1264
- "type": "array"
1265
- },
1266
- "data_config": {
1267
- "additionalProperties": {
1268
- "$ref": "#/definitions/DataConfigEntry"
1269
- },
1270
- "description": "Controls what data sets are available to populate select and multiselect inputs.",
1271
- "markdownDescription": "Controls what data sets are available to populate select and multiselect inputs.",
1272
- "type": "object"
1273
- },
1274
- "editor": {
1275
- "$ref": "#/definitions/Editor",
1276
- "description": "Contains settings for the default editor actions on your site.",
1277
- "markdownDescription": "Contains settings for the default editor actions on your site."
1278
- },
1279
- "file_config": {
1280
- "additionalProperties": {
1281
- "$ref": "#/definitions/FileConfigEntry"
1282
- },
1283
- "description": "Provides scope to configure at a file level, without adding configuration to files.",
1284
- "markdownDescription": "Provides scope to configure at a file level, without adding configuration to files.",
1285
- "type": "object"
1286
- },
1287
- "markdown": {
1288
- "$ref": "#/definitions/MarkdownSettings",
1289
- "description": "Contains settings for various Markdown engines.",
1290
- "markdownDescription": "Contains settings for various Markdown engines."
1291
- },
1292
- "paths": {
1293
- "$ref": "#/definitions/Paths",
1294
- "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`.",
1295
- "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`."
1296
- },
1297
- "source": {
1298
- "description": "Base path to your site source files, relative to the root folder.",
1299
- "markdownDescription": "Base path to your site source files, relative to the root folder.",
1300
- "type": "string"
1301
- },
1302
- "source_editor": {
1303
- "$ref": "#/definitions/SourceEditor",
1304
- "description": "Settings for the behavior and appearance of the Source Editor.",
1305
- "markdownDescription": "Settings for the behavior and appearance of the Source Editor."
1306
- },
1307
- "timezone": {
1308
- "$ref": "#/definitions/Timezone",
1309
- "default": "Etc/UTC",
1310
- "description": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the date is persisted to the file with.",
1311
- "markdownDescription": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the\ndate is persisted to the file with."
1312
- }
1313
- },
1314
- "type": "object"
1315
- },
1316
1132
  "Create": {
1317
1133
  "additionalProperties": false,
1318
1134
  "properties": {
@@ -1611,7 +1427,8 @@
1611
1427
  "$ref": "#/definitions/EditorKey"
1612
1428
  },
1613
1429
  "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.",
1614
- "type": "array"
1430
+ "type": "array",
1431
+ "uniqueItems": true
1615
1432
  },
1616
1433
  "_inputs": {
1617
1434
  "additionalProperties": {
@@ -4320,362 +4137,28 @@
4320
4137
  "type": "object"
4321
4138
  },
4322
4139
  "MarkdownAttributeElementOptions": {
4323
- "additionalProperties": false,
4140
+ "additionalProperties": {
4141
+ "$ref": "#/definitions/AttributeListPosition"
4142
+ },
4324
4143
  "properties": {
4325
- "a": {
4326
- "$ref": "#/definitions/AttributeListPosition"
4327
- },
4328
- "abbr": {
4329
- "$ref": "#/definitions/AttributeListPosition"
4330
- },
4331
- "address": {
4332
- "$ref": "#/definitions/AttributeListPosition"
4333
- },
4334
- "area": {
4335
- "$ref": "#/definitions/AttributeListPosition"
4336
- },
4337
- "article": {
4338
- "$ref": "#/definitions/AttributeListPosition"
4339
- },
4340
- "aside": {
4341
- "$ref": "#/definitions/AttributeListPosition"
4342
- },
4343
- "audio": {
4344
- "$ref": "#/definitions/AttributeListPosition"
4345
- },
4346
- "b": {
4347
- "$ref": "#/definitions/AttributeListPosition"
4348
- },
4349
- "base": {
4350
- "$ref": "#/definitions/AttributeListPosition"
4351
- },
4352
- "bdi": {
4353
- "$ref": "#/definitions/AttributeListPosition"
4354
- },
4355
- "bdo": {
4356
- "$ref": "#/definitions/AttributeListPosition"
4357
- },
4358
4144
  "block": {
4359
4145
  "$ref": "#/definitions/AttributeListPosition"
4360
4146
  },
4361
- "blockquote": {
4362
- "$ref": "#/definitions/AttributeListPosition"
4363
- },
4364
- "body": {
4365
- "$ref": "#/definitions/AttributeListPosition"
4366
- },
4367
- "br": {
4368
- "$ref": "#/definitions/AttributeListPosition"
4369
- },
4370
- "button": {
4371
- "$ref": "#/definitions/AttributeListPosition"
4372
- },
4373
- "canvas": {
4147
+ "inline": {
4374
4148
  "$ref": "#/definitions/AttributeListPosition"
4375
- },
4376
- "caption": {
4377
- "$ref": "#/definitions/AttributeListPosition"
4378
- },
4379
- "cite": {
4380
- "$ref": "#/definitions/AttributeListPosition"
4381
- },
4382
- "code": {
4383
- "$ref": "#/definitions/AttributeListPosition"
4384
- },
4385
- "col": {
4386
- "$ref": "#/definitions/AttributeListPosition"
4387
- },
4388
- "colgroup": {
4389
- "$ref": "#/definitions/AttributeListPosition"
4390
- },
4391
- "data": {
4392
- "$ref": "#/definitions/AttributeListPosition"
4393
- },
4394
- "datalist": {
4395
- "$ref": "#/definitions/AttributeListPosition"
4396
- },
4397
- "dd": {
4398
- "$ref": "#/definitions/AttributeListPosition"
4399
- },
4400
- "del": {
4401
- "$ref": "#/definitions/AttributeListPosition"
4402
- },
4403
- "details": {
4404
- "$ref": "#/definitions/AttributeListPosition"
4405
- },
4406
- "dfn": {
4407
- "$ref": "#/definitions/AttributeListPosition"
4408
- },
4409
- "dialog": {
4410
- "$ref": "#/definitions/AttributeListPosition"
4411
- },
4412
- "div": {
4413
- "$ref": "#/definitions/AttributeListPosition"
4414
- },
4415
- "dl": {
4416
- "$ref": "#/definitions/AttributeListPosition"
4417
- },
4418
- "dt": {
4419
- "$ref": "#/definitions/AttributeListPosition"
4420
- },
4421
- "em": {
4422
- "$ref": "#/definitions/AttributeListPosition"
4423
- },
4424
- "embed": {
4425
- "$ref": "#/definitions/AttributeListPosition"
4426
- },
4427
- "fieldset": {
4428
- "$ref": "#/definitions/AttributeListPosition"
4429
- },
4430
- "figcaption": {
4431
- "$ref": "#/definitions/AttributeListPosition"
4432
- },
4433
- "figure": {
4434
- "$ref": "#/definitions/AttributeListPosition"
4435
- },
4436
- "footer": {
4437
- "$ref": "#/definitions/AttributeListPosition"
4438
- },
4439
- "form": {
4440
- "$ref": "#/definitions/AttributeListPosition"
4441
- },
4442
- "h1": {
4443
- "$ref": "#/definitions/AttributeListPosition"
4444
- },
4445
- "h2": {
4446
- "$ref": "#/definitions/AttributeListPosition"
4447
- },
4448
- "h3": {
4449
- "$ref": "#/definitions/AttributeListPosition"
4450
- },
4451
- "h4": {
4452
- "$ref": "#/definitions/AttributeListPosition"
4453
- },
4454
- "h5": {
4455
- "$ref": "#/definitions/AttributeListPosition"
4456
- },
4457
- "h6": {
4458
- "$ref": "#/definitions/AttributeListPosition"
4459
- },
4460
- "head": {
4461
- "$ref": "#/definitions/AttributeListPosition"
4462
- },
4463
- "header": {
4464
- "$ref": "#/definitions/AttributeListPosition"
4465
- },
4466
- "hgroup": {
4467
- "$ref": "#/definitions/AttributeListPosition"
4468
- },
4469
- "hr": {
4470
- "$ref": "#/definitions/AttributeListPosition"
4471
- },
4472
- "html": {
4473
- "$ref": "#/definitions/AttributeListPosition"
4474
- },
4475
- "i": {
4476
- "$ref": "#/definitions/AttributeListPosition"
4477
- },
4478
- "iframe": {
4479
- "$ref": "#/definitions/AttributeListPosition"
4480
- },
4481
- "img": {
4482
- "$ref": "#/definitions/AttributeListPosition"
4483
- },
4484
- "inline": {
4485
- "$ref": "#/definitions/AttributeListPosition"
4486
- },
4487
- "input": {
4488
- "$ref": "#/definitions/AttributeListPosition"
4489
- },
4490
- "ins": {
4491
- "$ref": "#/definitions/AttributeListPosition"
4492
- },
4493
- "kbd": {
4494
- "$ref": "#/definitions/AttributeListPosition"
4495
- },
4496
- "label": {
4497
- "$ref": "#/definitions/AttributeListPosition"
4498
- },
4499
- "legend": {
4500
- "$ref": "#/definitions/AttributeListPosition"
4501
- },
4502
- "li": {
4503
- "$ref": "#/definitions/AttributeListPosition"
4504
- },
4505
- "link": {
4506
- "$ref": "#/definitions/AttributeListPosition"
4507
- },
4508
- "main": {
4509
- "$ref": "#/definitions/AttributeListPosition"
4510
- },
4511
- "map": {
4512
- "$ref": "#/definitions/AttributeListPosition"
4513
- },
4514
- "mark": {
4515
- "$ref": "#/definitions/AttributeListPosition"
4516
- },
4517
- "menu": {
4518
- "$ref": "#/definitions/AttributeListPosition"
4519
- },
4520
- "meta": {
4521
- "$ref": "#/definitions/AttributeListPosition"
4522
- },
4523
- "meter": {
4524
- "$ref": "#/definitions/AttributeListPosition"
4525
- },
4526
- "nav": {
4527
- "$ref": "#/definitions/AttributeListPosition"
4528
- },
4529
- "noscript": {
4530
- "$ref": "#/definitions/AttributeListPosition"
4531
- },
4532
- "object": {
4533
- "$ref": "#/definitions/AttributeListPosition"
4534
- },
4535
- "ol": {
4536
- "$ref": "#/definitions/AttributeListPosition"
4537
- },
4538
- "optgroup": {
4539
- "$ref": "#/definitions/AttributeListPosition"
4540
- },
4541
- "option": {
4542
- "$ref": "#/definitions/AttributeListPosition"
4543
- },
4544
- "output": {
4545
- "$ref": "#/definitions/AttributeListPosition"
4546
- },
4547
- "p": {
4548
- "$ref": "#/definitions/AttributeListPosition"
4549
- },
4550
- "picture": {
4551
- "$ref": "#/definitions/AttributeListPosition"
4552
- },
4553
- "pre": {
4554
- "$ref": "#/definitions/AttributeListPosition"
4555
- },
4556
- "progress": {
4557
- "$ref": "#/definitions/AttributeListPosition"
4558
- },
4559
- "q": {
4560
- "$ref": "#/definitions/AttributeListPosition"
4561
- },
4562
- "rp": {
4563
- "$ref": "#/definitions/AttributeListPosition"
4564
- },
4565
- "rt": {
4566
- "$ref": "#/definitions/AttributeListPosition"
4567
- },
4568
- "ruby": {
4569
- "$ref": "#/definitions/AttributeListPosition"
4570
- },
4571
- "s": {
4572
- "$ref": "#/definitions/AttributeListPosition"
4573
- },
4574
- "samp": {
4575
- "$ref": "#/definitions/AttributeListPosition"
4576
- },
4577
- "script": {
4578
- "$ref": "#/definitions/AttributeListPosition"
4579
- },
4580
- "search": {
4581
- "$ref": "#/definitions/AttributeListPosition"
4582
- },
4583
- "section": {
4584
- "$ref": "#/definitions/AttributeListPosition"
4585
- },
4586
- "select": {
4587
- "$ref": "#/definitions/AttributeListPosition"
4588
- },
4589
- "slot": {
4590
- "$ref": "#/definitions/AttributeListPosition"
4591
- },
4592
- "small": {
4593
- "$ref": "#/definitions/AttributeListPosition"
4594
- },
4595
- "source": {
4596
- "$ref": "#/definitions/AttributeListPosition"
4597
- },
4598
- "span": {
4599
- "$ref": "#/definitions/AttributeListPosition"
4600
- },
4601
- "strong": {
4602
- "$ref": "#/definitions/AttributeListPosition"
4603
- },
4604
- "style": {
4605
- "$ref": "#/definitions/AttributeListPosition"
4606
- },
4607
- "sub": {
4608
- "$ref": "#/definitions/AttributeListPosition"
4609
- },
4610
- "summary": {
4611
- "$ref": "#/definitions/AttributeListPosition"
4612
- },
4613
- "sup": {
4614
- "$ref": "#/definitions/AttributeListPosition"
4615
- },
4616
- "table": {
4617
- "$ref": "#/definitions/AttributeListPosition"
4618
- },
4619
- "tbody": {
4620
- "$ref": "#/definitions/AttributeListPosition"
4621
- },
4622
- "td": {
4623
- "$ref": "#/definitions/AttributeListPosition"
4624
- },
4625
- "template": {
4626
- "$ref": "#/definitions/AttributeListPosition"
4627
- },
4628
- "textarea": {
4629
- "$ref": "#/definitions/AttributeListPosition"
4630
- },
4631
- "tfoot": {
4632
- "$ref": "#/definitions/AttributeListPosition"
4633
- },
4634
- "th": {
4635
- "$ref": "#/definitions/AttributeListPosition"
4636
- },
4637
- "thead": {
4638
- "$ref": "#/definitions/AttributeListPosition"
4639
- },
4640
- "time": {
4641
- "$ref": "#/definitions/AttributeListPosition"
4642
- },
4643
- "title": {
4644
- "$ref": "#/definitions/AttributeListPosition"
4645
- },
4646
- "tr": {
4647
- "$ref": "#/definitions/AttributeListPosition"
4648
- },
4649
- "track": {
4650
- "$ref": "#/definitions/AttributeListPosition"
4651
- },
4652
- "u": {
4653
- "$ref": "#/definitions/AttributeListPosition"
4654
- },
4655
- "ul": {
4656
- "$ref": "#/definitions/AttributeListPosition"
4657
- },
4658
- "var": {
4659
- "$ref": "#/definitions/AttributeListPosition"
4660
- },
4661
- "video": {
4662
- "$ref": "#/definitions/AttributeListPosition"
4663
- },
4664
- "wbr": {
4665
- "$ref": "#/definitions/AttributeListPosition"
4666
- }
4667
- },
4668
- "type": "object"
4669
- },
4670
- "MarkdownSettings": {
4671
- "additionalProperties": false,
4672
- "properties": {
4673
- "engine": {
4674
- "enum": [
4675
- "commonmark",
4676
- "kramdown"
4677
- ],
4678
- "type": "string"
4149
+ }
4150
+ },
4151
+ "type": "object"
4152
+ },
4153
+ "MarkdownSettings": {
4154
+ "additionalProperties": false,
4155
+ "properties": {
4156
+ "engine": {
4157
+ "enum": [
4158
+ "commonmark",
4159
+ "kramdown"
4160
+ ],
4161
+ "type": "string"
4679
4162
  },
4680
4163
  "options": {
4681
4164
  "additionalProperties": false,
@@ -5294,9 +4777,72 @@
5294
4777
  "type": "string"
5295
4778
  },
5296
4779
  "options": {
5297
- "$ref": "#/definitions/MultichoiceInputOptions",
4780
+ "additionalProperties": false,
5298
4781
  "description": "Options that are specific to this `type` of input.",
5299
- "markdownDescription": "Options that are specific to this `type` of input."
4782
+ "markdownDescription": "Options that are specific to this `type` of input.",
4783
+ "properties": {
4784
+ "allow_empty": {
4785
+ "default": true,
4786
+ "description": "Provides an empty option alongside the options provided by values.",
4787
+ "markdownDescription": "Provides an empty option alongside the options provided by values.",
4788
+ "type": "boolean"
4789
+ },
4790
+ "empty_type": {
4791
+ "$ref": "#/definitions/EmptyTypeArray",
4792
+ "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
4793
+ "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
4794
+ },
4795
+ "picker_preview": {
4796
+ "$ref": "#/definitions/Preview",
4797
+ "description": "Changes the way items are previewed in the CMS while being chosen.",
4798
+ "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
4799
+ },
4800
+ "picker_view": {
4801
+ "description": "Controls how selectable options are rendered.",
4802
+ "enum": [
4803
+ "card",
4804
+ "text",
4805
+ "gallery",
4806
+ "gallery-left"
4807
+ ],
4808
+ "markdownDescription": "Controls how selectable options are rendered.",
4809
+ "type": "string"
4810
+ },
4811
+ "preview": {
4812
+ "$ref": "#/definitions/Preview",
4813
+ "description": "Changes the way items are previewed in the CMS.",
4814
+ "markdownDescription": "Changes the way items are previewed in the CMS."
4815
+ },
4816
+ "value_key": {
4817
+ "description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
4818
+ "markdownDescription": "Defines the key used for mapping between saved values and objects in values. This changes how\nthe input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\",\n\"title\", then \"name\". Has no effect unless values is an array of objects, the key is used\ninstead for objects, and the value itself is used for primitive types.",
4819
+ "type": "string"
4820
+ },
4821
+ "values": {
4822
+ "anyOf": [
4823
+ {
4824
+ "type": "string"
4825
+ },
4826
+ {
4827
+ "$ref": "#/definitions/SelectValues"
4828
+ }
4829
+ ],
4830
+ "description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
4831
+ "markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
4832
+ },
4833
+ "view": {
4834
+ "description": "Controls how selected items are rendered.",
4835
+ "enum": [
4836
+ "card",
4837
+ "text",
4838
+ "gallery",
4839
+ "gallery-left"
4840
+ ],
4841
+ "markdownDescription": "Controls how selected items are rendered.",
4842
+ "type": "string"
4843
+ }
4844
+ },
4845
+ "type": "object"
5300
4846
  },
5301
4847
  "type": {
5302
4848
  "const": "multichoice",
@@ -5308,78 +4854,19 @@
5308
4854
  ],
5309
4855
  "type": "object"
5310
4856
  },
5311
- "MultichoiceInputOptions": {
4857
+ "MultiselectInput": {
5312
4858
  "additionalProperties": false,
5313
4859
  "properties": {
5314
- "allow_empty": {
4860
+ "cascade": {
5315
4861
  "default": true,
5316
- "description": "Provides an empty option alongside the options provided by values.",
5317
- "markdownDescription": "Provides an empty option alongside the options provided by values.",
4862
+ "description": "Specifies whether or not this input configuration should be merged with any matching, less specific configuration.",
4863
+ "markdownDescription": "Specifies whether or not this input configuration should be merged with any matching, less\nspecific configuration.",
5318
4864
  "type": "boolean"
5319
4865
  },
5320
- "empty_type": {
5321
- "$ref": "#/definitions/EmptyTypeArray",
5322
- "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
5323
- "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
5324
- },
5325
- "picker_preview": {
5326
- "$ref": "#/definitions/Preview",
5327
- "description": "Changes the way items are previewed in the CMS while being chosen.",
5328
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
5329
- },
5330
- "picker_view": {
5331
- "description": "Controls how selectable options are rendered.",
5332
- "enum": [
5333
- "card",
5334
- "text",
5335
- "gallery",
5336
- "gallery-left"
5337
- ],
5338
- "markdownDescription": "Controls how selectable options are rendered.",
5339
- "type": "string"
5340
- },
5341
- "preview": {
5342
- "$ref": "#/definitions/Preview",
5343
- "description": "Changes the way items are previewed in the CMS.",
5344
- "markdownDescription": "Changes the way items are previewed in the CMS."
5345
- },
5346
- "value_key": {
5347
- "description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
5348
- "markdownDescription": "Defines the key used for mapping between saved values and objects in values. This changes how\nthe input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\",\n\"title\", then \"name\". Has no effect unless values is an array of objects, the key is used\ninstead for objects, and the value itself is used for primitive types.",
5349
- "type": "string"
5350
- },
5351
- "values": {
5352
- "$ref": "#/definitions/SelectValues",
5353
- "description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
5354
- "markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
5355
- },
5356
- "view": {
5357
- "description": "Controls how selected items are rendered.",
5358
- "enum": [
5359
- "card",
5360
- "text",
5361
- "gallery",
5362
- "gallery-left"
5363
- ],
5364
- "markdownDescription": "Controls how selected items are rendered.",
5365
- "type": "string"
5366
- }
5367
- },
5368
- "type": "object"
5369
- },
5370
- "MultiselectInput": {
5371
- "additionalProperties": false,
5372
- "properties": {
5373
- "cascade": {
5374
- "default": true,
5375
- "description": "Specifies whether or not this input configuration should be merged with any matching, less specific configuration.",
5376
- "markdownDescription": "Specifies whether or not this input configuration should be merged with any matching, less\nspecific configuration.",
5377
- "type": "boolean"
5378
- },
5379
- "comment": {
5380
- "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.",
5381
- "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.",
5382
- "type": "string"
4866
+ "comment": {
4867
+ "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.",
4868
+ "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.",
4869
+ "type": "string"
5383
4870
  },
5384
4871
  "context": {
5385
4872
  "additionalProperties": false,
@@ -5434,9 +4921,78 @@
5434
4921
  "type": "string"
5435
4922
  },
5436
4923
  "options": {
5437
- "$ref": "#/definitions/MultiselectInputOptions",
4924
+ "additionalProperties": false,
5438
4925
  "description": "Options that are specific to this `type` of input.",
5439
- "markdownDescription": "Options that are specific to this `type` of input."
4926
+ "markdownDescription": "Options that are specific to this `type` of input.",
4927
+ "properties": {
4928
+ "allow_create": {
4929
+ "default": false,
4930
+ "description": "Allows new text values to be created at edit time.",
4931
+ "markdownDescription": "Allows new text values to be created at edit time.",
4932
+ "type": "boolean"
4933
+ },
4934
+ "allow_empty": {
4935
+ "default": true,
4936
+ "description": "Provides an empty option alongside the options provided by values.",
4937
+ "markdownDescription": "Provides an empty option alongside the options provided by values.",
4938
+ "type": "boolean"
4939
+ },
4940
+ "empty_type": {
4941
+ "$ref": "#/definitions/EmptyTypeArray",
4942
+ "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
4943
+ "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
4944
+ },
4945
+ "picker_preview": {
4946
+ "$ref": "#/definitions/Preview",
4947
+ "description": "Changes the way items are previewed in the CMS while being chosen.",
4948
+ "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
4949
+ },
4950
+ "picker_view": {
4951
+ "description": "Controls how selectable options are rendered.",
4952
+ "enum": [
4953
+ "card",
4954
+ "text",
4955
+ "gallery",
4956
+ "gallery-left"
4957
+ ],
4958
+ "markdownDescription": "Controls how selectable options are rendered.",
4959
+ "type": "string"
4960
+ },
4961
+ "preview": {
4962
+ "$ref": "#/definitions/Preview",
4963
+ "description": "Changes the way items are previewed in the CMS.",
4964
+ "markdownDescription": "Changes the way items are previewed in the CMS."
4965
+ },
4966
+ "value_key": {
4967
+ "description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
4968
+ "markdownDescription": "Defines the key used for mapping between saved values and objects in values. This changes how\nthe input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\",\n\"title\", then \"name\". Has no effect unless values is an array of objects, the key is used\ninstead for objects, and the value itself is used for primitive types.",
4969
+ "type": "string"
4970
+ },
4971
+ "values": {
4972
+ "anyOf": [
4973
+ {
4974
+ "type": "string"
4975
+ },
4976
+ {
4977
+ "$ref": "#/definitions/SelectValues"
4978
+ }
4979
+ ],
4980
+ "description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
4981
+ "markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
4982
+ },
4983
+ "view": {
4984
+ "description": "Controls how selected items are rendered.",
4985
+ "enum": [
4986
+ "card",
4987
+ "text",
4988
+ "gallery",
4989
+ "gallery-left"
4990
+ ],
4991
+ "markdownDescription": "Controls how selected items are rendered.",
4992
+ "type": "string"
4993
+ }
4994
+ },
4995
+ "type": "object"
5440
4996
  },
5441
4997
  "type": {
5442
4998
  "const": "multiselect",
@@ -5448,71 +5004,6 @@
5448
5004
  ],
5449
5005
  "type": "object"
5450
5006
  },
5451
- "MultiselectInputOptions": {
5452
- "additionalProperties": false,
5453
- "properties": {
5454
- "allow_create": {
5455
- "default": false,
5456
- "description": "Allows new text values to be created at edit time.",
5457
- "markdownDescription": "Allows new text values to be created at edit time.",
5458
- "type": "boolean"
5459
- },
5460
- "allow_empty": {
5461
- "default": true,
5462
- "description": "Provides an empty option alongside the options provided by values.",
5463
- "markdownDescription": "Provides an empty option alongside the options provided by values.",
5464
- "type": "boolean"
5465
- },
5466
- "empty_type": {
5467
- "$ref": "#/definitions/EmptyTypeArray",
5468
- "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
5469
- "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
5470
- },
5471
- "picker_preview": {
5472
- "$ref": "#/definitions/Preview",
5473
- "description": "Changes the way items are previewed in the CMS while being chosen.",
5474
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
5475
- },
5476
- "picker_view": {
5477
- "description": "Controls how selectable options are rendered.",
5478
- "enum": [
5479
- "card",
5480
- "text",
5481
- "gallery",
5482
- "gallery-left"
5483
- ],
5484
- "markdownDescription": "Controls how selectable options are rendered.",
5485
- "type": "string"
5486
- },
5487
- "preview": {
5488
- "$ref": "#/definitions/Preview",
5489
- "description": "Changes the way items are previewed in the CMS.",
5490
- "markdownDescription": "Changes the way items are previewed in the CMS."
5491
- },
5492
- "value_key": {
5493
- "description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
5494
- "markdownDescription": "Defines the key used for mapping between saved values and objects in values. This changes how\nthe input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\",\n\"title\", then \"name\". Has no effect unless values is an array of objects, the key is used\ninstead for objects, and the value itself is used for primitive types.",
5495
- "type": "string"
5496
- },
5497
- "values": {
5498
- "$ref": "#/definitions/SelectValues",
5499
- "description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
5500
- "markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
5501
- },
5502
- "view": {
5503
- "description": "Controls how selected items are rendered.",
5504
- "enum": [
5505
- "card",
5506
- "text",
5507
- "gallery",
5508
- "gallery-left"
5509
- ],
5510
- "markdownDescription": "Controls how selected items are rendered.",
5511
- "type": "string"
5512
- }
5513
- },
5514
- "type": "object"
5515
- },
5516
5007
  "NumberInput": {
5517
5008
  "additionalProperties": false,
5518
5009
  "properties": {
@@ -5816,6 +5307,16 @@
5816
5307
  ],
5817
5308
  "markdownDescription": "Changes the appearance and behavior of the input.",
5818
5309
  "type": "string"
5310
+ },
5311
+ "view": {
5312
+ "description": "Controls how object previews are rendered.",
5313
+ "enum": [
5314
+ "card",
5315
+ "gallery",
5316
+ "gallery-left"
5317
+ ],
5318
+ "markdownDescription": "Controls how object previews are rendered.",
5319
+ "type": "string"
5819
5320
  }
5820
5321
  },
5821
5322
  "type": "object"
@@ -6505,7 +6006,8 @@
6505
6006
  "$ref": "#/definitions/EditorKey"
6506
6007
  },
6507
6008
  "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.",
6508
- "type": "array"
6009
+ "type": "array",
6010
+ "uniqueItems": true
6509
6011
  },
6510
6012
  "_inputs": {
6511
6013
  "additionalProperties": {
@@ -6547,16 +6049,14 @@
6547
6049
  "markdownDescription": "Controls where new files are saved."
6548
6050
  },
6549
6051
  "hide_extra_inputs": {
6550
- "default": false,
6551
- "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true.",
6552
- "markdownDescription": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true.",
6052
+ "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false.",
6053
+ "markdownDescription": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults\nto false.",
6553
6054
  "type": "boolean"
6554
6055
  },
6555
6056
  "icon": {
6556
6057
  "$ref": "#/definitions/Icon",
6557
- "default": "notes",
6558
- "description": "Displayed in the add menu when creating new files; also used as the icon for collection files if no other preview is found.",
6559
- "markdownDescription": "Displayed in the add menu when creating new files; also used as the icon for collection files\nif no other preview is found."
6058
+ "description": "Displayed in the add menu when creating new files; also used as the icon for collection files if no other preview is found. Defaults to notes.",
6059
+ "markdownDescription": "Displayed in the add menu when creating new files; also used as the icon for collection files\nif no other preview is found. Defaults to notes."
6560
6060
  },
6561
6061
  "name": {
6562
6062
  "description": "Displayed in the add menu when creating new files. Defaults to a formatted version of the key.",
@@ -6579,21 +6079,18 @@
6579
6079
  "markdownDescription": "Changes the way items are previewed in the CMS."
6580
6080
  },
6581
6081
  "remove_empty_inputs": {
6582
- "default": false,
6583
- "description": "If checked, empty inputs are removed from the source file on save. Removed inputs will be available for editing again, provided they are in the matching schema/structure.",
6584
- "markdownDescription": "If checked, empty inputs are removed from the source file on save. Removed inputs will be\navailable for editing again, provided they are in the matching schema/structure.",
6082
+ "description": "If checked, empty inputs are removed from the source file on save. Removed inputs will be available for editing again, provided they are in the matching schema/structure. Defaults to false.",
6083
+ "markdownDescription": "If checked, empty inputs are removed from the source file on save. Removed inputs will be\navailable for editing again, provided they are in the matching schema/structure. Defaults to\nfalse.",
6585
6084
  "type": "boolean"
6586
6085
  },
6587
6086
  "remove_extra_inputs": {
6588
- "default": true,
6589
- "description": "If checked, extra inputs are removed when editing.",
6590
- "markdownDescription": "If checked, extra inputs are removed when editing.",
6087
+ "description": "If checked, extra inputs are removed when editing. Defaults to true.",
6088
+ "markdownDescription": "If checked, extra inputs are removed when editing. Defaults to true.",
6591
6089
  "type": "boolean"
6592
6090
  },
6593
6091
  "reorder_inputs": {
6594
- "default": true,
6595
- "description": "If true, inputs are sorted to match when editing. Extra inputs are ordered after expected inputs, unless `remove_extra_inputs` is true.",
6596
- "markdownDescription": "If true, inputs are sorted to match when editing. Extra inputs are ordered after expected\ninputs, unless `remove_extra_inputs` is true.",
6092
+ "description": "If true, inputs are sorted to match when editing. Extra inputs are ordered after expected inputs, unless `remove_extra_inputs` is true. Defaults to true.",
6093
+ "markdownDescription": "If true, inputs are sorted to match when editing. Extra inputs are ordered after expected\ninputs, unless `remove_extra_inputs` is true. Defaults to true.",
6597
6094
  "type": "boolean"
6598
6095
  }
6599
6096
  },
@@ -6669,9 +6166,78 @@
6669
6166
  "type": "string"
6670
6167
  },
6671
6168
  "options": {
6672
- "$ref": "#/definitions/SelectInputOptions",
6169
+ "additionalProperties": false,
6673
6170
  "description": "Options that are specific to this `type` of input.",
6674
- "markdownDescription": "Options that are specific to this `type` of input."
6171
+ "markdownDescription": "Options that are specific to this `type` of input.",
6172
+ "properties": {
6173
+ "allow_create": {
6174
+ "default": false,
6175
+ "description": "Allows new text values to be created at edit time.",
6176
+ "markdownDescription": "Allows new text values to be created at edit time.",
6177
+ "type": "boolean"
6178
+ },
6179
+ "allow_empty": {
6180
+ "default": true,
6181
+ "description": "Provides an empty option alongside the options provided by values.",
6182
+ "markdownDescription": "Provides an empty option alongside the options provided by values.",
6183
+ "type": "boolean"
6184
+ },
6185
+ "empty_type": {
6186
+ "$ref": "#/definitions/EmptyTypeText",
6187
+ "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
6188
+ "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
6189
+ },
6190
+ "picker_preview": {
6191
+ "$ref": "#/definitions/Preview",
6192
+ "description": "Changes the way items are previewed in the CMS while being chosen.",
6193
+ "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
6194
+ },
6195
+ "picker_view": {
6196
+ "description": "Controls how selectable options are rendered.",
6197
+ "enum": [
6198
+ "card",
6199
+ "text",
6200
+ "gallery",
6201
+ "gallery-left"
6202
+ ],
6203
+ "markdownDescription": "Controls how selectable options are rendered.",
6204
+ "type": "string"
6205
+ },
6206
+ "preview": {
6207
+ "$ref": "#/definitions/Preview",
6208
+ "description": "Changes the way items are previewed in the CMS.",
6209
+ "markdownDescription": "Changes the way items are previewed in the CMS."
6210
+ },
6211
+ "value_key": {
6212
+ "description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
6213
+ "markdownDescription": "Defines the key used for mapping between saved values and objects in values. This changes how\nthe input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\",\n\"title\", then \"name\". Has no effect unless values is an array of objects, the key is used\ninstead for objects, and the value itself is used for primitive types.",
6214
+ "type": "string"
6215
+ },
6216
+ "values": {
6217
+ "anyOf": [
6218
+ {
6219
+ "type": "string"
6220
+ },
6221
+ {
6222
+ "$ref": "#/definitions/SelectValues"
6223
+ }
6224
+ ],
6225
+ "description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
6226
+ "markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
6227
+ },
6228
+ "view": {
6229
+ "description": "Controls how selected items are rendered.",
6230
+ "enum": [
6231
+ "card",
6232
+ "text",
6233
+ "gallery",
6234
+ "gallery-left"
6235
+ ],
6236
+ "markdownDescription": "Controls how selected items are rendered.",
6237
+ "type": "string"
6238
+ }
6239
+ },
6240
+ "type": "object"
6675
6241
  },
6676
6242
  "type": {
6677
6243
  "const": "select",
@@ -6683,518 +6249,116 @@
6683
6249
  ],
6684
6250
  "type": "object"
6685
6251
  },
6686
- "SelectInputOptions": {
6687
- "additionalProperties": false,
6688
- "properties": {
6689
- "allow_create": {
6690
- "default": false,
6691
- "description": "Allows new text values to be created at edit time.",
6692
- "markdownDescription": "Allows new text values to be created at edit time.",
6693
- "type": "boolean"
6694
- },
6695
- "allow_empty": {
6696
- "default": true,
6697
- "description": "Provides an empty option alongside the options provided by values.",
6698
- "markdownDescription": "Provides an empty option alongside the options provided by values.",
6699
- "type": "boolean"
6700
- },
6701
- "empty_type": {
6702
- "$ref": "#/definitions/EmptyTypeText",
6703
- "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
6704
- "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
6705
- },
6706
- "picker_preview": {
6707
- "$ref": "#/definitions/Preview",
6708
- "description": "Changes the way items are previewed in the CMS while being chosen.",
6709
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
6710
- },
6711
- "picker_view": {
6712
- "description": "Controls how selectable options are rendered.",
6713
- "enum": [
6714
- "card",
6715
- "text",
6716
- "gallery",
6717
- "gallery-left"
6718
- ],
6719
- "markdownDescription": "Controls how selectable options are rendered.",
6720
- "type": "string"
6721
- },
6722
- "preview": {
6723
- "$ref": "#/definitions/Preview",
6724
- "description": "Changes the way items are previewed in the CMS.",
6725
- "markdownDescription": "Changes the way items are previewed in the CMS."
6726
- },
6727
- "value_key": {
6728
- "description": "Defines the key used for mapping between saved values and objects in values. This changes how the input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\", \"title\", then \"name\". Has no effect unless values is an array of objects, the key is used instead for objects, and the value itself is used for primitive types.",
6729
- "markdownDescription": "Defines the key used for mapping between saved values and objects in values. This changes how\nthe input saves selected values to match. Defaults to checking for \"id\", \"uuid\", \"path\",\n\"title\", then \"name\". Has no effect unless values is an array of objects, the key is used\ninstead for objects, and the value itself is used for primitive types.",
6730
- "type": "string"
6731
- },
6732
- "values": {
6733
- "$ref": "#/definitions/SelectValues",
6734
- "description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
6735
- "markdownDescription": "Defines the values available to choose from. Optional, defaults to fetching values from the\nnaming convention (e.g. colors or my_colors for data set colors)."
6736
- },
6737
- "view": {
6738
- "description": "Controls how selected items are rendered.",
6739
- "enum": [
6740
- "card",
6741
- "text",
6742
- "gallery",
6743
- "gallery-left"
6744
- ],
6745
- "markdownDescription": "Controls how selected items are rendered.",
6746
- "type": "string"
6747
- }
6748
- },
6749
- "type": "object"
6750
- },
6751
6252
  "SelectValues": {
6752
6253
  "anyOf": [
6753
- {
6754
- "type": "string"
6755
- },
6756
- {
6757
- "items": {
6758
- "type": "string"
6759
- },
6760
- "type": "array"
6761
- },
6762
- {
6763
- "additionalProperties": {
6764
- "type": "string"
6765
- },
6766
- "type": "object"
6767
- },
6768
- {
6769
- "additionalProperties": {
6770
- "type": "object"
6771
- },
6772
- "type": "object"
6773
- }
6774
- ]
6775
- },
6776
- "SnippetConfig": {
6777
- "additionalProperties": false,
6778
- "properties": {
6779
- "_inputs": {
6780
- "additionalProperties": {
6781
- "$ref": "#/definitions/Input"
6782
- },
6783
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
6784
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
6785
- "type": "object"
6786
- },
6787
- "_select_data": {
6788
- "additionalProperties": {
6789
- "$ref": "#/definitions/SelectValues"
6790
- },
6791
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
6792
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
6793
- "type": "object"
6794
- },
6795
- "_structures": {
6796
- "additionalProperties": {
6797
- "$ref": "#/definitions/Structure"
6798
- },
6799
- "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.",
6800
- "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.",
6801
- "type": "object"
6802
- },
6803
- "alternate_formats": {
6804
- "description": "Alternate configurations for this snippet.",
6805
- "items": {
6806
- "$ref": "#/definitions/SnippetConfig"
6807
- },
6808
- "markdownDescription": "Alternate configurations for this snippet.",
6809
- "type": "array"
6810
- },
6811
- "definitions": {
6812
- "description": "The variables required for the selected template.",
6813
- "markdownDescription": "The variables required for the selected template.",
6814
- "type": "object"
6815
- },
6816
- "inline": {
6817
- "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
6818
- "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
6819
- "type": "boolean"
6820
- },
6821
- "params": {
6822
- "description": "The parameters of this snippet.",
6823
- "markdownDescription": "The parameters of this snippet.",
6824
- "type": "object"
6825
- },
6826
- "picker_preview": {
6827
- "$ref": "#/definitions/Preview",
6828
- "description": "Changes the way items are previewed in the CMS while being chosen.",
6829
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
6830
- },
6831
- "preview": {
6832
- "$ref": "#/definitions/Preview",
6833
- "description": "Changes the way items are previewed in the CMS.",
6834
- "markdownDescription": "Changes the way items are previewed in the CMS."
6835
- },
6836
- "snippet": {
6837
- "description": "Name of the snippet.",
6838
- "markdownDescription": "Name of the snippet.",
6839
- "type": "string"
6840
- },
6841
- "strict_whitespace": {
6842
- "description": "Whether this snippet treats whitespace as-is or not.",
6843
- "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
6844
- "type": "boolean"
6845
- },
6846
- "template": {
6847
- "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
6848
- "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
6849
- "type": "string"
6850
- }
6851
- },
6852
- "type": "object"
6853
- },
6854
- "SnippetsImport<(\"_cc_jekyll_unknown_paired_tag\"|\"_cc_jekyll_unknown_tag\"|\"jekyll_highlight\"|\"_cc_jekyll_template\"|\"jekyll_raw\"|\"jekyll_link\"|\"jekyll_post_url\")>": {
6855
- "additionalProperties": false,
6856
- "properties": {
6857
- "exclude": {
6858
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6859
- "items": {
6860
- "enum": [
6861
- "_cc_jekyll_unknown_paired_tag",
6862
- "_cc_jekyll_unknown_tag",
6863
- "jekyll_highlight",
6864
- "_cc_jekyll_template",
6865
- "jekyll_raw",
6866
- "jekyll_link",
6867
- "jekyll_post_url"
6868
- ],
6869
- "type": "string"
6870
- },
6871
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6872
- "type": "array"
6873
- },
6874
- "include": {
6875
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6876
- "items": {
6877
- "enum": [
6878
- "_cc_jekyll_unknown_paired_tag",
6879
- "_cc_jekyll_unknown_tag",
6880
- "jekyll_highlight",
6881
- "_cc_jekyll_template",
6882
- "jekyll_raw",
6883
- "jekyll_link",
6884
- "jekyll_post_url"
6885
- ],
6886
- "type": "string"
6887
- },
6888
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6889
- "type": "array"
6890
- }
6891
- },
6892
- "type": "object"
6893
- },
6894
- "SnippetsImport<(\"docusaurus_mdx_admonition\"|\"docusaurus_mdx_tabs\"|\"docusaurus_mdx_truncate\"|\"docusaurus_mdx_codeblock\")>": {
6895
- "additionalProperties": false,
6896
- "properties": {
6897
- "exclude": {
6898
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6899
- "items": {
6900
- "enum": [
6901
- "docusaurus_mdx_admonition",
6902
- "docusaurus_mdx_tabs",
6903
- "docusaurus_mdx_truncate",
6904
- "docusaurus_mdx_codeblock"
6905
- ],
6906
- "type": "string"
6907
- },
6908
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6909
- "type": "array"
6910
- },
6911
- "include": {
6912
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6913
- "items": {
6914
- "enum": [
6915
- "docusaurus_mdx_admonition",
6916
- "docusaurus_mdx_tabs",
6917
- "docusaurus_mdx_truncate",
6918
- "docusaurus_mdx_codeblock"
6919
- ],
6920
- "type": "string"
6921
- },
6922
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6923
- "type": "array"
6924
- }
6925
- },
6926
- "type": "object"
6927
- },
6928
- "SnippetsImport<(\"eleventy_liquid_raw\"|\"_cc_eleventy_liquid_unknown_paired_shortcode\"|\"_cc_eleventy_liquid_unknown_shortcode\"|\"_cc_eleventy_liquid_template\")>": {
6929
- "additionalProperties": false,
6930
- "properties": {
6931
- "exclude": {
6932
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6933
- "items": {
6934
- "enum": [
6935
- "eleventy_liquid_raw",
6936
- "_cc_eleventy_liquid_unknown_paired_shortcode",
6937
- "_cc_eleventy_liquid_unknown_shortcode",
6938
- "_cc_eleventy_liquid_template"
6939
- ],
6940
- "type": "string"
6941
- },
6942
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6943
- "type": "array"
6944
- },
6945
- "include": {
6946
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6947
- "items": {
6948
- "enum": [
6949
- "eleventy_liquid_raw",
6950
- "_cc_eleventy_liquid_unknown_paired_shortcode",
6951
- "_cc_eleventy_liquid_unknown_shortcode",
6952
- "_cc_eleventy_liquid_template"
6953
- ],
6954
- "type": "string"
6955
- },
6956
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6957
- "type": "array"
6958
- }
6959
- },
6960
- "type": "object"
6961
- },
6962
- "SnippetsImport<(\"eleventy_nunjucks_raw\"|\"eleventy_nunjucks_verbatim\"|\"_cc_eleventy_nunjucks_unknown_paired_shortcode\"|\"_cc_eleventy_nunjucks_unknown_shortcode\"|\"_cc_eleventy_nunjucks_template\")>": {
6963
- "additionalProperties": false,
6964
- "properties": {
6965
- "exclude": {
6966
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6967
- "items": {
6968
- "enum": [
6969
- "eleventy_nunjucks_raw",
6970
- "eleventy_nunjucks_verbatim",
6971
- "_cc_eleventy_nunjucks_unknown_paired_shortcode",
6972
- "_cc_eleventy_nunjucks_unknown_shortcode",
6973
- "_cc_eleventy_nunjucks_template"
6974
- ],
6975
- "type": "string"
6976
- },
6977
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6978
- "type": "array"
6979
- },
6980
- "include": {
6981
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6982
- "items": {
6983
- "enum": [
6984
- "eleventy_nunjucks_raw",
6985
- "eleventy_nunjucks_verbatim",
6986
- "_cc_eleventy_nunjucks_unknown_paired_shortcode",
6987
- "_cc_eleventy_nunjucks_unknown_shortcode",
6988
- "_cc_eleventy_nunjucks_template"
6989
- ],
6990
- "type": "string"
6991
- },
6992
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6993
- "type": "array"
6994
- }
6995
- },
6996
- "type": "object"
6997
- },
6998
- "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\")>": {
6999
- "additionalProperties": false,
7000
- "properties": {
7001
- "exclude": {
7002
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
7003
- "items": {
7004
- "enum": [
7005
- "hugo_summary_divider",
7006
- "hugo_highlight",
7007
- "hugo_figure",
7008
- "hugo_gist",
7009
- "hugo_instagram",
7010
- "hugo_param",
7011
- "hugo_ref",
7012
- "hugo_relref",
7013
- "hugo_tweet",
7014
- "hugo_vimeo",
7015
- "hugo_youtube",
7016
- "_cc_hugo_unknown_paired",
7017
- "_cc_hugo_unknown",
7018
- "_cc_hugo_unknown_paired_processed",
7019
- "_cc_hugo_unknown_processed"
7020
- ],
7021
- "type": "string"
7022
- },
7023
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
7024
- "type": "array"
7025
- },
7026
- "include": {
7027
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
7028
- "items": {
7029
- "enum": [
7030
- "hugo_summary_divider",
7031
- "hugo_highlight",
7032
- "hugo_figure",
7033
- "hugo_gist",
7034
- "hugo_instagram",
7035
- "hugo_param",
7036
- "hugo_ref",
7037
- "hugo_relref",
7038
- "hugo_tweet",
7039
- "hugo_vimeo",
7040
- "hugo_youtube",
7041
- "_cc_hugo_unknown_paired",
7042
- "_cc_hugo_unknown",
7043
- "_cc_hugo_unknown_paired_processed",
7044
- "_cc_hugo_unknown_processed"
7045
- ],
7046
- "type": "string"
7047
- },
7048
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
7049
- "type": "array"
7050
- }
7051
- },
7052
- "type": "object"
7053
- },
7054
- "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\")>": {
7055
- "additionalProperties": false,
7056
- "properties": {
7057
- "exclude": {
7058
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
7059
- "items": {
7060
- "enum": [
7061
- "import",
7062
- "_cc_mdx_unknown_export",
7063
- "_cc_mdx_unknown_export_expression",
7064
- "_cc_mdx_unknown_export_default",
7065
- "_cc_mdx_unknown_template",
7066
- "_cc_mdx_paired_unknown",
7067
- "_cc_mdx_unknown"
7068
- ],
7069
- "type": "string"
7070
- },
7071
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
7072
- "type": "array"
7073
- },
7074
- "include": {
7075
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
7076
- "items": {
7077
- "enum": [
7078
- "import",
7079
- "_cc_mdx_unknown_export",
7080
- "_cc_mdx_unknown_export_expression",
7081
- "_cc_mdx_unknown_export_default",
7082
- "_cc_mdx_unknown_template",
7083
- "_cc_mdx_paired_unknown",
7084
- "_cc_mdx_unknown"
7085
- ],
7086
- "type": "string"
7087
- },
7088
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
7089
- "type": "array"
7090
- }
7091
- },
7092
- "type": "object"
7093
- },
7094
- "SnippetsImport<(\"markdoc_id_annotation\"|\"markdoc_class_annotation\"|\"markdoc_table\"|\"_cc_markdoc_unknown_tag\"|\"_cc_markdoc_unknown_paired_tag\"|\"_cc_markdoc_unknown_template\")>": {
7095
- "additionalProperties": false,
7096
- "properties": {
7097
- "exclude": {
7098
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6254
+ {
7099
6255
  "items": {
7100
- "enum": [
7101
- "markdoc_id_annotation",
7102
- "markdoc_class_annotation",
7103
- "markdoc_table",
7104
- "_cc_markdoc_unknown_tag",
7105
- "_cc_markdoc_unknown_paired_tag",
7106
- "_cc_markdoc_unknown_template"
7107
- ],
7108
6256
  "type": "string"
7109
6257
  },
7110
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
7111
6258
  "type": "array"
7112
6259
  },
7113
- "include": {
7114
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6260
+ {
7115
6261
  "items": {
7116
- "enum": [
7117
- "markdoc_id_annotation",
7118
- "markdoc_class_annotation",
7119
- "markdoc_table",
7120
- "_cc_markdoc_unknown_tag",
7121
- "_cc_markdoc_unknown_paired_tag",
7122
- "_cc_markdoc_unknown_template"
7123
- ],
6262
+ "additionalProperties": {
6263
+ "type": "string"
6264
+ },
6265
+ "type": "object"
6266
+ },
6267
+ "type": "array"
6268
+ },
6269
+ {
6270
+ "additionalProperties": {
7124
6271
  "type": "string"
7125
6272
  },
7126
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6273
+ "type": "object"
6274
+ },
6275
+ {
6276
+ "items": {
6277
+ "additionalProperties": {},
6278
+ "type": "object"
6279
+ },
7127
6280
  "type": "array"
6281
+ },
6282
+ {
6283
+ "additionalProperties": {},
6284
+ "type": "object"
7128
6285
  }
7129
- },
7130
- "type": "object"
6286
+ ]
7131
6287
  },
7132
- "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\")>": {
6288
+ "SnippetConfig": {
7133
6289
  "additionalProperties": false,
7134
6290
  "properties": {
7135
- "exclude": {
7136
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
7137
- "items": {
7138
- "enum": [
7139
- "python_markdown_abbreviation",
7140
- "python_markdown_admonition",
7141
- "python_markdown_arithmatex",
7142
- "python_markdown_attribute_list",
7143
- "python_markdown_code_block",
7144
- "python_markdown_collapsible_admonition",
7145
- "python_markdown_tabs",
7146
- "python_markdown_footnote",
7147
- "python_markdown_footnote_marker",
7148
- "python_markdown_icon",
7149
- "python_markdown_image",
7150
- "python_markdown_inline_arithmatex",
7151
- "python_markdown_inline_code",
7152
- "python_markdown_link",
7153
- "python_markdown_reference_image",
7154
- "python_markdown_reference_template_image",
7155
- "python_markdown_reference_link",
7156
- "python_markdown_reference",
7157
- "python_markdown_reference_template",
7158
- "python_markdown_block_snippet",
7159
- "_cc_python_markdown_unknown_snippet",
7160
- "_cc_python_markdown_unknown_markdown_in_html"
7161
- ],
7162
- "type": "string"
6291
+ "_inputs": {
6292
+ "additionalProperties": {
6293
+ "$ref": "#/definitions/Input"
7163
6294
  },
7164
- "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
7165
- "type": "array"
6295
+ "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
6296
+ "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
6297
+ "type": "object"
6298
+ },
6299
+ "_select_data": {
6300
+ "additionalProperties": {
6301
+ "$ref": "#/definitions/SelectValues"
6302
+ },
6303
+ "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
6304
+ "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
6305
+ "type": "object"
6306
+ },
6307
+ "_structures": {
6308
+ "additionalProperties": {
6309
+ "$ref": "#/definitions/Structure"
6310
+ },
6311
+ "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.",
6312
+ "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.",
6313
+ "type": "object"
7166
6314
  },
7167
- "include": {
7168
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6315
+ "alternate_formats": {
6316
+ "description": "Alternate configurations for this snippet.",
7169
6317
  "items": {
7170
- "enum": [
7171
- "python_markdown_abbreviation",
7172
- "python_markdown_admonition",
7173
- "python_markdown_arithmatex",
7174
- "python_markdown_attribute_list",
7175
- "python_markdown_code_block",
7176
- "python_markdown_collapsible_admonition",
7177
- "python_markdown_tabs",
7178
- "python_markdown_footnote",
7179
- "python_markdown_footnote_marker",
7180
- "python_markdown_icon",
7181
- "python_markdown_image",
7182
- "python_markdown_inline_arithmatex",
7183
- "python_markdown_inline_code",
7184
- "python_markdown_link",
7185
- "python_markdown_reference_image",
7186
- "python_markdown_reference_template_image",
7187
- "python_markdown_reference_link",
7188
- "python_markdown_reference",
7189
- "python_markdown_reference_template",
7190
- "python_markdown_block_snippet",
7191
- "_cc_python_markdown_unknown_snippet",
7192
- "_cc_python_markdown_unknown_markdown_in_html"
7193
- ],
7194
- "type": "string"
6318
+ "$ref": "#/definitions/SnippetConfig"
7195
6319
  },
7196
- "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6320
+ "markdownDescription": "Alternate configurations for this snippet.",
7197
6321
  "type": "array"
6322
+ },
6323
+ "definitions": {
6324
+ "description": "The variables required for the selected template.",
6325
+ "markdownDescription": "The variables required for the selected template.",
6326
+ "type": "object"
6327
+ },
6328
+ "inline": {
6329
+ "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
6330
+ "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
6331
+ "type": "boolean"
6332
+ },
6333
+ "params": {
6334
+ "description": "The parameters of this snippet.",
6335
+ "markdownDescription": "The parameters of this snippet.",
6336
+ "type": "object"
6337
+ },
6338
+ "picker_preview": {
6339
+ "$ref": "#/definitions/Preview",
6340
+ "description": "Changes the way items are previewed in the CMS while being chosen.",
6341
+ "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
6342
+ },
6343
+ "preview": {
6344
+ "$ref": "#/definitions/Preview",
6345
+ "description": "Changes the way items are previewed in the CMS.",
6346
+ "markdownDescription": "Changes the way items are previewed in the CMS."
6347
+ },
6348
+ "snippet": {
6349
+ "description": "Name of the snippet.",
6350
+ "markdownDescription": "Name of the snippet.",
6351
+ "type": "string"
6352
+ },
6353
+ "strict_whitespace": {
6354
+ "description": "Whether this snippet treats whitespace as-is or not.",
6355
+ "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
6356
+ "type": "boolean"
6357
+ },
6358
+ "template": {
6359
+ "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
6360
+ "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
6361
+ "type": "string"
7198
6362
  }
7199
6363
  },
7200
6364
  "type": "object"
@@ -7208,7 +6372,50 @@
7208
6372
  "type": "boolean"
7209
6373
  },
7210
6374
  {
7211
- "$ref": "#/definitions/SnippetsImport%3C(%22docusaurus_mdx_admonition%22%7C%22docusaurus_mdx_tabs%22%7C%22docusaurus_mdx_truncate%22%7C%22docusaurus_mdx_codeblock%22)%3E"
6375
+ "additionalProperties": false,
6376
+ "properties": {
6377
+ "exclude": {
6378
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6379
+ "items": {
6380
+ "enum": [
6381
+ "docusaurus_mdx_admonition",
6382
+ "docusaurus_mdx_tabs",
6383
+ "docusaurus_mdx_truncate",
6384
+ "docusaurus_mdx_codeblock"
6385
+ ],
6386
+ "type": "string"
6387
+ },
6388
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in\n`include`.",
6389
+ "type": "array"
6390
+ }
6391
+ },
6392
+ "required": [
6393
+ "exclude"
6394
+ ],
6395
+ "type": "object"
6396
+ },
6397
+ {
6398
+ "additionalProperties": false,
6399
+ "properties": {
6400
+ "include": {
6401
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6402
+ "items": {
6403
+ "enum": [
6404
+ "docusaurus_mdx_admonition",
6405
+ "docusaurus_mdx_tabs",
6406
+ "docusaurus_mdx_truncate",
6407
+ "docusaurus_mdx_codeblock"
6408
+ ],
6409
+ "type": "string"
6410
+ },
6411
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in\n`exclude`.",
6412
+ "type": "array"
6413
+ }
6414
+ },
6415
+ "required": [
6416
+ "include"
6417
+ ],
6418
+ "type": "object"
7212
6419
  }
7213
6420
  ],
7214
6421
  "description": "Default snippets for Docusaurus SSG.",
@@ -7220,7 +6427,50 @@
7220
6427
  "type": "boolean"
7221
6428
  },
7222
6429
  {
7223
- "$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"
6430
+ "additionalProperties": false,
6431
+ "properties": {
6432
+ "exclude": {
6433
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6434
+ "items": {
6435
+ "enum": [
6436
+ "eleventy_liquid_raw",
6437
+ "_cc_eleventy_liquid_unknown_paired_shortcode",
6438
+ "_cc_eleventy_liquid_unknown_shortcode",
6439
+ "_cc_eleventy_liquid_template"
6440
+ ],
6441
+ "type": "string"
6442
+ },
6443
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in\n`include`.",
6444
+ "type": "array"
6445
+ }
6446
+ },
6447
+ "required": [
6448
+ "exclude"
6449
+ ],
6450
+ "type": "object"
6451
+ },
6452
+ {
6453
+ "additionalProperties": false,
6454
+ "properties": {
6455
+ "include": {
6456
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6457
+ "items": {
6458
+ "enum": [
6459
+ "eleventy_liquid_raw",
6460
+ "_cc_eleventy_liquid_unknown_paired_shortcode",
6461
+ "_cc_eleventy_liquid_unknown_shortcode",
6462
+ "_cc_eleventy_liquid_template"
6463
+ ],
6464
+ "type": "string"
6465
+ },
6466
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in\n`exclude`.",
6467
+ "type": "array"
6468
+ }
6469
+ },
6470
+ "required": [
6471
+ "include"
6472
+ ],
6473
+ "type": "object"
7224
6474
  }
7225
6475
  ],
7226
6476
  "description": "Default snippets for Eleventy SSG Liquid files.",
@@ -7232,7 +6482,52 @@
7232
6482
  "type": "boolean"
7233
6483
  },
7234
6484
  {
7235
- "$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"
6485
+ "additionalProperties": false,
6486
+ "properties": {
6487
+ "exclude": {
6488
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6489
+ "items": {
6490
+ "enum": [
6491
+ "eleventy_nunjucks_raw",
6492
+ "eleventy_nunjucks_verbatim",
6493
+ "_cc_eleventy_nunjucks_unknown_paired_shortcode",
6494
+ "_cc_eleventy_nunjucks_unknown_shortcode",
6495
+ "_cc_eleventy_nunjucks_template"
6496
+ ],
6497
+ "type": "string"
6498
+ },
6499
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in\n`include`.",
6500
+ "type": "array"
6501
+ }
6502
+ },
6503
+ "required": [
6504
+ "exclude"
6505
+ ],
6506
+ "type": "object"
6507
+ },
6508
+ {
6509
+ "additionalProperties": false,
6510
+ "properties": {
6511
+ "include": {
6512
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6513
+ "items": {
6514
+ "enum": [
6515
+ "eleventy_nunjucks_raw",
6516
+ "eleventy_nunjucks_verbatim",
6517
+ "_cc_eleventy_nunjucks_unknown_paired_shortcode",
6518
+ "_cc_eleventy_nunjucks_unknown_shortcode",
6519
+ "_cc_eleventy_nunjucks_template"
6520
+ ],
6521
+ "type": "string"
6522
+ },
6523
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in\n`exclude`.",
6524
+ "type": "array"
6525
+ }
6526
+ },
6527
+ "required": [
6528
+ "include"
6529
+ ],
6530
+ "type": "object"
7236
6531
  }
7237
6532
  ],
7238
6533
  "description": "Default snippets for Eleventy SSG Nunjucks files.",
@@ -7244,7 +6539,72 @@
7244
6539
  "type": "boolean"
7245
6540
  },
7246
6541
  {
7247
- "$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"
6542
+ "additionalProperties": false,
6543
+ "properties": {
6544
+ "exclude": {
6545
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6546
+ "items": {
6547
+ "enum": [
6548
+ "hugo_summary_divider",
6549
+ "hugo_highlight",
6550
+ "hugo_figure",
6551
+ "hugo_gist",
6552
+ "hugo_instagram",
6553
+ "hugo_param",
6554
+ "hugo_ref",
6555
+ "hugo_relref",
6556
+ "hugo_tweet",
6557
+ "hugo_vimeo",
6558
+ "hugo_youtube",
6559
+ "_cc_hugo_unknown_paired",
6560
+ "_cc_hugo_unknown",
6561
+ "_cc_hugo_unknown_paired_processed",
6562
+ "_cc_hugo_unknown_processed"
6563
+ ],
6564
+ "type": "string"
6565
+ },
6566
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in\n`include`.",
6567
+ "type": "array"
6568
+ }
6569
+ },
6570
+ "required": [
6571
+ "exclude"
6572
+ ],
6573
+ "type": "object"
6574
+ },
6575
+ {
6576
+ "additionalProperties": false,
6577
+ "properties": {
6578
+ "include": {
6579
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6580
+ "items": {
6581
+ "enum": [
6582
+ "hugo_summary_divider",
6583
+ "hugo_highlight",
6584
+ "hugo_figure",
6585
+ "hugo_gist",
6586
+ "hugo_instagram",
6587
+ "hugo_param",
6588
+ "hugo_ref",
6589
+ "hugo_relref",
6590
+ "hugo_tweet",
6591
+ "hugo_vimeo",
6592
+ "hugo_youtube",
6593
+ "_cc_hugo_unknown_paired",
6594
+ "_cc_hugo_unknown",
6595
+ "_cc_hugo_unknown_paired_processed",
6596
+ "_cc_hugo_unknown_processed"
6597
+ ],
6598
+ "type": "string"
6599
+ },
6600
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in\n`exclude`.",
6601
+ "type": "array"
6602
+ }
6603
+ },
6604
+ "required": [
6605
+ "include"
6606
+ ],
6607
+ "type": "object"
7248
6608
  }
7249
6609
  ],
7250
6610
  "description": "Default snippets for Hugo SSG.",
@@ -7256,7 +6616,56 @@
7256
6616
  "type": "boolean"
7257
6617
  },
7258
6618
  {
7259
- "$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"
6619
+ "additionalProperties": false,
6620
+ "properties": {
6621
+ "exclude": {
6622
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6623
+ "items": {
6624
+ "enum": [
6625
+ "_cc_jekyll_unknown_paired_tag",
6626
+ "_cc_jekyll_unknown_tag",
6627
+ "jekyll_highlight",
6628
+ "_cc_jekyll_template",
6629
+ "jekyll_raw",
6630
+ "jekyll_link",
6631
+ "jekyll_post_url"
6632
+ ],
6633
+ "type": "string"
6634
+ },
6635
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in\n`include`.",
6636
+ "type": "array"
6637
+ }
6638
+ },
6639
+ "required": [
6640
+ "exclude"
6641
+ ],
6642
+ "type": "object"
6643
+ },
6644
+ {
6645
+ "additionalProperties": false,
6646
+ "properties": {
6647
+ "include": {
6648
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6649
+ "items": {
6650
+ "enum": [
6651
+ "_cc_jekyll_unknown_paired_tag",
6652
+ "_cc_jekyll_unknown_tag",
6653
+ "jekyll_highlight",
6654
+ "_cc_jekyll_template",
6655
+ "jekyll_raw",
6656
+ "jekyll_link",
6657
+ "jekyll_post_url"
6658
+ ],
6659
+ "type": "string"
6660
+ },
6661
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in\n`exclude`.",
6662
+ "type": "array"
6663
+ }
6664
+ },
6665
+ "required": [
6666
+ "include"
6667
+ ],
6668
+ "type": "object"
7260
6669
  }
7261
6670
  ],
7262
6671
  "description": "Default snippets for Jekyll SSG.",
@@ -7268,7 +6677,54 @@
7268
6677
  "type": "boolean"
7269
6678
  },
7270
6679
  {
7271
- "$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"
6680
+ "additionalProperties": false,
6681
+ "properties": {
6682
+ "exclude": {
6683
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6684
+ "items": {
6685
+ "enum": [
6686
+ "markdoc_id_annotation",
6687
+ "markdoc_class_annotation",
6688
+ "markdoc_table",
6689
+ "_cc_markdoc_unknown_tag",
6690
+ "_cc_markdoc_unknown_paired_tag",
6691
+ "_cc_markdoc_unknown_template"
6692
+ ],
6693
+ "type": "string"
6694
+ },
6695
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in\n`include`.",
6696
+ "type": "array"
6697
+ }
6698
+ },
6699
+ "required": [
6700
+ "exclude"
6701
+ ],
6702
+ "type": "object"
6703
+ },
6704
+ {
6705
+ "additionalProperties": false,
6706
+ "properties": {
6707
+ "include": {
6708
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6709
+ "items": {
6710
+ "enum": [
6711
+ "markdoc_id_annotation",
6712
+ "markdoc_class_annotation",
6713
+ "markdoc_table",
6714
+ "_cc_markdoc_unknown_tag",
6715
+ "_cc_markdoc_unknown_paired_tag",
6716
+ "_cc_markdoc_unknown_template"
6717
+ ],
6718
+ "type": "string"
6719
+ },
6720
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in\n`exclude`.",
6721
+ "type": "array"
6722
+ }
6723
+ },
6724
+ "required": [
6725
+ "include"
6726
+ ],
6727
+ "type": "object"
7272
6728
  }
7273
6729
  ],
7274
6730
  "description": "Default snippets for Markdoc-based content.",
@@ -7280,7 +6736,56 @@
7280
6736
  "type": "boolean"
7281
6737
  },
7282
6738
  {
7283
- "$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"
6739
+ "additionalProperties": false,
6740
+ "properties": {
6741
+ "exclude": {
6742
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6743
+ "items": {
6744
+ "enum": [
6745
+ "import",
6746
+ "_cc_mdx_unknown_export",
6747
+ "_cc_mdx_unknown_export_expression",
6748
+ "_cc_mdx_unknown_export_default",
6749
+ "_cc_mdx_unknown_template",
6750
+ "_cc_mdx_paired_unknown",
6751
+ "_cc_mdx_unknown"
6752
+ ],
6753
+ "type": "string"
6754
+ },
6755
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in\n`include`.",
6756
+ "type": "array"
6757
+ }
6758
+ },
6759
+ "required": [
6760
+ "exclude"
6761
+ ],
6762
+ "type": "object"
6763
+ },
6764
+ {
6765
+ "additionalProperties": false,
6766
+ "properties": {
6767
+ "include": {
6768
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6769
+ "items": {
6770
+ "enum": [
6771
+ "import",
6772
+ "_cc_mdx_unknown_export",
6773
+ "_cc_mdx_unknown_export_expression",
6774
+ "_cc_mdx_unknown_export_default",
6775
+ "_cc_mdx_unknown_template",
6776
+ "_cc_mdx_paired_unknown",
6777
+ "_cc_mdx_unknown"
6778
+ ],
6779
+ "type": "string"
6780
+ },
6781
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in\n`exclude`.",
6782
+ "type": "array"
6783
+ }
6784
+ },
6785
+ "required": [
6786
+ "include"
6787
+ ],
6788
+ "type": "object"
7284
6789
  }
7285
6790
  ],
7286
6791
  "description": "Default snippets for MDX-based content.",
@@ -7292,7 +6797,86 @@
7292
6797
  "type": "boolean"
7293
6798
  },
7294
6799
  {
7295
- "$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"
6800
+ "additionalProperties": false,
6801
+ "properties": {
6802
+ "exclude": {
6803
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
6804
+ "items": {
6805
+ "enum": [
6806
+ "python_markdown_abbreviation",
6807
+ "python_markdown_admonition",
6808
+ "python_markdown_arithmatex",
6809
+ "python_markdown_attribute_list",
6810
+ "python_markdown_code_block",
6811
+ "python_markdown_collapsible_admonition",
6812
+ "python_markdown_tabs",
6813
+ "python_markdown_footnote",
6814
+ "python_markdown_footnote_marker",
6815
+ "python_markdown_icon",
6816
+ "python_markdown_image",
6817
+ "python_markdown_inline_arithmatex",
6818
+ "python_markdown_inline_code",
6819
+ "python_markdown_link",
6820
+ "python_markdown_reference_image",
6821
+ "python_markdown_reference_template_image",
6822
+ "python_markdown_reference_link",
6823
+ "python_markdown_reference",
6824
+ "python_markdown_reference_template",
6825
+ "python_markdown_block_snippet",
6826
+ "_cc_python_markdown_unknown_snippet",
6827
+ "_cc_python_markdown_unknown_markdown_in_html"
6828
+ ],
6829
+ "type": "string"
6830
+ },
6831
+ "markdownDescription": "The list of excluded snippets. If unset, all snippets are excluded unless defined in\n`include`.",
6832
+ "type": "array"
6833
+ }
6834
+ },
6835
+ "required": [
6836
+ "exclude"
6837
+ ],
6838
+ "type": "object"
6839
+ },
6840
+ {
6841
+ "additionalProperties": false,
6842
+ "properties": {
6843
+ "include": {
6844
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
6845
+ "items": {
6846
+ "enum": [
6847
+ "python_markdown_abbreviation",
6848
+ "python_markdown_admonition",
6849
+ "python_markdown_arithmatex",
6850
+ "python_markdown_attribute_list",
6851
+ "python_markdown_code_block",
6852
+ "python_markdown_collapsible_admonition",
6853
+ "python_markdown_tabs",
6854
+ "python_markdown_footnote",
6855
+ "python_markdown_footnote_marker",
6856
+ "python_markdown_icon",
6857
+ "python_markdown_image",
6858
+ "python_markdown_inline_arithmatex",
6859
+ "python_markdown_inline_code",
6860
+ "python_markdown_link",
6861
+ "python_markdown_reference_image",
6862
+ "python_markdown_reference_template_image",
6863
+ "python_markdown_reference_link",
6864
+ "python_markdown_reference",
6865
+ "python_markdown_reference_template",
6866
+ "python_markdown_block_snippet",
6867
+ "_cc_python_markdown_unknown_snippet",
6868
+ "_cc_python_markdown_unknown_markdown_in_html"
6869
+ ],
6870
+ "type": "string"
6871
+ },
6872
+ "markdownDescription": "The list of included snippets. If unset, all snippets are included unless defined in\n`exclude`.",
6873
+ "type": "array"
6874
+ }
6875
+ },
6876
+ "required": [
6877
+ "include"
6878
+ ],
6879
+ "type": "object"
7296
6880
  }
7297
6881
  ],
7298
6882
  "description": "Default snippets for content using Python markdown extensions.",
@@ -7383,9 +6967,8 @@
7383
6967
  "additionalProperties": false,
7384
6968
  "properties": {
7385
6969
  "hide_extra_inputs": {
7386
- "default": false,
7387
- "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true.",
7388
- "markdownDescription": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true.",
6970
+ "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false.",
6971
+ "markdownDescription": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults\nto false.",
7389
6972
  "type": "boolean"
7390
6973
  },
7391
6974
  "id_key": {
@@ -7394,21 +6977,18 @@
7394
6977
  "type": "string"
7395
6978
  },
7396
6979
  "remove_empty_inputs": {
7397
- "default": false,
7398
- "description": "If checked, empty inputs are removed from the source file on save. Removed inputs will be available for editing again, provided they are in the matching schema/structure.",
7399
- "markdownDescription": "If checked, empty inputs are removed from the source file on save. Removed inputs will be\navailable for editing again, provided they are in the matching schema/structure.",
6980
+ "description": "If checked, empty inputs are removed from the source file on save. Removed inputs will be available for editing again, provided they are in the matching schema/structure. Defaults to false.",
6981
+ "markdownDescription": "If checked, empty inputs are removed from the source file on save. Removed inputs will be\navailable for editing again, provided they are in the matching schema/structure. Defaults to\nfalse.",
7400
6982
  "type": "boolean"
7401
6983
  },
7402
6984
  "remove_extra_inputs": {
7403
- "default": true,
7404
- "description": "If checked, extra inputs are removed when editing.",
7405
- "markdownDescription": "If checked, extra inputs are removed when editing.",
6985
+ "description": "If checked, extra inputs are removed when editing. Defaults to true.",
6986
+ "markdownDescription": "If checked, extra inputs are removed when editing. Defaults to true.",
7406
6987
  "type": "boolean"
7407
6988
  },
7408
6989
  "reorder_inputs": {
7409
- "default": true,
7410
- "description": "If true, inputs are sorted to match when editing. Extra inputs are ordered after expected inputs, unless `remove_extra_inputs` is true.",
7411
- "markdownDescription": "If true, inputs are sorted to match when editing. Extra inputs are ordered after expected\ninputs, unless `remove_extra_inputs` is true.",
6990
+ "description": "If true, inputs are sorted to match when editing. Extra inputs are ordered after expected inputs, unless `remove_extra_inputs` is true. Defaults to true.",
6991
+ "markdownDescription": "If true, inputs are sorted to match when editing. Extra inputs are ordered after expected\ninputs, unless `remove_extra_inputs` is true. Defaults to true.",
7412
6992
  "type": "boolean"
7413
6993
  },
7414
6994
  "style": {
@@ -7451,9 +7031,8 @@
7451
7031
  "type": "array"
7452
7032
  },
7453
7033
  "hide_extra_inputs": {
7454
- "default": false,
7455
- "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true.",
7456
- "markdownDescription": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true.",
7034
+ "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false.",
7035
+ "markdownDescription": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults\nto false.",
7457
7036
  "type": "boolean"
7458
7037
  },
7459
7038
  "icon": {
@@ -7481,27 +7060,34 @@
7481
7060
  "description": "Changes the way items are previewed in the CMS while being chosen.",
7482
7061
  "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
7483
7062
  },
7063
+ "place_groups_below": {
7064
+ "description": "Controls which order input groups and ungrouped inputs appear in.",
7065
+ "markdownDescription": "Controls which order input groups and ungrouped inputs appear in.",
7066
+ "type": "boolean"
7067
+ },
7484
7068
  "preview": {
7485
7069
  "$ref": "#/definitions/Preview",
7486
7070
  "description": "Changes the way items are previewed in the CMS.",
7487
7071
  "markdownDescription": "Changes the way items are previewed in the CMS."
7488
7072
  },
7489
7073
  "remove_empty_inputs": {
7490
- "default": false,
7491
- "description": "If checked, empty inputs are removed from the source file on save. Removed inputs will be available for editing again, provided they are in the matching schema/structure.",
7492
- "markdownDescription": "If checked, empty inputs are removed from the source file on save. Removed inputs will be\navailable for editing again, provided they are in the matching schema/structure.",
7074
+ "description": "If checked, empty inputs are removed from the source file on save. Removed inputs will be available for editing again, provided they are in the matching schema/structure. Defaults to false.",
7075
+ "markdownDescription": "If checked, empty inputs are removed from the source file on save. Removed inputs will be\navailable for editing again, provided they are in the matching schema/structure. Defaults to\nfalse.",
7493
7076
  "type": "boolean"
7494
7077
  },
7495
7078
  "remove_extra_inputs": {
7496
- "default": true,
7497
- "description": "If checked, extra inputs are removed when editing.",
7498
- "markdownDescription": "If checked, extra inputs are removed when editing.",
7079
+ "description": "If checked, extra inputs are removed when editing. Defaults to true.",
7080
+ "markdownDescription": "If checked, extra inputs are removed when editing. Defaults to true.",
7499
7081
  "type": "boolean"
7500
7082
  },
7501
7083
  "reorder_inputs": {
7502
- "default": true,
7503
- "description": "If true, inputs are sorted to match when editing. Extra inputs are ordered after expected inputs, unless `remove_extra_inputs` is true.",
7504
- "markdownDescription": "If true, inputs are sorted to match when editing. Extra inputs are ordered after expected\ninputs, unless `remove_extra_inputs` is true.",
7084
+ "description": "If true, inputs are sorted to match when editing. Extra inputs are ordered after expected inputs, unless `remove_extra_inputs` is true. Defaults to true.",
7085
+ "markdownDescription": "If true, inputs are sorted to match when editing. Extra inputs are ordered after expected\ninputs, unless `remove_extra_inputs` is true. Defaults to true.",
7086
+ "type": "boolean"
7087
+ },
7088
+ "tabbed": {
7089
+ "description": "Show nested objects as tabs. Requires all top-level keys to be objects.",
7090
+ "markdownDescription": "Show nested objects as tabs. Requires all top-level keys to be objects.",
7505
7091
  "type": "boolean"
7506
7092
  },
7507
7093
  "tags": {
@@ -8595,7 +8181,7 @@
8595
8181
  "type": "string"
8596
8182
  },
8597
8183
  "options": {
8598
- "$ref": "#/definitions/BaseInputOptions",
8184
+ "$ref": "#/definitions/WithEmptyTypeText",
8599
8185
  "description": "Options that are specific to this `type` of input.",
8600
8186
  "markdownDescription": "Options that are specific to this `type` of input."
8601
8187
  },
@@ -8701,6 +8287,189 @@
8701
8287
  }
8702
8288
  },
8703
8289
  "type": "object"
8290
+ },
8291
+ "WithEmptyTypeText": {
8292
+ "additionalProperties": false,
8293
+ "properties": {
8294
+ "empty_type": {
8295
+ "$ref": "#/definitions/EmptyTypeText",
8296
+ "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
8297
+ "markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
8298
+ }
8299
+ },
8300
+ "type": "object"
8301
+ }
8302
+ },
8303
+ "properties": {
8304
+ "_array_structures": {
8305
+ "additionalProperties": {},
8306
+ "deprecated": "Use _structures instead.",
8307
+ "description": "Now known as _structures.",
8308
+ "markdownDescription": "Now known as _structures.",
8309
+ "type": "object"
8310
+ },
8311
+ "_comments": {
8312
+ "additionalProperties": {
8313
+ "type": "string"
8314
+ },
8315
+ "deprecated": "Use _inputs instead.",
8316
+ "description": "Now part of _inputs.*.comment.",
8317
+ "markdownDescription": "Now part of _inputs.*.comment.",
8318
+ "type": "object"
8319
+ },
8320
+ "_editables": {
8321
+ "$ref": "#/definitions/Editables",
8322
+ "description": "Contains input options for Editable Regions and the Content Editor.",
8323
+ "markdownDescription": "Contains input options for Editable Regions and the Content Editor."
8324
+ },
8325
+ "_enabled_editors": {
8326
+ "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.",
8327
+ "items": {
8328
+ "$ref": "#/definitions/EditorKey"
8329
+ },
8330
+ "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.",
8331
+ "type": "array",
8332
+ "uniqueItems": true
8333
+ },
8334
+ "_inputs": {
8335
+ "additionalProperties": {
8336
+ "$ref": "#/definitions/Input"
8337
+ },
8338
+ "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
8339
+ "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
8340
+ "type": "object"
8341
+ },
8342
+ "_options": {
8343
+ "additionalProperties": {
8344
+ "additionalProperties": {},
8345
+ "type": "object"
8346
+ },
8347
+ "deprecated": "Use _inputs instead.",
8348
+ "description": "Now part of _inputs.*.options.",
8349
+ "markdownDescription": "Now part of _inputs.*.options.",
8350
+ "type": "object"
8351
+ },
8352
+ "_select_data": {
8353
+ "additionalProperties": {
8354
+ "$ref": "#/definitions/SelectValues"
8355
+ },
8356
+ "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
8357
+ "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
8358
+ "type": "object"
8359
+ },
8360
+ "_snippets": {
8361
+ "additionalProperties": {
8362
+ "$ref": "#/definitions/SnippetConfig"
8363
+ },
8364
+ "description": "Configuration for custom snippets.",
8365
+ "markdownDescription": "Configuration for custom snippets.",
8366
+ "type": "object"
8367
+ },
8368
+ "_snippets_definitions": {
8369
+ "additionalProperties": {
8370
+ "$ref": "#/definitions/SnippetConfig"
8371
+ },
8372
+ "description": "Extended option used when creating more complex custom snippets.",
8373
+ "markdownDescription": "Extended option used when creating more complex custom snippets.",
8374
+ "type": "object"
8375
+ },
8376
+ "_snippets_imports": {
8377
+ "$ref": "#/definitions/SnippetsImports",
8378
+ "description": "Provides control over which snippets are available to use and/or extend within `_snippets`.",
8379
+ "markdownDescription": "Provides control over which snippets are available to use and/or extend within `_snippets`."
8380
+ },
8381
+ "_snippets_templates": {
8382
+ "additionalProperties": {
8383
+ "$ref": "#/definitions/SnippetConfig"
8384
+ },
8385
+ "description": "Extended option used when creating more complex custom snippets.",
8386
+ "markdownDescription": "Extended option used when creating more complex custom snippets.",
8387
+ "type": "object"
8388
+ },
8389
+ "_structures": {
8390
+ "additionalProperties": {
8391
+ "$ref": "#/definitions/Structure"
8392
+ },
8393
+ "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.",
8394
+ "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.",
8395
+ "type": "object"
8396
+ },
8397
+ "base_url": {
8398
+ "description": "The subpath where your output files are hosted.",
8399
+ "markdownDescription": "The subpath where your output files are hosted.",
8400
+ "type": "string"
8401
+ },
8402
+ "collection_groups": {
8403
+ "description": "Defines which collections are shown in the site navigation and how those collections are grouped.",
8404
+ "items": {
8405
+ "$ref": "#/definitions/CollectionGroup"
8406
+ },
8407
+ "markdownDescription": "Defines which collections are shown in the site navigation and how those collections are\ngrouped.",
8408
+ "type": "array"
8409
+ },
8410
+ "collections_config": {
8411
+ "additionalProperties": {
8412
+ "$ref": "#/definitions/CollectionConfig"
8413
+ },
8414
+ "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.",
8415
+ "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.",
8416
+ "type": "object"
8417
+ },
8418
+ "commit_templates": {
8419
+ "description": "Templates for commit messages when saving changes.",
8420
+ "items": {
8421
+ "$ref": "#/definitions/CommitTemplate"
8422
+ },
8423
+ "markdownDescription": "Templates for commit messages when saving changes.",
8424
+ "type": "array"
8425
+ },
8426
+ "data_config": {
8427
+ "additionalProperties": {
8428
+ "$ref": "#/definitions/DataConfigEntry"
8429
+ },
8430
+ "description": "Controls what data sets are available to populate select and multiselect inputs.",
8431
+ "markdownDescription": "Controls what data sets are available to populate select and multiselect inputs.",
8432
+ "type": "object"
8433
+ },
8434
+ "editor": {
8435
+ "$ref": "#/definitions/Editor",
8436
+ "description": "Contains settings for the default editor actions on your site.",
8437
+ "markdownDescription": "Contains settings for the default editor actions on your site."
8438
+ },
8439
+ "file_config": {
8440
+ "additionalProperties": {
8441
+ "$ref": "#/definitions/FileConfigEntry"
8442
+ },
8443
+ "description": "Provides scope to configure at a file level, without adding configuration to files.",
8444
+ "markdownDescription": "Provides scope to configure at a file level, without adding configuration to files.",
8445
+ "type": "object"
8446
+ },
8447
+ "markdown": {
8448
+ "$ref": "#/definitions/MarkdownSettings",
8449
+ "description": "Contains settings for various Markdown engines.",
8450
+ "markdownDescription": "Contains settings for various Markdown engines."
8451
+ },
8452
+ "paths": {
8453
+ "$ref": "#/definitions/Paths",
8454
+ "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`.",
8455
+ "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`."
8456
+ },
8457
+ "source": {
8458
+ "description": "Base path to your site source files, relative to the root folder.",
8459
+ "markdownDescription": "Base path to your site source files, relative to the root folder.",
8460
+ "type": "string"
8461
+ },
8462
+ "source_editor": {
8463
+ "$ref": "#/definitions/SourceEditor",
8464
+ "description": "Settings for the behavior and appearance of the Source Editor.",
8465
+ "markdownDescription": "Settings for the behavior and appearance of the Source Editor."
8466
+ },
8467
+ "timezone": {
8468
+ "$ref": "#/definitions/Timezone",
8469
+ "default": "Etc/UTC",
8470
+ "description": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the date is persisted to the file with.",
8471
+ "markdownDescription": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the\ndate is persisted to the file with."
8704
8472
  }
8705
- }
8473
+ },
8474
+ "type": "object"
8706
8475
  }