@hasna/switcher 0.2.17 → 0.2.19

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.
package/openapi.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
4
  "title": "Switcher API",
5
- "version": "0.2.17",
5
+ "version": "0.2.19",
6
6
  "description": "Authenticated provider/profile/catalog control plane. Launches run locally; the API never returns provider credentials."
7
7
  },
8
8
  "security": [
@@ -1313,6 +1313,7 @@
1313
1313
  }
1314
1314
  },
1315
1315
  "protocols": {
1316
+ "minItems": 1,
1316
1317
  "type": "array",
1317
1318
  "items": {
1318
1319
  "type": "object",
@@ -1342,12 +1343,12 @@
1342
1343
  "type": "object",
1343
1344
  "properties": {
1344
1345
  "method": {
1346
+ "default": "GET",
1345
1347
  "type": "string",
1346
1348
  "enum": [
1347
1349
  "GET",
1348
1350
  "HEAD"
1349
- ],
1350
- "default": "GET"
1351
+ ]
1351
1352
  },
1352
1353
  "path": {
1353
1354
  "type": "string",
@@ -1405,8 +1406,7 @@
1405
1406
  "notes"
1406
1407
  ],
1407
1408
  "additionalProperties": false
1408
- },
1409
- "minItems": 1
1409
+ }
1410
1410
  },
1411
1411
  "sources": {
1412
1412
  "type": "array",
@@ -1462,24 +1462,24 @@
1462
1462
  "pattern": "^SWITCHER_PROVIDER_[A-Z0-9_]+$"
1463
1463
  },
1464
1464
  "authStyle": {
1465
+ "default": "bearer",
1465
1466
  "type": "string",
1466
1467
  "enum": [
1467
1468
  "bearer",
1468
1469
  "x-api-key",
1469
1470
  "api-key"
1470
- ],
1471
- "default": "bearer"
1471
+ ]
1472
1472
  },
1473
1473
  "credentialCheck": {
1474
1474
  "type": "object",
1475
1475
  "properties": {
1476
1476
  "method": {
1477
+ "default": "GET",
1477
1478
  "type": "string",
1478
1479
  "enum": [
1479
1480
  "GET",
1480
1481
  "HEAD"
1481
- ],
1482
- "default": "GET"
1482
+ ]
1483
1483
  },
1484
1484
  "path": {
1485
1485
  "type": "string",
@@ -1528,12 +1528,14 @@
1528
1528
  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
1529
1529
  },
1530
1530
  "modelsPath": {
1531
+ "default": "models",
1531
1532
  "type": "string",
1532
- "pattern": "^[a-zA-Z0-9_/-]+$",
1533
1533
  "maxLength": 200,
1534
- "default": "models"
1534
+ "pattern": "^[a-zA-Z0-9_/-]+$"
1535
1535
  },
1536
1536
  "manualModels": {
1537
+ "default": [],
1538
+ "maxItems": 10000,
1537
1539
  "type": "array",
1538
1540
  "items": {
1539
1541
  "type": "object",
@@ -1561,39 +1563,42 @@
1561
1563
  },
1562
1564
  "contextWindow": {
1563
1565
  "type": "integer",
1566
+ "minimum": 0,
1564
1567
  "exclusiveMinimum": true,
1565
- "minimum": 0
1568
+ "maximum": 9007199254740991
1566
1569
  },
1567
1570
  "maxOutputTokens": {
1568
1571
  "type": "integer",
1572
+ "minimum": 0,
1569
1573
  "exclusiveMinimum": true,
1570
- "minimum": 0
1574
+ "maximum": 9007199254740991
1571
1575
  },
1572
1576
  "inputModalities": {
1577
+ "maxItems": 20,
1573
1578
  "type": "array",
1574
1579
  "items": {
1575
1580
  "type": "string",
1576
1581
  "maxLength": 50
1577
- },
1578
- "maxItems": 20
1582
+ }
1579
1583
  },
1580
1584
  "outputModalities": {
1585
+ "maxItems": 20,
1581
1586
  "type": "array",
1582
1587
  "items": {
1583
1588
  "type": "string",
1584
1589
  "maxLength": 50
1585
- },
1586
- "maxItems": 20
1590
+ }
1587
1591
  },
1588
1592
  "supportedParameters": {
1593
+ "maxItems": 100,
1589
1594
  "type": "array",
1590
1595
  "items": {
1591
1596
  "type": "string",
1592
1597
  "maxLength": 100
1593
- },
1594
- "maxItems": 100
1598
+ }
1595
1599
  },
1596
1600
  "reasoningEfforts": {
1601
+ "maxItems": 8,
1597
1602
  "type": "array",
1598
1603
  "items": {
1599
1604
  "type": "string",
@@ -1607,17 +1612,16 @@
1607
1612
  "max",
1608
1613
  "ultra"
1609
1614
  ]
1610
- },
1611
- "maxItems": 8
1615
+ }
1612
1616
  },
1613
1617
  "supportedGenerationMethods": {
1618
+ "maxItems": 100,
1614
1619
  "type": "array",
1615
1620
  "items": {
1616
1621
  "type": "string",
1617
1622
  "minLength": 1,
1618
1623
  "maxLength": 100
1619
- },
1620
- "maxItems": 100
1624
+ }
1621
1625
  }
1622
1626
  },
1623
1627
  "required": [
@@ -1625,11 +1629,10 @@
1625
1629
  "name"
1626
1630
  ],
1627
1631
  "additionalProperties": false
1628
- },
1629
- "maxItems": 10000,
1630
- "default": []
1632
+ }
1631
1633
  },
1632
1634
  "additionalModels": {
1635
+ "maxItems": 10000,
1633
1636
  "type": "array",
1634
1637
  "items": {
1635
1638
  "type": "object",
@@ -1657,39 +1660,42 @@
1657
1660
  },
1658
1661
  "contextWindow": {
1659
1662
  "type": "integer",
1663
+ "minimum": 0,
1660
1664
  "exclusiveMinimum": true,
1661
- "minimum": 0
1665
+ "maximum": 9007199254740991
1662
1666
  },
1663
1667
  "maxOutputTokens": {
1664
1668
  "type": "integer",
1669
+ "minimum": 0,
1665
1670
  "exclusiveMinimum": true,
1666
- "minimum": 0
1671
+ "maximum": 9007199254740991
1667
1672
  },
1668
1673
  "inputModalities": {
1674
+ "maxItems": 20,
1669
1675
  "type": "array",
1670
1676
  "items": {
1671
1677
  "type": "string",
1672
1678
  "maxLength": 50
1673
- },
1674
- "maxItems": 20
1679
+ }
1675
1680
  },
1676
1681
  "outputModalities": {
1682
+ "maxItems": 20,
1677
1683
  "type": "array",
1678
1684
  "items": {
1679
1685
  "type": "string",
1680
1686
  "maxLength": 50
1681
- },
1682
- "maxItems": 20
1687
+ }
1683
1688
  },
1684
1689
  "supportedParameters": {
1690
+ "maxItems": 100,
1685
1691
  "type": "array",
1686
1692
  "items": {
1687
1693
  "type": "string",
1688
1694
  "maxLength": 100
1689
- },
1690
- "maxItems": 100
1695
+ }
1691
1696
  },
1692
1697
  "reasoningEfforts": {
1698
+ "maxItems": 8,
1693
1699
  "type": "array",
1694
1700
  "items": {
1695
1701
  "type": "string",
@@ -1703,17 +1709,16 @@
1703
1709
  "max",
1704
1710
  "ultra"
1705
1711
  ]
1706
- },
1707
- "maxItems": 8
1712
+ }
1708
1713
  },
1709
1714
  "supportedGenerationMethods": {
1715
+ "maxItems": 100,
1710
1716
  "type": "array",
1711
1717
  "items": {
1712
1718
  "type": "string",
1713
1719
  "minLength": 1,
1714
1720
  "maxLength": 100
1715
- },
1716
- "maxItems": 100
1721
+ }
1717
1722
  }
1718
1723
  },
1719
1724
  "required": [
@@ -1721,8 +1726,7 @@
1721
1726
  "name"
1722
1727
  ],
1723
1728
  "additionalProperties": false
1724
- },
1725
- "maxItems": 10000
1729
+ }
1726
1730
  }
1727
1731
  },
1728
1732
  "required": [
@@ -1763,24 +1767,24 @@
1763
1767
  "pattern": "^SWITCHER_PROVIDER_[A-Z0-9_]+$"
1764
1768
  },
1765
1769
  "authStyle": {
1770
+ "default": "bearer",
1766
1771
  "type": "string",
1767
1772
  "enum": [
1768
1773
  "bearer",
1769
1774
  "x-api-key",
1770
1775
  "api-key"
1771
- ],
1772
- "default": "bearer"
1776
+ ]
1773
1777
  },
1774
1778
  "credentialCheck": {
1775
1779
  "type": "object",
1776
1780
  "properties": {
1777
1781
  "method": {
1782
+ "default": "GET",
1778
1783
  "type": "string",
1779
1784
  "enum": [
1780
1785
  "GET",
1781
1786
  "HEAD"
1782
- ],
1783
- "default": "GET"
1787
+ ]
1784
1788
  },
1785
1789
  "path": {
1786
1790
  "type": "string",
@@ -1829,12 +1833,14 @@
1829
1833
  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
1830
1834
  },
1831
1835
  "modelsPath": {
1836
+ "default": "models",
1832
1837
  "type": "string",
1833
- "pattern": "^[a-zA-Z0-9_/-]+$",
1834
1838
  "maxLength": 200,
1835
- "default": "models"
1839
+ "pattern": "^[a-zA-Z0-9_/-]+$"
1836
1840
  },
1837
1841
  "manualModels": {
1842
+ "default": [],
1843
+ "maxItems": 10000,
1838
1844
  "type": "array",
1839
1845
  "items": {
1840
1846
  "type": "object",
@@ -1862,39 +1868,42 @@
1862
1868
  },
1863
1869
  "contextWindow": {
1864
1870
  "type": "integer",
1871
+ "minimum": 0,
1865
1872
  "exclusiveMinimum": true,
1866
- "minimum": 0
1873
+ "maximum": 9007199254740991
1867
1874
  },
1868
1875
  "maxOutputTokens": {
1869
1876
  "type": "integer",
1877
+ "minimum": 0,
1870
1878
  "exclusiveMinimum": true,
1871
- "minimum": 0
1879
+ "maximum": 9007199254740991
1872
1880
  },
1873
1881
  "inputModalities": {
1882
+ "maxItems": 20,
1874
1883
  "type": "array",
1875
1884
  "items": {
1876
1885
  "type": "string",
1877
1886
  "maxLength": 50
1878
- },
1879
- "maxItems": 20
1887
+ }
1880
1888
  },
1881
1889
  "outputModalities": {
1890
+ "maxItems": 20,
1882
1891
  "type": "array",
1883
1892
  "items": {
1884
1893
  "type": "string",
1885
1894
  "maxLength": 50
1886
- },
1887
- "maxItems": 20
1895
+ }
1888
1896
  },
1889
1897
  "supportedParameters": {
1898
+ "maxItems": 100,
1890
1899
  "type": "array",
1891
1900
  "items": {
1892
1901
  "type": "string",
1893
1902
  "maxLength": 100
1894
- },
1895
- "maxItems": 100
1903
+ }
1896
1904
  },
1897
1905
  "reasoningEfforts": {
1906
+ "maxItems": 8,
1898
1907
  "type": "array",
1899
1908
  "items": {
1900
1909
  "type": "string",
@@ -1908,17 +1917,16 @@
1908
1917
  "max",
1909
1918
  "ultra"
1910
1919
  ]
1911
- },
1912
- "maxItems": 8
1920
+ }
1913
1921
  },
1914
1922
  "supportedGenerationMethods": {
1923
+ "maxItems": 100,
1915
1924
  "type": "array",
1916
1925
  "items": {
1917
1926
  "type": "string",
1918
1927
  "minLength": 1,
1919
1928
  "maxLength": 100
1920
- },
1921
- "maxItems": 100
1929
+ }
1922
1930
  }
1923
1931
  },
1924
1932
  "required": [
@@ -1926,11 +1934,10 @@
1926
1934
  "name"
1927
1935
  ],
1928
1936
  "additionalProperties": false
1929
- },
1930
- "maxItems": 10000,
1931
- "default": []
1937
+ }
1932
1938
  },
1933
1939
  "additionalModels": {
1940
+ "maxItems": 10000,
1934
1941
  "type": "array",
1935
1942
  "items": {
1936
1943
  "type": "object",
@@ -1958,39 +1965,42 @@
1958
1965
  },
1959
1966
  "contextWindow": {
1960
1967
  "type": "integer",
1968
+ "minimum": 0,
1961
1969
  "exclusiveMinimum": true,
1962
- "minimum": 0
1970
+ "maximum": 9007199254740991
1963
1971
  },
1964
1972
  "maxOutputTokens": {
1965
1973
  "type": "integer",
1974
+ "minimum": 0,
1966
1975
  "exclusiveMinimum": true,
1967
- "minimum": 0
1976
+ "maximum": 9007199254740991
1968
1977
  },
1969
1978
  "inputModalities": {
1979
+ "maxItems": 20,
1970
1980
  "type": "array",
1971
1981
  "items": {
1972
1982
  "type": "string",
1973
1983
  "maxLength": 50
1974
- },
1975
- "maxItems": 20
1984
+ }
1976
1985
  },
1977
1986
  "outputModalities": {
1987
+ "maxItems": 20,
1978
1988
  "type": "array",
1979
1989
  "items": {
1980
1990
  "type": "string",
1981
1991
  "maxLength": 50
1982
- },
1983
- "maxItems": 20
1992
+ }
1984
1993
  },
1985
1994
  "supportedParameters": {
1995
+ "maxItems": 100,
1986
1996
  "type": "array",
1987
1997
  "items": {
1988
1998
  "type": "string",
1989
1999
  "maxLength": 100
1990
- },
1991
- "maxItems": 100
2000
+ }
1992
2001
  },
1993
2002
  "reasoningEfforts": {
2003
+ "maxItems": 8,
1994
2004
  "type": "array",
1995
2005
  "items": {
1996
2006
  "type": "string",
@@ -2004,17 +2014,16 @@
2004
2014
  "max",
2005
2015
  "ultra"
2006
2016
  ]
2007
- },
2008
- "maxItems": 8
2017
+ }
2009
2018
  },
2010
2019
  "supportedGenerationMethods": {
2020
+ "maxItems": 100,
2011
2021
  "type": "array",
2012
2022
  "items": {
2013
2023
  "type": "string",
2014
2024
  "minLength": 1,
2015
2025
  "maxLength": 100
2016
- },
2017
- "maxItems": 100
2026
+ }
2018
2027
  }
2019
2028
  },
2020
2029
  "required": [
@@ -2022,13 +2031,13 @@
2022
2031
  "name"
2023
2032
  ],
2024
2033
  "additionalProperties": false
2025
- },
2026
- "maxItems": 10000
2034
+ }
2027
2035
  },
2028
2036
  "version": {
2029
2037
  "type": "integer",
2038
+ "minimum": 0,
2030
2039
  "exclusiveMinimum": true,
2031
- "minimum": 0
2040
+ "maximum": 9007199254740991
2032
2041
  },
2033
2042
  "updatedAt": {
2034
2043
  "type": "string"
@@ -2039,6 +2048,9 @@
2039
2048
  "name",
2040
2049
  "baseUrl",
2041
2050
  "protocol",
2051
+ "authStyle",
2052
+ "modelsPath",
2053
+ "manualModels",
2042
2054
  "version",
2043
2055
  "updatedAt"
2044
2056
  ],
@@ -2090,11 +2102,11 @@
2090
2102
  "type": "object",
2091
2103
  "properties": {
2092
2104
  "version": {
2105
+ "default": 1,
2093
2106
  "type": "number",
2094
2107
  "enum": [
2095
2108
  1
2096
- ],
2097
- "default": 1
2109
+ ]
2098
2110
  },
2099
2111
  "selection": {
2100
2112
  "type": "string",
@@ -2158,14 +2170,14 @@
2158
2170
  "additionalProperties": false
2159
2171
  },
2160
2172
  "allowedModels": {
2173
+ "maxItems": 500,
2161
2174
  "type": "array",
2162
2175
  "items": {
2163
2176
  "type": "string",
2164
2177
  "minLength": 1,
2165
2178
  "maxLength": 300,
2166
2179
  "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
2167
- },
2168
- "maxItems": 500
2180
+ }
2169
2181
  },
2170
2182
  "aliases": {
2171
2183
  "type": "object",
@@ -2179,14 +2191,14 @@
2179
2191
  "fallbacks": {
2180
2192
  "type": "object",
2181
2193
  "additionalProperties": {
2194
+ "maxItems": 20,
2182
2195
  "type": "array",
2183
2196
  "items": {
2184
2197
  "type": "string",
2185
2198
  "minLength": 1,
2186
2199
  "maxLength": 300,
2187
2200
  "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
2188
- },
2189
- "maxItems": 20
2201
+ }
2190
2202
  }
2191
2203
  }
2192
2204
  },
@@ -2248,11 +2260,11 @@
2248
2260
  "type": "object",
2249
2261
  "properties": {
2250
2262
  "version": {
2263
+ "default": 1,
2251
2264
  "type": "number",
2252
2265
  "enum": [
2253
2266
  1
2254
- ],
2255
- "default": 1
2267
+ ]
2256
2268
  },
2257
2269
  "selection": {
2258
2270
  "type": "string",
@@ -2316,14 +2328,14 @@
2316
2328
  "additionalProperties": false
2317
2329
  },
2318
2330
  "allowedModels": {
2331
+ "maxItems": 500,
2319
2332
  "type": "array",
2320
2333
  "items": {
2321
2334
  "type": "string",
2322
2335
  "minLength": 1,
2323
2336
  "maxLength": 300,
2324
2337
  "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
2325
- },
2326
- "maxItems": 500
2338
+ }
2327
2339
  },
2328
2340
  "aliases": {
2329
2341
  "type": "object",
@@ -2337,14 +2349,14 @@
2337
2349
  "fallbacks": {
2338
2350
  "type": "object",
2339
2351
  "additionalProperties": {
2352
+ "maxItems": 20,
2340
2353
  "type": "array",
2341
2354
  "items": {
2342
2355
  "type": "string",
2343
2356
  "minLength": 1,
2344
2357
  "maxLength": 300,
2345
2358
  "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
2346
- },
2347
- "maxItems": 20
2359
+ }
2348
2360
  }
2349
2361
  }
2350
2362
  },
@@ -2352,8 +2364,9 @@
2352
2364
  },
2353
2365
  "version": {
2354
2366
  "type": "integer",
2367
+ "minimum": 0,
2355
2368
  "exclusiveMinimum": true,
2356
- "minimum": 0
2369
+ "maximum": 9007199254740991
2357
2370
  },
2358
2371
  "updatedAt": {
2359
2372
  "type": "string"
@@ -2396,39 +2409,42 @@
2396
2409
  },
2397
2410
  "contextWindow": {
2398
2411
  "type": "integer",
2412
+ "minimum": 0,
2399
2413
  "exclusiveMinimum": true,
2400
- "minimum": 0
2414
+ "maximum": 9007199254740991
2401
2415
  },
2402
2416
  "maxOutputTokens": {
2403
2417
  "type": "integer",
2418
+ "minimum": 0,
2404
2419
  "exclusiveMinimum": true,
2405
- "minimum": 0
2420
+ "maximum": 9007199254740991
2406
2421
  },
2407
2422
  "inputModalities": {
2423
+ "maxItems": 20,
2408
2424
  "type": "array",
2409
2425
  "items": {
2410
2426
  "type": "string",
2411
2427
  "maxLength": 50
2412
- },
2413
- "maxItems": 20
2428
+ }
2414
2429
  },
2415
2430
  "outputModalities": {
2431
+ "maxItems": 20,
2416
2432
  "type": "array",
2417
2433
  "items": {
2418
2434
  "type": "string",
2419
2435
  "maxLength": 50
2420
- },
2421
- "maxItems": 20
2436
+ }
2422
2437
  },
2423
2438
  "supportedParameters": {
2439
+ "maxItems": 100,
2424
2440
  "type": "array",
2425
2441
  "items": {
2426
2442
  "type": "string",
2427
2443
  "maxLength": 100
2428
- },
2429
- "maxItems": 100
2444
+ }
2430
2445
  },
2431
2446
  "reasoningEfforts": {
2447
+ "maxItems": 8,
2432
2448
  "type": "array",
2433
2449
  "items": {
2434
2450
  "type": "string",
@@ -2442,17 +2458,16 @@
2442
2458
  "max",
2443
2459
  "ultra"
2444
2460
  ]
2445
- },
2446
- "maxItems": 8
2461
+ }
2447
2462
  },
2448
2463
  "supportedGenerationMethods": {
2464
+ "maxItems": 100,
2449
2465
  "type": "array",
2450
2466
  "items": {
2451
2467
  "type": "string",
2452
2468
  "minLength": 1,
2453
2469
  "maxLength": 100
2454
- },
2455
- "maxItems": 100
2470
+ }
2456
2471
  }
2457
2472
  },
2458
2473
  "required": [
@@ -2465,11 +2480,11 @@
2465
2480
  "type": "object",
2466
2481
  "properties": {
2467
2482
  "version": {
2483
+ "default": 1,
2468
2484
  "type": "number",
2469
2485
  "enum": [
2470
2486
  1
2471
- ],
2472
- "default": 1
2487
+ ]
2473
2488
  },
2474
2489
  "selection": {
2475
2490
  "type": "string",
@@ -2533,14 +2548,14 @@
2533
2548
  "additionalProperties": false
2534
2549
  },
2535
2550
  "allowedModels": {
2551
+ "maxItems": 500,
2536
2552
  "type": "array",
2537
2553
  "items": {
2538
2554
  "type": "string",
2539
2555
  "minLength": 1,
2540
2556
  "maxLength": 300,
2541
2557
  "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
2542
- },
2543
- "maxItems": 500
2558
+ }
2544
2559
  },
2545
2560
  "aliases": {
2546
2561
  "type": "object",
@@ -2554,14 +2569,14 @@
2554
2569
  "fallbacks": {
2555
2570
  "type": "object",
2556
2571
  "additionalProperties": {
2572
+ "maxItems": 20,
2557
2573
  "type": "array",
2558
2574
  "items": {
2559
2575
  "type": "string",
2560
2576
  "minLength": 1,
2561
2577
  "maxLength": 300,
2562
2578
  "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
2563
- },
2564
- "maxItems": 20
2579
+ }
2565
2580
  }
2566
2581
  }
2567
2582
  },
@@ -2572,7 +2587,8 @@
2572
2587
  "properties": {
2573
2588
  "at": {
2574
2589
  "type": "string",
2575
- "format": "date-time"
2590
+ "format": "date-time",
2591
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
2576
2592
  },
2577
2593
  "requestId": {
2578
2594
  "type": "string",
@@ -2681,39 +2697,42 @@
2681
2697
  },
2682
2698
  "contextWindow": {
2683
2699
  "type": "integer",
2700
+ "minimum": 0,
2684
2701
  "exclusiveMinimum": true,
2685
- "minimum": 0
2702
+ "maximum": 9007199254740991
2686
2703
  },
2687
2704
  "maxOutputTokens": {
2688
2705
  "type": "integer",
2706
+ "minimum": 0,
2689
2707
  "exclusiveMinimum": true,
2690
- "minimum": 0
2708
+ "maximum": 9007199254740991
2691
2709
  },
2692
2710
  "inputModalities": {
2711
+ "maxItems": 20,
2693
2712
  "type": "array",
2694
2713
  "items": {
2695
2714
  "type": "string",
2696
2715
  "maxLength": 50
2697
- },
2698
- "maxItems": 20
2716
+ }
2699
2717
  },
2700
2718
  "outputModalities": {
2719
+ "maxItems": 20,
2701
2720
  "type": "array",
2702
2721
  "items": {
2703
2722
  "type": "string",
2704
2723
  "maxLength": 50
2705
- },
2706
- "maxItems": 20
2724
+ }
2707
2725
  },
2708
2726
  "supportedParameters": {
2727
+ "maxItems": 100,
2709
2728
  "type": "array",
2710
2729
  "items": {
2711
2730
  "type": "string",
2712
2731
  "maxLength": 100
2713
- },
2714
- "maxItems": 100
2732
+ }
2715
2733
  },
2716
2734
  "reasoningEfforts": {
2735
+ "maxItems": 8,
2717
2736
  "type": "array",
2718
2737
  "items": {
2719
2738
  "type": "string",
@@ -2727,17 +2746,16 @@
2727
2746
  "max",
2728
2747
  "ultra"
2729
2748
  ]
2730
- },
2731
- "maxItems": 8
2749
+ }
2732
2750
  },
2733
2751
  "supportedGenerationMethods": {
2752
+ "maxItems": 100,
2734
2753
  "type": "array",
2735
2754
  "items": {
2736
2755
  "type": "string",
2737
2756
  "minLength": 1,
2738
2757
  "maxLength": 100
2739
- },
2740
- "maxItems": 100
2758
+ }
2741
2759
  },
2742
2760
  "codingEligible": {
2743
2761
  "type": "boolean"
@@ -2756,13 +2774,19 @@
2756
2774
  }
2757
2775
  },
2758
2776
  "total": {
2759
- "type": "integer"
2777
+ "type": "integer",
2778
+ "minimum": -9007199254740991,
2779
+ "maximum": 9007199254740991
2760
2780
  },
2761
2781
  "limit": {
2762
- "type": "integer"
2782
+ "type": "integer",
2783
+ "minimum": -9007199254740991,
2784
+ "maximum": 9007199254740991
2763
2785
  },
2764
2786
  "offset": {
2765
- "type": "integer"
2787
+ "type": "integer",
2788
+ "minimum": -9007199254740991,
2789
+ "maximum": 9007199254740991
2766
2790
  },
2767
2791
  "refreshedAt": {
2768
2792
  "type": "string"
@@ -2789,6 +2813,7 @@
2789
2813
  "type": "object",
2790
2814
  "properties": {
2791
2815
  "models": {
2816
+ "maxItems": 10000,
2792
2817
  "type": "array",
2793
2818
  "items": {
2794
2819
  "type": "object",
@@ -2816,39 +2841,42 @@
2816
2841
  },
2817
2842
  "contextWindow": {
2818
2843
  "type": "integer",
2844
+ "minimum": 0,
2819
2845
  "exclusiveMinimum": true,
2820
- "minimum": 0
2846
+ "maximum": 9007199254740991
2821
2847
  },
2822
2848
  "maxOutputTokens": {
2823
2849
  "type": "integer",
2850
+ "minimum": 0,
2824
2851
  "exclusiveMinimum": true,
2825
- "minimum": 0
2852
+ "maximum": 9007199254740991
2826
2853
  },
2827
2854
  "inputModalities": {
2855
+ "maxItems": 20,
2828
2856
  "type": "array",
2829
2857
  "items": {
2830
2858
  "type": "string",
2831
2859
  "maxLength": 50
2832
- },
2833
- "maxItems": 20
2860
+ }
2834
2861
  },
2835
2862
  "outputModalities": {
2863
+ "maxItems": 20,
2836
2864
  "type": "array",
2837
2865
  "items": {
2838
2866
  "type": "string",
2839
2867
  "maxLength": 50
2840
- },
2841
- "maxItems": 20
2868
+ }
2842
2869
  },
2843
2870
  "supportedParameters": {
2871
+ "maxItems": 100,
2844
2872
  "type": "array",
2845
2873
  "items": {
2846
2874
  "type": "string",
2847
2875
  "maxLength": 100
2848
- },
2849
- "maxItems": 100
2876
+ }
2850
2877
  },
2851
2878
  "reasoningEfforts": {
2879
+ "maxItems": 8,
2852
2880
  "type": "array",
2853
2881
  "items": {
2854
2882
  "type": "string",
@@ -2862,17 +2890,16 @@
2862
2890
  "max",
2863
2891
  "ultra"
2864
2892
  ]
2865
- },
2866
- "maxItems": 8
2893
+ }
2867
2894
  },
2868
2895
  "supportedGenerationMethods": {
2896
+ "maxItems": 100,
2869
2897
  "type": "array",
2870
2898
  "items": {
2871
2899
  "type": "string",
2872
2900
  "minLength": 1,
2873
2901
  "maxLength": 100
2874
- },
2875
- "maxItems": 100
2902
+ }
2876
2903
  }
2877
2904
  },
2878
2905
  "required": [
@@ -2880,12 +2907,12 @@
2880
2907
  "name"
2881
2908
  ],
2882
2909
  "additionalProperties": false
2883
- },
2884
- "maxItems": 10000
2910
+ }
2885
2911
  },
2886
2912
  "refreshedAt": {
2887
2913
  "type": "string",
2888
- "format": "date-time"
2914
+ "format": "date-time",
2915
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
2889
2916
  },
2890
2917
  "source": {
2891
2918
  "type": "string",
@@ -2935,24 +2962,24 @@
2935
2962
  "pattern": "^SWITCHER_PROVIDER_[A-Z0-9_]+$"
2936
2963
  },
2937
2964
  "authStyle": {
2965
+ "default": "bearer",
2938
2966
  "type": "string",
2939
2967
  "enum": [
2940
2968
  "bearer",
2941
2969
  "x-api-key",
2942
2970
  "api-key"
2943
- ],
2944
- "default": "bearer"
2971
+ ]
2945
2972
  },
2946
2973
  "credentialCheck": {
2947
2974
  "type": "object",
2948
2975
  "properties": {
2949
2976
  "method": {
2977
+ "default": "GET",
2950
2978
  "type": "string",
2951
2979
  "enum": [
2952
2980
  "GET",
2953
2981
  "HEAD"
2954
- ],
2955
- "default": "GET"
2982
+ ]
2956
2983
  },
2957
2984
  "path": {
2958
2985
  "type": "string",
@@ -3001,12 +3028,14 @@
3001
3028
  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
3002
3029
  },
3003
3030
  "modelsPath": {
3031
+ "default": "models",
3004
3032
  "type": "string",
3005
- "pattern": "^[a-zA-Z0-9_/-]+$",
3006
3033
  "maxLength": 200,
3007
- "default": "models"
3034
+ "pattern": "^[a-zA-Z0-9_/-]+$"
3008
3035
  },
3009
3036
  "manualModels": {
3037
+ "default": [],
3038
+ "maxItems": 10000,
3010
3039
  "type": "array",
3011
3040
  "items": {
3012
3041
  "type": "object",
@@ -3034,39 +3063,42 @@
3034
3063
  },
3035
3064
  "contextWindow": {
3036
3065
  "type": "integer",
3066
+ "minimum": 0,
3037
3067
  "exclusiveMinimum": true,
3038
- "minimum": 0
3068
+ "maximum": 9007199254740991
3039
3069
  },
3040
3070
  "maxOutputTokens": {
3041
3071
  "type": "integer",
3072
+ "minimum": 0,
3042
3073
  "exclusiveMinimum": true,
3043
- "minimum": 0
3074
+ "maximum": 9007199254740991
3044
3075
  },
3045
3076
  "inputModalities": {
3077
+ "maxItems": 20,
3046
3078
  "type": "array",
3047
3079
  "items": {
3048
3080
  "type": "string",
3049
3081
  "maxLength": 50
3050
- },
3051
- "maxItems": 20
3082
+ }
3052
3083
  },
3053
3084
  "outputModalities": {
3085
+ "maxItems": 20,
3054
3086
  "type": "array",
3055
3087
  "items": {
3056
3088
  "type": "string",
3057
3089
  "maxLength": 50
3058
- },
3059
- "maxItems": 20
3090
+ }
3060
3091
  },
3061
3092
  "supportedParameters": {
3093
+ "maxItems": 100,
3062
3094
  "type": "array",
3063
3095
  "items": {
3064
3096
  "type": "string",
3065
3097
  "maxLength": 100
3066
- },
3067
- "maxItems": 100
3098
+ }
3068
3099
  },
3069
3100
  "reasoningEfforts": {
3101
+ "maxItems": 8,
3070
3102
  "type": "array",
3071
3103
  "items": {
3072
3104
  "type": "string",
@@ -3080,17 +3112,16 @@
3080
3112
  "max",
3081
3113
  "ultra"
3082
3114
  ]
3083
- },
3084
- "maxItems": 8
3115
+ }
3085
3116
  },
3086
3117
  "supportedGenerationMethods": {
3118
+ "maxItems": 100,
3087
3119
  "type": "array",
3088
3120
  "items": {
3089
3121
  "type": "string",
3090
3122
  "minLength": 1,
3091
3123
  "maxLength": 100
3092
- },
3093
- "maxItems": 100
3124
+ }
3094
3125
  }
3095
3126
  },
3096
3127
  "required": [
@@ -3098,11 +3129,10 @@
3098
3129
  "name"
3099
3130
  ],
3100
3131
  "additionalProperties": false
3101
- },
3102
- "maxItems": 10000,
3103
- "default": []
3132
+ }
3104
3133
  },
3105
3134
  "additionalModels": {
3135
+ "maxItems": 10000,
3106
3136
  "type": "array",
3107
3137
  "items": {
3108
3138
  "type": "object",
@@ -3130,39 +3160,42 @@
3130
3160
  },
3131
3161
  "contextWindow": {
3132
3162
  "type": "integer",
3163
+ "minimum": 0,
3133
3164
  "exclusiveMinimum": true,
3134
- "minimum": 0
3165
+ "maximum": 9007199254740991
3135
3166
  },
3136
3167
  "maxOutputTokens": {
3137
3168
  "type": "integer",
3169
+ "minimum": 0,
3138
3170
  "exclusiveMinimum": true,
3139
- "minimum": 0
3171
+ "maximum": 9007199254740991
3140
3172
  },
3141
3173
  "inputModalities": {
3174
+ "maxItems": 20,
3142
3175
  "type": "array",
3143
3176
  "items": {
3144
3177
  "type": "string",
3145
3178
  "maxLength": 50
3146
- },
3147
- "maxItems": 20
3179
+ }
3148
3180
  },
3149
3181
  "outputModalities": {
3182
+ "maxItems": 20,
3150
3183
  "type": "array",
3151
3184
  "items": {
3152
3185
  "type": "string",
3153
3186
  "maxLength": 50
3154
- },
3155
- "maxItems": 20
3187
+ }
3156
3188
  },
3157
3189
  "supportedParameters": {
3190
+ "maxItems": 100,
3158
3191
  "type": "array",
3159
3192
  "items": {
3160
3193
  "type": "string",
3161
3194
  "maxLength": 100
3162
- },
3163
- "maxItems": 100
3195
+ }
3164
3196
  },
3165
3197
  "reasoningEfforts": {
3198
+ "maxItems": 8,
3166
3199
  "type": "array",
3167
3200
  "items": {
3168
3201
  "type": "string",
@@ -3176,17 +3209,16 @@
3176
3209
  "max",
3177
3210
  "ultra"
3178
3211
  ]
3179
- },
3180
- "maxItems": 8
3212
+ }
3181
3213
  },
3182
3214
  "supportedGenerationMethods": {
3215
+ "maxItems": 100,
3183
3216
  "type": "array",
3184
3217
  "items": {
3185
3218
  "type": "string",
3186
3219
  "minLength": 1,
3187
3220
  "maxLength": 100
3188
- },
3189
- "maxItems": 100
3221
+ }
3190
3222
  }
3191
3223
  },
3192
3224
  "required": [
@@ -3194,13 +3226,13 @@
3194
3226
  "name"
3195
3227
  ],
3196
3228
  "additionalProperties": false
3197
- },
3198
- "maxItems": 10000
3229
+ }
3199
3230
  },
3200
3231
  "version": {
3201
3232
  "type": "integer",
3233
+ "minimum": 0,
3202
3234
  "exclusiveMinimum": true,
3203
- "minimum": 0
3235
+ "maximum": 9007199254740991
3204
3236
  },
3205
3237
  "updatedAt": {
3206
3238
  "type": "string"
@@ -3211,6 +3243,9 @@
3211
3243
  "name",
3212
3244
  "baseUrl",
3213
3245
  "protocol",
3246
+ "authStyle",
3247
+ "modelsPath",
3248
+ "manualModels",
3214
3249
  "version",
3215
3250
  "updatedAt"
3216
3251
  ],
@@ -3262,11 +3297,11 @@
3262
3297
  "type": "object",
3263
3298
  "properties": {
3264
3299
  "version": {
3300
+ "default": 1,
3265
3301
  "type": "number",
3266
3302
  "enum": [
3267
3303
  1
3268
- ],
3269
- "default": 1
3304
+ ]
3270
3305
  },
3271
3306
  "selection": {
3272
3307
  "type": "string",
@@ -3330,14 +3365,14 @@
3330
3365
  "additionalProperties": false
3331
3366
  },
3332
3367
  "allowedModels": {
3368
+ "maxItems": 500,
3333
3369
  "type": "array",
3334
3370
  "items": {
3335
3371
  "type": "string",
3336
3372
  "minLength": 1,
3337
3373
  "maxLength": 300,
3338
3374
  "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
3339
- },
3340
- "maxItems": 500
3375
+ }
3341
3376
  },
3342
3377
  "aliases": {
3343
3378
  "type": "object",
@@ -3351,14 +3386,14 @@
3351
3386
  "fallbacks": {
3352
3387
  "type": "object",
3353
3388
  "additionalProperties": {
3389
+ "maxItems": 20,
3354
3390
  "type": "array",
3355
3391
  "items": {
3356
3392
  "type": "string",
3357
3393
  "minLength": 1,
3358
3394
  "maxLength": 300,
3359
3395
  "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
3360
- },
3361
- "maxItems": 20
3396
+ }
3362
3397
  }
3363
3398
  }
3364
3399
  },
@@ -3366,8 +3401,9 @@
3366
3401
  },
3367
3402
  "version": {
3368
3403
  "type": "integer",
3404
+ "minimum": 0,
3369
3405
  "exclusiveMinimum": true,
3370
- "minimum": 0
3406
+ "maximum": 9007199254740991
3371
3407
  },
3372
3408
  "updatedAt": {
3373
3409
  "type": "string"
@@ -3388,6 +3424,7 @@
3388
3424
  "type": "object",
3389
3425
  "properties": {
3390
3426
  "models": {
3427
+ "maxItems": 10000,
3391
3428
  "type": "array",
3392
3429
  "items": {
3393
3430
  "type": "object",
@@ -3415,39 +3452,42 @@
3415
3452
  },
3416
3453
  "contextWindow": {
3417
3454
  "type": "integer",
3455
+ "minimum": 0,
3418
3456
  "exclusiveMinimum": true,
3419
- "minimum": 0
3457
+ "maximum": 9007199254740991
3420
3458
  },
3421
3459
  "maxOutputTokens": {
3422
3460
  "type": "integer",
3461
+ "minimum": 0,
3423
3462
  "exclusiveMinimum": true,
3424
- "minimum": 0
3463
+ "maximum": 9007199254740991
3425
3464
  },
3426
3465
  "inputModalities": {
3466
+ "maxItems": 20,
3427
3467
  "type": "array",
3428
3468
  "items": {
3429
3469
  "type": "string",
3430
3470
  "maxLength": 50
3431
- },
3432
- "maxItems": 20
3471
+ }
3433
3472
  },
3434
3473
  "outputModalities": {
3474
+ "maxItems": 20,
3435
3475
  "type": "array",
3436
3476
  "items": {
3437
3477
  "type": "string",
3438
3478
  "maxLength": 50
3439
- },
3440
- "maxItems": 20
3479
+ }
3441
3480
  },
3442
3481
  "supportedParameters": {
3482
+ "maxItems": 100,
3443
3483
  "type": "array",
3444
3484
  "items": {
3445
3485
  "type": "string",
3446
3486
  "maxLength": 100
3447
- },
3448
- "maxItems": 100
3487
+ }
3449
3488
  },
3450
3489
  "reasoningEfforts": {
3490
+ "maxItems": 8,
3451
3491
  "type": "array",
3452
3492
  "items": {
3453
3493
  "type": "string",
@@ -3461,17 +3501,16 @@
3461
3501
  "max",
3462
3502
  "ultra"
3463
3503
  ]
3464
- },
3465
- "maxItems": 8
3504
+ }
3466
3505
  },
3467
3506
  "supportedGenerationMethods": {
3507
+ "maxItems": 100,
3468
3508
  "type": "array",
3469
3509
  "items": {
3470
3510
  "type": "string",
3471
3511
  "minLength": 1,
3472
3512
  "maxLength": 100
3473
- },
3474
- "maxItems": 100
3513
+ }
3475
3514
  }
3476
3515
  },
3477
3516
  "required": [
@@ -3479,12 +3518,12 @@
3479
3518
  "name"
3480
3519
  ],
3481
3520
  "additionalProperties": false
3482
- },
3483
- "maxItems": 10000
3521
+ }
3484
3522
  },
3485
3523
  "refreshedAt": {
3486
3524
  "type": "string",
3487
- "format": "date-time"
3525
+ "format": "date-time",
3526
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
3488
3527
  },
3489
3528
  "source": {
3490
3529
  "type": "string",
@@ -3563,11 +3602,11 @@
3563
3602
  "type": "object",
3564
3603
  "properties": {
3565
3604
  "version": {
3605
+ "default": 1,
3566
3606
  "type": "number",
3567
3607
  "enum": [
3568
3608
  1
3569
- ],
3570
- "default": 1
3609
+ ]
3571
3610
  },
3572
3611
  "selection": {
3573
3612
  "type": "string",
@@ -3631,14 +3670,14 @@
3631
3670
  "additionalProperties": false
3632
3671
  },
3633
3672
  "allowedModels": {
3673
+ "maxItems": 500,
3634
3674
  "type": "array",
3635
3675
  "items": {
3636
3676
  "type": "string",
3637
3677
  "minLength": 1,
3638
3678
  "maxLength": 300,
3639
3679
  "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
3640
- },
3641
- "maxItems": 500
3680
+ }
3642
3681
  },
3643
3682
  "aliases": {
3644
3683
  "type": "object",
@@ -3652,14 +3691,14 @@
3652
3691
  "fallbacks": {
3653
3692
  "type": "object",
3654
3693
  "additionalProperties": {
3694
+ "maxItems": 20,
3655
3695
  "type": "array",
3656
3696
  "items": {
3657
3697
  "type": "string",
3658
3698
  "minLength": 1,
3659
3699
  "maxLength": 300,
3660
3700
  "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
3661
- },
3662
- "maxItems": 20
3701
+ }
3663
3702
  }
3664
3703
  }
3665
3704
  },
@@ -3696,13 +3735,15 @@
3696
3735
  "maximum": 255
3697
3736
  },
3698
3737
  "routingEvents": {
3738
+ "maxItems": 1000,
3699
3739
  "type": "array",
3700
3740
  "items": {
3701
3741
  "type": "object",
3702
3742
  "properties": {
3703
3743
  "at": {
3704
3744
  "type": "string",
3705
- "format": "date-time"
3745
+ "format": "date-time",
3746
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
3706
3747
  },
3707
3748
  "requestId": {
3708
3749
  "type": "string",
@@ -3779,8 +3820,7 @@
3779
3820
  "decision"
3780
3821
  ],
3781
3822
  "additionalProperties": false
3782
- },
3783
- "maxItems": 1000
3823
+ }
3784
3824
  },
3785
3825
  "routingEventsDropped": {
3786
3826
  "type": "integer",
@@ -3837,11 +3877,11 @@
3837
3877
  "type": "object",
3838
3878
  "properties": {
3839
3879
  "version": {
3880
+ "default": 1,
3840
3881
  "type": "number",
3841
3882
  "enum": [
3842
3883
  1
3843
- ],
3844
- "default": 1
3884
+ ]
3845
3885
  },
3846
3886
  "selection": {
3847
3887
  "type": "string",
@@ -3905,14 +3945,14 @@
3905
3945
  "additionalProperties": false
3906
3946
  },
3907
3947
  "allowedModels": {
3948
+ "maxItems": 500,
3908
3949
  "type": "array",
3909
3950
  "items": {
3910
3951
  "type": "string",
3911
3952
  "minLength": 1,
3912
3953
  "maxLength": 300,
3913
3954
  "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
3914
- },
3915
- "maxItems": 500
3955
+ }
3916
3956
  },
3917
3957
  "aliases": {
3918
3958
  "type": "object",
@@ -3926,14 +3966,14 @@
3926
3966
  "fallbacks": {
3927
3967
  "type": "object",
3928
3968
  "additionalProperties": {
3969
+ "maxItems": 20,
3929
3970
  "type": "array",
3930
3971
  "items": {
3931
3972
  "type": "string",
3932
3973
  "minLength": 1,
3933
3974
  "maxLength": 300,
3934
3975
  "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
3935
- },
3936
- "maxItems": 20
3976
+ }
3937
3977
  }
3938
3978
  }
3939
3979
  },
@@ -3945,8 +3985,9 @@
3945
3985
  },
3946
3986
  "version": {
3947
3987
  "type": "integer",
3988
+ "minimum": 0,
3948
3989
  "exclusiveMinimum": true,
3949
- "minimum": 0
3990
+ "maximum": 9007199254740991
3950
3991
  },
3951
3992
  "updatedAt": {
3952
3993
  "type": "string"
@@ -3957,13 +3998,15 @@
3957
3998
  },
3958
3999
  "providerVersion": {
3959
4000
  "type": "integer",
4001
+ "minimum": 0,
3960
4002
  "exclusiveMinimum": true,
3961
- "minimum": 0
4003
+ "maximum": 9007199254740991
3962
4004
  },
3963
4005
  "profileVersion": {
3964
4006
  "type": "integer",
4007
+ "minimum": 0,
3965
4008
  "exclusiveMinimum": true,
3966
- "minimum": 0
4009
+ "maximum": 9007199254740991
3967
4010
  },
3968
4011
  "id": {
3969
4012
  "type": "string",
@@ -3985,16 +4028,20 @@
3985
4028
  "type": "string"
3986
4029
  },
3987
4030
  "exitCode": {
3988
- "type": "integer"
4031
+ "type": "integer",
4032
+ "minimum": -9007199254740991,
4033
+ "maximum": 9007199254740991
3989
4034
  },
3990
4035
  "routingEvents": {
4036
+ "maxItems": 1000,
3991
4037
  "type": "array",
3992
4038
  "items": {
3993
4039
  "type": "object",
3994
4040
  "properties": {
3995
4041
  "at": {
3996
4042
  "type": "string",
3997
- "format": "date-time"
4043
+ "format": "date-time",
4044
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
3998
4045
  },
3999
4046
  "requestId": {
4000
4047
  "type": "string",
@@ -4071,8 +4118,7 @@
4071
4118
  "decision"
4072
4119
  ],
4073
4120
  "additionalProperties": false
4074
- },
4075
- "maxItems": 1000
4121
+ }
4076
4122
  },
4077
4123
  "routingEventsDropped": {
4078
4124
  "type": "integer",