@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.
@@ -235,16 +235,19 @@
235
235
  },
236
236
  "disable_add": {
237
237
  "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.",
238
+ "default": false,
238
239
  "type": "boolean",
239
240
  "markdownDescription": "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."
240
241
  },
241
242
  "disable_add_folder": {
242
243
  "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.",
244
+ "default": false,
243
245
  "type": "boolean",
244
246
  "markdownDescription": "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."
245
247
  },
246
248
  "disable_file_actions": {
247
249
  "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.",
250
+ "default": false,
248
251
  "type": "boolean",
249
252
  "markdownDescription": "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."
250
253
  },
@@ -763,6 +766,7 @@
763
766
  "type": "string"
764
767
  },
765
768
  "paths.uploads_use_relative_path": {
769
+ "default": false,
766
770
  "type": "boolean"
767
771
  },
768
772
  "source": {
@@ -4666,7 +4670,7 @@
4666
4670
  "empty_type": {
4667
4671
  "allOf": [
4668
4672
  {
4669
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
4673
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
4670
4674
  }
4671
4675
  ]
4672
4676
  },
@@ -4840,31 +4844,37 @@
4840
4844
  "properties": {
4841
4845
  "global": {
4842
4846
  "description": "`g` - Search globally.",
4847
+ "default": false,
4843
4848
  "type": "boolean",
4844
4849
  "markdownDescription": "`g` - Search globally."
4845
4850
  },
4846
4851
  "ignore_case": {
4847
4852
  "description": "`i` - Case-insensitive.",
4853
+ "default": false,
4848
4854
  "type": "boolean",
4849
4855
  "markdownDescription": "`i` - Case-insensitive."
4850
4856
  },
4851
4857
  "multiline": {
4852
4858
  "description": "`m` - `^` and `$` match the start and end of each line rather than the entire string.",
4859
+ "default": false,
4853
4860
  "type": "boolean",
4854
4861
  "markdownDescription": "`m` - `^` and `$` match the start and end of each line rather than the entire string."
4855
4862
  },
4856
4863
  "dot_all": {
4857
4864
  "description": "`s` - `.` matches newline characters.",
4865
+ "default": false,
4858
4866
  "type": "boolean",
4859
4867
  "markdownDescription": "`s` - `.` matches newline characters."
4860
4868
  },
4861
4869
  "unicode": {
4862
4870
  "description": "`u` - Pattern is treated as a sequence of Unicode code points.",
4871
+ "default": false,
4863
4872
  "type": "boolean",
4864
4873
  "markdownDescription": "`u` - Pattern is treated as a sequence of Unicode code points."
4865
4874
  },
4866
4875
  "unicode_sets": {
4867
4876
  "description": "`v` - Extended `unicode` mode.",
4877
+ "default": false,
4868
4878
  "type": "boolean",
4869
4879
  "markdownDescription": "`v` - Extended `unicode` mode."
4870
4880
  }
@@ -4883,7 +4893,7 @@
4883
4893
  "type": "string",
4884
4894
  "markdownDescription": "This key defines the message that explains why an Input is required. This key requires you to define `options.required`."
4885
4895
  },
4886
- "type._inputs.*.options.empty_type_text": {
4896
+ "type._inputs.*.options.empty_type(text)": {
4887
4897
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
4888
4898
  "default": "null",
4889
4899
  "type": "string",
@@ -5067,7 +5077,7 @@
5067
5077
  "empty_type": {
5068
5078
  "allOf": [
5069
5079
  {
5070
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
5080
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
5071
5081
  }
5072
5082
  ]
5073
5083
  },
@@ -5196,7 +5206,7 @@
5196
5206
  "empty_type": {
5197
5207
  "allOf": [
5198
5208
  {
5199
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
5209
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
5200
5210
  }
5201
5211
  ]
5202
5212
  },
@@ -5419,7 +5429,7 @@
5419
5429
  "empty_type": {
5420
5430
  "allOf": [
5421
5431
  {
5422
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
5432
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
5423
5433
  }
5424
5434
  ]
5425
5435
  },
@@ -5438,6 +5448,16 @@
5438
5448
  "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\".",
5439
5449
  "type": "boolean",
5440
5450
  "markdownDescription": "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\"."
5451
+ },
5452
+ "palette": {
5453
+ "type": "array",
5454
+ "items": {
5455
+ "type": "string"
5456
+ }
5457
+ },
5458
+ "hide_picker": {
5459
+ "default": false,
5460
+ "type": "boolean"
5441
5461
  }
5442
5462
  },
5443
5463
  "additionalProperties": false,
@@ -5571,7 +5591,7 @@
5571
5591
  "empty_type": {
5572
5592
  "allOf": [
5573
5593
  {
5574
- "$ref": "#/definitions/type._inputs.*.options.empty_type_number"
5594
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(number)"
5575
5595
  }
5576
5596
  ]
5577
5597
  },
@@ -5609,7 +5629,7 @@
5609
5629
  "additionalProperties": false,
5610
5630
  "markdownDescription": "Provides an editing interface for numeric values."
5611
5631
  },
5612
- "type._inputs.*.options.empty_type_number": {
5632
+ "type._inputs.*.options.empty_type(number)": {
5613
5633
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
5614
5634
  "default": "null",
5615
5635
  "type": "string",
@@ -5706,7 +5726,7 @@
5706
5726
  "empty_type": {
5707
5727
  "allOf": [
5708
5728
  {
5709
- "$ref": "#/definitions/type._inputs.*.options.empty_type_number"
5729
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(number)"
5710
5730
  }
5711
5731
  ]
5712
5732
  },
@@ -5962,7 +5982,7 @@
5962
5982
  "empty_type": {
5963
5983
  "allOf": [
5964
5984
  {
5965
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
5985
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
5966
5986
  }
5967
5987
  ]
5968
5988
  },
@@ -6369,7 +6389,7 @@
6369
6389
  "empty_type": {
6370
6390
  "allOf": [
6371
6391
  {
6372
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
6392
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
6373
6393
  }
6374
6394
  ]
6375
6395
  },
@@ -7096,7 +7116,7 @@
7096
7116
  "empty_type": {
7097
7117
  "allOf": [
7098
7118
  {
7099
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
7119
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
7100
7120
  }
7101
7121
  ]
7102
7122
  }
@@ -7225,7 +7245,7 @@
7225
7245
  "empty_type": {
7226
7246
  "allOf": [
7227
7247
  {
7228
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
7248
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
7229
7249
  }
7230
7250
  ]
7231
7251
  },
@@ -7861,7 +7881,7 @@
7861
7881
  "empty_type": {
7862
7882
  "allOf": [
7863
7883
  {
7864
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
7884
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
7865
7885
  }
7866
7886
  ]
7867
7887
  },
@@ -7994,7 +8014,7 @@
7994
8014
  "picker_preview": {
7995
8015
  "allOf": [
7996
8016
  {
7997
- "$ref": "#/definitions/type.preview"
8017
+ "$ref": "#/definitions/type.picker_preview"
7998
8018
  }
7999
8019
  ]
8000
8020
  },
@@ -8040,7 +8060,7 @@
8040
8060
  "empty_type": {
8041
8061
  "allOf": [
8042
8062
  {
8043
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
8063
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
8044
8064
  }
8045
8065
  ]
8046
8066
  }
@@ -8056,6 +8076,7 @@
8056
8076
  "markdownDescription": "Provides an editing interface for data with multiple predefined options. Select inputs only allow one value."
8057
8077
  },
8058
8078
  "type.preview": {
8079
+ "id": "type.preview",
8059
8080
  "title": "Preview",
8060
8081
  "type": "object",
8061
8082
  "properties": {
@@ -8078,17 +8099,13 @@
8078
8099
  "$ref": "#/definitions/type.preview.icon_background_color"
8079
8100
  },
8080
8101
  "tags": {
8081
- "$ref": "#/definitions/preview.tags"
8102
+ "$ref": "#/definitions/type.preview.tags"
8082
8103
  },
8083
8104
  "metadata": {
8084
- "$ref": "#/definitions/preview.metadata"
8105
+ "$ref": "#/definitions/type.preview.metadata"
8085
8106
  },
8086
8107
  "gallery": {
8087
- "allOf": [
8088
- {
8089
- "$ref": "#/definitions/preview.gallery"
8090
- }
8091
- ]
8108
+ "$ref": "#/definitions/type.preview.gallery"
8092
8109
  }
8093
8110
  },
8094
8111
  "additionalProperties": false
@@ -8135,13 +8152,13 @@
8135
8152
  }
8136
8153
  ]
8137
8154
  },
8138
- "preview.tags": {
8155
+ "type.preview.tags": {
8139
8156
  "type": "array",
8140
8157
  "items": {
8141
8158
  "type": "string"
8142
8159
  }
8143
8160
  },
8144
- "preview.metadata": {
8161
+ "type.preview.metadata": {
8145
8162
  "type": "array",
8146
8163
  "items": {
8147
8164
  "$ref": "#/definitions/PreviewMetadataEntry"
@@ -8168,7 +8185,7 @@
8168
8185
  },
8169
8186
  "additionalProperties": false
8170
8187
  },
8171
- "preview.gallery": {
8188
+ "type.preview.gallery": {
8172
8189
  "type": "object",
8173
8190
  "properties": {
8174
8191
  "text": {
@@ -8212,6 +8229,14 @@
8212
8229
  }
8213
8230
  ]
8214
8231
  },
8232
+ "type.picker_preview": {
8233
+ "title": "Picker Preview",
8234
+ "allOf": [
8235
+ {
8236
+ "$ref": "#/definitions/type.preview"
8237
+ }
8238
+ ]
8239
+ },
8215
8240
  "type._inputs.*.options.allow_create": {
8216
8241
  "description": "Allows new text values to be created at edit time.",
8217
8242
  "default": false,
@@ -8374,7 +8399,7 @@
8374
8399
  "picker_preview": {
8375
8400
  "allOf": [
8376
8401
  {
8377
- "$ref": "#/definitions/type.preview"
8402
+ "$ref": "#/definitions/type.picker_preview"
8378
8403
  }
8379
8404
  ]
8380
8405
  },
@@ -8417,7 +8442,7 @@
8417
8442
  "empty_type": {
8418
8443
  "allOf": [
8419
8444
  {
8420
- "$ref": "#/definitions/type._inputs.*.options.empty_type_array"
8445
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(array)"
8421
8446
  }
8422
8447
  ]
8423
8448
  }
@@ -8462,7 +8487,7 @@
8462
8487
  "type": "string",
8463
8488
  "markdownDescription": "This key defines the message that explains why an Input needs to be unique. This key requires you to define `options.unique_on`."
8464
8489
  },
8465
- "type._inputs.*.options.empty_type_array": {
8490
+ "type._inputs.*.options.empty_type(array)": {
8466
8491
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
8467
8492
  "default": "null",
8468
8493
  "type": "string",
@@ -8541,7 +8566,7 @@
8541
8566
  "picker_preview": {
8542
8567
  "allOf": [
8543
8568
  {
8544
- "$ref": "#/definitions/type.preview"
8569
+ "$ref": "#/definitions/type.picker_preview"
8545
8570
  }
8546
8571
  ]
8547
8572
  },
@@ -8584,7 +8609,7 @@
8584
8609
  "empty_type": {
8585
8610
  "allOf": [
8586
8611
  {
8587
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
8612
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
8588
8613
  }
8589
8614
  ]
8590
8615
  }
@@ -8668,7 +8693,7 @@
8668
8693
  "picker_preview": {
8669
8694
  "allOf": [
8670
8695
  {
8671
- "$ref": "#/definitions/type.preview"
8696
+ "$ref": "#/definitions/type.picker_preview"
8672
8697
  }
8673
8698
  ]
8674
8699
  },
@@ -8708,7 +8733,7 @@
8708
8733
  "empty_type": {
8709
8734
  "allOf": [
8710
8735
  {
8711
- "$ref": "#/definitions/type._inputs.*.options.empty_type_array"
8736
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(array)"
8712
8737
  }
8713
8738
  ]
8714
8739
  }
@@ -8785,7 +8810,7 @@
8785
8810
  "empty_type": {
8786
8811
  "allOf": [
8787
8812
  {
8788
- "$ref": "#/definitions/type._inputs.*.options.empty_type_object"
8813
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(object)"
8789
8814
  }
8790
8815
  ]
8791
8816
  },
@@ -8949,7 +8974,7 @@
8949
8974
  "additionalProperties": false,
8950
8975
  "markdownDescription": "Provides a user interface for a group of inputs."
8951
8976
  },
8952
- "type._inputs.*.options.empty_type_object": {
8977
+ "type._inputs.*.options.empty_type(object)": {
8953
8978
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
8954
8979
  "default": "null",
8955
8980
  "type": "string",
@@ -8998,232 +9023,235 @@
8998
9023
  "description": "Defines what values are available to add when using this structure.",
8999
9024
  "type": "array",
9000
9025
  "items": {
9001
- "title": "Structure Value",
9002
- "description": "A single value option within a structure, defining the data format and appearance for content editors.",
9026
+ "$ref": "#/definitions/type.structure.values.[*]"
9027
+ },
9028
+ "markdownDescription": "Defines what values are available to add when using this structure."
9029
+ },
9030
+ "values_from_glob": {
9031
+ "type": "array",
9032
+ "items": {
9033
+ "type": "string"
9034
+ }
9035
+ },
9036
+ "id_key": {
9037
+ "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\".",
9038
+ "default": "_type",
9039
+ "type": "string",
9040
+ "markdownDescription": "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\"."
9041
+ },
9042
+ "style": {
9043
+ "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.",
9044
+ "default": "select",
9045
+ "type": "string",
9046
+ "enum": [
9047
+ "select",
9048
+ "modal"
9049
+ ],
9050
+ "markdownDescription": "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."
9051
+ }
9052
+ },
9053
+ "required": [
9054
+ "values"
9055
+ ],
9056
+ "additionalProperties": false,
9057
+ "markdownDescription": "Provides data formats when adding new items to arrays and objects, with options for how editors choose from available values."
9058
+ },
9059
+ "type.structure.values.[*]": {
9060
+ "title": "Structure Value",
9061
+ "description": "A single value option within a structure, defining the data format and appearance for content editors.",
9062
+ "type": "object",
9063
+ "properties": {
9064
+ "reorder_inputs": {
9065
+ "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.",
9066
+ "default": true,
9067
+ "type": "boolean",
9068
+ "markdownDescription": "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."
9069
+ },
9070
+ "hide_extra_inputs": {
9071
+ "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false.",
9072
+ "default": false,
9073
+ "type": "boolean",
9074
+ "markdownDescription": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false."
9075
+ },
9076
+ "remove_empty_inputs": {
9077
+ "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.",
9078
+ "default": false,
9079
+ "type": "boolean",
9080
+ "markdownDescription": "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."
9081
+ },
9082
+ "remove_extra_inputs": {
9083
+ "description": "If checked, extra inputs are removed when editing. Defaults to true.",
9084
+ "default": true,
9085
+ "type": "boolean",
9086
+ "markdownDescription": "If checked, extra inputs are removed when editing. Defaults to true."
9087
+ },
9088
+ "preview": {
9089
+ "allOf": [
9090
+ {
9091
+ "$ref": "#/definitions/type.preview"
9092
+ }
9093
+ ]
9094
+ },
9095
+ "picker_preview": {
9096
+ "allOf": [
9097
+ {
9098
+ "$ref": "#/definitions/type.picker_preview"
9099
+ }
9100
+ ]
9101
+ },
9102
+ "_inputs": {
9103
+ "allOf": [
9104
+ {
9105
+ "$ref": "#/definitions/type._inputs"
9106
+ }
9107
+ ]
9108
+ },
9109
+ "_inputs_from_glob": {
9110
+ "allOf": [
9111
+ {
9112
+ "$ref": "#/definitions/type._inputs_from_glob"
9113
+ }
9114
+ ]
9115
+ },
9116
+ "_select_data": {
9117
+ "allOf": [
9118
+ {
9119
+ "$ref": "#/definitions/type._select_data"
9120
+ }
9121
+ ]
9122
+ },
9123
+ "_structures": {
9124
+ "allOf": [
9125
+ {
9126
+ "$ref": "#/definitions/type._structures"
9127
+ }
9128
+ ]
9129
+ },
9130
+ "_structures_from_glob": {
9131
+ "allOf": [
9132
+ {
9133
+ "$ref": "#/definitions/type._structures_from_glob"
9134
+ }
9135
+ ]
9136
+ },
9137
+ "id": {
9138
+ "description": "A unique reference value used when referring to this structure value from the Object input's assigned_structures option.",
9139
+ "type": "string",
9140
+ "markdownDescription": "A unique reference value used when referring to this structure value from the Object input's assigned_structures option."
9141
+ },
9142
+ "default": {
9143
+ "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.",
9144
+ "default": false,
9145
+ "type": "boolean",
9146
+ "markdownDescription": "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."
9147
+ },
9148
+ "icon": {
9149
+ "description": "An icon used when displaying the structure (defaults to either format_list_bulleted for items in arrays, or notes otherwise).",
9150
+ "allOf": [
9151
+ {
9152
+ "$ref": "#/definitions/icon"
9153
+ }
9154
+ ],
9155
+ "markdownDescription": "An icon used when displaying the structure (defaults to either format_list_bulleted for items in arrays, or notes otherwise)."
9156
+ },
9157
+ "image": {
9158
+ "description": "Path to an image in your source files used when displaying the structure. Can be either a source (has priority) or output path.",
9159
+ "type": "string",
9160
+ "markdownDescription": "Path to an image in your source files used when displaying the structure. Can be either a source (has priority) or output path."
9161
+ },
9162
+ "label": {
9163
+ "description": "Used as the main text in the interface for this value.",
9164
+ "type": "string",
9165
+ "markdownDescription": "Used as the main text in the interface for this value."
9166
+ },
9167
+ "tags": {
9168
+ "description": "Used to group and filter items when selecting from a modal.",
9169
+ "type": "array",
9170
+ "items": {
9171
+ "type": "string"
9172
+ },
9173
+ "markdownDescription": "Used to group and filter items when selecting from a modal."
9174
+ },
9175
+ "groups": {
9176
+ "description": "Allows you to group the inputs inside this object together without changing the data structure.",
9177
+ "type": "array",
9178
+ "items": {
9003
9179
  "type": "object",
9004
9180
  "properties": {
9005
- "reorder_inputs": {
9006
- "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.",
9007
- "default": true,
9008
- "type": "boolean",
9009
- "markdownDescription": "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."
9010
- },
9011
- "hide_extra_inputs": {
9012
- "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false.",
9013
- "default": false,
9014
- "type": "boolean",
9015
- "markdownDescription": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false."
9016
- },
9017
- "remove_empty_inputs": {
9018
- "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.",
9019
- "default": false,
9020
- "type": "boolean",
9021
- "markdownDescription": "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."
9022
- },
9023
- "remove_extra_inputs": {
9024
- "description": "If checked, extra inputs are removed when editing. Defaults to true.",
9025
- "default": true,
9026
- "type": "boolean",
9027
- "markdownDescription": "If checked, extra inputs are removed when editing. Defaults to true."
9028
- },
9029
- "preview": {
9030
- "allOf": [
9031
- {
9032
- "$ref": "#/definitions/type.preview"
9033
- }
9034
- ]
9035
- },
9036
- "picker_preview": {
9037
- "allOf": [
9038
- {
9039
- "$ref": "#/definitions/type.preview"
9040
- }
9041
- ]
9042
- },
9043
- "_inputs": {
9044
- "allOf": [
9045
- {
9046
- "$ref": "#/definitions/type._inputs"
9047
- }
9048
- ]
9049
- },
9050
- "_inputs_from_glob": {
9051
- "allOf": [
9052
- {
9053
- "$ref": "#/definitions/type._inputs_from_glob"
9054
- }
9055
- ]
9056
- },
9057
- "_select_data": {
9058
- "allOf": [
9059
- {
9060
- "$ref": "#/definitions/type._select_data"
9061
- }
9062
- ]
9063
- },
9064
- "_structures": {
9065
- "allOf": [
9066
- {
9067
- "$ref": "#/definitions/type._structures"
9068
- }
9069
- ]
9070
- },
9071
- "_structures_from_glob": {
9072
- "allOf": [
9073
- {
9074
- "$ref": "#/definitions/type._structures_from_glob"
9075
- }
9076
- ]
9181
+ "heading": {
9182
+ "description": "The main text for the group shown when collapsed or expanded.",
9183
+ "type": "string",
9184
+ "markdownDescription": "The main text for the group shown when collapsed or expanded."
9077
9185
  },
9078
- "id": {
9079
- "description": "A unique reference value used when referring to this structure value from the Object input's assigned_structures option.",
9186
+ "comment": {
9187
+ "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.",
9080
9188
  "type": "string",
9081
- "markdownDescription": "A unique reference value used when referring to this structure value from the Object input's assigned_structures option."
9189
+ "markdownDescription": "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."
9082
9190
  },
9083
- "default": {
9084
- "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.",
9191
+ "collapsed": {
9192
+ "description": "Controls if this group is collapsed or expanded when first viewed.",
9085
9193
  "default": false,
9086
9194
  "type": "boolean",
9087
- "markdownDescription": "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."
9088
- },
9089
- "icon": {
9090
- "description": "An icon used when displaying the structure (defaults to either format_list_bulleted for items in arrays, or notes otherwise).",
9091
- "allOf": [
9092
- {
9093
- "$ref": "#/definitions/icon"
9094
- }
9095
- ],
9096
- "markdownDescription": "An icon used when displaying the structure (defaults to either format_list_bulleted for items in arrays, or notes otherwise)."
9097
- },
9098
- "image": {
9099
- "description": "Path to an image in your source files used when displaying the structure. Can be either a source (has priority) or output path.",
9100
- "type": "string",
9101
- "markdownDescription": "Path to an image in your source files used when displaying the structure. Can be either a source (has priority) or output path."
9195
+ "markdownDescription": "Controls if this group is collapsed or expanded when first viewed."
9102
9196
  },
9103
- "label": {
9104
- "description": "Used as the main text in the interface for this value.",
9105
- "type": "string",
9106
- "markdownDescription": "Used as the main text in the interface for this value."
9107
- },
9108
- "tags": {
9109
- "description": "Used to group and filter items when selecting from a modal.",
9197
+ "inputs": {
9198
+ "description": "The keys of each input in this group.",
9110
9199
  "type": "array",
9111
9200
  "items": {
9112
9201
  "type": "string"
9113
9202
  },
9114
- "markdownDescription": "Used to group and filter items when selecting from a modal."
9115
- },
9116
- "groups": {
9117
- "description": "Allows you to group the inputs inside this object together without changing the data structure.",
9118
- "type": "array",
9119
- "items": {
9120
- "type": "object",
9121
- "properties": {
9122
- "heading": {
9123
- "description": "The main text for the group shown when collapsed or expanded.",
9124
- "type": "string",
9125
- "markdownDescription": "The main text for the group shown when collapsed or expanded."
9126
- },
9127
- "comment": {
9128
- "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.",
9129
- "type": "string",
9130
- "markdownDescription": "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."
9131
- },
9132
- "collapsed": {
9133
- "description": "Controls if this group is collapsed or expanded when first viewed.",
9134
- "default": false,
9135
- "type": "boolean",
9136
- "markdownDescription": "Controls if this group is collapsed or expanded when first viewed."
9137
- },
9138
- "inputs": {
9139
- "description": "The keys of each input in this group.",
9140
- "type": "array",
9141
- "items": {
9142
- "type": "string"
9143
- },
9144
- "markdownDescription": "The keys of each input in this group."
9145
- },
9146
- "documentation": {
9147
- "description": "Provides a custom link for documentation for editors shown above the collection file list.",
9148
- "allOf": [
9149
- {
9150
- "$ref": "#/definitions/type.documentation"
9151
- }
9152
- ],
9153
- "markdownDescription": "Provides a custom link for documentation for editors shown above the collection file list."
9154
- }
9155
- },
9156
- "additionalProperties": false
9157
- },
9158
- "markdownDescription": "Allows you to group the inputs inside this object together without changing the data structure."
9159
- },
9160
- "place_groups_below": {
9161
- "description": "Controls which order input groups and ungrouped inputs appear in.",
9162
- "default": false,
9163
- "type": "boolean",
9164
- "markdownDescription": "Controls which order input groups and ungrouped inputs appear in."
9165
- },
9166
- "tabbed": {
9167
- "description": "Show nested objects as tabs. Requires all top-level keys to be objects.",
9168
- "default": false,
9169
- "type": "boolean",
9170
- "markdownDescription": "Show nested objects as tabs. Requires all top-level keys to be objects."
9171
- },
9172
- "value": {
9173
- "description": "The actual value used when items are added after selection.",
9174
- "markdownDescription": "The actual value used when items are added after selection."
9175
- },
9176
- "comment": {
9177
- "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.",
9178
- "type": "string",
9179
- "markdownDescription": "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."
9203
+ "markdownDescription": "The keys of each input in this group."
9180
9204
  },
9181
9205
  "documentation": {
9182
- "description": "Provides a custom link for documentation for editors shown in the Data Editor for expanded values matching this Structure value. Has no default.",
9206
+ "description": "Provides a custom link for documentation for editors shown above the collection file list.",
9183
9207
  "allOf": [
9184
9208
  {
9185
9209
  "$ref": "#/definitions/type.documentation"
9186
9210
  }
9187
9211
  ],
9188
- "markdownDescription": "Provides a custom link for documentation for editors shown in the Data Editor for expanded values matching this Structure value. Has no default."
9212
+ "markdownDescription": "Provides a custom link for documentation for editors shown above the collection file list."
9189
9213
  }
9190
9214
  },
9191
- "required": [
9192
- "value"
9193
- ],
9194
- "additionalProperties": false,
9195
- "markdownDescription": "A single value option within a structure, defining the data format and appearance for content editors."
9215
+ "additionalProperties": false
9196
9216
  },
9197
- "markdownDescription": "Defines what values are available to add when using this structure."
9217
+ "markdownDescription": "Allows you to group the inputs inside this object together without changing the data structure."
9198
9218
  },
9199
- "values_from_glob": {
9200
- "type": "array",
9201
- "items": {
9202
- "type": "string"
9203
- }
9219
+ "place_groups_below": {
9220
+ "description": "Controls which order input groups and ungrouped inputs appear in.",
9221
+ "default": false,
9222
+ "type": "boolean",
9223
+ "markdownDescription": "Controls which order input groups and ungrouped inputs appear in."
9204
9224
  },
9205
- "id_key": {
9206
- "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\".",
9207
- "default": "_type",
9208
- "type": "string",
9209
- "markdownDescription": "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\"."
9225
+ "tabbed": {
9226
+ "description": "Show nested objects as tabs. Requires all top-level keys to be objects.",
9227
+ "default": false,
9228
+ "type": "boolean",
9229
+ "markdownDescription": "Show nested objects as tabs. Requires all top-level keys to be objects."
9210
9230
  },
9211
- "style": {
9212
- "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.",
9213
- "default": "select",
9231
+ "value": {
9232
+ "description": "The actual value used when items are added after selection.",
9233
+ "markdownDescription": "The actual value used when items are added after selection."
9234
+ },
9235
+ "description": {
9236
+ "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.",
9214
9237
  "type": "string",
9215
- "enum": [
9216
- "select",
9217
- "modal"
9238
+ "markdownDescription": "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."
9239
+ },
9240
+ "documentation": {
9241
+ "description": "Provides a custom link for documentation for editors shown in the Data Editor for expanded values matching this Structure value. Has no default.",
9242
+ "allOf": [
9243
+ {
9244
+ "$ref": "#/definitions/type.documentation"
9245
+ }
9218
9246
  ],
9219
- "markdownDescription": "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."
9247
+ "markdownDescription": "Provides a custom link for documentation for editors shown in the Data Editor for expanded values matching this Structure value. Has no default."
9220
9248
  }
9221
9249
  },
9222
9250
  "required": [
9223
- "values"
9251
+ "value"
9224
9252
  ],
9225
9253
  "additionalProperties": false,
9226
- "markdownDescription": "Provides data formats when adding new items to arrays and objects, with options for how editors choose from available values."
9254
+ "markdownDescription": "A single value option within a structure, defining the data format and appearance for content editors."
9227
9255
  },
9228
9256
  "type._inputs_from_glob": {
9229
9257
  "type": "array",
@@ -9394,7 +9422,7 @@
9394
9422
  "empty_type": {
9395
9423
  "allOf": [
9396
9424
  {
9397
- "$ref": "#/definitions/type._inputs.*.options.empty_type_array"
9425
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(array)"
9398
9426
  }
9399
9427
  ]
9400
9428
  },
@@ -10293,26 +10321,31 @@
10293
10321
  "properties": {
10294
10322
  "html": {
10295
10323
  "description": "Output HTML tags from source.",
10324
+ "default": false,
10296
10325
  "type": "boolean",
10297
10326
  "markdownDescription": "Output HTML tags from source."
10298
10327
  },
10299
10328
  "xhtml": {
10300
10329
  "description": "Use `/` to close single tags (e.g. `<br />`).",
10330
+ "default": false,
10301
10331
  "type": "boolean",
10302
10332
  "markdownDescription": "Use `/` to close single tags (e.g. `<br />`)."
10303
10333
  },
10304
10334
  "breaks": {
10305
10335
  "description": "Convert `\\n` in paragraphs into `<br>`.",
10336
+ "default": false,
10306
10337
  "type": "boolean",
10307
10338
  "markdownDescription": "Convert `\\n` in paragraphs into `<br>`."
10308
10339
  },
10309
10340
  "linkify": {
10310
10341
  "description": "Autoconvert URL-like text to links.",
10342
+ "default": false,
10311
10343
  "type": "boolean",
10312
10344
  "markdownDescription": "Autoconvert URL-like text to links."
10313
10345
  },
10314
10346
  "typographer": {
10315
10347
  "description": "Enable some language-neutral replacement, as well as quotes beautification.",
10348
+ "default": false,
10316
10349
  "type": "boolean",
10317
10350
  "markdownDescription": "Enable some language-neutral replacement, as well as quotes beautification."
10318
10351
  },
@@ -10323,11 +10356,13 @@
10323
10356
  },
10324
10357
  "spaced_lists": {
10325
10358
  "description": "Output lists with an extra space in Markdown.",
10359
+ "default": false,
10326
10360
  "type": "boolean",
10327
10361
  "markdownDescription": "Output lists with an extra space in Markdown."
10328
10362
  },
10329
10363
  "sentence_per_line": {
10330
10364
  "description": "Add linebreaks between sentences in Markdown.",
10365
+ "default": false,
10331
10366
  "type": "boolean",
10332
10367
  "markdownDescription": "Add linebreaks between sentences in Markdown."
10333
10368
  },
@@ -10347,41 +10382,49 @@
10347
10382
  },
10348
10383
  "treat_indentation_as_code": {
10349
10384
  "description": "Determines whether 4 spaces on indentation should be read as a code block.",
10385
+ "default": false,
10350
10386
  "type": "boolean",
10351
10387
  "markdownDescription": "Determines whether 4 spaces on indentation should be read as a code block."
10352
10388
  },
10353
10389
  "escape_snippets_in_code_blocks": {
10354
10390
  "description": "Render snippets as plain text within code blocks.",
10391
+ "default": false,
10355
10392
  "type": "boolean",
10356
10393
  "markdownDescription": "Render snippets as plain text within code blocks."
10357
10394
  },
10358
10395
  "table": {
10359
10396
  "description": "Output tables in Markdown format.",
10397
+ "default": false,
10360
10398
  "type": "boolean",
10361
10399
  "markdownDescription": "Output tables in Markdown format."
10362
10400
  },
10363
10401
  "strikethrough": {
10364
10402
  "description": "Output strikes in wrapped in double tildes (e.g. `~~strike~~`).",
10403
+ "default": false,
10365
10404
  "type": "boolean",
10366
10405
  "markdownDescription": "Output strikes in wrapped in double tildes (e.g. `~~strike~~`)."
10367
10406
  },
10368
10407
  "subscript": {
10369
10408
  "description": "Output subscript in wrapped in tildes (e.g. `~sub~`).",
10409
+ "default": false,
10370
10410
  "type": "boolean",
10371
10411
  "markdownDescription": "Output subscript in wrapped in tildes (e.g. `~sub~`)."
10372
10412
  },
10373
10413
  "superscript": {
10374
10414
  "description": "Output superscript in wrapped in carets (e.g. `^super^`).",
10415
+ "default": false,
10375
10416
  "type": "boolean",
10376
10417
  "markdownDescription": "Output superscript in wrapped in carets (e.g. `^super^`)."
10377
10418
  },
10378
10419
  "heading_ids": {
10379
10420
  "description": "Generate IDs for headings.",
10421
+ "default": false,
10380
10422
  "type": "boolean",
10381
10423
  "markdownDescription": "Generate IDs for headings."
10382
10424
  },
10383
10425
  "attributes": {
10384
10426
  "description": "Save element attributes in Markdown format instead of converting to HTML.",
10427
+ "default": false,
10385
10428
  "type": "boolean",
10386
10429
  "markdownDescription": "Save element attributes in Markdown format instead of converting to HTML."
10387
10430
  },
@@ -10493,7 +10536,7 @@
10493
10536
  "picker_preview": {
10494
10537
  "allOf": [
10495
10538
  {
10496
- "$ref": "#/definitions/type.preview"
10539
+ "$ref": "#/definitions/type.picker_preview"
10497
10540
  }
10498
10541
  ]
10499
10542
  },
@@ -10570,10 +10613,6 @@
10570
10613
  "$ref": "#/definitions/type.snippet-format"
10571
10614
  }
10572
10615
  },
10573
- "required": [
10574
- "models",
10575
- "format"
10576
- ],
10577
10616
  "additionalProperties": false
10578
10617
  }
10579
10618
  },
@@ -10601,10 +10640,6 @@
10601
10640
  "$ref": "#/definitions/type.snippet-format"
10602
10641
  }
10603
10642
  },
10604
- "required": [
10605
- "model",
10606
- "format"
10607
- ],
10608
10643
  "additionalProperties": false
10609
10644
  }
10610
10645
  },
@@ -10672,11 +10707,7 @@
10672
10707
  "type": "boolean"
10673
10708
  },
10674
10709
  "style": {
10675
- "allOf": [
10676
- {
10677
- "$ref": "#/definitions/type.snippet-style"
10678
- }
10679
- ]
10710
+ "$ref": "#/definitions/type.snippet-style"
10680
10711
  }
10681
10712
  },
10682
10713
  "additionalProperties": false
@@ -10713,16 +10744,13 @@
10713
10744
  }
10714
10745
  },
10715
10746
  "required": [
10716
- "models",
10717
- "format",
10718
- "style"
10747
+ "models"
10719
10748
  ],
10720
10749
  "additionalProperties": false
10721
10750
  }
10722
10751
  },
10723
10752
  "required": [
10724
- "parser",
10725
- "options"
10753
+ "parser"
10726
10754
  ],
10727
10755
  "additionalProperties": false
10728
10756
  },
@@ -10820,9 +10848,7 @@
10820
10848
  }
10821
10849
  },
10822
10850
  "required": [
10823
- "literal",
10824
- "default",
10825
- "minimum"
10851
+ "literal"
10826
10852
  ],
10827
10853
  "additionalProperties": false
10828
10854
  }
@@ -10857,11 +10883,7 @@
10857
10883
  "type": "number"
10858
10884
  },
10859
10885
  "style": {
10860
- "allOf": [
10861
- {
10862
- "$ref": "#/definitions/type.snippet-style"
10863
- }
10864
- ]
10886
+ "$ref": "#/definitions/type.snippet-style"
10865
10887
  },
10866
10888
  "optional": {
10867
10889
  "type": "boolean"
@@ -10897,11 +10919,7 @@
10897
10919
  "type": "boolean"
10898
10920
  },
10899
10921
  "style": {
10900
- "allOf": [
10901
- {
10902
- "$ref": "#/definitions/type.snippet-style"
10903
- }
10904
- ]
10922
+ "$ref": "#/definitions/type.snippet-style"
10905
10923
  }
10906
10924
  },
10907
10925
  "required": [
@@ -10943,9 +10961,11 @@
10943
10961
  "type": "string"
10944
10962
  },
10945
10963
  "remove_empty": {
10964
+ "default": false,
10946
10965
  "type": "boolean"
10947
10966
  },
10948
10967
  "optional": {
10968
+ "default": false,
10949
10969
  "type": "boolean"
10950
10970
  },
10951
10971
  "type": {
@@ -10963,15 +10983,11 @@
10963
10983
  "items": {}
10964
10984
  },
10965
10985
  "implied_boolean": {
10986
+ "default": false,
10966
10987
  "type": "boolean"
10967
10988
  },
10968
10989
  "default": {}
10969
10990
  },
10970
- "required": [
10971
- "remove_empty",
10972
- "optional",
10973
- "implied_boolean"
10974
- ],
10975
10991
  "additionalProperties": false
10976
10992
  },
10977
10993
  "type.snippet-format": {
@@ -10982,32 +10998,28 @@
10982
10998
  "type": "object",
10983
10999
  "properties": {
10984
11000
  "start": {
11001
+ "default": "",
10985
11002
  "type": "string"
10986
11003
  },
10987
11004
  "end": {
11005
+ "default": "",
10988
11006
  "type": "string"
10989
11007
  }
10990
11008
  },
10991
- "required": [
10992
- "start",
10993
- "end"
10994
- ],
10995
11009
  "additionalProperties": false
10996
11010
  },
10997
11011
  "root_value_boundary": {
10998
11012
  "type": "object",
10999
11013
  "properties": {
11000
11014
  "start": {
11015
+ "default": "",
11001
11016
  "type": "string"
11002
11017
  },
11003
11018
  "end": {
11019
+ "default": "",
11004
11020
  "type": "string"
11005
11021
  }
11006
11022
  },
11007
- "required": [
11008
- "start",
11009
- "end"
11010
- ],
11011
11023
  "additionalProperties": false
11012
11024
  },
11013
11025
  "root_value_boundary_optional": {
@@ -11035,16 +11047,14 @@
11035
11047
  "type": "object",
11036
11048
  "properties": {
11037
11049
  "start": {
11050
+ "default": "",
11038
11051
  "type": "string"
11039
11052
  },
11040
11053
  "end": {
11054
+ "default": "",
11041
11055
  "type": "string"
11042
11056
  }
11043
11057
  },
11044
- "required": [
11045
- "start",
11046
- "end"
11047
- ],
11048
11058
  "additionalProperties": false
11049
11059
  },
11050
11060
  "object_value_delimiter": {
@@ -11057,16 +11067,14 @@
11057
11067
  "type": "object",
11058
11068
  "properties": {
11059
11069
  "start": {
11070
+ "default": "",
11060
11071
  "type": "string"
11061
11072
  },
11062
11073
  "end": {
11074
+ "default": "",
11063
11075
  "type": "string"
11064
11076
  }
11065
11077
  },
11066
- "required": [
11067
- "start",
11068
- "end"
11069
- ],
11070
11078
  "additionalProperties": false
11071
11079
  },
11072
11080
  "array_delimiter": {
@@ -11121,26 +11129,6 @@
11121
11129
  "additionalProperties": false
11122
11130
  }
11123
11131
  },
11124
- "required": [
11125
- "root_boundary",
11126
- "root_value_boundary",
11127
- "root_value_boundary_optional",
11128
- "root_pair_delimiter",
11129
- "remove_empty_root_boundary",
11130
- "object_boundary",
11131
- "object_value_delimiter",
11132
- "object_pair_delimiter",
11133
- "array_boundary",
11134
- "array_delimiter",
11135
- "string_boundary",
11136
- "string_escape_character",
11137
- "allow_booleans",
11138
- "allow_numbers",
11139
- "allow_implied_values",
11140
- "allow_null",
11141
- "forbidden_tokens",
11142
- "allowed_string_cases"
11143
- ],
11144
11132
  "additionalProperties": false
11145
11133
  },
11146
11134
  "type.snippet-style": {