@cloudcannon/configuration-types 0.0.4 → 0.0.5

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.
@@ -121,8 +121,6 @@
121
121
  },
122
122
  "type": {
123
123
  "const": "array",
124
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
125
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
126
124
  "type": "string"
127
125
  }
128
126
  },
@@ -231,9 +229,14 @@
231
229
  "markdownDescription": "Options that are specific to this `type` of input."
232
230
  },
233
231
  "type": {
234
- "$ref": "#/definitions/InputType",
235
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
236
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with."
232
+ "anyOf": [
233
+ {
234
+ "$ref": "#/definitions/InputType"
235
+ },
236
+ {
237
+ "type": "null"
238
+ }
239
+ ]
237
240
  }
238
241
  },
239
242
  "type": "object"
@@ -426,27 +429,28 @@
426
429
  "type": "string"
427
430
  },
428
431
  "sizes": {
429
- "additionalProperties": false,
430
432
  "description": "Definitions for creating additional images of different sizes when uploading or selecting existing files.",
431
- "markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
432
- "properties": {
433
- "size": {
434
- "const": "string",
435
- "description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).",
436
- "markdownDescription": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of\nthe image (e.g. 2x, 3x, 100w, 360w).",
437
- "type": "string"
433
+ "items": {
434
+ "additionalProperties": false,
435
+ "properties": {
436
+ "size": {
437
+ "description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).",
438
+ "markdownDescription": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of\nthe image (e.g. 2x, 3x, 100w, 360w).",
439
+ "type": "string"
440
+ },
441
+ "target": {
442
+ "description": "A reference to another input that is given the path to this additional image file.",
443
+ "markdownDescription": "A reference to another input that is given the path to this additional image file.",
444
+ "type": "string"
445
+ }
438
446
  },
439
- "target": {
440
- "const": "string",
441
- "description": "A reference to another input that is given the path to this additional image file.",
442
- "markdownDescription": "A reference to another input that is given the path to this additional image file.",
443
- "type": "string"
444
- }
447
+ "required": [
448
+ "size"
449
+ ],
450
+ "type": "object"
445
451
  },
446
- "required": [
447
- "size"
448
- ],
449
- "type": "object"
452
+ "markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
453
+ "type": "array"
450
454
  },
451
455
  "snippet": {
452
456
  "description": "Enables a control to insert snippets, if any are available.",
@@ -569,8 +573,6 @@
569
573
  },
570
574
  "type": {
571
575
  "const": "choice",
572
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
573
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
574
576
  "type": "string"
575
577
  }
576
578
  },
@@ -684,8 +686,6 @@
684
686
  },
685
687
  "type": {
686
688
  "const": "code",
687
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
688
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
689
689
  "type": "string"
690
690
  }
691
691
  },
@@ -1036,8 +1036,6 @@
1036
1036
  },
1037
1037
  "type": {
1038
1038
  "const": "color",
1039
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
1040
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
1041
1039
  "type": "string"
1042
1040
  }
1043
1041
  },
@@ -1276,12 +1274,10 @@
1276
1274
  "markdownDescription": "Options that are specific to this `type` of input."
1277
1275
  },
1278
1276
  "type": {
1279
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
1280
1277
  "enum": [
1281
1278
  "date",
1282
1279
  "datetime"
1283
1280
  ],
1284
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
1285
1281
  "type": "string"
1286
1282
  }
1287
1283
  },
@@ -1363,82 +1359,7 @@
1363
1359
  },
1364
1360
  "_snippets": {
1365
1361
  "additionalProperties": {
1366
- "additionalProperties": false,
1367
- "properties": {
1368
- "_inputs": {
1369
- "additionalProperties": {
1370
- "$ref": "#/definitions/Input"
1371
- },
1372
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1373
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1374
- "type": "object"
1375
- },
1376
- "_select_data": {
1377
- "additionalProperties": {
1378
- "$ref": "#/definitions/SelectValues"
1379
- },
1380
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
1381
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
1382
- "type": "object"
1383
- },
1384
- "_structures": {
1385
- "additionalProperties": {
1386
- "$ref": "#/definitions/Structure"
1387
- },
1388
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
1389
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
1390
- "type": "object"
1391
- },
1392
- "alternate_formats": {
1393
- "description": "Alternate configurations for this snippet.",
1394
- "items": {
1395
- "$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
1396
- },
1397
- "markdownDescription": "Alternate configurations for this snippet.",
1398
- "type": "array"
1399
- },
1400
- "definitions": {
1401
- "description": "The variables required for the selected template.",
1402
- "markdownDescription": "The variables required for the selected template.",
1403
- "type": "object"
1404
- },
1405
- "inline": {
1406
- "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
1407
- "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
1408
- "type": "boolean"
1409
- },
1410
- "params": {
1411
- "description": "The parameters of this snippet.",
1412
- "markdownDescription": "The parameters of this snippet.",
1413
- "type": "object"
1414
- },
1415
- "picker_preview": {
1416
- "$ref": "#/definitions/Preview",
1417
- "description": "Changes the way items are previewed in the CMS while being chosen.",
1418
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
1419
- },
1420
- "preview": {
1421
- "$ref": "#/definitions/Preview",
1422
- "description": "Changes the way items are previewed in the CMS.",
1423
- "markdownDescription": "Changes the way items are previewed in the CMS."
1424
- },
1425
- "snippet": {
1426
- "description": "Name of the snippet.",
1427
- "markdownDescription": "Name of the snippet.",
1428
- "type": "string"
1429
- },
1430
- "strict_whitespace": {
1431
- "description": "Whether this snippet treats whitespace as-is or not.",
1432
- "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
1433
- "type": "boolean"
1434
- },
1435
- "template": {
1436
- "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
1437
- "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
1438
- "type": "string"
1439
- }
1440
- },
1441
- "type": "object"
1362
+ "$ref": "#/definitions/SnippetConfig"
1442
1363
  },
1443
1364
  "description": "Configuration for custom snippets.",
1444
1365
  "markdownDescription": "Configuration for custom snippets.",
@@ -1446,82 +1367,7 @@
1446
1367
  },
1447
1368
  "_snippets_definitions": {
1448
1369
  "additionalProperties": {
1449
- "additionalProperties": false,
1450
- "properties": {
1451
- "_inputs": {
1452
- "additionalProperties": {
1453
- "$ref": "#/definitions/Input"
1454
- },
1455
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1456
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1457
- "type": "object"
1458
- },
1459
- "_select_data": {
1460
- "additionalProperties": {
1461
- "$ref": "#/definitions/SelectValues"
1462
- },
1463
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
1464
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
1465
- "type": "object"
1466
- },
1467
- "_structures": {
1468
- "additionalProperties": {
1469
- "$ref": "#/definitions/Structure"
1470
- },
1471
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
1472
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
1473
- "type": "object"
1474
- },
1475
- "alternate_formats": {
1476
- "description": "Alternate configurations for this snippet.",
1477
- "items": {
1478
- "$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
1479
- },
1480
- "markdownDescription": "Alternate configurations for this snippet.",
1481
- "type": "array"
1482
- },
1483
- "definitions": {
1484
- "description": "The variables required for the selected template.",
1485
- "markdownDescription": "The variables required for the selected template.",
1486
- "type": "object"
1487
- },
1488
- "inline": {
1489
- "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
1490
- "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
1491
- "type": "boolean"
1492
- },
1493
- "params": {
1494
- "description": "The parameters of this snippet.",
1495
- "markdownDescription": "The parameters of this snippet.",
1496
- "type": "object"
1497
- },
1498
- "picker_preview": {
1499
- "$ref": "#/definitions/Preview",
1500
- "description": "Changes the way items are previewed in the CMS while being chosen.",
1501
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
1502
- },
1503
- "preview": {
1504
- "$ref": "#/definitions/Preview",
1505
- "description": "Changes the way items are previewed in the CMS.",
1506
- "markdownDescription": "Changes the way items are previewed in the CMS."
1507
- },
1508
- "snippet": {
1509
- "description": "Name of the snippet.",
1510
- "markdownDescription": "Name of the snippet.",
1511
- "type": "string"
1512
- },
1513
- "strict_whitespace": {
1514
- "description": "Whether this snippet treats whitespace as-is or not.",
1515
- "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
1516
- "type": "boolean"
1517
- },
1518
- "template": {
1519
- "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
1520
- "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
1521
- "type": "string"
1522
- }
1523
- },
1524
- "type": "object"
1370
+ "$ref": "#/definitions/SnippetConfig"
1525
1371
  },
1526
1372
  "description": "Extended option used when creating more complex custom snippets.",
1527
1373
  "markdownDescription": "Extended option used when creating more complex custom snippets.",
@@ -1534,82 +1380,7 @@
1534
1380
  },
1535
1381
  "_snippets_templates": {
1536
1382
  "additionalProperties": {
1537
- "additionalProperties": false,
1538
- "properties": {
1539
- "_inputs": {
1540
- "additionalProperties": {
1541
- "$ref": "#/definitions/Input"
1542
- },
1543
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1544
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1545
- "type": "object"
1546
- },
1547
- "_select_data": {
1548
- "additionalProperties": {
1549
- "$ref": "#/definitions/SelectValues"
1550
- },
1551
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
1552
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
1553
- "type": "object"
1554
- },
1555
- "_structures": {
1556
- "additionalProperties": {
1557
- "$ref": "#/definitions/Structure"
1558
- },
1559
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
1560
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
1561
- "type": "object"
1562
- },
1563
- "alternate_formats": {
1564
- "description": "Alternate configurations for this snippet.",
1565
- "items": {
1566
- "$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
1567
- },
1568
- "markdownDescription": "Alternate configurations for this snippet.",
1569
- "type": "array"
1570
- },
1571
- "definitions": {
1572
- "description": "The variables required for the selected template.",
1573
- "markdownDescription": "The variables required for the selected template.",
1574
- "type": "object"
1575
- },
1576
- "inline": {
1577
- "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
1578
- "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
1579
- "type": "boolean"
1580
- },
1581
- "params": {
1582
- "description": "The parameters of this snippet.",
1583
- "markdownDescription": "The parameters of this snippet.",
1584
- "type": "object"
1585
- },
1586
- "picker_preview": {
1587
- "$ref": "#/definitions/Preview",
1588
- "description": "Changes the way items are previewed in the CMS while being chosen.",
1589
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
1590
- },
1591
- "preview": {
1592
- "$ref": "#/definitions/Preview",
1593
- "description": "Changes the way items are previewed in the CMS.",
1594
- "markdownDescription": "Changes the way items are previewed in the CMS."
1595
- },
1596
- "snippet": {
1597
- "description": "Name of the snippet.",
1598
- "markdownDescription": "Name of the snippet.",
1599
- "type": "string"
1600
- },
1601
- "strict_whitespace": {
1602
- "description": "Whether this snippet treats whitespace as-is or not.",
1603
- "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
1604
- "type": "boolean"
1605
- },
1606
- "template": {
1607
- "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
1608
- "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
1609
- "type": "string"
1610
- }
1611
- },
1612
- "type": "object"
1383
+ "$ref": "#/definitions/SnippetConfig"
1613
1384
  },
1614
1385
  "description": "Extended option used when creating more complex custom snippets.",
1615
1386
  "markdownDescription": "Extended option used when creating more complex custom snippets.",
@@ -1885,9 +1656,86 @@
1885
1656
  "type": "object"
1886
1657
  },
1887
1658
  "_snippets": {
1659
+ "additionalProperties": {
1660
+ "$ref": "#/definitions/SnippetConfig"
1661
+ },
1662
+ "description": "Configuration for custom snippets.",
1663
+ "markdownDescription": "Configuration for custom snippets.",
1664
+ "type": "object"
1665
+ },
1666
+ "_snippets_definitions": {
1667
+ "additionalProperties": {
1668
+ "$ref": "#/definitions/SnippetConfig"
1669
+ },
1670
+ "description": "Extended option used when creating more complex custom snippets.",
1671
+ "markdownDescription": "Extended option used when creating more complex custom snippets.",
1672
+ "type": "object"
1673
+ },
1674
+ "_snippets_imports": {
1675
+ "$ref": "#/definitions/SnippetsImports",
1676
+ "description": "Provides control over which snippets are available to use and/or extend within `_snippets`.",
1677
+ "markdownDescription": "Provides control over which snippets are available to use and/or extend within `_snippets`."
1678
+ },
1679
+ "_snippets_templates": {
1680
+ "additionalProperties": {
1681
+ "$ref": "#/definitions/SnippetConfig"
1682
+ },
1683
+ "description": "Extended option used when creating more complex custom snippets.",
1684
+ "markdownDescription": "Extended option used when creating more complex custom snippets.",
1685
+ "type": "object"
1686
+ },
1687
+ "_structures": {
1688
+ "additionalProperties": {
1689
+ "$ref": "#/definitions/Structure"
1690
+ },
1691
+ "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
1692
+ "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
1693
+ "type": "object"
1694
+ },
1695
+ "base_url": {
1696
+ "description": "The subpath where your output files are hosted.",
1697
+ "markdownDescription": "The subpath where your output files are hosted.",
1698
+ "type": "string"
1699
+ },
1700
+ "collection_groups": {
1701
+ "description": "Defines which collections are shown in the site navigation and how those collections are grouped.",
1702
+ "items": {
1703
+ "$ref": "#/definitions/CollectionGroup"
1704
+ },
1705
+ "markdownDescription": "Defines which collections are shown in the site navigation and how those collections are\ngrouped.",
1706
+ "type": "array"
1707
+ },
1708
+ "collections_config": {
1888
1709
  "additionalProperties": {
1889
1710
  "additionalProperties": false,
1890
1711
  "properties": {
1712
+ "_array_structures": {
1713
+ "additionalProperties": {},
1714
+ "description": "[DEPRECATED] Now known as _structures.",
1715
+ "markdownDescription": "[DEPRECATED] Now known as _structures.",
1716
+ "type": "object"
1717
+ },
1718
+ "_comments": {
1719
+ "additionalProperties": {
1720
+ "type": "string"
1721
+ },
1722
+ "description": "[DEPRECATED] Now part of _inputs.*.comment.",
1723
+ "markdownDescription": "[DEPRECATED] Now part of _inputs.*.comment.",
1724
+ "type": "object"
1725
+ },
1726
+ "_editables": {
1727
+ "$ref": "#/definitions/Editables",
1728
+ "description": "Contains input options for Editable Regions and the Content Editor.",
1729
+ "markdownDescription": "Contains input options for Editable Regions and the Content Editor."
1730
+ },
1731
+ "_enabled_editors": {
1732
+ "description": "Set a preferred editor and/or disable the others. The first value sets which editor opens by default, and the following values specify which editors are accessible.",
1733
+ "items": {
1734
+ "$ref": "#/definitions/EditorKey"
1735
+ },
1736
+ "markdownDescription": "Set a preferred editor and/or disable the others. The first value sets which editor opens by\ndefault, and the following values specify which editors are accessible.",
1737
+ "type": "array"
1738
+ },
1891
1739
  "_inputs": {
1892
1740
  "additionalProperties": {
1893
1741
  "$ref": "#/definitions/Input"
@@ -1896,312 +1744,10 @@
1896
1744
  "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1897
1745
  "type": "object"
1898
1746
  },
1899
- "_select_data": {
1747
+ "_options": {
1900
1748
  "additionalProperties": {
1901
- "$ref": "#/definitions/SelectValues"
1902
- },
1903
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
1904
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
1905
- "type": "object"
1906
- },
1907
- "_structures": {
1908
- "additionalProperties": {
1909
- "$ref": "#/definitions/Structure"
1910
- },
1911
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
1912
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
1913
- "type": "object"
1914
- },
1915
- "alternate_formats": {
1916
- "description": "Alternate configurations for this snippet.",
1917
- "items": {
1918
- "$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
1919
- },
1920
- "markdownDescription": "Alternate configurations for this snippet.",
1921
- "type": "array"
1922
- },
1923
- "definitions": {
1924
- "description": "The variables required for the selected template.",
1925
- "markdownDescription": "The variables required for the selected template.",
1926
- "type": "object"
1927
- },
1928
- "inline": {
1929
- "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
1930
- "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
1931
- "type": "boolean"
1932
- },
1933
- "params": {
1934
- "description": "The parameters of this snippet.",
1935
- "markdownDescription": "The parameters of this snippet.",
1936
- "type": "object"
1937
- },
1938
- "picker_preview": {
1939
- "$ref": "#/definitions/Preview",
1940
- "description": "Changes the way items are previewed in the CMS while being chosen.",
1941
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
1942
- },
1943
- "preview": {
1944
- "$ref": "#/definitions/Preview",
1945
- "description": "Changes the way items are previewed in the CMS.",
1946
- "markdownDescription": "Changes the way items are previewed in the CMS."
1947
- },
1948
- "snippet": {
1949
- "description": "Name of the snippet.",
1950
- "markdownDescription": "Name of the snippet.",
1951
- "type": "string"
1952
- },
1953
- "strict_whitespace": {
1954
- "description": "Whether this snippet treats whitespace as-is or not.",
1955
- "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
1956
- "type": "boolean"
1957
- },
1958
- "template": {
1959
- "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
1960
- "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
1961
- "type": "string"
1962
- }
1963
- },
1964
- "type": "object"
1965
- },
1966
- "description": "Configuration for custom snippets.",
1967
- "markdownDescription": "Configuration for custom snippets.",
1968
- "type": "object"
1969
- },
1970
- "_snippets_definitions": {
1971
- "additionalProperties": {
1972
- "additionalProperties": false,
1973
- "properties": {
1974
- "_inputs": {
1975
- "additionalProperties": {
1976
- "$ref": "#/definitions/Input"
1977
- },
1978
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1979
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
1980
- "type": "object"
1981
- },
1982
- "_select_data": {
1983
- "additionalProperties": {
1984
- "$ref": "#/definitions/SelectValues"
1985
- },
1986
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
1987
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
1988
- "type": "object"
1989
- },
1990
- "_structures": {
1991
- "additionalProperties": {
1992
- "$ref": "#/definitions/Structure"
1993
- },
1994
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
1995
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
1996
- "type": "object"
1997
- },
1998
- "alternate_formats": {
1999
- "description": "Alternate configurations for this snippet.",
2000
- "items": {
2001
- "$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
2002
- },
2003
- "markdownDescription": "Alternate configurations for this snippet.",
2004
- "type": "array"
2005
- },
2006
- "definitions": {
2007
- "description": "The variables required for the selected template.",
2008
- "markdownDescription": "The variables required for the selected template.",
2009
- "type": "object"
2010
- },
2011
- "inline": {
2012
- "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
2013
- "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
2014
- "type": "boolean"
2015
- },
2016
- "params": {
2017
- "description": "The parameters of this snippet.",
2018
- "markdownDescription": "The parameters of this snippet.",
2019
- "type": "object"
2020
- },
2021
- "picker_preview": {
2022
- "$ref": "#/definitions/Preview",
2023
- "description": "Changes the way items are previewed in the CMS while being chosen.",
2024
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
2025
- },
2026
- "preview": {
2027
- "$ref": "#/definitions/Preview",
2028
- "description": "Changes the way items are previewed in the CMS.",
2029
- "markdownDescription": "Changes the way items are previewed in the CMS."
2030
- },
2031
- "snippet": {
2032
- "description": "Name of the snippet.",
2033
- "markdownDescription": "Name of the snippet.",
2034
- "type": "string"
2035
- },
2036
- "strict_whitespace": {
2037
- "description": "Whether this snippet treats whitespace as-is or not.",
2038
- "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
2039
- "type": "boolean"
2040
- },
2041
- "template": {
2042
- "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
2043
- "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
2044
- "type": "string"
2045
- }
2046
- },
2047
- "type": "object"
2048
- },
2049
- "description": "Extended option used when creating more complex custom snippets.",
2050
- "markdownDescription": "Extended option used when creating more complex custom snippets.",
2051
- "type": "object"
2052
- },
2053
- "_snippets_imports": {
2054
- "$ref": "#/definitions/SnippetsImports",
2055
- "description": "Provides control over which snippets are available to use and/or extend within `_snippets`.",
2056
- "markdownDescription": "Provides control over which snippets are available to use and/or extend within `_snippets`."
2057
- },
2058
- "_snippets_templates": {
2059
- "additionalProperties": {
2060
- "additionalProperties": false,
2061
- "properties": {
2062
- "_inputs": {
2063
- "additionalProperties": {
2064
- "$ref": "#/definitions/Input"
2065
- },
2066
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2067
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2068
- "type": "object"
2069
- },
2070
- "_select_data": {
2071
- "additionalProperties": {
2072
- "$ref": "#/definitions/SelectValues"
2073
- },
2074
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
2075
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
2076
- "type": "object"
2077
- },
2078
- "_structures": {
2079
- "additionalProperties": {
2080
- "$ref": "#/definitions/Structure"
2081
- },
2082
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
2083
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
2084
- "type": "object"
2085
- },
2086
- "alternate_formats": {
2087
- "description": "Alternate configurations for this snippet.",
2088
- "items": {
2089
- "$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
2090
- },
2091
- "markdownDescription": "Alternate configurations for this snippet.",
2092
- "type": "array"
2093
- },
2094
- "definitions": {
2095
- "description": "The variables required for the selected template.",
2096
- "markdownDescription": "The variables required for the selected template.",
2097
- "type": "object"
2098
- },
2099
- "inline": {
2100
- "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
2101
- "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
2102
- "type": "boolean"
2103
- },
2104
- "params": {
2105
- "description": "The parameters of this snippet.",
2106
- "markdownDescription": "The parameters of this snippet.",
2107
- "type": "object"
2108
- },
2109
- "picker_preview": {
2110
- "$ref": "#/definitions/Preview",
2111
- "description": "Changes the way items are previewed in the CMS while being chosen.",
2112
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
2113
- },
2114
- "preview": {
2115
- "$ref": "#/definitions/Preview",
2116
- "description": "Changes the way items are previewed in the CMS.",
2117
- "markdownDescription": "Changes the way items are previewed in the CMS."
2118
- },
2119
- "snippet": {
2120
- "description": "Name of the snippet.",
2121
- "markdownDescription": "Name of the snippet.",
2122
- "type": "string"
2123
- },
2124
- "strict_whitespace": {
2125
- "description": "Whether this snippet treats whitespace as-is or not.",
2126
- "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
2127
- "type": "boolean"
2128
- },
2129
- "template": {
2130
- "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
2131
- "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
2132
- "type": "string"
2133
- }
2134
- },
2135
- "type": "object"
2136
- },
2137
- "description": "Extended option used when creating more complex custom snippets.",
2138
- "markdownDescription": "Extended option used when creating more complex custom snippets.",
2139
- "type": "object"
2140
- },
2141
- "_structures": {
2142
- "additionalProperties": {
2143
- "$ref": "#/definitions/Structure"
2144
- },
2145
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
2146
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
2147
- "type": "object"
2148
- },
2149
- "base_url": {
2150
- "description": "The subpath where your output files are hosted.",
2151
- "markdownDescription": "The subpath where your output files are hosted.",
2152
- "type": "string"
2153
- },
2154
- "collection_groups": {
2155
- "description": "Defines which collections are shown in the site navigation and how those collections are grouped.",
2156
- "items": {
2157
- "$ref": "#/definitions/CollectionGroup"
2158
- },
2159
- "markdownDescription": "Defines which collections are shown in the site navigation and how those collections are\ngrouped.",
2160
- "type": "array"
2161
- },
2162
- "collections_config": {
2163
- "additionalProperties": {
2164
- "additionalProperties": false,
2165
- "properties": {
2166
- "_array_structures": {
2167
- "additionalProperties": {},
2168
- "description": "[DEPRECATED] Now known as _structures.",
2169
- "markdownDescription": "[DEPRECATED] Now known as _structures.",
2170
- "type": "object"
2171
- },
2172
- "_comments": {
2173
- "additionalProperties": {
2174
- "type": "string"
2175
- },
2176
- "description": "[DEPRECATED] Now part of _inputs.*.comment.",
2177
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.comment.",
2178
- "type": "object"
2179
- },
2180
- "_editables": {
2181
- "$ref": "#/definitions/Editables",
2182
- "description": "Contains input options for Editable Regions and the Content Editor.",
2183
- "markdownDescription": "Contains input options for Editable Regions and the Content Editor."
2184
- },
2185
- "_enabled_editors": {
2186
- "description": "Set a preferred editor and/or disable the others. The first value sets which editor opens by default, and the following values specify which editors are accessible.",
2187
- "items": {
2188
- "$ref": "#/definitions/EditorKey"
2189
- },
2190
- "markdownDescription": "Set a preferred editor and/or disable the others. The first value sets which editor opens by\ndefault, and the following values specify which editors are accessible.",
2191
- "type": "array"
2192
- },
2193
- "_inputs": {
2194
- "additionalProperties": {
2195
- "$ref": "#/definitions/Input"
2196
- },
2197
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2198
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2199
- "type": "object"
2200
- },
2201
- "_options": {
2202
- "additionalProperties": {
2203
- "additionalProperties": {},
2204
- "type": "object"
1749
+ "additionalProperties": {},
1750
+ "type": "object"
2205
1751
  },
2206
1752
  "description": "[DEPRECATED] Now part of _inputs.*.options.",
2207
1753
  "markdownDescription": "[DEPRECATED] Now part of _inputs.*.options.",
@@ -2554,12 +2100,10 @@
2554
2100
  "markdownDescription": "Options that are specific to this `type` of input."
2555
2101
  },
2556
2102
  "type": {
2557
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
2558
2103
  "enum": [
2559
2104
  "file",
2560
2105
  "document"
2561
2106
  ],
2562
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
2563
2107
  "type": "string"
2564
2108
  }
2565
2109
  },
@@ -2587,6 +2131,14 @@
2587
2131
  "description": "Restricts which file types are available to select or upload to this input.",
2588
2132
  "markdownDescription": "Restricts which file types are available to select or upload to this input."
2589
2133
  },
2134
+ "allowed_sources": {
2135
+ "description": "If you have one or more DAMs connected to your site, you can use this key to list which asset sources can be uploaded to and selected from.",
2136
+ "items": {
2137
+ "type": "string"
2138
+ },
2139
+ "markdownDescription": "If you have one or more DAMs connected to your site, you can use this key to list which asset\nsources can be uploaded to and selected from.",
2140
+ "type": "array"
2141
+ },
2590
2142
  "empty_type": {
2591
2143
  "$ref": "#/definitions/EmptyTypeText",
2592
2144
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
@@ -2853,280 +2405,55 @@
2853
2405
  "type": "array"
2854
2406
  },
2855
2407
  "_inputs": {
2856
- "additionalProperties": {
2857
- "$ref": "#/definitions/Input"
2858
- },
2859
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2860
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2861
- "type": "object"
2862
- },
2863
- "_options": {
2864
- "additionalProperties": {
2865
- "additionalProperties": {},
2866
- "type": "object"
2867
- },
2868
- "description": "[DEPRECATED] Now part of _inputs.*.options.",
2869
- "markdownDescription": "[DEPRECATED] Now part of _inputs.*.options.",
2870
- "type": "object"
2871
- },
2872
- "_select_data": {
2873
- "additionalProperties": {
2874
- "$ref": "#/definitions/SelectValues"
2875
- },
2876
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
2877
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
2878
- "type": "object"
2879
- },
2880
- "_snippets": {
2881
- "additionalProperties": {
2882
- "additionalProperties": false,
2883
- "properties": {
2884
- "_inputs": {
2885
- "additionalProperties": {
2886
- "$ref": "#/definitions/Input"
2887
- },
2888
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2889
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2890
- "type": "object"
2891
- },
2892
- "_select_data": {
2893
- "additionalProperties": {
2894
- "$ref": "#/definitions/SelectValues"
2895
- },
2896
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
2897
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
2898
- "type": "object"
2899
- },
2900
- "_structures": {
2901
- "additionalProperties": {
2902
- "$ref": "#/definitions/Structure"
2903
- },
2904
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
2905
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
2906
- "type": "object"
2907
- },
2908
- "alternate_formats": {
2909
- "description": "Alternate configurations for this snippet.",
2910
- "items": {
2911
- "$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
2912
- },
2913
- "markdownDescription": "Alternate configurations for this snippet.",
2914
- "type": "array"
2915
- },
2916
- "definitions": {
2917
- "description": "The variables required for the selected template.",
2918
- "markdownDescription": "The variables required for the selected template.",
2919
- "type": "object"
2920
- },
2921
- "inline": {
2922
- "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
2923
- "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
2924
- "type": "boolean"
2925
- },
2926
- "params": {
2927
- "description": "The parameters of this snippet.",
2928
- "markdownDescription": "The parameters of this snippet.",
2929
- "type": "object"
2930
- },
2931
- "picker_preview": {
2932
- "$ref": "#/definitions/Preview",
2933
- "description": "Changes the way items are previewed in the CMS while being chosen.",
2934
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
2935
- },
2936
- "preview": {
2937
- "$ref": "#/definitions/Preview",
2938
- "description": "Changes the way items are previewed in the CMS.",
2939
- "markdownDescription": "Changes the way items are previewed in the CMS."
2940
- },
2941
- "snippet": {
2942
- "description": "Name of the snippet.",
2943
- "markdownDescription": "Name of the snippet.",
2944
- "type": "string"
2945
- },
2946
- "strict_whitespace": {
2947
- "description": "Whether this snippet treats whitespace as-is or not.",
2948
- "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
2949
- "type": "boolean"
2950
- },
2951
- "template": {
2952
- "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
2953
- "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
2954
- "type": "string"
2955
- }
2956
- },
2957
- "type": "object"
2958
- },
2959
- "description": "Configuration for custom snippets.",
2960
- "markdownDescription": "Configuration for custom snippets.",
2961
- "type": "object"
2962
- },
2963
- "_snippets_definitions": {
2964
- "additionalProperties": {
2965
- "additionalProperties": false,
2966
- "properties": {
2967
- "_inputs": {
2968
- "additionalProperties": {
2969
- "$ref": "#/definitions/Input"
2970
- },
2971
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2972
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2973
- "type": "object"
2974
- },
2975
- "_select_data": {
2976
- "additionalProperties": {
2977
- "$ref": "#/definitions/SelectValues"
2978
- },
2979
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
2980
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
2981
- "type": "object"
2982
- },
2983
- "_structures": {
2984
- "additionalProperties": {
2985
- "$ref": "#/definitions/Structure"
2986
- },
2987
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
2988
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
2989
- "type": "object"
2990
- },
2991
- "alternate_formats": {
2992
- "description": "Alternate configurations for this snippet.",
2993
- "items": {
2994
- "$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
2995
- },
2996
- "markdownDescription": "Alternate configurations for this snippet.",
2997
- "type": "array"
2998
- },
2999
- "definitions": {
3000
- "description": "The variables required for the selected template.",
3001
- "markdownDescription": "The variables required for the selected template.",
3002
- "type": "object"
3003
- },
3004
- "inline": {
3005
- "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
3006
- "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
3007
- "type": "boolean"
3008
- },
3009
- "params": {
3010
- "description": "The parameters of this snippet.",
3011
- "markdownDescription": "The parameters of this snippet.",
3012
- "type": "object"
3013
- },
3014
- "picker_preview": {
3015
- "$ref": "#/definitions/Preview",
3016
- "description": "Changes the way items are previewed in the CMS while being chosen.",
3017
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
3018
- },
3019
- "preview": {
3020
- "$ref": "#/definitions/Preview",
3021
- "description": "Changes the way items are previewed in the CMS.",
3022
- "markdownDescription": "Changes the way items are previewed in the CMS."
3023
- },
3024
- "snippet": {
3025
- "description": "Name of the snippet.",
3026
- "markdownDescription": "Name of the snippet.",
3027
- "type": "string"
3028
- },
3029
- "strict_whitespace": {
3030
- "description": "Whether this snippet treats whitespace as-is or not.",
3031
- "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
3032
- "type": "boolean"
3033
- },
3034
- "template": {
3035
- "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
3036
- "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
3037
- "type": "string"
3038
- }
3039
- },
3040
- "type": "object"
3041
- },
3042
- "description": "Extended option used when creating more complex custom snippets.",
3043
- "markdownDescription": "Extended option used when creating more complex custom snippets.",
3044
- "type": "object"
3045
- },
3046
- "_snippets_imports": {
3047
- "$ref": "#/definitions/SnippetsImports",
3048
- "description": "Provides control over which snippets are available to use and/or extend within `_snippets`.",
3049
- "markdownDescription": "Provides control over which snippets are available to use and/or extend within `_snippets`."
3050
- },
3051
- "_snippets_templates": {
3052
- "additionalProperties": {
3053
- "additionalProperties": false,
3054
- "properties": {
3055
- "_inputs": {
3056
- "additionalProperties": {
3057
- "$ref": "#/definitions/Input"
3058
- },
3059
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
3060
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
3061
- "type": "object"
3062
- },
3063
- "_select_data": {
3064
- "additionalProperties": {
3065
- "$ref": "#/definitions/SelectValues"
3066
- },
3067
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
3068
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
3069
- "type": "object"
3070
- },
3071
- "_structures": {
3072
- "additionalProperties": {
3073
- "$ref": "#/definitions/Structure"
3074
- },
3075
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
3076
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
3077
- "type": "object"
3078
- },
3079
- "alternate_formats": {
3080
- "description": "Alternate configurations for this snippet.",
3081
- "items": {
3082
- "$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
3083
- },
3084
- "markdownDescription": "Alternate configurations for this snippet.",
3085
- "type": "array"
3086
- },
3087
- "definitions": {
3088
- "description": "The variables required for the selected template.",
3089
- "markdownDescription": "The variables required for the selected template.",
3090
- "type": "object"
3091
- },
3092
- "inline": {
3093
- "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
3094
- "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
3095
- "type": "boolean"
3096
- },
3097
- "params": {
3098
- "description": "The parameters of this snippet.",
3099
- "markdownDescription": "The parameters of this snippet.",
3100
- "type": "object"
3101
- },
3102
- "picker_preview": {
3103
- "$ref": "#/definitions/Preview",
3104
- "description": "Changes the way items are previewed in the CMS while being chosen.",
3105
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
3106
- },
3107
- "preview": {
3108
- "$ref": "#/definitions/Preview",
3109
- "description": "Changes the way items are previewed in the CMS.",
3110
- "markdownDescription": "Changes the way items are previewed in the CMS."
3111
- },
3112
- "snippet": {
3113
- "description": "Name of the snippet.",
3114
- "markdownDescription": "Name of the snippet.",
3115
- "type": "string"
3116
- },
3117
- "strict_whitespace": {
3118
- "description": "Whether this snippet treats whitespace as-is or not.",
3119
- "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
3120
- "type": "boolean"
3121
- },
3122
- "template": {
3123
- "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
3124
- "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
3125
- "type": "string"
3126
- }
3127
- },
2408
+ "additionalProperties": {
2409
+ "$ref": "#/definitions/Input"
2410
+ },
2411
+ "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2412
+ "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
2413
+ "type": "object"
2414
+ },
2415
+ "_options": {
2416
+ "additionalProperties": {
2417
+ "additionalProperties": {},
3128
2418
  "type": "object"
3129
2419
  },
2420
+ "description": "[DEPRECATED] Now part of _inputs.*.options.",
2421
+ "markdownDescription": "[DEPRECATED] Now part of _inputs.*.options.",
2422
+ "type": "object"
2423
+ },
2424
+ "_select_data": {
2425
+ "additionalProperties": {
2426
+ "$ref": "#/definitions/SelectValues"
2427
+ },
2428
+ "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
2429
+ "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
2430
+ "type": "object"
2431
+ },
2432
+ "_snippets": {
2433
+ "additionalProperties": {
2434
+ "$ref": "#/definitions/SnippetConfig"
2435
+ },
2436
+ "description": "Configuration for custom snippets.",
2437
+ "markdownDescription": "Configuration for custom snippets.",
2438
+ "type": "object"
2439
+ },
2440
+ "_snippets_definitions": {
2441
+ "additionalProperties": {
2442
+ "$ref": "#/definitions/SnippetConfig"
2443
+ },
2444
+ "description": "Extended option used when creating more complex custom snippets.",
2445
+ "markdownDescription": "Extended option used when creating more complex custom snippets.",
2446
+ "type": "object"
2447
+ },
2448
+ "_snippets_imports": {
2449
+ "$ref": "#/definitions/SnippetsImports",
2450
+ "description": "Provides control over which snippets are available to use and/or extend within `_snippets`.",
2451
+ "markdownDescription": "Provides control over which snippets are available to use and/or extend within `_snippets`."
2452
+ },
2453
+ "_snippets_templates": {
2454
+ "additionalProperties": {
2455
+ "$ref": "#/definitions/SnippetConfig"
2456
+ },
3130
2457
  "description": "Extended option used when creating more complex custom snippets.",
3131
2458
  "markdownDescription": "Extended option used when creating more complex custom snippets.",
3132
2459
  "type": "object"
@@ -5463,27 +4790,28 @@
5463
4790
  "type": "string"
5464
4791
  },
5465
4792
  "sizes": {
5466
- "additionalProperties": false,
5467
4793
  "description": "Definitions for creating additional images of different sizes when uploading or selecting existing files.",
5468
- "markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
5469
- "properties": {
5470
- "size": {
5471
- "const": "string",
5472
- "description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).",
5473
- "markdownDescription": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of\nthe image (e.g. 2x, 3x, 100w, 360w).",
5474
- "type": "string"
4794
+ "items": {
4795
+ "additionalProperties": false,
4796
+ "properties": {
4797
+ "size": {
4798
+ "description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).",
4799
+ "markdownDescription": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of\nthe image (e.g. 2x, 3x, 100w, 360w).",
4800
+ "type": "string"
4801
+ },
4802
+ "target": {
4803
+ "description": "A reference to another input that is given the path to this additional image file.",
4804
+ "markdownDescription": "A reference to another input that is given the path to this additional image file.",
4805
+ "type": "string"
4806
+ }
5475
4807
  },
5476
- "target": {
5477
- "const": "string",
5478
- "description": "A reference to another input that is given the path to this additional image file.",
5479
- "markdownDescription": "A reference to another input that is given the path to this additional image file.",
5480
- "type": "string"
5481
- }
4808
+ "required": [
4809
+ "size"
4810
+ ],
4811
+ "type": "object"
5482
4812
  },
5483
- "required": [
5484
- "size"
5485
- ],
5486
- "type": "object"
4813
+ "markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
4814
+ "type": "array"
5487
4815
  },
5488
4816
  "width": {
5489
4817
  "description": "Defines the width of the bounding box used in the image resizing process defined with resize_style.",
@@ -5566,8 +4894,6 @@
5566
4894
  },
5567
4895
  "type": {
5568
4896
  "const": "image",
5569
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
5570
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
5571
4897
  "type": "string"
5572
4898
  }
5573
4899
  },
@@ -5664,27 +4990,28 @@
5664
4990
  "type": "string"
5665
4991
  },
5666
4992
  "sizes": {
5667
- "additionalProperties": false,
5668
4993
  "description": "Definitions for creating additional images of different sizes when uploading or selecting existing files.",
5669
- "markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
5670
- "properties": {
5671
- "size": {
5672
- "const": "string",
5673
- "description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).",
5674
- "markdownDescription": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of\nthe image (e.g. 2x, 3x, 100w, 360w).",
5675
- "type": "string"
4994
+ "items": {
4995
+ "additionalProperties": false,
4996
+ "properties": {
4997
+ "size": {
4998
+ "description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).",
4999
+ "markdownDescription": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of\nthe image (e.g. 2x, 3x, 100w, 360w).",
5000
+ "type": "string"
5001
+ },
5002
+ "target": {
5003
+ "description": "A reference to another input that is given the path to this additional image file.",
5004
+ "markdownDescription": "A reference to another input that is given the path to this additional image file.",
5005
+ "type": "string"
5006
+ }
5676
5007
  },
5677
- "target": {
5678
- "const": "string",
5679
- "description": "A reference to another input that is given the path to this additional image file.",
5680
- "markdownDescription": "A reference to another input that is given the path to this additional image file.",
5681
- "type": "string"
5682
- }
5008
+ "required": [
5009
+ "size"
5010
+ ],
5011
+ "type": "object"
5683
5012
  },
5684
- "required": [
5685
- "size"
5686
- ],
5687
- "type": "object"
5013
+ "markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
5014
+ "type": "array"
5688
5015
  },
5689
5016
  "width": {
5690
5017
  "description": "Defines the width of the bounding box used in the image resizing process defined with resize_style.",
@@ -5699,6 +5026,9 @@
5699
5026
  {
5700
5027
  "$ref": "#/definitions/BaseInput"
5701
5028
  },
5029
+ {
5030
+ "$ref": "#/definitions/UnknownInput"
5031
+ },
5702
5032
  {
5703
5033
  "$ref": "#/definitions/TextInput"
5704
5034
  },
@@ -5848,82 +5178,7 @@
5848
5178
  },
5849
5179
  "_snippets": {
5850
5180
  "additionalProperties": {
5851
- "additionalProperties": false,
5852
- "properties": {
5853
- "_inputs": {
5854
- "additionalProperties": {
5855
- "$ref": "#/definitions/Input"
5856
- },
5857
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
5858
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
5859
- "type": "object"
5860
- },
5861
- "_select_data": {
5862
- "additionalProperties": {
5863
- "$ref": "#/definitions/SelectValues"
5864
- },
5865
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
5866
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
5867
- "type": "object"
5868
- },
5869
- "_structures": {
5870
- "additionalProperties": {
5871
- "$ref": "#/definitions/Structure"
5872
- },
5873
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
5874
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
5875
- "type": "object"
5876
- },
5877
- "alternate_formats": {
5878
- "description": "Alternate configurations for this snippet.",
5879
- "items": {
5880
- "$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
5881
- },
5882
- "markdownDescription": "Alternate configurations for this snippet.",
5883
- "type": "array"
5884
- },
5885
- "definitions": {
5886
- "description": "The variables required for the selected template.",
5887
- "markdownDescription": "The variables required for the selected template.",
5888
- "type": "object"
5889
- },
5890
- "inline": {
5891
- "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
5892
- "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
5893
- "type": "boolean"
5894
- },
5895
- "params": {
5896
- "description": "The parameters of this snippet.",
5897
- "markdownDescription": "The parameters of this snippet.",
5898
- "type": "object"
5899
- },
5900
- "picker_preview": {
5901
- "$ref": "#/definitions/Preview",
5902
- "description": "Changes the way items are previewed in the CMS while being chosen.",
5903
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
5904
- },
5905
- "preview": {
5906
- "$ref": "#/definitions/Preview",
5907
- "description": "Changes the way items are previewed in the CMS.",
5908
- "markdownDescription": "Changes the way items are previewed in the CMS."
5909
- },
5910
- "snippet": {
5911
- "description": "Name of the snippet.",
5912
- "markdownDescription": "Name of the snippet.",
5913
- "type": "string"
5914
- },
5915
- "strict_whitespace": {
5916
- "description": "Whether this snippet treats whitespace as-is or not.",
5917
- "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
5918
- "type": "boolean"
5919
- },
5920
- "template": {
5921
- "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
5922
- "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
5923
- "type": "string"
5924
- }
5925
- },
5926
- "type": "object"
5181
+ "$ref": "#/definitions/SnippetConfig"
5927
5182
  },
5928
5183
  "description": "Configuration for custom snippets.",
5929
5184
  "markdownDescription": "Configuration for custom snippets.",
@@ -5931,82 +5186,7 @@
5931
5186
  },
5932
5187
  "_snippets_definitions": {
5933
5188
  "additionalProperties": {
5934
- "additionalProperties": false,
5935
- "properties": {
5936
- "_inputs": {
5937
- "additionalProperties": {
5938
- "$ref": "#/definitions/Input"
5939
- },
5940
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
5941
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
5942
- "type": "object"
5943
- },
5944
- "_select_data": {
5945
- "additionalProperties": {
5946
- "$ref": "#/definitions/SelectValues"
5947
- },
5948
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
5949
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
5950
- "type": "object"
5951
- },
5952
- "_structures": {
5953
- "additionalProperties": {
5954
- "$ref": "#/definitions/Structure"
5955
- },
5956
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
5957
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
5958
- "type": "object"
5959
- },
5960
- "alternate_formats": {
5961
- "description": "Alternate configurations for this snippet.",
5962
- "items": {
5963
- "$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
5964
- },
5965
- "markdownDescription": "Alternate configurations for this snippet.",
5966
- "type": "array"
5967
- },
5968
- "definitions": {
5969
- "description": "The variables required for the selected template.",
5970
- "markdownDescription": "The variables required for the selected template.",
5971
- "type": "object"
5972
- },
5973
- "inline": {
5974
- "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
5975
- "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
5976
- "type": "boolean"
5977
- },
5978
- "params": {
5979
- "description": "The parameters of this snippet.",
5980
- "markdownDescription": "The parameters of this snippet.",
5981
- "type": "object"
5982
- },
5983
- "picker_preview": {
5984
- "$ref": "#/definitions/Preview",
5985
- "description": "Changes the way items are previewed in the CMS while being chosen.",
5986
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
5987
- },
5988
- "preview": {
5989
- "$ref": "#/definitions/Preview",
5990
- "description": "Changes the way items are previewed in the CMS.",
5991
- "markdownDescription": "Changes the way items are previewed in the CMS."
5992
- },
5993
- "snippet": {
5994
- "description": "Name of the snippet.",
5995
- "markdownDescription": "Name of the snippet.",
5996
- "type": "string"
5997
- },
5998
- "strict_whitespace": {
5999
- "description": "Whether this snippet treats whitespace as-is or not.",
6000
- "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
6001
- "type": "boolean"
6002
- },
6003
- "template": {
6004
- "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
6005
- "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
6006
- "type": "string"
6007
- }
6008
- },
6009
- "type": "object"
5189
+ "$ref": "#/definitions/SnippetConfig"
6010
5190
  },
6011
5191
  "description": "Extended option used when creating more complex custom snippets.",
6012
5192
  "markdownDescription": "Extended option used when creating more complex custom snippets.",
@@ -6019,82 +5199,7 @@
6019
5199
  },
6020
5200
  "_snippets_templates": {
6021
5201
  "additionalProperties": {
6022
- "additionalProperties": false,
6023
- "properties": {
6024
- "_inputs": {
6025
- "additionalProperties": {
6026
- "$ref": "#/definitions/Input"
6027
- },
6028
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
6029
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
6030
- "type": "object"
6031
- },
6032
- "_select_data": {
6033
- "additionalProperties": {
6034
- "$ref": "#/definitions/SelectValues"
6035
- },
6036
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
6037
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
6038
- "type": "object"
6039
- },
6040
- "_structures": {
6041
- "additionalProperties": {
6042
- "$ref": "#/definitions/Structure"
6043
- },
6044
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
6045
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
6046
- "type": "object"
6047
- },
6048
- "alternate_formats": {
6049
- "description": "Alternate configurations for this snippet.",
6050
- "items": {
6051
- "$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
6052
- },
6053
- "markdownDescription": "Alternate configurations for this snippet.",
6054
- "type": "array"
6055
- },
6056
- "definitions": {
6057
- "description": "The variables required for the selected template.",
6058
- "markdownDescription": "The variables required for the selected template.",
6059
- "type": "object"
6060
- },
6061
- "inline": {
6062
- "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
6063
- "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
6064
- "type": "boolean"
6065
- },
6066
- "params": {
6067
- "description": "The parameters of this snippet.",
6068
- "markdownDescription": "The parameters of this snippet.",
6069
- "type": "object"
6070
- },
6071
- "picker_preview": {
6072
- "$ref": "#/definitions/Preview",
6073
- "description": "Changes the way items are previewed in the CMS while being chosen.",
6074
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
6075
- },
6076
- "preview": {
6077
- "$ref": "#/definitions/Preview",
6078
- "description": "Changes the way items are previewed in the CMS.",
6079
- "markdownDescription": "Changes the way items are previewed in the CMS."
6080
- },
6081
- "snippet": {
6082
- "description": "Name of the snippet.",
6083
- "markdownDescription": "Name of the snippet.",
6084
- "type": "string"
6085
- },
6086
- "strict_whitespace": {
6087
- "description": "Whether this snippet treats whitespace as-is or not.",
6088
- "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
6089
- "type": "boolean"
6090
- },
6091
- "template": {
6092
- "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
6093
- "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
6094
- "type": "string"
6095
- }
6096
- },
6097
- "type": "object"
5202
+ "$ref": "#/definitions/SnippetConfig"
6098
5203
  },
6099
5204
  "description": "Extended option used when creating more complex custom snippets.",
6100
5205
  "markdownDescription": "Extended option used when creating more complex custom snippets.",
@@ -6938,8 +6043,6 @@
6938
6043
  },
6939
6044
  "type": {
6940
6045
  "const": "multichoice",
6941
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
6942
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
6943
6046
  "type": "string"
6944
6047
  }
6945
6048
  },
@@ -7053,8 +6156,6 @@
7053
6156
  },
7054
6157
  "type": {
7055
6158
  "const": "multiselect",
7056
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
7057
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
7058
6159
  "type": "string"
7059
6160
  }
7060
6161
  },
@@ -7169,8 +6270,6 @@
7169
6270
  },
7170
6271
  "type": {
7171
6272
  "const": "number",
7172
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
7173
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
7174
6273
  "type": "string"
7175
6274
  }
7176
6275
  },
@@ -7278,8 +6377,6 @@
7278
6377
  },
7279
6378
  "type": {
7280
6379
  "const": "object",
7281
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
7282
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
7283
6380
  "type": "string"
7284
6381
  }
7285
6382
  },
@@ -7288,9 +6385,38 @@
7288
6385
  ],
7289
6386
  "type": "object"
7290
6387
  },
6388
+ "ObjectInputGroup": {
6389
+ "additionalProperties": false,
6390
+ "properties": {
6391
+ "collapsed": {
6392
+ "type": "boolean"
6393
+ },
6394
+ "comment": {
6395
+ "type": "string"
6396
+ },
6397
+ "documentation": {
6398
+ "$ref": "#/definitions/Documentation"
6399
+ },
6400
+ "heading": {
6401
+ "type": "string"
6402
+ },
6403
+ "inputs": {
6404
+ "items": {
6405
+ "type": "string"
6406
+ },
6407
+ "type": "array"
6408
+ }
6409
+ },
6410
+ "type": "object"
6411
+ },
7291
6412
  "ObjectInputOptions": {
7292
6413
  "additionalProperties": false,
7293
6414
  "properties": {
6415
+ "allow_label_formatting": {
6416
+ "description": "Controls whether or not labels on mutable object entries are formatted.",
6417
+ "markdownDescription": "Controls whether or not labels on mutable object entries are formatted.",
6418
+ "type": "boolean"
6419
+ },
7294
6420
  "empty_type": {
7295
6421
  "$ref": "#/definitions/EmptyTypeObject",
7296
6422
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
@@ -7335,6 +6461,19 @@
7335
6461
  },
7336
6462
  "type": "object"
7337
6463
  },
6464
+ "groups": {
6465
+ "description": "Allows you to group the inputs inside this object together without changing the data structure.",
6466
+ "items": {
6467
+ "$ref": "#/definitions/ObjectInputGroup"
6468
+ },
6469
+ "markdownDescription": "Allows you to group the inputs inside this object together without changing the data structure.",
6470
+ "type": "array"
6471
+ },
6472
+ "place_groups_below": {
6473
+ "description": "Controls which order input groups and ungrouped inputs appear in.",
6474
+ "markdownDescription": "Controls which order input groups and ungrouped inputs appear in.",
6475
+ "type": "boolean"
6476
+ },
7338
6477
  "preview": {
7339
6478
  "$ref": "#/definitions/ObjectPreview",
7340
6479
  "description": "The preview definition for changing the way data within an object input is previewed before being expanded. If the input has `structures`, the preview from the structure value is used instead.",
@@ -7582,6 +6721,11 @@
7582
6721
  "description": "Filename template for newly uploaded site files.",
7583
6722
  "markdownDescription": "Filename template for newly uploaded site files.",
7584
6723
  "type": "string"
6724
+ },
6725
+ "uploads_use_relative_path": {
6726
+ "description": "When set to true, CloudCannon will reference files relative to the path of the file they were uploaded to.",
6727
+ "markdownDescription": "When set to true, CloudCannon will reference files relative to the path of the file they were uploaded to.",
6728
+ "type": "boolean"
7585
6729
  }
7586
6730
  },
7587
6731
  "type": "object"
@@ -8106,8 +7250,6 @@
8106
7250
  },
8107
7251
  "type": {
8108
7252
  "const": "range",
8109
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
8110
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
8111
7253
  "type": "string"
8112
7254
  }
8113
7255
  },
@@ -8182,6 +7324,11 @@
8182
7324
  "description": "Filename template for newly uploaded site files.",
8183
7325
  "markdownDescription": "Filename template for newly uploaded site files.",
8184
7326
  "type": "string"
7327
+ },
7328
+ "uploads_use_relative_path": {
7329
+ "description": "When set to true, CloudCannon will reference files relative to the path of the file they were uploaded to.",
7330
+ "markdownDescription": "When set to true, CloudCannon will reference files relative to the path of the file they were uploaded to.",
7331
+ "type": "boolean"
8185
7332
  }
8186
7333
  },
8187
7334
  "type": "object"
@@ -8258,12 +7405,10 @@
8258
7405
  "markdownDescription": "Options that are specific to this `type` of input."
8259
7406
  },
8260
7407
  "type": {
8261
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
8262
7408
  "enum": [
8263
7409
  "html",
8264
7410
  "markdown"
8265
7411
  ],
8266
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
8267
7412
  "type": "string"
8268
7413
  }
8269
7414
  },
@@ -8464,27 +7609,28 @@
8464
7609
  "type": "string"
8465
7610
  },
8466
7611
  "sizes": {
8467
- "additionalProperties": false,
8468
7612
  "description": "Definitions for creating additional images of different sizes when uploading or selecting existing files.",
8469
- "markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
8470
- "properties": {
8471
- "size": {
8472
- "const": "string",
8473
- "description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).",
8474
- "markdownDescription": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of\nthe image (e.g. 2x, 3x, 100w, 360w).",
8475
- "type": "string"
7613
+ "items": {
7614
+ "additionalProperties": false,
7615
+ "properties": {
7616
+ "size": {
7617
+ "description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).",
7618
+ "markdownDescription": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of\nthe image (e.g. 2x, 3x, 100w, 360w).",
7619
+ "type": "string"
7620
+ },
7621
+ "target": {
7622
+ "description": "A reference to another input that is given the path to this additional image file.",
7623
+ "markdownDescription": "A reference to another input that is given the path to this additional image file.",
7624
+ "type": "string"
7625
+ }
8476
7626
  },
8477
- "target": {
8478
- "const": "string",
8479
- "description": "A reference to another input that is given the path to this additional image file.",
8480
- "markdownDescription": "A reference to another input that is given the path to this additional image file.",
8481
- "type": "string"
8482
- }
7627
+ "required": [
7628
+ "size"
7629
+ ],
7630
+ "type": "object"
8483
7631
  },
8484
- "required": [
8485
- "size"
8486
- ],
8487
- "type": "object"
7632
+ "markdownDescription": "Definitions for creating additional images of different sizes when uploading or selecting\nexisting files.",
7633
+ "type": "array"
8488
7634
  },
8489
7635
  "snippet": {
8490
7636
  "description": "Enables a control to insert snippets, if any are available.",
@@ -8731,8 +7877,6 @@
8731
7877
  },
8732
7878
  "type": {
8733
7879
  "const": "select",
8734
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
8735
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
8736
7880
  "type": "string"
8737
7881
  }
8738
7882
  },
@@ -8883,6 +8027,84 @@
8883
8027
  }
8884
8028
  ]
8885
8029
  },
8030
+ "SnippetConfig": {
8031
+ "additionalProperties": false,
8032
+ "properties": {
8033
+ "_inputs": {
8034
+ "additionalProperties": {
8035
+ "$ref": "#/definitions/Input"
8036
+ },
8037
+ "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
8038
+ "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
8039
+ "type": "object"
8040
+ },
8041
+ "_select_data": {
8042
+ "additionalProperties": {
8043
+ "$ref": "#/definitions/SelectValues"
8044
+ },
8045
+ "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
8046
+ "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
8047
+ "type": "object"
8048
+ },
8049
+ "_structures": {
8050
+ "additionalProperties": {
8051
+ "$ref": "#/definitions/Structure"
8052
+ },
8053
+ "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
8054
+ "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
8055
+ "type": "object"
8056
+ },
8057
+ "alternate_formats": {
8058
+ "description": "Alternate configurations for this snippet.",
8059
+ "items": {
8060
+ "$ref": "#/definitions/SnippetConfig"
8061
+ },
8062
+ "markdownDescription": "Alternate configurations for this snippet.",
8063
+ "type": "array"
8064
+ },
8065
+ "definitions": {
8066
+ "description": "The variables required for the selected template.",
8067
+ "markdownDescription": "The variables required for the selected template.",
8068
+ "type": "object"
8069
+ },
8070
+ "inline": {
8071
+ "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
8072
+ "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
8073
+ "type": "boolean"
8074
+ },
8075
+ "params": {
8076
+ "description": "The parameters of this snippet.",
8077
+ "markdownDescription": "The parameters of this snippet.",
8078
+ "type": "object"
8079
+ },
8080
+ "picker_preview": {
8081
+ "$ref": "#/definitions/Preview",
8082
+ "description": "Changes the way items are previewed in the CMS while being chosen.",
8083
+ "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
8084
+ },
8085
+ "preview": {
8086
+ "$ref": "#/definitions/Preview",
8087
+ "description": "Changes the way items are previewed in the CMS.",
8088
+ "markdownDescription": "Changes the way items are previewed in the CMS."
8089
+ },
8090
+ "snippet": {
8091
+ "description": "Name of the snippet.",
8092
+ "markdownDescription": "Name of the snippet.",
8093
+ "type": "string"
8094
+ },
8095
+ "strict_whitespace": {
8096
+ "description": "Whether this snippet treats whitespace as-is or not.",
8097
+ "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
8098
+ "type": "boolean"
8099
+ },
8100
+ "template": {
8101
+ "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
8102
+ "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
8103
+ "type": "string"
8104
+ }
8105
+ },
8106
+ "type": "object"
8107
+ },
8886
8108
  "SnippetsImports": {
8887
8109
  "additionalProperties": false,
8888
8110
  "properties": {
@@ -9867,7 +9089,6 @@
9867
9089
  "markdownDescription": "Options that are specific to this `type` of input."
9868
9090
  },
9869
9091
  "type": {
9870
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
9871
9092
  "enum": [
9872
9093
  "text",
9873
9094
  "email",
@@ -9878,7 +9099,6 @@
9878
9099
  "github",
9879
9100
  "instagram"
9880
9101
  ],
9881
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
9882
9102
  "type": "string"
9883
9103
  }
9884
9104
  },
@@ -10503,6 +9723,83 @@
10503
9723
  ],
10504
9724
  "type": "string"
10505
9725
  },
9726
+ "UnknownInput": {
9727
+ "additionalProperties": false,
9728
+ "properties": {
9729
+ "cascade": {
9730
+ "default": true,
9731
+ "description": "Specifies whether or not this input configuration should be merged with any matching, less specific configuration.",
9732
+ "markdownDescription": "Specifies whether or not this input configuration should be merged with any matching, less\nspecific configuration.",
9733
+ "type": "boolean"
9734
+ },
9735
+ "comment": {
9736
+ "description": "Changes the subtext below the _Label_. Has no default. Supports a limited set of Markdown: links, bold, italic, subscript, superscript, and inline code elements are allowed.",
9737
+ "markdownDescription": "Changes the subtext below the _Label_. Has no default. Supports a limited set of Markdown:\nlinks, bold, italic, subscript, superscript, and inline code elements are allowed.",
9738
+ "type": "string"
9739
+ },
9740
+ "context": {
9741
+ "additionalProperties": false,
9742
+ "description": "Adds an expandable section of rich text below the input.",
9743
+ "markdownDescription": "Adds an expandable section of rich text below the input.",
9744
+ "properties": {
9745
+ "content": {
9746
+ "description": "The rich text content shown when opened. Supports a limited set of Markdown.",
9747
+ "markdownDescription": "The rich text content shown when opened. Supports a limited set of Markdown.",
9748
+ "type": "string"
9749
+ },
9750
+ "icon": {
9751
+ "$ref": "#/definitions/Icon",
9752
+ "description": "The icon shown when not open.",
9753
+ "markdownDescription": "The icon shown when not open."
9754
+ },
9755
+ "open": {
9756
+ "description": "Makes the content visible initially.",
9757
+ "markdownDescription": "Makes the content visible initially.",
9758
+ "type": "boolean"
9759
+ },
9760
+ "title": {
9761
+ "description": "The text shown when not open. Defaults to \"Context\" if unset.",
9762
+ "markdownDescription": "The text shown when not open. Defaults to \"Context\" if unset.",
9763
+ "type": "string"
9764
+ }
9765
+ },
9766
+ "type": "object"
9767
+ },
9768
+ "documentation": {
9769
+ "$ref": "#/definitions/Documentation",
9770
+ "description": "Provides a custom link for documentation for editors shown above input.",
9771
+ "markdownDescription": "Provides a custom link for documentation for editors shown above input."
9772
+ },
9773
+ "hidden": {
9774
+ "default": false,
9775
+ "description": "Toggles the visibility of this input.",
9776
+ "markdownDescription": "Toggles the visibility of this input.",
9777
+ "type": [
9778
+ "boolean",
9779
+ "string"
9780
+ ]
9781
+ },
9782
+ "instance_value": {
9783
+ "$ref": "#/definitions/InstanceValue",
9784
+ "description": "Controls if and how the value of this input is instantiated when created. This occurs when creating files, or adding array items containing the configured input.",
9785
+ "markdownDescription": "Controls if and how the value of this input is instantiated when created. This occurs when\ncreating files, or adding array items containing the configured input."
9786
+ },
9787
+ "label": {
9788
+ "description": "Optionally changes the text above this input.",
9789
+ "markdownDescription": "Optionally changes the text above this input.",
9790
+ "type": "string"
9791
+ },
9792
+ "options": {
9793
+ "$ref": "#/definitions/BaseInputOptions",
9794
+ "description": "Options that are specific to this `type` of input.",
9795
+ "markdownDescription": "Options that are specific to this `type` of input."
9796
+ },
9797
+ "type": {
9798
+ "type": "null"
9799
+ }
9800
+ },
9801
+ "type": "object"
9802
+ },
10506
9803
  "UrlInput": {
10507
9804
  "additionalProperties": false,
10508
9805
  "properties": {
@@ -10576,8 +9873,6 @@
10576
9873
  },
10577
9874
  "type": {
10578
9875
  "const": "range",
10579
- "description": "Controls the type of input, changing how it is displayed and interacted with.",
10580
- "markdownDescription": "Controls the type of input, changing how it is displayed and interacted with.",
10581
9876
  "type": "string"
10582
9877
  }
10583
9878
  },
@@ -10601,84 +9896,6 @@
10601
9896
  }
10602
9897
  },
10603
9898
  "type": "object"
10604
- },
10605
- "interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487": {
10606
- "additionalProperties": false,
10607
- "properties": {
10608
- "_inputs": {
10609
- "additionalProperties": {
10610
- "$ref": "#/definitions/Input"
10611
- },
10612
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
10613
- "markdownDescription": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
10614
- "type": "object"
10615
- },
10616
- "_select_data": {
10617
- "additionalProperties": {
10618
- "$ref": "#/definitions/SelectValues"
10619
- },
10620
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
10621
- "markdownDescription": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and\n_Multiselect_ inputs.",
10622
- "type": "object"
10623
- },
10624
- "_structures": {
10625
- "additionalProperties": {
10626
- "$ref": "#/definitions/Structure"
10627
- },
10628
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
10629
- "markdownDescription": "Structured values for editors adding new items to arrays and objects. Entries here can be\nreferenced in the configuration for `array` or `object` inputs.",
10630
- "type": "object"
10631
- },
10632
- "alternate_formats": {
10633
- "description": "Alternate configurations for this snippet.",
10634
- "items": {
10635
- "$ref": "#/definitions/interface-src_index.d.ts-483-1457-src_index.d.ts-0-47487"
10636
- },
10637
- "markdownDescription": "Alternate configurations for this snippet.",
10638
- "type": "array"
10639
- },
10640
- "definitions": {
10641
- "description": "The variables required for the selected template.",
10642
- "markdownDescription": "The variables required for the selected template.",
10643
- "type": "object"
10644
- },
10645
- "inline": {
10646
- "description": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat this snippet as a block-level element in the content editor.",
10647
- "markdownDescription": "Whether this snippet can appear inline (within a sentence). Defaults to false, which will treat\nthis snippet as a block-level element in the content editor.",
10648
- "type": "boolean"
10649
- },
10650
- "params": {
10651
- "description": "The parameters of this snippet.",
10652
- "markdownDescription": "The parameters of this snippet.",
10653
- "type": "object"
10654
- },
10655
- "picker_preview": {
10656
- "$ref": "#/definitions/Preview",
10657
- "description": "Changes the way items are previewed in the CMS while being chosen.",
10658
- "markdownDescription": "Changes the way items are previewed in the CMS while being chosen."
10659
- },
10660
- "preview": {
10661
- "$ref": "#/definitions/Preview",
10662
- "description": "Changes the way items are previewed in the CMS.",
10663
- "markdownDescription": "Changes the way items are previewed in the CMS."
10664
- },
10665
- "snippet": {
10666
- "description": "Name of the snippet.",
10667
- "markdownDescription": "Name of the snippet.",
10668
- "type": "string"
10669
- },
10670
- "strict_whitespace": {
10671
- "description": "Whether this snippet treats whitespace as-is or not.",
10672
- "markdownDescription": "Whether this snippet treats whitespace as-is or not.",
10673
- "type": "boolean"
10674
- },
10675
- "template": {
10676
- "description": "The template that this snippet should inherit, out of the available Shortcode Templates.",
10677
- "markdownDescription": "The template that this snippet should inherit, out of the available Shortcode Templates.",
10678
- "type": "string"
10679
- }
10680
- },
10681
- "type": "object"
10682
9899
  }
10683
9900
  }
10684
9901
  }