@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
@@ -222,11 +222,11 @@
222
222
  "type": "string"
223
223
  },
224
224
  "additionalProperties": {
225
- "$ref": "#/$defs/CollectionConfig"
225
+ "$ref": "#/$defs/collections_config.*"
226
226
  }
227
227
  },
228
- "CollectionConfig": {
229
- "id": "CollectionConfig",
228
+ "collections_config.*": {
229
+ "id": "collections_config.*",
230
230
  "title": "Collection Config",
231
231
  "type": "object",
232
232
  "properties": {
@@ -4393,7 +4393,7 @@
4393
4393
  "$ref": "#/$defs/type._inputs.*.options.required_message"
4394
4394
  },
4395
4395
  "empty_type": {
4396
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
4396
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
4397
4397
  },
4398
4398
  "placeholder": {
4399
4399
  "description": "Text shown when this input has no value.",
@@ -4584,8 +4584,8 @@
4584
4584
  "description": "This key defines the message that explains why an Input is required. This key requires you to define `options.required`.",
4585
4585
  "type": "string"
4586
4586
  },
4587
- "type._inputs.*.options.empty_type_text": {
4588
- "id": "type._inputs.*.options.empty_type_text",
4587
+ "type._inputs.*.options.empty_type(text)": {
4588
+ "id": "type._inputs.*.options.empty_type(text)",
4589
4589
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
4590
4590
  "default": "null",
4591
4591
  "type": "string",
@@ -4765,7 +4765,7 @@
4765
4765
  "$ref": "#/$defs/type._inputs.*.options.required_message"
4766
4766
  },
4767
4767
  "empty_type": {
4768
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
4768
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
4769
4769
  },
4770
4770
  "placeholder": {
4771
4771
  "description": "Text shown when this input has no value.",
@@ -4873,7 +4873,7 @@
4873
4873
  "$ref": "#/$defs/type._inputs.*.options.required_message"
4874
4874
  },
4875
4875
  "empty_type": {
4876
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
4876
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
4877
4877
  },
4878
4878
  "max_visible_lines": {
4879
4879
  "description": "Sets the maximum number of visible lines for this input, effectively controlling maximum height. When the containing text exceeds this number, the input becomes a scroll area.",
@@ -5075,7 +5075,7 @@
5075
5075
  "$ref": "#/$defs/type._inputs.*.options.required_message"
5076
5076
  },
5077
5077
  "empty_type": {
5078
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
5078
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
5079
5079
  },
5080
5080
  "format": {
5081
5081
  "description": "Sets what format the color value is saved as. Defaults to the naming convention, or HEX if that is unset.",
@@ -5210,7 +5210,7 @@
5210
5210
  "$ref": "#/$defs/type._inputs.*.options.required_message"
5211
5211
  },
5212
5212
  "empty_type": {
5213
- "$ref": "#/$defs/type._inputs.*.options.empty_type_number"
5213
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(number)"
5214
5214
  },
5215
5215
  "min": {
5216
5216
  "$ref": "#/$defs/type._inputs.*.options.min"
@@ -5236,8 +5236,8 @@
5236
5236
  ],
5237
5237
  "additionalProperties": false
5238
5238
  },
5239
- "type._inputs.*.options.empty_type_number": {
5240
- "id": "type._inputs.*.options.empty_type_number",
5239
+ "type._inputs.*.options.empty_type(number)": {
5240
+ "id": "type._inputs.*.options.empty_type(number)",
5241
5241
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
5242
5242
  "default": "null",
5243
5243
  "type": "string",
@@ -5322,7 +5322,7 @@
5322
5322
  "$ref": "#/$defs/type._inputs.*.options.required_message"
5323
5323
  },
5324
5324
  "empty_type": {
5325
- "$ref": "#/$defs/type._inputs.*.options.empty_type_number"
5325
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(number)"
5326
5326
  },
5327
5327
  "min": {
5328
5328
  "$ref": "#/$defs/type._inputs.*.options.min"
@@ -5559,7 +5559,7 @@
5559
5559
  "$ref": "#/$defs/type._inputs.*.options.required_message"
5560
5560
  },
5561
5561
  "empty_type": {
5562
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
5562
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
5563
5563
  },
5564
5564
  "allow_resize": {
5565
5565
  "description": "Shows or hides the resize handler to vertically resize the input.",
@@ -5919,7 +5919,7 @@
5919
5919
  "$ref": "#/$defs/type._inputs.*.options.required_message"
5920
5920
  },
5921
5921
  "empty_type": {
5922
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
5922
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
5923
5923
  },
5924
5924
  "timezone": {
5925
5925
  "description": "Specifies the time zone that dates are displayed and edited in. Also changes the suffix the date is persisted to the file with. Defaults to the global `timezone`.",
@@ -6627,7 +6627,7 @@
6627
6627
  "$ref": "#/$defs/type._inputs.*.options.required_message"
6628
6628
  },
6629
6629
  "empty_type": {
6630
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
6630
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
6631
6631
  }
6632
6632
  },
6633
6633
  "additionalProperties": false
@@ -6741,7 +6741,7 @@
6741
6741
  "$ref": "#/$defs/type._inputs.*.options.required_message"
6742
6742
  },
6743
6743
  "empty_type": {
6744
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
6744
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
6745
6745
  },
6746
6746
  "paths": {
6747
6747
  "$ref": "#/$defs/type.paths"
@@ -7358,7 +7358,7 @@
7358
7358
  "$ref": "#/$defs/type._inputs.*.options.required_message"
7359
7359
  },
7360
7360
  "empty_type": {
7361
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
7361
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
7362
7362
  },
7363
7363
  "paths": {
7364
7364
  "$ref": "#/$defs/type.paths"
@@ -7506,7 +7506,7 @@
7506
7506
  "$ref": "#/$defs/type._inputs.*.options.pattern_flags"
7507
7507
  },
7508
7508
  "empty_type": {
7509
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
7509
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
7510
7510
  }
7511
7511
  },
7512
7512
  "additionalProperties": false
@@ -7844,7 +7844,7 @@
7844
7844
  "$ref": "#/$defs/type._inputs.*.options.unique_on_message"
7845
7845
  },
7846
7846
  "empty_type": {
7847
- "$ref": "#/$defs/type._inputs.*.options.empty_type_array"
7847
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(array)"
7848
7848
  }
7849
7849
  },
7850
7850
  "additionalProperties": false
@@ -7885,8 +7885,8 @@
7885
7885
  "description": "This key defines the message that explains why an Input needs to be unique. This key requires you to define `options.unique_on`.",
7886
7886
  "type": "string"
7887
7887
  },
7888
- "type._inputs.*.options.empty_type_array": {
7889
- "id": "type._inputs.*.options.empty_type_array",
7888
+ "type._inputs.*.options.empty_type(array)": {
7889
+ "id": "type._inputs.*.options.empty_type(array)",
7890
7890
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
7891
7891
  "default": "null",
7892
7892
  "type": "string",
@@ -7988,7 +7988,7 @@
7988
7988
  "$ref": "#/$defs/type._inputs.*.options.pattern_flags"
7989
7989
  },
7990
7990
  "empty_type": {
7991
- "$ref": "#/$defs/type._inputs.*.options.empty_type_text"
7991
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
7992
7992
  }
7993
7993
  },
7994
7994
  "additionalProperties": false
@@ -8089,7 +8089,7 @@
8089
8089
  "$ref": "#/$defs/type._inputs.*.options.unique_on_message"
8090
8090
  },
8091
8091
  "empty_type": {
8092
- "$ref": "#/$defs/type._inputs.*.options.empty_type_array"
8092
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(array)"
8093
8093
  }
8094
8094
  },
8095
8095
  "additionalProperties": false
@@ -8151,7 +8151,7 @@
8151
8151
  "$ref": "#/$defs/type._inputs.*.options.required_message"
8152
8152
  },
8153
8153
  "empty_type": {
8154
- "$ref": "#/$defs/type._inputs.*.options.empty_type_object"
8154
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(object)"
8155
8155
  },
8156
8156
  "preview": {
8157
8157
  "$ref": "#/$defs/type.preview"
@@ -8283,8 +8283,8 @@
8283
8283
  ],
8284
8284
  "additionalProperties": false
8285
8285
  },
8286
- "type._inputs.*.options.empty_type_object": {
8287
- "id": "type._inputs.*.options.empty_type_object",
8286
+ "type._inputs.*.options.empty_type(object)": {
8287
+ "id": "type._inputs.*.options.empty_type(object)",
8288
8288
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
8289
8289
  "default": "null",
8290
8290
  "type": "string",
@@ -8329,164 +8329,168 @@
8329
8329
  "description": "Defines what values are available to add when using this structure.",
8330
8330
  "type": "array",
8331
8331
  "items": {
8332
- "title": "Structure Value",
8333
- "description": "A single value option within a structure, defining the data format and appearance for content editors.",
8332
+ "$ref": "#/$defs/type.structure.values.[*]"
8333
+ }
8334
+ },
8335
+ "values_from_glob": {
8336
+ "type": "array",
8337
+ "items": {
8338
+ "type": "string"
8339
+ }
8340
+ },
8341
+ "id_key": {
8342
+ "description": "Defines what key should be used to detect which structure an item is. If this key is not found in the existing structure, a comparison of key names is used. Defaults to \"_type\".",
8343
+ "default": "_type",
8344
+ "type": "string"
8345
+ },
8346
+ "style": {
8347
+ "description": "Defines whether options are shown to your editors in a select menu (select, default) or a modal pop up window (modal) when adding a new item.",
8348
+ "default": "select",
8349
+ "type": "string",
8350
+ "enum": [
8351
+ "select",
8352
+ "modal"
8353
+ ]
8354
+ }
8355
+ },
8356
+ "required": [
8357
+ "values"
8358
+ ],
8359
+ "additionalProperties": false
8360
+ },
8361
+ "type.structure.values.[*]": {
8362
+ "id": "type.structure.values.[*]",
8363
+ "title": "Structure Value",
8364
+ "description": "A single value option within a structure, defining the data format and appearance for content editors.",
8365
+ "type": "object",
8366
+ "properties": {
8367
+ "reorder_inputs": {
8368
+ "description": "If true, inputs are sorted to match when editing. Extra inputs are ordered after expected inputs, unless `remove_extra_inputs` is true. Defaults to true.",
8369
+ "default": true,
8370
+ "type": "boolean"
8371
+ },
8372
+ "hide_extra_inputs": {
8373
+ "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false.",
8374
+ "default": false,
8375
+ "type": "boolean"
8376
+ },
8377
+ "remove_empty_inputs": {
8378
+ "description": "If checked, empty inputs are removed from the source file on save. Removed inputs will be available for editing again, provided they are in the matching schema/structure. Defaults to false.",
8379
+ "default": false,
8380
+ "type": "boolean"
8381
+ },
8382
+ "remove_extra_inputs": {
8383
+ "description": "If checked, extra inputs are removed when editing. Defaults to true.",
8384
+ "default": true,
8385
+ "type": "boolean"
8386
+ },
8387
+ "preview": {
8388
+ "$ref": "#/$defs/type.preview"
8389
+ },
8390
+ "picker_preview": {
8391
+ "$ref": "#/$defs/type.picker_preview"
8392
+ },
8393
+ "_inputs": {
8394
+ "$ref": "#/$defs/type._inputs"
8395
+ },
8396
+ "_inputs_from_glob": {
8397
+ "$ref": "#/$defs/type._inputs_from_glob"
8398
+ },
8399
+ "_select_data": {
8400
+ "$ref": "#/$defs/type._select_data"
8401
+ },
8402
+ "_structures": {
8403
+ "$ref": "#/$defs/type._structures"
8404
+ },
8405
+ "_structures_from_glob": {
8406
+ "$ref": "#/$defs/type._structures_from_glob"
8407
+ },
8408
+ "id": {
8409
+ "description": "A unique reference value used when referring to this structure value from the Object input's assigned_structures option.",
8410
+ "type": "string"
8411
+ },
8412
+ "default": {
8413
+ "description": "If set to true, this item will be considered the default type for this structure. If the type of a value within a structure cannot be inferred based on its id_key or matching fields, then it will fall back to this item. If multiple items have default set to true, only the first item will be used.",
8414
+ "default": false,
8415
+ "type": "boolean"
8416
+ },
8417
+ "icon": {
8418
+ "description": "An icon used when displaying the structure (defaults to either format_list_bulleted for items in arrays, or notes otherwise).",
8419
+ "$ref": "#/$defs/icon"
8420
+ },
8421
+ "image": {
8422
+ "description": "Path to an image in your source files used when displaying the structure. Can be either a source (has priority) or output path.",
8423
+ "type": "string"
8424
+ },
8425
+ "label": {
8426
+ "description": "Used as the main text in the interface for this value.",
8427
+ "type": "string"
8428
+ },
8429
+ "tags": {
8430
+ "description": "Used to group and filter items when selecting from a modal.",
8431
+ "type": "array",
8432
+ "items": {
8433
+ "type": "string"
8434
+ }
8435
+ },
8436
+ "groups": {
8437
+ "description": "Allows you to group the inputs inside this object together without changing the data structure.",
8438
+ "type": "array",
8439
+ "items": {
8334
8440
  "type": "object",
8335
8441
  "properties": {
8336
- "reorder_inputs": {
8337
- "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.",
8338
- "default": true,
8339
- "type": "boolean"
8340
- },
8341
- "hide_extra_inputs": {
8342
- "description": "Hides unexpected inputs when editing. Has no effect if `remove_extra_inputs` is true. Defaults to false.",
8343
- "default": false,
8344
- "type": "boolean"
8345
- },
8346
- "remove_empty_inputs": {
8347
- "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.",
8348
- "default": false,
8349
- "type": "boolean"
8350
- },
8351
- "remove_extra_inputs": {
8352
- "description": "If checked, extra inputs are removed when editing. Defaults to true.",
8353
- "default": true,
8354
- "type": "boolean"
8355
- },
8356
- "preview": {
8357
- "$ref": "#/$defs/type.preview"
8358
- },
8359
- "picker_preview": {
8360
- "$ref": "#/$defs/type.picker_preview"
8361
- },
8362
- "_inputs": {
8363
- "$ref": "#/$defs/type._inputs"
8364
- },
8365
- "_inputs_from_glob": {
8366
- "$ref": "#/$defs/type._inputs_from_glob"
8367
- },
8368
- "_select_data": {
8369
- "$ref": "#/$defs/type._select_data"
8370
- },
8371
- "_structures": {
8372
- "$ref": "#/$defs/type._structures"
8373
- },
8374
- "_structures_from_glob": {
8375
- "$ref": "#/$defs/type._structures_from_glob"
8442
+ "heading": {
8443
+ "description": "The main text for the group shown when collapsed or expanded.",
8444
+ "type": "string"
8376
8445
  },
8377
- "id": {
8378
- "description": "A unique reference value used when referring to this structure value from the Object input's assigned_structures option.",
8446
+ "comment": {
8447
+ "description": "Changes the subtext below the `heading`. Has no default. Supports a limited set of Markdown: links, bold, italic, subscript, superscript, and inline code elements are allowed.",
8379
8448
  "type": "string"
8380
8449
  },
8381
- "default": {
8382
- "description": "If set to true, this item will be considered the default type for this structure. If the type of a value within a structure cannot be inferred based on its id_key or matching fields, then it will fall back to this item. If multiple items have default set to true, only the first item will be used.",
8450
+ "collapsed": {
8451
+ "description": "Controls if this group is collapsed or expanded when first viewed.",
8383
8452
  "default": false,
8384
8453
  "type": "boolean"
8385
8454
  },
8386
- "icon": {
8387
- "description": "An icon used when displaying the structure (defaults to either format_list_bulleted for items in arrays, or notes otherwise).",
8388
- "$ref": "#/$defs/icon"
8389
- },
8390
- "image": {
8391
- "description": "Path to an image in your source files used when displaying the structure. Can be either a source (has priority) or output path.",
8392
- "type": "string"
8393
- },
8394
- "label": {
8395
- "description": "Used as the main text in the interface for this value.",
8396
- "type": "string"
8397
- },
8398
- "tags": {
8399
- "description": "Used to group and filter items when selecting from a modal.",
8455
+ "inputs": {
8456
+ "description": "The keys of each input in this group.",
8400
8457
  "type": "array",
8401
8458
  "items": {
8402
8459
  "type": "string"
8403
8460
  }
8404
8461
  },
8405
- "groups": {
8406
- "description": "Allows you to group the inputs inside this object together without changing the data structure.",
8407
- "type": "array",
8408
- "items": {
8409
- "type": "object",
8410
- "properties": {
8411
- "heading": {
8412
- "description": "The main text for the group shown when collapsed or expanded.",
8413
- "type": "string"
8414
- },
8415
- "comment": {
8416
- "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.",
8417
- "type": "string"
8418
- },
8419
- "collapsed": {
8420
- "description": "Controls if this group is collapsed or expanded when first viewed.",
8421
- "default": false,
8422
- "type": "boolean"
8423
- },
8424
- "inputs": {
8425
- "description": "The keys of each input in this group.",
8426
- "type": "array",
8427
- "items": {
8428
- "type": "string"
8429
- }
8430
- },
8431
- "documentation": {
8432
- "description": "Provides a custom link for documentation for editors shown above the collection file list.",
8433
- "$ref": "#/$defs/type.documentation"
8434
- }
8435
- },
8436
- "additionalProperties": false
8437
- }
8438
- },
8439
- "place_groups_below": {
8440
- "description": "Controls which order input groups and ungrouped inputs appear in.",
8441
- "default": false,
8442
- "type": "boolean"
8443
- },
8444
- "tabbed": {
8445
- "description": "Show nested objects as tabs. Requires all top-level keys to be objects.",
8446
- "default": false,
8447
- "type": "boolean"
8448
- },
8449
- "value": {
8450
- "description": "The actual value used when items are added after selection."
8451
- },
8452
- "description": {
8453
- "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.",
8454
- "type": "string"
8455
- },
8456
8462
  "documentation": {
8457
- "description": "Provides a custom link for documentation for editors shown in the Data Editor for expanded values matching this Structure value. Has no default.",
8463
+ "description": "Provides a custom link for documentation for editors shown above the collection file list.",
8458
8464
  "$ref": "#/$defs/type.documentation"
8459
8465
  }
8460
8466
  },
8461
- "required": [
8462
- "value"
8463
- ],
8464
8467
  "additionalProperties": false
8465
8468
  }
8466
8469
  },
8467
- "values_from_glob": {
8468
- "type": "array",
8469
- "items": {
8470
- "type": "string"
8471
- }
8470
+ "place_groups_below": {
8471
+ "description": "Controls which order input groups and ungrouped inputs appear in.",
8472
+ "default": false,
8473
+ "type": "boolean"
8472
8474
  },
8473
- "id_key": {
8474
- "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\".",
8475
- "default": "_type",
8475
+ "tabbed": {
8476
+ "description": "Show nested objects as tabs. Requires all top-level keys to be objects.",
8477
+ "default": false,
8478
+ "type": "boolean"
8479
+ },
8480
+ "value": {
8481
+ "description": "The actual value used when items are added after selection."
8482
+ },
8483
+ "description": {
8484
+ "description": "Provides short descriptive text for editors shown in the Data Editor for expanded values matching this Structure value. Has no default. Supports a limited set of Markdown: links, bold, italic, subscript, superscript, and inline code elements are allowed.",
8476
8485
  "type": "string"
8477
8486
  },
8478
- "style": {
8479
- "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.",
8480
- "default": "select",
8481
- "type": "string",
8482
- "enum": [
8483
- "select",
8484
- "modal"
8485
- ]
8487
+ "documentation": {
8488
+ "description": "Provides a custom link for documentation for editors shown in the Data Editor for expanded values matching this Structure value. Has no default.",
8489
+ "$ref": "#/$defs/type.documentation"
8486
8490
  }
8487
8491
  },
8488
8492
  "required": [
8489
- "values"
8493
+ "value"
8490
8494
  ],
8491
8495
  "additionalProperties": false
8492
8496
  },
@@ -8649,7 +8653,7 @@
8649
8653
  "$ref": "#/$defs/disable_reorder"
8650
8654
  },
8651
8655
  "empty_type": {
8652
- "$ref": "#/$defs/type._inputs.*.options.empty_type_array"
8656
+ "$ref": "#/$defs/type._inputs.*.options.empty_type(array)"
8653
8657
  },
8654
8658
  "structures": {
8655
8659
  "description": "Provides data formats for value of this object. When choosing an item, team members are prompted to choose from a number of values you have defined.",
@@ -9657,10 +9661,6 @@
9657
9661
  "$ref": "#/$defs/type.snippet-format"
9658
9662
  }
9659
9663
  },
9660
- "required": [
9661
- "models",
9662
- "format"
9663
- ],
9664
9664
  "additionalProperties": false
9665
9665
  }
9666
9666
  },
@@ -9688,10 +9688,6 @@
9688
9688
  "$ref": "#/$defs/type.snippet-format"
9689
9689
  }
9690
9690
  },
9691
- "required": [
9692
- "model",
9693
- "format"
9694
- ],
9695
9691
  "additionalProperties": false
9696
9692
  }
9697
9693
  },
@@ -9796,16 +9792,13 @@
9796
9792
  }
9797
9793
  },
9798
9794
  "required": [
9799
- "models",
9800
- "format",
9801
- "style"
9795
+ "models"
9802
9796
  ],
9803
9797
  "additionalProperties": false
9804
9798
  }
9805
9799
  },
9806
9800
  "required": [
9807
- "parser",
9808
- "options"
9801
+ "parser"
9809
9802
  ],
9810
9803
  "additionalProperties": false
9811
9804
  },
@@ -9903,9 +9896,7 @@
9903
9896
  }
9904
9897
  },
9905
9898
  "required": [
9906
- "literal",
9907
- "default",
9908
- "minimum"
9899
+ "literal"
9909
9900
  ],
9910
9901
  "additionalProperties": false
9911
9902
  }
@@ -10017,9 +10008,11 @@
10017
10008
  "type": "string"
10018
10009
  },
10019
10010
  "remove_empty": {
10011
+ "default": false,
10020
10012
  "type": "boolean"
10021
10013
  },
10022
10014
  "optional": {
10015
+ "default": false,
10023
10016
  "type": "boolean"
10024
10017
  },
10025
10018
  "type": {
@@ -10037,15 +10030,11 @@
10037
10030
  "items": {}
10038
10031
  },
10039
10032
  "implied_boolean": {
10033
+ "default": false,
10040
10034
  "type": "boolean"
10041
10035
  },
10042
10036
  "default": {}
10043
10037
  },
10044
- "required": [
10045
- "remove_empty",
10046
- "optional",
10047
- "implied_boolean"
10048
- ],
10049
10038
  "additionalProperties": false
10050
10039
  },
10051
10040
  "type.snippet-format": {
@@ -10057,32 +10046,28 @@
10057
10046
  "type": "object",
10058
10047
  "properties": {
10059
10048
  "start": {
10049
+ "default": "",
10060
10050
  "type": "string"
10061
10051
  },
10062
10052
  "end": {
10053
+ "default": "",
10063
10054
  "type": "string"
10064
10055
  }
10065
10056
  },
10066
- "required": [
10067
- "start",
10068
- "end"
10069
- ],
10070
10057
  "additionalProperties": false
10071
10058
  },
10072
10059
  "root_value_boundary": {
10073
10060
  "type": "object",
10074
10061
  "properties": {
10075
10062
  "start": {
10063
+ "default": "",
10076
10064
  "type": "string"
10077
10065
  },
10078
10066
  "end": {
10067
+ "default": "",
10079
10068
  "type": "string"
10080
10069
  }
10081
10070
  },
10082
- "required": [
10083
- "start",
10084
- "end"
10085
- ],
10086
10071
  "additionalProperties": false
10087
10072
  },
10088
10073
  "root_value_boundary_optional": {
@@ -10110,16 +10095,14 @@
10110
10095
  "type": "object",
10111
10096
  "properties": {
10112
10097
  "start": {
10098
+ "default": "",
10113
10099
  "type": "string"
10114
10100
  },
10115
10101
  "end": {
10102
+ "default": "",
10116
10103
  "type": "string"
10117
10104
  }
10118
10105
  },
10119
- "required": [
10120
- "start",
10121
- "end"
10122
- ],
10123
10106
  "additionalProperties": false
10124
10107
  },
10125
10108
  "object_value_delimiter": {
@@ -10132,16 +10115,14 @@
10132
10115
  "type": "object",
10133
10116
  "properties": {
10134
10117
  "start": {
10118
+ "default": "",
10135
10119
  "type": "string"
10136
10120
  },
10137
10121
  "end": {
10122
+ "default": "",
10138
10123
  "type": "string"
10139
10124
  }
10140
10125
  },
10141
- "required": [
10142
- "start",
10143
- "end"
10144
- ],
10145
10126
  "additionalProperties": false
10146
10127
  },
10147
10128
  "array_delimiter": {
@@ -10196,26 +10177,6 @@
10196
10177
  "additionalProperties": false
10197
10178
  }
10198
10179
  },
10199
- "required": [
10200
- "root_boundary",
10201
- "root_value_boundary",
10202
- "root_value_boundary_optional",
10203
- "root_pair_delimiter",
10204
- "remove_empty_root_boundary",
10205
- "object_boundary",
10206
- "object_value_delimiter",
10207
- "object_pair_delimiter",
10208
- "array_boundary",
10209
- "array_delimiter",
10210
- "string_boundary",
10211
- "string_escape_character",
10212
- "allow_booleans",
10213
- "allow_numbers",
10214
- "allow_implied_values",
10215
- "allow_null",
10216
- "forbidden_tokens",
10217
- "allowed_string_cases"
10218
- ],
10219
10180
  "additionalProperties": false
10220
10181
  },
10221
10182
  "type.snippet-style": {