@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.
@@ -275,6 +275,7 @@
275
275
  "type": "string"
276
276
  },
277
277
  "paths.uploads_use_relative_path": {
278
+ "default": false,
278
279
  "type": "boolean"
279
280
  },
280
281
  "source": {
@@ -495,16 +496,19 @@
495
496
  },
496
497
  "disable_add": {
497
498
  "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.",
499
+ "default": false,
498
500
  "type": "boolean",
499
501
  "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."
500
502
  },
501
503
  "disable_add_folder": {
502
504
  "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.",
505
+ "default": false,
503
506
  "type": "boolean",
504
507
  "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."
505
508
  },
506
509
  "disable_file_actions": {
507
510
  "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.",
511
+ "default": false,
508
512
  "type": "boolean",
509
513
  "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."
510
514
  },
@@ -4634,7 +4638,7 @@
4634
4638
  "empty_type": {
4635
4639
  "allOf": [
4636
4640
  {
4637
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
4641
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
4638
4642
  }
4639
4643
  ]
4640
4644
  },
@@ -4808,31 +4812,37 @@
4808
4812
  "properties": {
4809
4813
  "global": {
4810
4814
  "description": "`g` - Search globally.",
4815
+ "default": false,
4811
4816
  "type": "boolean",
4812
4817
  "markdownDescription": "`g` - Search globally."
4813
4818
  },
4814
4819
  "ignore_case": {
4815
4820
  "description": "`i` - Case-insensitive.",
4821
+ "default": false,
4816
4822
  "type": "boolean",
4817
4823
  "markdownDescription": "`i` - Case-insensitive."
4818
4824
  },
4819
4825
  "multiline": {
4820
4826
  "description": "`m` - `^` and `$` match the start and end of each line rather than the entire string.",
4827
+ "default": false,
4821
4828
  "type": "boolean",
4822
4829
  "markdownDescription": "`m` - `^` and `$` match the start and end of each line rather than the entire string."
4823
4830
  },
4824
4831
  "dot_all": {
4825
4832
  "description": "`s` - `.` matches newline characters.",
4833
+ "default": false,
4826
4834
  "type": "boolean",
4827
4835
  "markdownDescription": "`s` - `.` matches newline characters."
4828
4836
  },
4829
4837
  "unicode": {
4830
4838
  "description": "`u` - Pattern is treated as a sequence of Unicode code points.",
4839
+ "default": false,
4831
4840
  "type": "boolean",
4832
4841
  "markdownDescription": "`u` - Pattern is treated as a sequence of Unicode code points."
4833
4842
  },
4834
4843
  "unicode_sets": {
4835
4844
  "description": "`v` - Extended `unicode` mode.",
4845
+ "default": false,
4836
4846
  "type": "boolean",
4837
4847
  "markdownDescription": "`v` - Extended `unicode` mode."
4838
4848
  }
@@ -4851,7 +4861,7 @@
4851
4861
  "type": "string",
4852
4862
  "markdownDescription": "This key defines the message that explains why an Input is required. This key requires you to define `options.required`."
4853
4863
  },
4854
- "type._inputs.*.options.empty_type_text": {
4864
+ "type._inputs.*.options.empty_type(text)": {
4855
4865
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
4856
4866
  "default": "null",
4857
4867
  "type": "string",
@@ -5035,7 +5045,7 @@
5035
5045
  "empty_type": {
5036
5046
  "allOf": [
5037
5047
  {
5038
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
5048
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
5039
5049
  }
5040
5050
  ]
5041
5051
  },
@@ -5164,7 +5174,7 @@
5164
5174
  "empty_type": {
5165
5175
  "allOf": [
5166
5176
  {
5167
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
5177
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
5168
5178
  }
5169
5179
  ]
5170
5180
  },
@@ -5387,7 +5397,7 @@
5387
5397
  "empty_type": {
5388
5398
  "allOf": [
5389
5399
  {
5390
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
5400
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
5391
5401
  }
5392
5402
  ]
5393
5403
  },
@@ -5406,6 +5416,16 @@
5406
5416
  "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\".",
5407
5417
  "type": "boolean",
5408
5418
  "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\"."
5419
+ },
5420
+ "palette": {
5421
+ "type": "array",
5422
+ "items": {
5423
+ "type": "string"
5424
+ }
5425
+ },
5426
+ "hide_picker": {
5427
+ "default": false,
5428
+ "type": "boolean"
5409
5429
  }
5410
5430
  },
5411
5431
  "additionalProperties": false,
@@ -5539,7 +5559,7 @@
5539
5559
  "empty_type": {
5540
5560
  "allOf": [
5541
5561
  {
5542
- "$ref": "#/definitions/type._inputs.*.options.empty_type_number"
5562
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(number)"
5543
5563
  }
5544
5564
  ]
5545
5565
  },
@@ -5577,7 +5597,7 @@
5577
5597
  "additionalProperties": false,
5578
5598
  "markdownDescription": "Provides an editing interface for numeric values."
5579
5599
  },
5580
- "type._inputs.*.options.empty_type_number": {
5600
+ "type._inputs.*.options.empty_type(number)": {
5581
5601
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
5582
5602
  "default": "null",
5583
5603
  "type": "string",
@@ -5674,7 +5694,7 @@
5674
5694
  "empty_type": {
5675
5695
  "allOf": [
5676
5696
  {
5677
- "$ref": "#/definitions/type._inputs.*.options.empty_type_number"
5697
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(number)"
5678
5698
  }
5679
5699
  ]
5680
5700
  },
@@ -5930,7 +5950,7 @@
5930
5950
  "empty_type": {
5931
5951
  "allOf": [
5932
5952
  {
5933
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
5953
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
5934
5954
  }
5935
5955
  ]
5936
5956
  },
@@ -6337,7 +6357,7 @@
6337
6357
  "empty_type": {
6338
6358
  "allOf": [
6339
6359
  {
6340
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
6360
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
6341
6361
  }
6342
6362
  ]
6343
6363
  },
@@ -7064,7 +7084,7 @@
7064
7084
  "empty_type": {
7065
7085
  "allOf": [
7066
7086
  {
7067
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
7087
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
7068
7088
  }
7069
7089
  ]
7070
7090
  }
@@ -7193,7 +7213,7 @@
7193
7213
  "empty_type": {
7194
7214
  "allOf": [
7195
7215
  {
7196
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
7216
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
7197
7217
  }
7198
7218
  ]
7199
7219
  },
@@ -7829,7 +7849,7 @@
7829
7849
  "empty_type": {
7830
7850
  "allOf": [
7831
7851
  {
7832
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
7852
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
7833
7853
  }
7834
7854
  ]
7835
7855
  },
@@ -7962,7 +7982,7 @@
7962
7982
  "picker_preview": {
7963
7983
  "allOf": [
7964
7984
  {
7965
- "$ref": "#/definitions/type.preview"
7985
+ "$ref": "#/definitions/type.picker_preview"
7966
7986
  }
7967
7987
  ]
7968
7988
  },
@@ -8008,7 +8028,7 @@
8008
8028
  "empty_type": {
8009
8029
  "allOf": [
8010
8030
  {
8011
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
8031
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
8012
8032
  }
8013
8033
  ]
8014
8034
  }
@@ -8024,6 +8044,7 @@
8024
8044
  "markdownDescription": "Provides an editing interface for data with multiple predefined options. Select inputs only allow one value."
8025
8045
  },
8026
8046
  "type.preview": {
8047
+ "id": "type.preview",
8027
8048
  "title": "Preview",
8028
8049
  "type": "object",
8029
8050
  "properties": {
@@ -8046,17 +8067,13 @@
8046
8067
  "$ref": "#/definitions/type.preview.icon_background_color"
8047
8068
  },
8048
8069
  "tags": {
8049
- "$ref": "#/definitions/preview.tags"
8070
+ "$ref": "#/definitions/type.preview.tags"
8050
8071
  },
8051
8072
  "metadata": {
8052
- "$ref": "#/definitions/preview.metadata"
8073
+ "$ref": "#/definitions/type.preview.metadata"
8053
8074
  },
8054
8075
  "gallery": {
8055
- "allOf": [
8056
- {
8057
- "$ref": "#/definitions/preview.gallery"
8058
- }
8059
- ]
8076
+ "$ref": "#/definitions/type.preview.gallery"
8060
8077
  }
8061
8078
  },
8062
8079
  "additionalProperties": false
@@ -8103,13 +8120,13 @@
8103
8120
  }
8104
8121
  ]
8105
8122
  },
8106
- "preview.tags": {
8123
+ "type.preview.tags": {
8107
8124
  "type": "array",
8108
8125
  "items": {
8109
8126
  "type": "string"
8110
8127
  }
8111
8128
  },
8112
- "preview.metadata": {
8129
+ "type.preview.metadata": {
8113
8130
  "type": "array",
8114
8131
  "items": {
8115
8132
  "$ref": "#/definitions/PreviewMetadataEntry"
@@ -8136,7 +8153,7 @@
8136
8153
  },
8137
8154
  "additionalProperties": false
8138
8155
  },
8139
- "preview.gallery": {
8156
+ "type.preview.gallery": {
8140
8157
  "type": "object",
8141
8158
  "properties": {
8142
8159
  "text": {
@@ -8180,6 +8197,14 @@
8180
8197
  }
8181
8198
  ]
8182
8199
  },
8200
+ "type.picker_preview": {
8201
+ "title": "Picker Preview",
8202
+ "allOf": [
8203
+ {
8204
+ "$ref": "#/definitions/type.preview"
8205
+ }
8206
+ ]
8207
+ },
8183
8208
  "type._inputs.*.options.allow_create": {
8184
8209
  "description": "Allows new text values to be created at edit time.",
8185
8210
  "default": false,
@@ -8342,7 +8367,7 @@
8342
8367
  "picker_preview": {
8343
8368
  "allOf": [
8344
8369
  {
8345
- "$ref": "#/definitions/type.preview"
8370
+ "$ref": "#/definitions/type.picker_preview"
8346
8371
  }
8347
8372
  ]
8348
8373
  },
@@ -8385,7 +8410,7 @@
8385
8410
  "empty_type": {
8386
8411
  "allOf": [
8387
8412
  {
8388
- "$ref": "#/definitions/type._inputs.*.options.empty_type_array"
8413
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(array)"
8389
8414
  }
8390
8415
  ]
8391
8416
  }
@@ -8430,7 +8455,7 @@
8430
8455
  "type": "string",
8431
8456
  "markdownDescription": "This key defines the message that explains why an Input needs to be unique. This key requires you to define `options.unique_on`."
8432
8457
  },
8433
- "type._inputs.*.options.empty_type_array": {
8458
+ "type._inputs.*.options.empty_type(array)": {
8434
8459
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
8435
8460
  "default": "null",
8436
8461
  "type": "string",
@@ -8509,7 +8534,7 @@
8509
8534
  "picker_preview": {
8510
8535
  "allOf": [
8511
8536
  {
8512
- "$ref": "#/definitions/type.preview"
8537
+ "$ref": "#/definitions/type.picker_preview"
8513
8538
  }
8514
8539
  ]
8515
8540
  },
@@ -8552,7 +8577,7 @@
8552
8577
  "empty_type": {
8553
8578
  "allOf": [
8554
8579
  {
8555
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
8580
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
8556
8581
  }
8557
8582
  ]
8558
8583
  }
@@ -8636,7 +8661,7 @@
8636
8661
  "picker_preview": {
8637
8662
  "allOf": [
8638
8663
  {
8639
- "$ref": "#/definitions/type.preview"
8664
+ "$ref": "#/definitions/type.picker_preview"
8640
8665
  }
8641
8666
  ]
8642
8667
  },
@@ -8676,7 +8701,7 @@
8676
8701
  "empty_type": {
8677
8702
  "allOf": [
8678
8703
  {
8679
- "$ref": "#/definitions/type._inputs.*.options.empty_type_array"
8704
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(array)"
8680
8705
  }
8681
8706
  ]
8682
8707
  }
@@ -8753,7 +8778,7 @@
8753
8778
  "empty_type": {
8754
8779
  "allOf": [
8755
8780
  {
8756
- "$ref": "#/definitions/type._inputs.*.options.empty_type_object"
8781
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(object)"
8757
8782
  }
8758
8783
  ]
8759
8784
  },
@@ -8917,7 +8942,7 @@
8917
8942
  "additionalProperties": false,
8918
8943
  "markdownDescription": "Provides a user interface for a group of inputs."
8919
8944
  },
8920
- "type._inputs.*.options.empty_type_object": {
8945
+ "type._inputs.*.options.empty_type(object)": {
8921
8946
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
8922
8947
  "default": "null",
8923
8948
  "type": "string",
@@ -8966,232 +8991,235 @@
8966
8991
  "description": "Defines what values are available to add when using this structure.",
8967
8992
  "type": "array",
8968
8993
  "items": {
8969
- "title": "Structure Value",
8970
- "description": "A single value option within a structure, defining the data format and appearance for content editors.",
8994
+ "$ref": "#/definitions/type.structure.values.[*]"
8995
+ },
8996
+ "markdownDescription": "Defines what values are available to add when using this structure."
8997
+ },
8998
+ "values_from_glob": {
8999
+ "type": "array",
9000
+ "items": {
9001
+ "type": "string"
9002
+ }
9003
+ },
9004
+ "id_key": {
9005
+ "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\".",
9006
+ "default": "_type",
9007
+ "type": "string",
9008
+ "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\"."
9009
+ },
9010
+ "style": {
9011
+ "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.",
9012
+ "default": "select",
9013
+ "type": "string",
9014
+ "enum": [
9015
+ "select",
9016
+ "modal"
9017
+ ],
9018
+ "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."
9019
+ }
9020
+ },
9021
+ "required": [
9022
+ "values"
9023
+ ],
9024
+ "additionalProperties": false,
9025
+ "markdownDescription": "Provides data formats when adding new items to arrays and objects, with options for how editors choose from available values."
9026
+ },
9027
+ "type.structure.values.[*]": {
9028
+ "title": "Structure Value",
9029
+ "description": "A single value option within a structure, defining the data format and appearance for content editors.",
9030
+ "type": "object",
9031
+ "properties": {
9032
+ "reorder_inputs": {
9033
+ "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.",
9034
+ "default": true,
9035
+ "type": "boolean",
9036
+ "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."
9037
+ },
9038
+ "hide_extra_inputs": {
9039
+ "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false.",
9040
+ "default": false,
9041
+ "type": "boolean",
9042
+ "markdownDescription": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false."
9043
+ },
9044
+ "remove_empty_inputs": {
9045
+ "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.",
9046
+ "default": false,
9047
+ "type": "boolean",
9048
+ "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."
9049
+ },
9050
+ "remove_extra_inputs": {
9051
+ "description": "If checked, extra inputs are removed when editing. Defaults to true.",
9052
+ "default": true,
9053
+ "type": "boolean",
9054
+ "markdownDescription": "If checked, extra inputs are removed when editing. Defaults to true."
9055
+ },
9056
+ "preview": {
9057
+ "allOf": [
9058
+ {
9059
+ "$ref": "#/definitions/type.preview"
9060
+ }
9061
+ ]
9062
+ },
9063
+ "picker_preview": {
9064
+ "allOf": [
9065
+ {
9066
+ "$ref": "#/definitions/type.picker_preview"
9067
+ }
9068
+ ]
9069
+ },
9070
+ "_inputs": {
9071
+ "allOf": [
9072
+ {
9073
+ "$ref": "#/definitions/type._inputs"
9074
+ }
9075
+ ]
9076
+ },
9077
+ "_inputs_from_glob": {
9078
+ "allOf": [
9079
+ {
9080
+ "$ref": "#/definitions/type._inputs_from_glob"
9081
+ }
9082
+ ]
9083
+ },
9084
+ "_select_data": {
9085
+ "allOf": [
9086
+ {
9087
+ "$ref": "#/definitions/type._select_data"
9088
+ }
9089
+ ]
9090
+ },
9091
+ "_structures": {
9092
+ "allOf": [
9093
+ {
9094
+ "$ref": "#/definitions/type._structures"
9095
+ }
9096
+ ]
9097
+ },
9098
+ "_structures_from_glob": {
9099
+ "allOf": [
9100
+ {
9101
+ "$ref": "#/definitions/type._structures_from_glob"
9102
+ }
9103
+ ]
9104
+ },
9105
+ "id": {
9106
+ "description": "A unique reference value used when referring to this structure value from the Object input's assigned_structures option.",
9107
+ "type": "string",
9108
+ "markdownDescription": "A unique reference value used when referring to this structure value from the Object input's assigned_structures option."
9109
+ },
9110
+ "default": {
9111
+ "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.",
9112
+ "default": false,
9113
+ "type": "boolean",
9114
+ "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."
9115
+ },
9116
+ "icon": {
9117
+ "description": "An icon used when displaying the structure (defaults to either format_list_bulleted for items in arrays, or notes otherwise).",
9118
+ "allOf": [
9119
+ {
9120
+ "$ref": "#/definitions/icon"
9121
+ }
9122
+ ],
9123
+ "markdownDescription": "An icon used when displaying the structure (defaults to either format_list_bulleted for items in arrays, or notes otherwise)."
9124
+ },
9125
+ "image": {
9126
+ "description": "Path to an image in your source files used when displaying the structure. Can be either a source (has priority) or output path.",
9127
+ "type": "string",
9128
+ "markdownDescription": "Path to an image in your source files used when displaying the structure. Can be either a source (has priority) or output path."
9129
+ },
9130
+ "label": {
9131
+ "description": "Used as the main text in the interface for this value.",
9132
+ "type": "string",
9133
+ "markdownDescription": "Used as the main text in the interface for this value."
9134
+ },
9135
+ "tags": {
9136
+ "description": "Used to group and filter items when selecting from a modal.",
9137
+ "type": "array",
9138
+ "items": {
9139
+ "type": "string"
9140
+ },
9141
+ "markdownDescription": "Used to group and filter items when selecting from a modal."
9142
+ },
9143
+ "groups": {
9144
+ "description": "Allows you to group the inputs inside this object together without changing the data structure.",
9145
+ "type": "array",
9146
+ "items": {
8971
9147
  "type": "object",
8972
9148
  "properties": {
8973
- "reorder_inputs": {
8974
- "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.",
8975
- "default": true,
8976
- "type": "boolean",
8977
- "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."
8978
- },
8979
- "hide_extra_inputs": {
8980
- "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false.",
8981
- "default": false,
8982
- "type": "boolean",
8983
- "markdownDescription": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false."
8984
- },
8985
- "remove_empty_inputs": {
8986
- "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.",
8987
- "default": false,
8988
- "type": "boolean",
8989
- "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."
8990
- },
8991
- "remove_extra_inputs": {
8992
- "description": "If checked, extra inputs are removed when editing. Defaults to true.",
8993
- "default": true,
8994
- "type": "boolean",
8995
- "markdownDescription": "If checked, extra inputs are removed when editing. Defaults to true."
8996
- },
8997
- "preview": {
8998
- "allOf": [
8999
- {
9000
- "$ref": "#/definitions/type.preview"
9001
- }
9002
- ]
9003
- },
9004
- "picker_preview": {
9005
- "allOf": [
9006
- {
9007
- "$ref": "#/definitions/type.preview"
9008
- }
9009
- ]
9010
- },
9011
- "_inputs": {
9012
- "allOf": [
9013
- {
9014
- "$ref": "#/definitions/type._inputs"
9015
- }
9016
- ]
9017
- },
9018
- "_inputs_from_glob": {
9019
- "allOf": [
9020
- {
9021
- "$ref": "#/definitions/type._inputs_from_glob"
9022
- }
9023
- ]
9024
- },
9025
- "_select_data": {
9026
- "allOf": [
9027
- {
9028
- "$ref": "#/definitions/type._select_data"
9029
- }
9030
- ]
9031
- },
9032
- "_structures": {
9033
- "allOf": [
9034
- {
9035
- "$ref": "#/definitions/type._structures"
9036
- }
9037
- ]
9038
- },
9039
- "_structures_from_glob": {
9040
- "allOf": [
9041
- {
9042
- "$ref": "#/definitions/type._structures_from_glob"
9043
- }
9044
- ]
9149
+ "heading": {
9150
+ "description": "The main text for the group shown when collapsed or expanded.",
9151
+ "type": "string",
9152
+ "markdownDescription": "The main text for the group shown when collapsed or expanded."
9045
9153
  },
9046
- "id": {
9047
- "description": "A unique reference value used when referring to this structure value from the Object input's assigned_structures option.",
9154
+ "comment": {
9155
+ "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.",
9048
9156
  "type": "string",
9049
- "markdownDescription": "A unique reference value used when referring to this structure value from the Object input's assigned_structures option."
9157
+ "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."
9050
9158
  },
9051
- "default": {
9052
- "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.",
9159
+ "collapsed": {
9160
+ "description": "Controls if this group is collapsed or expanded when first viewed.",
9053
9161
  "default": false,
9054
9162
  "type": "boolean",
9055
- "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."
9056
- },
9057
- "icon": {
9058
- "description": "An icon used when displaying the structure (defaults to either format_list_bulleted for items in arrays, or notes otherwise).",
9059
- "allOf": [
9060
- {
9061
- "$ref": "#/definitions/icon"
9062
- }
9063
- ],
9064
- "markdownDescription": "An icon used when displaying the structure (defaults to either format_list_bulleted for items in arrays, or notes otherwise)."
9065
- },
9066
- "image": {
9067
- "description": "Path to an image in your source files used when displaying the structure. Can be either a source (has priority) or output path.",
9068
- "type": "string",
9069
- "markdownDescription": "Path to an image in your source files used when displaying the structure. Can be either a source (has priority) or output path."
9163
+ "markdownDescription": "Controls if this group is collapsed or expanded when first viewed."
9070
9164
  },
9071
- "label": {
9072
- "description": "Used as the main text in the interface for this value.",
9073
- "type": "string",
9074
- "markdownDescription": "Used as the main text in the interface for this value."
9075
- },
9076
- "tags": {
9077
- "description": "Used to group and filter items when selecting from a modal.",
9165
+ "inputs": {
9166
+ "description": "The keys of each input in this group.",
9078
9167
  "type": "array",
9079
9168
  "items": {
9080
9169
  "type": "string"
9081
9170
  },
9082
- "markdownDescription": "Used to group and filter items when selecting from a modal."
9083
- },
9084
- "groups": {
9085
- "description": "Allows you to group the inputs inside this object together without changing the data structure.",
9086
- "type": "array",
9087
- "items": {
9088
- "type": "object",
9089
- "properties": {
9090
- "heading": {
9091
- "description": "The main text for the group shown when collapsed or expanded.",
9092
- "type": "string",
9093
- "markdownDescription": "The main text for the group shown when collapsed or expanded."
9094
- },
9095
- "comment": {
9096
- "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.",
9097
- "type": "string",
9098
- "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."
9099
- },
9100
- "collapsed": {
9101
- "description": "Controls if this group is collapsed or expanded when first viewed.",
9102
- "default": false,
9103
- "type": "boolean",
9104
- "markdownDescription": "Controls if this group is collapsed or expanded when first viewed."
9105
- },
9106
- "inputs": {
9107
- "description": "The keys of each input in this group.",
9108
- "type": "array",
9109
- "items": {
9110
- "type": "string"
9111
- },
9112
- "markdownDescription": "The keys of each input in this group."
9113
- },
9114
- "documentation": {
9115
- "description": "Provides a custom link for documentation for editors shown above the collection file list.",
9116
- "allOf": [
9117
- {
9118
- "$ref": "#/definitions/type.documentation"
9119
- }
9120
- ],
9121
- "markdownDescription": "Provides a custom link for documentation for editors shown above the collection file list."
9122
- }
9123
- },
9124
- "additionalProperties": false
9125
- },
9126
- "markdownDescription": "Allows you to group the inputs inside this object together without changing the data structure."
9127
- },
9128
- "place_groups_below": {
9129
- "description": "Controls which order input groups and ungrouped inputs appear in.",
9130
- "default": false,
9131
- "type": "boolean",
9132
- "markdownDescription": "Controls which order input groups and ungrouped inputs appear in."
9133
- },
9134
- "tabbed": {
9135
- "description": "Show nested objects as tabs. Requires all top-level keys to be objects.",
9136
- "default": false,
9137
- "type": "boolean",
9138
- "markdownDescription": "Show nested objects as tabs. Requires all top-level keys to be objects."
9139
- },
9140
- "value": {
9141
- "description": "The actual value used when items are added after selection.",
9142
- "markdownDescription": "The actual value used when items are added after selection."
9143
- },
9144
- "comment": {
9145
- "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.",
9146
- "type": "string",
9147
- "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."
9171
+ "markdownDescription": "The keys of each input in this group."
9148
9172
  },
9149
9173
  "documentation": {
9150
- "description": "Provides a custom link for documentation for editors shown in the Data Editor for expanded values matching this Structure value. Has no default.",
9174
+ "description": "Provides a custom link for documentation for editors shown above the collection file list.",
9151
9175
  "allOf": [
9152
9176
  {
9153
9177
  "$ref": "#/definitions/type.documentation"
9154
9178
  }
9155
9179
  ],
9156
- "markdownDescription": "Provides a custom link for documentation for editors shown in the Data Editor for expanded values matching this Structure value. Has no default."
9180
+ "markdownDescription": "Provides a custom link for documentation for editors shown above the collection file list."
9157
9181
  }
9158
9182
  },
9159
- "required": [
9160
- "value"
9161
- ],
9162
- "additionalProperties": false,
9163
- "markdownDescription": "A single value option within a structure, defining the data format and appearance for content editors."
9183
+ "additionalProperties": false
9164
9184
  },
9165
- "markdownDescription": "Defines what values are available to add when using this structure."
9185
+ "markdownDescription": "Allows you to group the inputs inside this object together without changing the data structure."
9166
9186
  },
9167
- "values_from_glob": {
9168
- "type": "array",
9169
- "items": {
9170
- "type": "string"
9171
- }
9187
+ "place_groups_below": {
9188
+ "description": "Controls which order input groups and ungrouped inputs appear in.",
9189
+ "default": false,
9190
+ "type": "boolean",
9191
+ "markdownDescription": "Controls which order input groups and ungrouped inputs appear in."
9172
9192
  },
9173
- "id_key": {
9174
- "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\".",
9175
- "default": "_type",
9176
- "type": "string",
9177
- "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\"."
9193
+ "tabbed": {
9194
+ "description": "Show nested objects as tabs. Requires all top-level keys to be objects.",
9195
+ "default": false,
9196
+ "type": "boolean",
9197
+ "markdownDescription": "Show nested objects as tabs. Requires all top-level keys to be objects."
9178
9198
  },
9179
- "style": {
9180
- "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.",
9181
- "default": "select",
9199
+ "value": {
9200
+ "description": "The actual value used when items are added after selection.",
9201
+ "markdownDescription": "The actual value used when items are added after selection."
9202
+ },
9203
+ "description": {
9204
+ "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.",
9182
9205
  "type": "string",
9183
- "enum": [
9184
- "select",
9185
- "modal"
9206
+ "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."
9207
+ },
9208
+ "documentation": {
9209
+ "description": "Provides a custom link for documentation for editors shown in the Data Editor for expanded values matching this Structure value. Has no default.",
9210
+ "allOf": [
9211
+ {
9212
+ "$ref": "#/definitions/type.documentation"
9213
+ }
9186
9214
  ],
9187
- "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."
9215
+ "markdownDescription": "Provides a custom link for documentation for editors shown in the Data Editor for expanded values matching this Structure value. Has no default."
9188
9216
  }
9189
9217
  },
9190
9218
  "required": [
9191
- "values"
9219
+ "value"
9192
9220
  ],
9193
9221
  "additionalProperties": false,
9194
- "markdownDescription": "Provides data formats when adding new items to arrays and objects, with options for how editors choose from available values."
9222
+ "markdownDescription": "A single value option within a structure, defining the data format and appearance for content editors."
9195
9223
  },
9196
9224
  "type._inputs_from_glob": {
9197
9225
  "type": "array",
@@ -9362,7 +9390,7 @@
9362
9390
  "empty_type": {
9363
9391
  "allOf": [
9364
9392
  {
9365
- "$ref": "#/definitions/type._inputs.*.options.empty_type_array"
9393
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(array)"
9366
9394
  }
9367
9395
  ]
9368
9396
  },
@@ -10248,26 +10276,31 @@
10248
10276
  "properties": {
10249
10277
  "html": {
10250
10278
  "description": "Output HTML tags from source.",
10279
+ "default": false,
10251
10280
  "type": "boolean",
10252
10281
  "markdownDescription": "Output HTML tags from source."
10253
10282
  },
10254
10283
  "xhtml": {
10255
10284
  "description": "Use `/` to close single tags (e.g. `<br />`).",
10285
+ "default": false,
10256
10286
  "type": "boolean",
10257
10287
  "markdownDescription": "Use `/` to close single tags (e.g. `<br />`)."
10258
10288
  },
10259
10289
  "breaks": {
10260
10290
  "description": "Convert `\\n` in paragraphs into `<br>`.",
10291
+ "default": false,
10261
10292
  "type": "boolean",
10262
10293
  "markdownDescription": "Convert `\\n` in paragraphs into `<br>`."
10263
10294
  },
10264
10295
  "linkify": {
10265
10296
  "description": "Autoconvert URL-like text to links.",
10297
+ "default": false,
10266
10298
  "type": "boolean",
10267
10299
  "markdownDescription": "Autoconvert URL-like text to links."
10268
10300
  },
10269
10301
  "typographer": {
10270
10302
  "description": "Enable some language-neutral replacement, as well as quotes beautification.",
10303
+ "default": false,
10271
10304
  "type": "boolean",
10272
10305
  "markdownDescription": "Enable some language-neutral replacement, as well as quotes beautification."
10273
10306
  },
@@ -10278,11 +10311,13 @@
10278
10311
  },
10279
10312
  "spaced_lists": {
10280
10313
  "description": "Output lists with an extra space in Markdown.",
10314
+ "default": false,
10281
10315
  "type": "boolean",
10282
10316
  "markdownDescription": "Output lists with an extra space in Markdown."
10283
10317
  },
10284
10318
  "sentence_per_line": {
10285
10319
  "description": "Add linebreaks between sentences in Markdown.",
10320
+ "default": false,
10286
10321
  "type": "boolean",
10287
10322
  "markdownDescription": "Add linebreaks between sentences in Markdown."
10288
10323
  },
@@ -10302,41 +10337,49 @@
10302
10337
  },
10303
10338
  "treat_indentation_as_code": {
10304
10339
  "description": "Determines whether 4 spaces on indentation should be read as a code block.",
10340
+ "default": false,
10305
10341
  "type": "boolean",
10306
10342
  "markdownDescription": "Determines whether 4 spaces on indentation should be read as a code block."
10307
10343
  },
10308
10344
  "escape_snippets_in_code_blocks": {
10309
10345
  "description": "Render snippets as plain text within code blocks.",
10346
+ "default": false,
10310
10347
  "type": "boolean",
10311
10348
  "markdownDescription": "Render snippets as plain text within code blocks."
10312
10349
  },
10313
10350
  "table": {
10314
10351
  "description": "Output tables in Markdown format.",
10352
+ "default": false,
10315
10353
  "type": "boolean",
10316
10354
  "markdownDescription": "Output tables in Markdown format."
10317
10355
  },
10318
10356
  "strikethrough": {
10319
10357
  "description": "Output strikes in wrapped in double tildes (e.g. `~~strike~~`).",
10358
+ "default": false,
10320
10359
  "type": "boolean",
10321
10360
  "markdownDescription": "Output strikes in wrapped in double tildes (e.g. `~~strike~~`)."
10322
10361
  },
10323
10362
  "subscript": {
10324
10363
  "description": "Output subscript in wrapped in tildes (e.g. `~sub~`).",
10364
+ "default": false,
10325
10365
  "type": "boolean",
10326
10366
  "markdownDescription": "Output subscript in wrapped in tildes (e.g. `~sub~`)."
10327
10367
  },
10328
10368
  "superscript": {
10329
10369
  "description": "Output superscript in wrapped in carets (e.g. `^super^`).",
10370
+ "default": false,
10330
10371
  "type": "boolean",
10331
10372
  "markdownDescription": "Output superscript in wrapped in carets (e.g. `^super^`)."
10332
10373
  },
10333
10374
  "heading_ids": {
10334
10375
  "description": "Generate IDs for headings.",
10376
+ "default": false,
10335
10377
  "type": "boolean",
10336
10378
  "markdownDescription": "Generate IDs for headings."
10337
10379
  },
10338
10380
  "attributes": {
10339
10381
  "description": "Save element attributes in Markdown format instead of converting to HTML.",
10382
+ "default": false,
10340
10383
  "type": "boolean",
10341
10384
  "markdownDescription": "Save element attributes in Markdown format instead of converting to HTML."
10342
10385
  },
@@ -10448,7 +10491,7 @@
10448
10491
  "picker_preview": {
10449
10492
  "allOf": [
10450
10493
  {
10451
- "$ref": "#/definitions/type.preview"
10494
+ "$ref": "#/definitions/type.picker_preview"
10452
10495
  }
10453
10496
  ]
10454
10497
  },
@@ -10525,10 +10568,6 @@
10525
10568
  "$ref": "#/definitions/type.snippet-format"
10526
10569
  }
10527
10570
  },
10528
- "required": [
10529
- "models",
10530
- "format"
10531
- ],
10532
10571
  "additionalProperties": false
10533
10572
  }
10534
10573
  },
@@ -10556,10 +10595,6 @@
10556
10595
  "$ref": "#/definitions/type.snippet-format"
10557
10596
  }
10558
10597
  },
10559
- "required": [
10560
- "model",
10561
- "format"
10562
- ],
10563
10598
  "additionalProperties": false
10564
10599
  }
10565
10600
  },
@@ -10627,11 +10662,7 @@
10627
10662
  "type": "boolean"
10628
10663
  },
10629
10664
  "style": {
10630
- "allOf": [
10631
- {
10632
- "$ref": "#/definitions/type.snippet-style"
10633
- }
10634
- ]
10665
+ "$ref": "#/definitions/type.snippet-style"
10635
10666
  }
10636
10667
  },
10637
10668
  "additionalProperties": false
@@ -10668,16 +10699,13 @@
10668
10699
  }
10669
10700
  },
10670
10701
  "required": [
10671
- "models",
10672
- "format",
10673
- "style"
10702
+ "models"
10674
10703
  ],
10675
10704
  "additionalProperties": false
10676
10705
  }
10677
10706
  },
10678
10707
  "required": [
10679
- "parser",
10680
- "options"
10708
+ "parser"
10681
10709
  ],
10682
10710
  "additionalProperties": false
10683
10711
  },
@@ -10775,9 +10803,7 @@
10775
10803
  }
10776
10804
  },
10777
10805
  "required": [
10778
- "literal",
10779
- "default",
10780
- "minimum"
10806
+ "literal"
10781
10807
  ],
10782
10808
  "additionalProperties": false
10783
10809
  }
@@ -10812,11 +10838,7 @@
10812
10838
  "type": "number"
10813
10839
  },
10814
10840
  "style": {
10815
- "allOf": [
10816
- {
10817
- "$ref": "#/definitions/type.snippet-style"
10818
- }
10819
- ]
10841
+ "$ref": "#/definitions/type.snippet-style"
10820
10842
  },
10821
10843
  "optional": {
10822
10844
  "type": "boolean"
@@ -10852,11 +10874,7 @@
10852
10874
  "type": "boolean"
10853
10875
  },
10854
10876
  "style": {
10855
- "allOf": [
10856
- {
10857
- "$ref": "#/definitions/type.snippet-style"
10858
- }
10859
- ]
10877
+ "$ref": "#/definitions/type.snippet-style"
10860
10878
  }
10861
10879
  },
10862
10880
  "required": [
@@ -10898,9 +10916,11 @@
10898
10916
  "type": "string"
10899
10917
  },
10900
10918
  "remove_empty": {
10919
+ "default": false,
10901
10920
  "type": "boolean"
10902
10921
  },
10903
10922
  "optional": {
10923
+ "default": false,
10904
10924
  "type": "boolean"
10905
10925
  },
10906
10926
  "type": {
@@ -10918,15 +10938,11 @@
10918
10938
  "items": {}
10919
10939
  },
10920
10940
  "implied_boolean": {
10941
+ "default": false,
10921
10942
  "type": "boolean"
10922
10943
  },
10923
10944
  "default": {}
10924
10945
  },
10925
- "required": [
10926
- "remove_empty",
10927
- "optional",
10928
- "implied_boolean"
10929
- ],
10930
10946
  "additionalProperties": false
10931
10947
  },
10932
10948
  "type.snippet-format": {
@@ -10937,32 +10953,28 @@
10937
10953
  "type": "object",
10938
10954
  "properties": {
10939
10955
  "start": {
10956
+ "default": "",
10940
10957
  "type": "string"
10941
10958
  },
10942
10959
  "end": {
10960
+ "default": "",
10943
10961
  "type": "string"
10944
10962
  }
10945
10963
  },
10946
- "required": [
10947
- "start",
10948
- "end"
10949
- ],
10950
10964
  "additionalProperties": false
10951
10965
  },
10952
10966
  "root_value_boundary": {
10953
10967
  "type": "object",
10954
10968
  "properties": {
10955
10969
  "start": {
10970
+ "default": "",
10956
10971
  "type": "string"
10957
10972
  },
10958
10973
  "end": {
10974
+ "default": "",
10959
10975
  "type": "string"
10960
10976
  }
10961
10977
  },
10962
- "required": [
10963
- "start",
10964
- "end"
10965
- ],
10966
10978
  "additionalProperties": false
10967
10979
  },
10968
10980
  "root_value_boundary_optional": {
@@ -10990,16 +11002,14 @@
10990
11002
  "type": "object",
10991
11003
  "properties": {
10992
11004
  "start": {
11005
+ "default": "",
10993
11006
  "type": "string"
10994
11007
  },
10995
11008
  "end": {
11009
+ "default": "",
10996
11010
  "type": "string"
10997
11011
  }
10998
11012
  },
10999
- "required": [
11000
- "start",
11001
- "end"
11002
- ],
11003
11013
  "additionalProperties": false
11004
11014
  },
11005
11015
  "object_value_delimiter": {
@@ -11012,16 +11022,14 @@
11012
11022
  "type": "object",
11013
11023
  "properties": {
11014
11024
  "start": {
11025
+ "default": "",
11015
11026
  "type": "string"
11016
11027
  },
11017
11028
  "end": {
11029
+ "default": "",
11018
11030
  "type": "string"
11019
11031
  }
11020
11032
  },
11021
- "required": [
11022
- "start",
11023
- "end"
11024
- ],
11025
11033
  "additionalProperties": false
11026
11034
  },
11027
11035
  "array_delimiter": {
@@ -11076,26 +11084,6 @@
11076
11084
  "additionalProperties": false
11077
11085
  }
11078
11086
  },
11079
- "required": [
11080
- "root_boundary",
11081
- "root_value_boundary",
11082
- "root_value_boundary_optional",
11083
- "root_pair_delimiter",
11084
- "remove_empty_root_boundary",
11085
- "object_boundary",
11086
- "object_value_delimiter",
11087
- "object_pair_delimiter",
11088
- "array_boundary",
11089
- "array_delimiter",
11090
- "string_boundary",
11091
- "string_escape_character",
11092
- "allow_booleans",
11093
- "allow_numbers",
11094
- "allow_implied_values",
11095
- "allow_null",
11096
- "forbidden_tokens",
11097
- "allowed_string_cases"
11098
- ],
11099
11087
  "additionalProperties": false
11100
11088
  },
11101
11089
  "type.snippet-style": {
@@ -11490,6 +11478,7 @@
11490
11478
  },
11491
11479
  "collections_config_override": {
11492
11480
  "description": "Prevents CloudCannon from automatically discovering collections for supported SSGs if true. Defaults to false.",
11481
+ "default": false,
11493
11482
  "type": "boolean",
11494
11483
  "markdownDescription": "Prevents CloudCannon from automatically discovering collections for supported SSGs if true. Defaults to false."
11495
11484
  }