@cloudcannon/configuration-types 0.0.47 → 0.0.49

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.
@@ -202,6 +202,7 @@
202
202
  },
203
203
  "paths.uploads_use_relative_path": {
204
204
  "id": "paths.uploads_use_relative_path",
205
+ "default": false,
205
206
  "type": "boolean"
206
207
  },
207
208
  "version": {
@@ -221,11 +222,11 @@
221
222
  "type": "string"
222
223
  },
223
224
  "additionalProperties": {
224
- "$ref": "#/$defs/CollectionConfig"
225
+ "$ref": "#/$defs/collections_config.*"
225
226
  }
226
227
  },
227
- "CollectionConfig": {
228
- "id": "CollectionConfig",
228
+ "collections_config.*": {
229
+ "id": "collections_config.*",
229
230
  "title": "Collection Config",
230
231
  "type": "object",
231
232
  "properties": {
@@ -390,14 +391,17 @@
390
391
  },
391
392
  "disable_add": {
392
393
  "description": "This key toggles whether team members can use the _+ Add_ button in the top right of the _Collection browser_ to add files to a Collection.",
394
+ "default": false,
393
395
  "type": "boolean"
394
396
  },
395
397
  "disable_add_folder": {
396
398
  "description": "This key toggles whether team members can use the _+ Add_ button in the top right of the _Collection browser_ to add subfolders to a Collection.",
399
+ "default": false,
397
400
  "type": "boolean"
398
401
  },
399
402
  "disable_file_actions": {
400
403
  "description": "This key toggles whether team members can use the _+ Add_ button in the top right of the _Collection browser_ to add files to a Collection.",
404
+ "default": false,
401
405
  "type": "boolean"
402
406
  },
403
407
  "new_preview_url": {
@@ -4389,7 +4393,7 @@
4389
4393
  "$ref": "#/$defs/type._inputs.*.options.required_message"
4390
4394
  },
4391
4395
  "empty_type": {
4392
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
4396
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
4393
4397
  },
4394
4398
  "placeholder": {
4395
4399
  "description": "Text shown when this input has no value.",
@@ -4538,26 +4542,32 @@
4538
4542
  "properties": {
4539
4543
  "global": {
4540
4544
  "description": "`g` - Search globally.",
4545
+ "default": false,
4541
4546
  "type": "boolean"
4542
4547
  },
4543
4548
  "ignore_case": {
4544
4549
  "description": "`i` - Case-insensitive.",
4550
+ "default": false,
4545
4551
  "type": "boolean"
4546
4552
  },
4547
4553
  "multiline": {
4548
4554
  "description": "`m` - `^` and `$` match the start and end of each line rather than the entire string.",
4555
+ "default": false,
4549
4556
  "type": "boolean"
4550
4557
  },
4551
4558
  "dot_all": {
4552
4559
  "description": "`s` - `.` matches newline characters.",
4560
+ "default": false,
4553
4561
  "type": "boolean"
4554
4562
  },
4555
4563
  "unicode": {
4556
4564
  "description": "`u` - Pattern is treated as a sequence of Unicode code points.",
4565
+ "default": false,
4557
4566
  "type": "boolean"
4558
4567
  },
4559
4568
  "unicode_sets": {
4560
4569
  "description": "`v` - Extended `unicode` mode.",
4570
+ "default": false,
4561
4571
  "type": "boolean"
4562
4572
  }
4563
4573
  },
@@ -4574,8 +4584,8 @@
4574
4584
  "description": "This key defines the message that explains why an Input is required. This key requires you to define `options.required`.",
4575
4585
  "type": "string"
4576
4586
  },
4577
- "type._inputs.*.options.empty_type_text": {
4578
- "id": "type._inputs.*.options.empty_type_text",
4587
+ "type._inputs.*.options.empty_type(text)": {
4588
+ "id": "type._inputs.*.options.empty_type(text)",
4579
4589
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
4580
4590
  "default": "null",
4581
4591
  "type": "string",
@@ -4755,7 +4765,7 @@
4755
4765
  "$ref": "#/$defs/type._inputs.*.options.required_message"
4756
4766
  },
4757
4767
  "empty_type": {
4758
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
4768
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
4759
4769
  },
4760
4770
  "placeholder": {
4761
4771
  "description": "Text shown when this input has no value.",
@@ -4863,7 +4873,7 @@
4863
4873
  "$ref": "#/$defs/type._inputs.*.options.required_message"
4864
4874
  },
4865
4875
  "empty_type": {
4866
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
4876
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
4867
4877
  },
4868
4878
  "max_visible_lines": {
4869
4879
  "description": "Sets the maximum number of visible lines for this input, effectively controlling maximum height. When the containing text exceeds this number, the input becomes a scroll area.",
@@ -5065,7 +5075,7 @@
5065
5075
  "$ref": "#/$defs/type._inputs.*.options.required_message"
5066
5076
  },
5067
5077
  "empty_type": {
5068
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
5078
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
5069
5079
  },
5070
5080
  "format": {
5071
5081
  "description": "Sets what format the color value is saved as. Defaults to the naming convention, or HEX if that is unset.",
@@ -5080,6 +5090,16 @@
5080
5090
  "alpha": {
5081
5091
  "description": "Toggles showing a control for adjusting the transparency of the selected color. Defaults to using the naming convention, enabled if the input key ends with \"a\".",
5082
5092
  "type": "boolean"
5093
+ },
5094
+ "palette": {
5095
+ "type": "array",
5096
+ "items": {
5097
+ "type": "string"
5098
+ }
5099
+ },
5100
+ "hide_picker": {
5101
+ "default": false,
5102
+ "type": "boolean"
5083
5103
  }
5084
5104
  },
5085
5105
  "additionalProperties": false
@@ -5190,7 +5210,7 @@
5190
5210
  "$ref": "#/$defs/type._inputs.*.options.required_message"
5191
5211
  },
5192
5212
  "empty_type": {
5193
- "$ref": "#/$defs/type._inputs.*.options.empty_type_number"
5213
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(number)"
5194
5214
  },
5195
5215
  "min": {
5196
5216
  "$ref": "#/$defs/type._inputs.*.options.min"
@@ -5216,8 +5236,8 @@
5216
5236
  ],
5217
5237
  "additionalProperties": false
5218
5238
  },
5219
- "type._inputs.*.options.empty_type_number": {
5220
- "id": "type._inputs.*.options.empty_type_number",
5239
+ "type._inputs.*.options.empty_type(number)": {
5240
+ "id": "type._inputs.*.options.empty_type(number)",
5221
5241
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
5222
5242
  "default": "null",
5223
5243
  "type": "string",
@@ -5302,7 +5322,7 @@
5302
5322
  "$ref": "#/$defs/type._inputs.*.options.required_message"
5303
5323
  },
5304
5324
  "empty_type": {
5305
- "$ref": "#/$defs/type._inputs.*.options.empty_type_number"
5325
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(number)"
5306
5326
  },
5307
5327
  "min": {
5308
5328
  "$ref": "#/$defs/type._inputs.*.options.min"
@@ -5539,7 +5559,7 @@
5539
5559
  "$ref": "#/$defs/type._inputs.*.options.required_message"
5540
5560
  },
5541
5561
  "empty_type": {
5542
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
5562
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
5543
5563
  },
5544
5564
  "allow_resize": {
5545
5565
  "description": "Shows or hides the resize handler to vertically resize the input.",
@@ -5899,7 +5919,7 @@
5899
5919
  "$ref": "#/$defs/type._inputs.*.options.required_message"
5900
5920
  },
5901
5921
  "empty_type": {
5902
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
5922
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
5903
5923
  },
5904
5924
  "timezone": {
5905
5925
  "description": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the date is persisted to the file with. Defaults to the global `timezone`.",
@@ -6607,7 +6627,7 @@
6607
6627
  "$ref": "#/$defs/type._inputs.*.options.required_message"
6608
6628
  },
6609
6629
  "empty_type": {
6610
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
6630
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
6611
6631
  }
6612
6632
  },
6613
6633
  "additionalProperties": false
@@ -6721,7 +6741,7 @@
6721
6741
  "$ref": "#/$defs/type._inputs.*.options.required_message"
6722
6742
  },
6723
6743
  "empty_type": {
6724
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
6744
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
6725
6745
  },
6726
6746
  "paths": {
6727
6747
  "$ref": "#/$defs/type.paths"
@@ -7338,7 +7358,7 @@
7338
7358
  "$ref": "#/$defs/type._inputs.*.options.required_message"
7339
7359
  },
7340
7360
  "empty_type": {
7341
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
7361
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
7342
7362
  },
7343
7363
  "paths": {
7344
7364
  "$ref": "#/$defs/type.paths"
@@ -7444,7 +7464,7 @@
7444
7464
  "$ref": "#/$defs/type.preview"
7445
7465
  },
7446
7466
  "picker_preview": {
7447
- "$ref": "#/$defs/type.preview"
7467
+ "$ref": "#/$defs/type.picker_preview"
7448
7468
  },
7449
7469
  "allow_create": {
7450
7470
  "$ref": "#/$defs/type._inputs.*.options.allow_create"
@@ -7486,7 +7506,7 @@
7486
7506
  "$ref": "#/$defs/type._inputs.*.options.pattern_flags"
7487
7507
  },
7488
7508
  "empty_type": {
7489
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
7509
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
7490
7510
  }
7491
7511
  },
7492
7512
  "additionalProperties": false
@@ -7521,13 +7541,13 @@
7521
7541
  "$ref": "#/$defs/type.preview.icon_background_color"
7522
7542
  },
7523
7543
  "tags": {
7524
- "$ref": "#/$defs/preview.tags"
7544
+ "$ref": "#/$defs/type.preview.tags"
7525
7545
  },
7526
7546
  "metadata": {
7527
- "$ref": "#/$defs/preview.metadata"
7547
+ "$ref": "#/$defs/type.preview.metadata"
7528
7548
  },
7529
7549
  "gallery": {
7530
- "$ref": "#/$defs/preview.gallery"
7550
+ "$ref": "#/$defs/type.preview.gallery"
7531
7551
  }
7532
7552
  },
7533
7553
  "additionalProperties": false
@@ -7556,15 +7576,15 @@
7556
7576
  "id": "type.preview.icon_background_color",
7557
7577
  "$ref": "#/$defs/PreviewEntries"
7558
7578
  },
7559
- "preview.tags": {
7560
- "id": "preview.tags",
7579
+ "type.preview.tags": {
7580
+ "id": "type.preview.tags",
7561
7581
  "type": "array",
7562
7582
  "items": {
7563
7583
  "type": "string"
7564
7584
  }
7565
7585
  },
7566
- "preview.metadata": {
7567
- "id": "preview.metadata",
7586
+ "type.preview.metadata": {
7587
+ "id": "type.preview.metadata",
7568
7588
  "type": "array",
7569
7589
  "items": {
7570
7590
  "$ref": "#/$defs/PreviewMetadataEntry"
@@ -7592,8 +7612,8 @@
7592
7612
  },
7593
7613
  "additionalProperties": false
7594
7614
  },
7595
- "preview.gallery": {
7596
- "id": "preview.gallery",
7615
+ "type.preview.gallery": {
7616
+ "id": "type.preview.gallery",
7597
7617
  "type": "object",
7598
7618
  "properties": {
7599
7619
  "text": {
@@ -7635,6 +7655,11 @@
7635
7655
  "id": "type.preview.gallery.background_color",
7636
7656
  "$ref": "#/$defs/PreviewEntries"
7637
7657
  },
7658
+ "type.picker_preview": {
7659
+ "title": "Picker Preview",
7660
+ "id": "type.picker_preview",
7661
+ "$ref": "#/$defs/type.preview"
7662
+ },
7638
7663
  "type._inputs.*.options.allow_create": {
7639
7664
  "id": "type._inputs.*.options.allow_create",
7640
7665
  "description": "Allows new text values to be created at edit time.",
@@ -7780,7 +7805,7 @@
7780
7805
  "$ref": "#/$defs/type.preview"
7781
7806
  },
7782
7807
  "picker_preview": {
7783
- "$ref": "#/$defs/type.preview"
7808
+ "$ref": "#/$defs/type.picker_preview"
7784
7809
  },
7785
7810
  "allow_create": {
7786
7811
  "$ref": "#/$defs/type._inputs.*.options.allow_create"
@@ -7819,7 +7844,7 @@
7819
7844
  "$ref": "#/$defs/type._inputs.*.options.unique_on_message"
7820
7845
  },
7821
7846
  "empty_type": {
7822
- "$ref": "#/$defs/type._inputs.*.options.empty_type_array"
7847
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(array)"
7823
7848
  }
7824
7849
  },
7825
7850
  "additionalProperties": false
@@ -7860,8 +7885,8 @@
7860
7885
  "description": "This key defines the message that explains why an Input needs to be unique. This key requires you to define `options.unique_on`.",
7861
7886
  "type": "string"
7862
7887
  },
7863
- "type._inputs.*.options.empty_type_array": {
7864
- "id": "type._inputs.*.options.empty_type_array",
7888
+ "type._inputs.*.options.empty_type(array)": {
7889
+ "id": "type._inputs.*.options.empty_type(array)",
7865
7890
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
7866
7891
  "default": "null",
7867
7892
  "type": "string",
@@ -7924,7 +7949,7 @@
7924
7949
  "$ref": "#/$defs/type.preview"
7925
7950
  },
7926
7951
  "picker_preview": {
7927
- "$ref": "#/$defs/type.preview"
7952
+ "$ref": "#/$defs/type.picker_preview"
7928
7953
  },
7929
7954
  "allow_empty": {
7930
7955
  "$ref": "#/$defs/type._inputs.*.options.allow_empty"
@@ -7963,7 +7988,7 @@
7963
7988
  "$ref": "#/$defs/type._inputs.*.options.pattern_flags"
7964
7989
  },
7965
7990
  "empty_type": {
7966
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
7991
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
7967
7992
  }
7968
7993
  },
7969
7994
  "additionalProperties": false
@@ -8028,7 +8053,7 @@
8028
8053
  "$ref": "#/$defs/type.preview"
8029
8054
  },
8030
8055
  "picker_preview": {
8031
- "$ref": "#/$defs/type.preview"
8056
+ "$ref": "#/$defs/type.picker_preview"
8032
8057
  },
8033
8058
  "allow_empty": {
8034
8059
  "$ref": "#/$defs/type._inputs.*.options.allow_empty"
@@ -8064,7 +8089,7 @@
8064
8089
  "$ref": "#/$defs/type._inputs.*.options.unique_on_message"
8065
8090
  },
8066
8091
  "empty_type": {
8067
- "$ref": "#/$defs/type._inputs.*.options.empty_type_array"
8092
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(array)"
8068
8093
  }
8069
8094
  },
8070
8095
  "additionalProperties": false
@@ -8126,7 +8151,7 @@
8126
8151
  "$ref": "#/$defs/type._inputs.*.options.required_message"
8127
8152
  },
8128
8153
  "empty_type": {
8129
- "$ref": "#/$defs/type._inputs.*.options.empty_type_object"
8154
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(object)"
8130
8155
  },
8131
8156
  "preview": {
8132
8157
  "$ref": "#/$defs/type.preview"
@@ -8258,8 +8283,8 @@
8258
8283
  ],
8259
8284
  "additionalProperties": false
8260
8285
  },
8261
- "type._inputs.*.options.empty_type_object": {
8262
- "id": "type._inputs.*.options.empty_type_object",
8286
+ "type._inputs.*.options.empty_type(object)": {
8287
+ "id": "type._inputs.*.options.empty_type(object)",
8263
8288
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
8264
8289
  "default": "null",
8265
8290
  "type": "string",
@@ -8304,164 +8329,168 @@
8304
8329
  "description": "Defines what values are available to add when using this structure.",
8305
8330
  "type": "array",
8306
8331
  "items": {
8307
- "title": "Structure Value",
8308
- "description": "A single value option within a structure, defining the data format and appearance for content editors.",
8332
+ "$ref": "#/$defs/type.structure.values.[*]"
8333
+ }
8334
+ },
8335
+ "values_from_glob": {
8336
+ "type": "array",
8337
+ "items": {
8338
+ "type": "string"
8339
+ }
8340
+ },
8341
+ "id_key": {
8342
+ "description": "Defines what key should be used to detect which structure an item is. If this key is not found in the existing structure, a comparison of key names is used. Defaults to \"_type\".",
8343
+ "default": "_type",
8344
+ "type": "string"
8345
+ },
8346
+ "style": {
8347
+ "description": "Defines whether options are shown to your editors in a select menu (select, default) or a modal pop up window (modal) when adding a new item.",
8348
+ "default": "select",
8349
+ "type": "string",
8350
+ "enum": [
8351
+ "select",
8352
+ "modal"
8353
+ ]
8354
+ }
8355
+ },
8356
+ "required": [
8357
+ "values"
8358
+ ],
8359
+ "additionalProperties": false
8360
+ },
8361
+ "type.structure.values.[*]": {
8362
+ "id": "type.structure.values.[*]",
8363
+ "title": "Structure Value",
8364
+ "description": "A single value option within a structure, defining the data format and appearance for content editors.",
8365
+ "type": "object",
8366
+ "properties": {
8367
+ "reorder_inputs": {
8368
+ "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.",
8369
+ "default": true,
8370
+ "type": "boolean"
8371
+ },
8372
+ "hide_extra_inputs": {
8373
+ "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false.",
8374
+ "default": false,
8375
+ "type": "boolean"
8376
+ },
8377
+ "remove_empty_inputs": {
8378
+ "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.",
8379
+ "default": false,
8380
+ "type": "boolean"
8381
+ },
8382
+ "remove_extra_inputs": {
8383
+ "description": "If checked, extra inputs are removed when editing. Defaults to true.",
8384
+ "default": true,
8385
+ "type": "boolean"
8386
+ },
8387
+ "preview": {
8388
+ "$ref": "#/$defs/type.preview"
8389
+ },
8390
+ "picker_preview": {
8391
+ "$ref": "#/$defs/type.picker_preview"
8392
+ },
8393
+ "_inputs": {
8394
+ "$ref": "#/$defs/type._inputs"
8395
+ },
8396
+ "_inputs_from_glob": {
8397
+ "$ref": "#/$defs/type._inputs_from_glob"
8398
+ },
8399
+ "_select_data": {
8400
+ "$ref": "#/$defs/type._select_data"
8401
+ },
8402
+ "_structures": {
8403
+ "$ref": "#/$defs/type._structures"
8404
+ },
8405
+ "_structures_from_glob": {
8406
+ "$ref": "#/$defs/type._structures_from_glob"
8407
+ },
8408
+ "id": {
8409
+ "description": "A unique reference value used when referring to this structure value from the Object input's assigned_structures option.",
8410
+ "type": "string"
8411
+ },
8412
+ "default": {
8413
+ "description": "If set to true, this item will be considered the default type for this structure. If the type of a value within a structure cannot be inferred based on its id_key or matching fields, then it will fall back to this item. If multiple items have default set to true, only the first item will be used.",
8414
+ "default": false,
8415
+ "type": "boolean"
8416
+ },
8417
+ "icon": {
8418
+ "description": "An icon used when displaying the structure (defaults to either format_list_bulleted for items in arrays, or notes otherwise).",
8419
+ "$ref": "#/$defs/icon"
8420
+ },
8421
+ "image": {
8422
+ "description": "Path to an image in your source files used when displaying the structure. Can be either a source (has priority) or output path.",
8423
+ "type": "string"
8424
+ },
8425
+ "label": {
8426
+ "description": "Used as the main text in the interface for this value.",
8427
+ "type": "string"
8428
+ },
8429
+ "tags": {
8430
+ "description": "Used to group and filter items when selecting from a modal.",
8431
+ "type": "array",
8432
+ "items": {
8433
+ "type": "string"
8434
+ }
8435
+ },
8436
+ "groups": {
8437
+ "description": "Allows you to group the inputs inside this object together without changing the data structure.",
8438
+ "type": "array",
8439
+ "items": {
8309
8440
  "type": "object",
8310
8441
  "properties": {
8311
- "reorder_inputs": {
8312
- "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.",
8313
- "default": true,
8314
- "type": "boolean"
8315
- },
8316
- "hide_extra_inputs": {
8317
- "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false.",
8318
- "default": false,
8319
- "type": "boolean"
8320
- },
8321
- "remove_empty_inputs": {
8322
- "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.",
8323
- "default": false,
8324
- "type": "boolean"
8325
- },
8326
- "remove_extra_inputs": {
8327
- "description": "If checked, extra inputs are removed when editing. Defaults to true.",
8328
- "default": true,
8329
- "type": "boolean"
8330
- },
8331
- "preview": {
8332
- "$ref": "#/$defs/type.preview"
8333
- },
8334
- "picker_preview": {
8335
- "$ref": "#/$defs/type.preview"
8336
- },
8337
- "_inputs": {
8338
- "$ref": "#/$defs/type._inputs"
8339
- },
8340
- "_inputs_from_glob": {
8341
- "$ref": "#/$defs/type._inputs_from_glob"
8342
- },
8343
- "_select_data": {
8344
- "$ref": "#/$defs/type._select_data"
8345
- },
8346
- "_structures": {
8347
- "$ref": "#/$defs/type._structures"
8348
- },
8349
- "_structures_from_glob": {
8350
- "$ref": "#/$defs/type._structures_from_glob"
8442
+ "heading": {
8443
+ "description": "The main text for the group shown when collapsed or expanded.",
8444
+ "type": "string"
8351
8445
  },
8352
- "id": {
8353
- "description": "A unique reference value used when referring to this structure value from the Object input's assigned_structures option.",
8446
+ "comment": {
8447
+ "description": "Changes the subtext below the `heading`. Has no default. Supports a limited set of Markdown: links, bold, italic, subscript, superscript, and inline code elements are allowed.",
8354
8448
  "type": "string"
8355
8449
  },
8356
- "default": {
8357
- "description": "If set to true, this item will be considered the default type for this structure. If the type of a value within a structure cannot be inferred based on its id_key or matching fields, then it will fall back to this item. If multiple items have default set to true, only the first item will be used.",
8450
+ "collapsed": {
8451
+ "description": "Controls if this group is collapsed or expanded when first viewed.",
8358
8452
  "default": false,
8359
8453
  "type": "boolean"
8360
8454
  },
8361
- "icon": {
8362
- "description": "An icon used when displaying the structure (defaults to either format_list_bulleted for items in arrays, or notes otherwise).",
8363
- "$ref": "#/$defs/icon"
8364
- },
8365
- "image": {
8366
- "description": "Path to an image in your source files used when displaying the structure. Can be either a source (has priority) or output path.",
8367
- "type": "string"
8368
- },
8369
- "label": {
8370
- "description": "Used as the main text in the interface for this value.",
8371
- "type": "string"
8372
- },
8373
- "tags": {
8374
- "description": "Used to group and filter items when selecting from a modal.",
8455
+ "inputs": {
8456
+ "description": "The keys of each input in this group.",
8375
8457
  "type": "array",
8376
8458
  "items": {
8377
8459
  "type": "string"
8378
8460
  }
8379
8461
  },
8380
- "groups": {
8381
- "description": "Allows you to group the inputs inside this object together without changing the data structure.",
8382
- "type": "array",
8383
- "items": {
8384
- "type": "object",
8385
- "properties": {
8386
- "heading": {
8387
- "description": "The main text for the group shown when collapsed or expanded.",
8388
- "type": "string"
8389
- },
8390
- "comment": {
8391
- "description": "Changes the subtext below the `heading`. Has no default. Supports a limited set of Markdown: links, bold, italic, subscript, superscript, and inline code elements are allowed.",
8392
- "type": "string"
8393
- },
8394
- "collapsed": {
8395
- "description": "Controls if this group is collapsed or expanded when first viewed.",
8396
- "default": false,
8397
- "type": "boolean"
8398
- },
8399
- "inputs": {
8400
- "description": "The keys of each input in this group.",
8401
- "type": "array",
8402
- "items": {
8403
- "type": "string"
8404
- }
8405
- },
8406
- "documentation": {
8407
- "description": "Provides a custom link for documentation for editors shown above the collection file list.",
8408
- "$ref": "#/$defs/type.documentation"
8409
- }
8410
- },
8411
- "additionalProperties": false
8412
- }
8413
- },
8414
- "place_groups_below": {
8415
- "description": "Controls which order input groups and ungrouped inputs appear in.",
8416
- "default": false,
8417
- "type": "boolean"
8418
- },
8419
- "tabbed": {
8420
- "description": "Show nested objects as tabs. Requires all top-level keys to be objects.",
8421
- "default": false,
8422
- "type": "boolean"
8423
- },
8424
- "value": {
8425
- "description": "The actual value used when items are added after selection."
8426
- },
8427
- "comment": {
8428
- "description": "Provides short descriptive text for editors shown in the Data Editor for expanded values matching this Structure value. Has no default. Supports a limited set of Markdown: links, bold, italic, subscript, superscript, and inline code elements are allowed.",
8429
- "type": "string"
8430
- },
8431
8462
  "documentation": {
8432
- "description": "Provides a custom link for documentation for editors shown in the Data Editor for expanded values matching this Structure value. Has no default.",
8463
+ "description": "Provides a custom link for documentation for editors shown above the collection file list.",
8433
8464
  "$ref": "#/$defs/type.documentation"
8434
8465
  }
8435
8466
  },
8436
- "required": [
8437
- "value"
8438
- ],
8439
8467
  "additionalProperties": false
8440
8468
  }
8441
8469
  },
8442
- "values_from_glob": {
8443
- "type": "array",
8444
- "items": {
8445
- "type": "string"
8446
- }
8470
+ "place_groups_below": {
8471
+ "description": "Controls which order input groups and ungrouped inputs appear in.",
8472
+ "default": false,
8473
+ "type": "boolean"
8447
8474
  },
8448
- "id_key": {
8449
- "description": "Defines what key should be used to detect which structure an item is. If this key is not found in the existing structure, a comparison of key names is used. Defaults to \"_type\".",
8450
- "default": "_type",
8475
+ "tabbed": {
8476
+ "description": "Show nested objects as tabs. Requires all top-level keys to be objects.",
8477
+ "default": false,
8478
+ "type": "boolean"
8479
+ },
8480
+ "value": {
8481
+ "description": "The actual value used when items are added after selection."
8482
+ },
8483
+ "description": {
8484
+ "description": "Provides short descriptive text for editors shown in the Data Editor for expanded values matching this Structure value. Has no default. Supports a limited set of Markdown: links, bold, italic, subscript, superscript, and inline code elements are allowed.",
8451
8485
  "type": "string"
8452
8486
  },
8453
- "style": {
8454
- "description": "Defines whether options are shown to your editors in a select menu (select, default) or a modal pop up window (modal) when adding a new item.",
8455
- "default": "select",
8456
- "type": "string",
8457
- "enum": [
8458
- "select",
8459
- "modal"
8460
- ]
8487
+ "documentation": {
8488
+ "description": "Provides a custom link for documentation for editors shown in the Data Editor for expanded values matching this Structure value. Has no default.",
8489
+ "$ref": "#/$defs/type.documentation"
8461
8490
  }
8462
8491
  },
8463
8492
  "required": [
8464
- "values"
8493
+ "value"
8465
8494
  ],
8466
8495
  "additionalProperties": false
8467
8496
  },
@@ -8624,7 +8653,7 @@
8624
8653
  "$ref": "#/$defs/disable_reorder"
8625
8654
  },
8626
8655
  "empty_type": {
8627
- "$ref": "#/$defs/type._inputs.*.options.empty_type_array"
8656
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(array)"
8628
8657
  },
8629
8658
  "structures": {
8630
8659
  "description": "Provides data formats for value of this object. When choosing an item, team members are prompted to choose from a number of values you have defined.",
@@ -9401,22 +9430,27 @@
9401
9430
  "properties": {
9402
9431
  "html": {
9403
9432
  "description": "Output HTML tags from source.",
9433
+ "default": false,
9404
9434
  "type": "boolean"
9405
9435
  },
9406
9436
  "xhtml": {
9407
9437
  "description": "Use `/` to close single tags (e.g. `<br />`).",
9438
+ "default": false,
9408
9439
  "type": "boolean"
9409
9440
  },
9410
9441
  "breaks": {
9411
9442
  "description": "Convert `\\n` in paragraphs into `<br>`.",
9443
+ "default": false,
9412
9444
  "type": "boolean"
9413
9445
  },
9414
9446
  "linkify": {
9415
9447
  "description": "Autoconvert URL-like text to links.",
9448
+ "default": false,
9416
9449
  "type": "boolean"
9417
9450
  },
9418
9451
  "typographer": {
9419
9452
  "description": "Enable some language-neutral replacement, as well as quotes beautification.",
9453
+ "default": false,
9420
9454
  "type": "boolean"
9421
9455
  },
9422
9456
  "quotes": {
@@ -9425,10 +9459,12 @@
9425
9459
  },
9426
9460
  "spaced_lists": {
9427
9461
  "description": "Output lists with an extra space in Markdown.",
9462
+ "default": false,
9428
9463
  "type": "boolean"
9429
9464
  },
9430
9465
  "sentence_per_line": {
9431
9466
  "description": "Add linebreaks between sentences in Markdown.",
9467
+ "default": false,
9432
9468
  "type": "boolean"
9433
9469
  },
9434
9470
  "gfm": {
@@ -9445,34 +9481,42 @@
9445
9481
  },
9446
9482
  "treat_indentation_as_code": {
9447
9483
  "description": "Determines whether 4 spaces on indentation should be read as a code block.",
9484
+ "default": false,
9448
9485
  "type": "boolean"
9449
9486
  },
9450
9487
  "escape_snippets_in_code_blocks": {
9451
9488
  "description": "Render snippets as plain text within code blocks.",
9489
+ "default": false,
9452
9490
  "type": "boolean"
9453
9491
  },
9454
9492
  "table": {
9455
9493
  "description": "Output tables in Markdown format.",
9494
+ "default": false,
9456
9495
  "type": "boolean"
9457
9496
  },
9458
9497
  "strikethrough": {
9459
9498
  "description": "Output strikes in wrapped in double tildes (e.g. `~~strike~~`).",
9499
+ "default": false,
9460
9500
  "type": "boolean"
9461
9501
  },
9462
9502
  "subscript": {
9463
9503
  "description": "Output subscript in wrapped in tildes (e.g. `~sub~`).",
9504
+ "default": false,
9464
9505
  "type": "boolean"
9465
9506
  },
9466
9507
  "superscript": {
9467
9508
  "description": "Output superscript in wrapped in carets (e.g. `^super^`).",
9509
+ "default": false,
9468
9510
  "type": "boolean"
9469
9511
  },
9470
9512
  "heading_ids": {
9471
9513
  "description": "Generate IDs for headings.",
9514
+ "default": false,
9472
9515
  "type": "boolean"
9473
9516
  },
9474
9517
  "attributes": {
9475
9518
  "description": "Save element attributes in Markdown format instead of converting to HTML.",
9519
+ "default": false,
9476
9520
  "type": "boolean"
9477
9521
  },
9478
9522
  "attribute_elements": {
@@ -9548,7 +9592,7 @@
9548
9592
  "$ref": "#/$defs/type.preview"
9549
9593
  },
9550
9594
  "picker_preview": {
9551
- "$ref": "#/$defs/type.preview"
9595
+ "$ref": "#/$defs/type.picker_preview"
9552
9596
  },
9553
9597
  "snippet": {
9554
9598
  "description": "The snippet string contains the text to match for your snippet, with any dynamic sections represented using a placeholder in double square brackets.",
@@ -9617,10 +9661,6 @@
9617
9661
  "$ref": "#/$defs/type.snippet-format"
9618
9662
  }
9619
9663
  },
9620
- "required": [
9621
- "models",
9622
- "format"
9623
- ],
9624
9664
  "additionalProperties": false
9625
9665
  }
9626
9666
  },
@@ -9648,10 +9688,6 @@
9648
9688
  "$ref": "#/$defs/type.snippet-format"
9649
9689
  }
9650
9690
  },
9651
- "required": [
9652
- "model",
9653
- "format"
9654
- ],
9655
9691
  "additionalProperties": false
9656
9692
  }
9657
9693
  },
@@ -9756,16 +9792,13 @@
9756
9792
  }
9757
9793
  },
9758
9794
  "required": [
9759
- "models",
9760
- "format",
9761
- "style"
9795
+ "models"
9762
9796
  ],
9763
9797
  "additionalProperties": false
9764
9798
  }
9765
9799
  },
9766
9800
  "required": [
9767
- "parser",
9768
- "options"
9801
+ "parser"
9769
9802
  ],
9770
9803
  "additionalProperties": false
9771
9804
  },
@@ -9863,9 +9896,7 @@
9863
9896
  }
9864
9897
  },
9865
9898
  "required": [
9866
- "literal",
9867
- "default",
9868
- "minimum"
9899
+ "literal"
9869
9900
  ],
9870
9901
  "additionalProperties": false
9871
9902
  }
@@ -9977,9 +10008,11 @@
9977
10008
  "type": "string"
9978
10009
  },
9979
10010
  "remove_empty": {
10011
+ "default": false,
9980
10012
  "type": "boolean"
9981
10013
  },
9982
10014
  "optional": {
10015
+ "default": false,
9983
10016
  "type": "boolean"
9984
10017
  },
9985
10018
  "type": {
@@ -9997,15 +10030,11 @@
9997
10030
  "items": {}
9998
10031
  },
9999
10032
  "implied_boolean": {
10033
+ "default": false,
10000
10034
  "type": "boolean"
10001
10035
  },
10002
10036
  "default": {}
10003
10037
  },
10004
- "required": [
10005
- "remove_empty",
10006
- "optional",
10007
- "implied_boolean"
10008
- ],
10009
10038
  "additionalProperties": false
10010
10039
  },
10011
10040
  "type.snippet-format": {
@@ -10017,32 +10046,28 @@
10017
10046
  "type": "object",
10018
10047
  "properties": {
10019
10048
  "start": {
10049
+ "default": "",
10020
10050
  "type": "string"
10021
10051
  },
10022
10052
  "end": {
10053
+ "default": "",
10023
10054
  "type": "string"
10024
10055
  }
10025
10056
  },
10026
- "required": [
10027
- "start",
10028
- "end"
10029
- ],
10030
10057
  "additionalProperties": false
10031
10058
  },
10032
10059
  "root_value_boundary": {
10033
10060
  "type": "object",
10034
10061
  "properties": {
10035
10062
  "start": {
10063
+ "default": "",
10036
10064
  "type": "string"
10037
10065
  },
10038
10066
  "end": {
10067
+ "default": "",
10039
10068
  "type": "string"
10040
10069
  }
10041
10070
  },
10042
- "required": [
10043
- "start",
10044
- "end"
10045
- ],
10046
10071
  "additionalProperties": false
10047
10072
  },
10048
10073
  "root_value_boundary_optional": {
@@ -10070,16 +10095,14 @@
10070
10095
  "type": "object",
10071
10096
  "properties": {
10072
10097
  "start": {
10098
+ "default": "",
10073
10099
  "type": "string"
10074
10100
  },
10075
10101
  "end": {
10102
+ "default": "",
10076
10103
  "type": "string"
10077
10104
  }
10078
10105
  },
10079
- "required": [
10080
- "start",
10081
- "end"
10082
- ],
10083
10106
  "additionalProperties": false
10084
10107
  },
10085
10108
  "object_value_delimiter": {
@@ -10092,16 +10115,14 @@
10092
10115
  "type": "object",
10093
10116
  "properties": {
10094
10117
  "start": {
10118
+ "default": "",
10095
10119
  "type": "string"
10096
10120
  },
10097
10121
  "end": {
10122
+ "default": "",
10098
10123
  "type": "string"
10099
10124
  }
10100
10125
  },
10101
- "required": [
10102
- "start",
10103
- "end"
10104
- ],
10105
10126
  "additionalProperties": false
10106
10127
  },
10107
10128
  "array_delimiter": {
@@ -10156,26 +10177,6 @@
10156
10177
  "additionalProperties": false
10157
10178
  }
10158
10179
  },
10159
- "required": [
10160
- "root_boundary",
10161
- "root_value_boundary",
10162
- "root_value_boundary_optional",
10163
- "root_pair_delimiter",
10164
- "remove_empty_root_boundary",
10165
- "object_boundary",
10166
- "object_value_delimiter",
10167
- "object_pair_delimiter",
10168
- "array_boundary",
10169
- "array_delimiter",
10170
- "string_boundary",
10171
- "string_escape_character",
10172
- "allow_booleans",
10173
- "allow_numbers",
10174
- "allow_implied_values",
10175
- "allow_null",
10176
- "forbidden_tokens",
10177
- "allowed_string_cases"
10178
- ],
10179
10180
  "additionalProperties": false
10180
10181
  },
10181
10182
  "type.snippet-style": {