@cloudcannon/configuration-types 0.0.48 → 0.0.50

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.
Files changed (31) hide show
  1. package/dist/cloudcannon-collections.schema.json +1999 -932
  2. package/dist/cloudcannon-config.documentation.schema.json +178 -217
  3. package/dist/cloudcannon-config.latest.schema.json +3094 -1331
  4. package/dist/cloudcannon-config.legacy-eleventy.schema.json +235 -287
  5. package/dist/cloudcannon-config.legacy-hugo.schema.json +235 -287
  6. package/dist/cloudcannon-config.legacy-jekyll.schema.json +235 -287
  7. package/dist/cloudcannon-config.legacy-reader.schema.json +235 -287
  8. package/dist/cloudcannon-editables.schema.json +284 -134
  9. package/dist/cloudcannon-initial-site-settings.documentation.schema.json +116 -0
  10. package/dist/cloudcannon-initial-site-settings.schema.json +171 -0
  11. package/dist/cloudcannon-inputs.schema.json +1644 -781
  12. package/dist/cloudcannon-routing.documentation.schema.json +100 -0
  13. package/dist/cloudcannon-routing.schema.json +144 -0
  14. package/dist/cloudcannon-schemas.schema.json +1788 -842
  15. package/dist/cloudcannon-snippets-imports.schema.json +95 -51
  16. package/dist/cloudcannon-snippets.schema.json +2286 -999
  17. package/dist/cloudcannon-structure-value.schema.json +1508 -647
  18. package/dist/cloudcannon-structures.schema.json +1644 -781
  19. package/dist/documentation.json +51604 -50649
  20. package/package.json +1 -1
  21. package/src/cascade.ts +1 -6
  22. package/src/collections.ts +7 -1
  23. package/src/configuration.ts +2 -5
  24. package/src/editables.ts +40 -32
  25. package/src/index.ts +3 -24
  26. package/src/initial-site-settings.ts +82 -0
  27. package/src/inputs.ts +4 -4
  28. package/src/routing.ts +92 -0
  29. package/src/snippets.ts +48 -41
  30. package/src/ssg.ts +23 -0
  31. package/src/structures.ts +2 -0
@@ -4670,7 +4670,7 @@
4670
4670
  "empty_type": {
4671
4671
  "allOf": [
4672
4672
  {
4673
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
4673
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
4674
4674
  }
4675
4675
  ]
4676
4676
  },
@@ -4893,7 +4893,7 @@
4893
4893
  "type": "string",
4894
4894
  "markdownDescription": "This key defines the message that explains why an Input is required. This key requires you to define `options.required`."
4895
4895
  },
4896
- "type._inputs.*.options.empty_type_text": {
4896
+ "type._inputs.*.options.empty_type(text)": {
4897
4897
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
4898
4898
  "default": "null",
4899
4899
  "type": "string",
@@ -5077,7 +5077,7 @@
5077
5077
  "empty_type": {
5078
5078
  "allOf": [
5079
5079
  {
5080
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
5080
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
5081
5081
  }
5082
5082
  ]
5083
5083
  },
@@ -5206,7 +5206,7 @@
5206
5206
  "empty_type": {
5207
5207
  "allOf": [
5208
5208
  {
5209
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
5209
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
5210
5210
  }
5211
5211
  ]
5212
5212
  },
@@ -5429,7 +5429,7 @@
5429
5429
  "empty_type": {
5430
5430
  "allOf": [
5431
5431
  {
5432
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
5432
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
5433
5433
  }
5434
5434
  ]
5435
5435
  },
@@ -5591,7 +5591,7 @@
5591
5591
  "empty_type": {
5592
5592
  "allOf": [
5593
5593
  {
5594
- "$ref": "#/definitions/type._inputs.*.options.empty_type_number"
5594
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(number)"
5595
5595
  }
5596
5596
  ]
5597
5597
  },
@@ -5629,7 +5629,7 @@
5629
5629
  "additionalProperties": false,
5630
5630
  "markdownDescription": "Provides an editing interface for numeric values."
5631
5631
  },
5632
- "type._inputs.*.options.empty_type_number": {
5632
+ "type._inputs.*.options.empty_type(number)": {
5633
5633
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
5634
5634
  "default": "null",
5635
5635
  "type": "string",
@@ -5726,7 +5726,7 @@
5726
5726
  "empty_type": {
5727
5727
  "allOf": [
5728
5728
  {
5729
- "$ref": "#/definitions/type._inputs.*.options.empty_type_number"
5729
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(number)"
5730
5730
  }
5731
5731
  ]
5732
5732
  },
@@ -5982,7 +5982,7 @@
5982
5982
  "empty_type": {
5983
5983
  "allOf": [
5984
5984
  {
5985
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
5985
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
5986
5986
  }
5987
5987
  ]
5988
5988
  },
@@ -6389,7 +6389,7 @@
6389
6389
  "empty_type": {
6390
6390
  "allOf": [
6391
6391
  {
6392
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
6392
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
6393
6393
  }
6394
6394
  ]
6395
6395
  },
@@ -7116,7 +7116,7 @@
7116
7116
  "empty_type": {
7117
7117
  "allOf": [
7118
7118
  {
7119
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
7119
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
7120
7120
  }
7121
7121
  ]
7122
7122
  }
@@ -7245,7 +7245,7 @@
7245
7245
  "empty_type": {
7246
7246
  "allOf": [
7247
7247
  {
7248
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
7248
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
7249
7249
  }
7250
7250
  ]
7251
7251
  },
@@ -7881,7 +7881,7 @@
7881
7881
  "empty_type": {
7882
7882
  "allOf": [
7883
7883
  {
7884
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
7884
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
7885
7885
  }
7886
7886
  ]
7887
7887
  },
@@ -8060,7 +8060,7 @@
8060
8060
  "empty_type": {
8061
8061
  "allOf": [
8062
8062
  {
8063
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
8063
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
8064
8064
  }
8065
8065
  ]
8066
8066
  }
@@ -8442,7 +8442,7 @@
8442
8442
  "empty_type": {
8443
8443
  "allOf": [
8444
8444
  {
8445
- "$ref": "#/definitions/type._inputs.*.options.empty_type_array"
8445
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(array)"
8446
8446
  }
8447
8447
  ]
8448
8448
  }
@@ -8487,7 +8487,7 @@
8487
8487
  "type": "string",
8488
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`."
8489
8489
  },
8490
- "type._inputs.*.options.empty_type_array": {
8490
+ "type._inputs.*.options.empty_type(array)": {
8491
8491
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
8492
8492
  "default": "null",
8493
8493
  "type": "string",
@@ -8609,7 +8609,7 @@
8609
8609
  "empty_type": {
8610
8610
  "allOf": [
8611
8611
  {
8612
- "$ref": "#/definitions/type._inputs.*.options.empty_type_text"
8612
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(text)"
8613
8613
  }
8614
8614
  ]
8615
8615
  }
@@ -8733,7 +8733,7 @@
8733
8733
  "empty_type": {
8734
8734
  "allOf": [
8735
8735
  {
8736
- "$ref": "#/definitions/type._inputs.*.options.empty_type_array"
8736
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(array)"
8737
8737
  }
8738
8738
  ]
8739
8739
  }
@@ -8810,7 +8810,7 @@
8810
8810
  "empty_type": {
8811
8811
  "allOf": [
8812
8812
  {
8813
- "$ref": "#/definitions/type._inputs.*.options.empty_type_object"
8813
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(object)"
8814
8814
  }
8815
8815
  ]
8816
8816
  },
@@ -8974,7 +8974,7 @@
8974
8974
  "additionalProperties": false,
8975
8975
  "markdownDescription": "Provides a user interface for a group of inputs."
8976
8976
  },
8977
- "type._inputs.*.options.empty_type_object": {
8977
+ "type._inputs.*.options.empty_type(object)": {
8978
8978
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
8979
8979
  "default": "null",
8980
8980
  "type": "string",
@@ -9023,232 +9023,235 @@
9023
9023
  "description": "Defines what values are available to add when using this structure.",
9024
9024
  "type": "array",
9025
9025
  "items": {
9026
- "title": "Structure Value",
9027
- "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": {
9028
9179
  "type": "object",
9029
9180
  "properties": {
9030
- "reorder_inputs": {
9031
- "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.",
9032
- "default": true,
9033
- "type": "boolean",
9034
- "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."
9035
- },
9036
- "hide_extra_inputs": {
9037
- "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false.",
9038
- "default": false,
9039
- "type": "boolean",
9040
- "markdownDescription": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false."
9041
- },
9042
- "remove_empty_inputs": {
9043
- "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.",
9044
- "default": false,
9045
- "type": "boolean",
9046
- "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."
9047
- },
9048
- "remove_extra_inputs": {
9049
- "description": "If checked, extra inputs are removed when editing. Defaults to true.",
9050
- "default": true,
9051
- "type": "boolean",
9052
- "markdownDescription": "If checked, extra inputs are removed when editing. Defaults to true."
9053
- },
9054
- "preview": {
9055
- "allOf": [
9056
- {
9057
- "$ref": "#/definitions/type.preview"
9058
- }
9059
- ]
9060
- },
9061
- "picker_preview": {
9062
- "allOf": [
9063
- {
9064
- "$ref": "#/definitions/type.picker_preview"
9065
- }
9066
- ]
9067
- },
9068
- "_inputs": {
9069
- "allOf": [
9070
- {
9071
- "$ref": "#/definitions/type._inputs"
9072
- }
9073
- ]
9074
- },
9075
- "_inputs_from_glob": {
9076
- "allOf": [
9077
- {
9078
- "$ref": "#/definitions/type._inputs_from_glob"
9079
- }
9080
- ]
9081
- },
9082
- "_select_data": {
9083
- "allOf": [
9084
- {
9085
- "$ref": "#/definitions/type._select_data"
9086
- }
9087
- ]
9088
- },
9089
- "_structures": {
9090
- "allOf": [
9091
- {
9092
- "$ref": "#/definitions/type._structures"
9093
- }
9094
- ]
9095
- },
9096
- "_structures_from_glob": {
9097
- "allOf": [
9098
- {
9099
- "$ref": "#/definitions/type._structures_from_glob"
9100
- }
9101
- ]
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."
9102
9185
  },
9103
- "id": {
9104
- "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.",
9105
9188
  "type": "string",
9106
- "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."
9107
9190
  },
9108
- "default": {
9109
- "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.",
9110
9193
  "default": false,
9111
9194
  "type": "boolean",
9112
- "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."
9113
- },
9114
- "icon": {
9115
- "description": "An icon used when displaying the structure (defaults to either format_list_bulleted for items in arrays, or notes otherwise).",
9116
- "allOf": [
9117
- {
9118
- "$ref": "#/definitions/icon"
9119
- }
9120
- ],
9121
- "markdownDescription": "An icon used when displaying the structure (defaults to either format_list_bulleted for items in arrays, or notes otherwise)."
9122
- },
9123
- "image": {
9124
- "description": "Path to an image in your source files used when displaying the structure. Can be either a source (has priority) or output path.",
9125
- "type": "string",
9126
- "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."
9127
9196
  },
9128
- "label": {
9129
- "description": "Used as the main text in the interface for this value.",
9130
- "type": "string",
9131
- "markdownDescription": "Used as the main text in the interface for this value."
9132
- },
9133
- "tags": {
9134
- "description": "Used to group and filter items when selecting from a modal.",
9197
+ "inputs": {
9198
+ "description": "The keys of each input in this group.",
9135
9199
  "type": "array",
9136
9200
  "items": {
9137
9201
  "type": "string"
9138
9202
  },
9139
- "markdownDescription": "Used to group and filter items when selecting from a modal."
9140
- },
9141
- "groups": {
9142
- "description": "Allows you to group the inputs inside this object together without changing the data structure.",
9143
- "type": "array",
9144
- "items": {
9145
- "type": "object",
9146
- "properties": {
9147
- "heading": {
9148
- "description": "The main text for the group shown when collapsed or expanded.",
9149
- "type": "string",
9150
- "markdownDescription": "The main text for the group shown when collapsed or expanded."
9151
- },
9152
- "comment": {
9153
- "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.",
9154
- "type": "string",
9155
- "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."
9156
- },
9157
- "collapsed": {
9158
- "description": "Controls if this group is collapsed or expanded when first viewed.",
9159
- "default": false,
9160
- "type": "boolean",
9161
- "markdownDescription": "Controls if this group is collapsed or expanded when first viewed."
9162
- },
9163
- "inputs": {
9164
- "description": "The keys of each input in this group.",
9165
- "type": "array",
9166
- "items": {
9167
- "type": "string"
9168
- },
9169
- "markdownDescription": "The keys of each input in this group."
9170
- },
9171
- "documentation": {
9172
- "description": "Provides a custom link for documentation for editors shown above the collection file list.",
9173
- "allOf": [
9174
- {
9175
- "$ref": "#/definitions/type.documentation"
9176
- }
9177
- ],
9178
- "markdownDescription": "Provides a custom link for documentation for editors shown above the collection file list."
9179
- }
9180
- },
9181
- "additionalProperties": false
9182
- },
9183
- "markdownDescription": "Allows you to group the inputs inside this object together without changing the data structure."
9184
- },
9185
- "place_groups_below": {
9186
- "description": "Controls which order input groups and ungrouped inputs appear in.",
9187
- "default": false,
9188
- "type": "boolean",
9189
- "markdownDescription": "Controls which order input groups and ungrouped inputs appear in."
9190
- },
9191
- "tabbed": {
9192
- "description": "Show nested objects as tabs. Requires all top-level keys to be objects.",
9193
- "default": false,
9194
- "type": "boolean",
9195
- "markdownDescription": "Show nested objects as tabs. Requires all top-level keys to be objects."
9196
- },
9197
- "value": {
9198
- "description": "The actual value used when items are added after selection.",
9199
- "markdownDescription": "The actual value used when items are added after selection."
9200
- },
9201
- "description": {
9202
- "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.",
9203
- "type": "string",
9204
- "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."
9205
9204
  },
9206
9205
  "documentation": {
9207
- "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.",
9208
9207
  "allOf": [
9209
9208
  {
9210
9209
  "$ref": "#/definitions/type.documentation"
9211
9210
  }
9212
9211
  ],
9213
- "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."
9214
9213
  }
9215
9214
  },
9216
- "required": [
9217
- "value"
9218
- ],
9219
- "additionalProperties": false,
9220
- "markdownDescription": "A single value option within a structure, defining the data format and appearance for content editors."
9215
+ "additionalProperties": false
9221
9216
  },
9222
- "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."
9223
9218
  },
9224
- "values_from_glob": {
9225
- "type": "array",
9226
- "items": {
9227
- "type": "string"
9228
- }
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."
9229
9224
  },
9230
- "id_key": {
9231
- "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\".",
9232
- "default": "_type",
9233
- "type": "string",
9234
- "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."
9235
9230
  },
9236
- "style": {
9237
- "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.",
9238
- "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.",
9239
9237
  "type": "string",
9240
- "enum": [
9241
- "select",
9242
- "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
+ }
9243
9246
  ],
9244
- "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."
9245
9248
  }
9246
9249
  },
9247
9250
  "required": [
9248
- "values"
9251
+ "value"
9249
9252
  ],
9250
9253
  "additionalProperties": false,
9251
- "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."
9252
9255
  },
9253
9256
  "type._inputs_from_glob": {
9254
9257
  "type": "array",
@@ -9419,7 +9422,7 @@
9419
9422
  "empty_type": {
9420
9423
  "allOf": [
9421
9424
  {
9422
- "$ref": "#/definitions/type._inputs.*.options.empty_type_array"
9425
+ "$ref": "#/definitions/type._inputs.*.options.empty_type(array)"
9423
9426
  }
9424
9427
  ]
9425
9428
  },
@@ -10610,10 +10613,6 @@
10610
10613
  "$ref": "#/definitions/type.snippet-format"
10611
10614
  }
10612
10615
  },
10613
- "required": [
10614
- "models",
10615
- "format"
10616
- ],
10617
10616
  "additionalProperties": false
10618
10617
  }
10619
10618
  },
@@ -10641,10 +10640,6 @@
10641
10640
  "$ref": "#/definitions/type.snippet-format"
10642
10641
  }
10643
10642
  },
10644
- "required": [
10645
- "model",
10646
- "format"
10647
- ],
10648
10643
  "additionalProperties": false
10649
10644
  }
10650
10645
  },
@@ -10712,11 +10707,7 @@
10712
10707
  "type": "boolean"
10713
10708
  },
10714
10709
  "style": {
10715
- "allOf": [
10716
- {
10717
- "$ref": "#/definitions/type.snippet-style"
10718
- }
10719
- ]
10710
+ "$ref": "#/definitions/type.snippet-style"
10720
10711
  }
10721
10712
  },
10722
10713
  "additionalProperties": false
@@ -10753,16 +10744,13 @@
10753
10744
  }
10754
10745
  },
10755
10746
  "required": [
10756
- "models",
10757
- "format",
10758
- "style"
10747
+ "models"
10759
10748
  ],
10760
10749
  "additionalProperties": false
10761
10750
  }
10762
10751
  },
10763
10752
  "required": [
10764
- "parser",
10765
- "options"
10753
+ "parser"
10766
10754
  ],
10767
10755
  "additionalProperties": false
10768
10756
  },
@@ -10860,9 +10848,7 @@
10860
10848
  }
10861
10849
  },
10862
10850
  "required": [
10863
- "literal",
10864
- "default",
10865
- "minimum"
10851
+ "literal"
10866
10852
  ],
10867
10853
  "additionalProperties": false
10868
10854
  }
@@ -10897,11 +10883,7 @@
10897
10883
  "type": "number"
10898
10884
  },
10899
10885
  "style": {
10900
- "allOf": [
10901
- {
10902
- "$ref": "#/definitions/type.snippet-style"
10903
- }
10904
- ]
10886
+ "$ref": "#/definitions/type.snippet-style"
10905
10887
  },
10906
10888
  "optional": {
10907
10889
  "type": "boolean"
@@ -10937,11 +10919,7 @@
10937
10919
  "type": "boolean"
10938
10920
  },
10939
10921
  "style": {
10940
- "allOf": [
10941
- {
10942
- "$ref": "#/definitions/type.snippet-style"
10943
- }
10944
- ]
10922
+ "$ref": "#/definitions/type.snippet-style"
10945
10923
  }
10946
10924
  },
10947
10925
  "required": [
@@ -10983,9 +10961,11 @@
10983
10961
  "type": "string"
10984
10962
  },
10985
10963
  "remove_empty": {
10964
+ "default": false,
10986
10965
  "type": "boolean"
10987
10966
  },
10988
10967
  "optional": {
10968
+ "default": false,
10989
10969
  "type": "boolean"
10990
10970
  },
10991
10971
  "type": {
@@ -11003,15 +10983,11 @@
11003
10983
  "items": {}
11004
10984
  },
11005
10985
  "implied_boolean": {
10986
+ "default": false,
11006
10987
  "type": "boolean"
11007
10988
  },
11008
10989
  "default": {}
11009
10990
  },
11010
- "required": [
11011
- "remove_empty",
11012
- "optional",
11013
- "implied_boolean"
11014
- ],
11015
10991
  "additionalProperties": false
11016
10992
  },
11017
10993
  "type.snippet-format": {
@@ -11022,32 +10998,28 @@
11022
10998
  "type": "object",
11023
10999
  "properties": {
11024
11000
  "start": {
11001
+ "default": "",
11025
11002
  "type": "string"
11026
11003
  },
11027
11004
  "end": {
11005
+ "default": "",
11028
11006
  "type": "string"
11029
11007
  }
11030
11008
  },
11031
- "required": [
11032
- "start",
11033
- "end"
11034
- ],
11035
11009
  "additionalProperties": false
11036
11010
  },
11037
11011
  "root_value_boundary": {
11038
11012
  "type": "object",
11039
11013
  "properties": {
11040
11014
  "start": {
11015
+ "default": "",
11041
11016
  "type": "string"
11042
11017
  },
11043
11018
  "end": {
11019
+ "default": "",
11044
11020
  "type": "string"
11045
11021
  }
11046
11022
  },
11047
- "required": [
11048
- "start",
11049
- "end"
11050
- ],
11051
11023
  "additionalProperties": false
11052
11024
  },
11053
11025
  "root_value_boundary_optional": {
@@ -11075,16 +11047,14 @@
11075
11047
  "type": "object",
11076
11048
  "properties": {
11077
11049
  "start": {
11050
+ "default": "",
11078
11051
  "type": "string"
11079
11052
  },
11080
11053
  "end": {
11054
+ "default": "",
11081
11055
  "type": "string"
11082
11056
  }
11083
11057
  },
11084
- "required": [
11085
- "start",
11086
- "end"
11087
- ],
11088
11058
  "additionalProperties": false
11089
11059
  },
11090
11060
  "object_value_delimiter": {
@@ -11097,16 +11067,14 @@
11097
11067
  "type": "object",
11098
11068
  "properties": {
11099
11069
  "start": {
11070
+ "default": "",
11100
11071
  "type": "string"
11101
11072
  },
11102
11073
  "end": {
11074
+ "default": "",
11103
11075
  "type": "string"
11104
11076
  }
11105
11077
  },
11106
- "required": [
11107
- "start",
11108
- "end"
11109
- ],
11110
11078
  "additionalProperties": false
11111
11079
  },
11112
11080
  "array_delimiter": {
@@ -11161,26 +11129,6 @@
11161
11129
  "additionalProperties": false
11162
11130
  }
11163
11131
  },
11164
- "required": [
11165
- "root_boundary",
11166
- "root_value_boundary",
11167
- "root_value_boundary_optional",
11168
- "root_pair_delimiter",
11169
- "remove_empty_root_boundary",
11170
- "object_boundary",
11171
- "object_value_delimiter",
11172
- "object_pair_delimiter",
11173
- "array_boundary",
11174
- "array_delimiter",
11175
- "string_boundary",
11176
- "string_escape_character",
11177
- "allow_booleans",
11178
- "allow_numbers",
11179
- "allow_implied_values",
11180
- "allow_null",
11181
- "forbidden_tokens",
11182
- "allowed_string_cases"
11183
- ],
11184
11132
  "additionalProperties": false
11185
11133
  },
11186
11134
  "type.snippet-style": {