@techis/ai-contracts 0.4.0-rc.4 → 0.4.0
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/README.md +27 -18
- package/dist/catalog-change.d.ts +75 -0
- package/dist/catalog-change.d.ts.map +1 -0
- package/dist/catalog-change.js +110 -0
- package/dist/catalog-change.js.map +1 -0
- package/dist/catalog-composition.js +1 -1
- package/dist/catalog-composition.js.map +1 -1
- package/dist/catalog-delivery.d.ts +5 -0
- package/dist/catalog-delivery.d.ts.map +1 -1
- package/dist/catalog-delivery.js +9 -1
- package/dist/catalog-delivery.js.map +1 -1
- package/dist/catalog-facts.d.ts +25 -0
- package/dist/catalog-facts.d.ts.map +1 -0
- package/dist/catalog-facts.js +107 -0
- package/dist/catalog-facts.js.map +1 -0
- package/dist/catalog-model-coverage.d.ts +28 -0
- package/dist/catalog-model-coverage.d.ts.map +1 -0
- package/dist/catalog-model-coverage.js +64 -0
- package/dist/catalog-model-coverage.js.map +1 -0
- package/dist/catalog-package-data.d.ts +6 -0
- package/dist/catalog-package-data.d.ts.map +1 -1
- package/dist/catalog-package-data.js +1 -0
- package/dist/catalog-package-data.js.map +1 -1
- package/dist/catalog-publication.d.ts +13 -5
- package/dist/catalog-publication.d.ts.map +1 -1
- package/dist/catalog-publication.js +24 -6
- package/dist/catalog-publication.js.map +1 -1
- package/dist/configuration-bundle.d.ts +1 -0
- package/dist/configuration-bundle.d.ts.map +1 -1
- package/dist/configuration-bundle.js +11 -0
- package/dist/configuration-bundle.js.map +1 -1
- package/dist/entities.d.ts +16 -8
- package/dist/entities.d.ts.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/model-maintenance.d.ts +26 -0
- package/dist/model-maintenance.d.ts.map +1 -1
- package/dist/model-maintenance.js +124 -18
- package/dist/model-maintenance.js.map +1 -1
- package/dist/provider-listings.d.ts +13 -3
- package/dist/provider-listings.d.ts.map +1 -1
- package/dist/provider-listings.js +75 -9
- package/dist/provider-listings.js.map +1 -1
- package/dist/route-set-export.d.ts.map +1 -1
- package/dist/route-set-export.js +9 -2
- package/dist/route-set-export.js.map +1 -1
- package/dist/schemas/catalog-delta-output.schema.json +146 -0
- package/dist/schemas/catalog-delta-record.schema.json +242 -0
- package/dist/schemas/catalog-release.schema.json +449 -160
- package/dist/schemas/core.d.ts +1155 -348
- package/dist/schemas/core.d.ts.map +1 -1
- package/dist/schemas/core.js +24 -4
- package/dist/schemas/core.js.map +1 -1
- package/dist/schemas/incremental-catalog-review.schema.json +645 -0
- package/dist/schemas/model-definition.schema.json +207 -0
- package/dist/schemas/model-package-release.schema.json +487 -0
- package/dist/schemas/price-revision.schema.json +151 -0
- package/dist/schemas/routes.d.ts +2 -2
- package/dist/scripts/emit-schemas.js +3 -0
- package/dist/scripts/emit-schemas.js.map +1 -1
- package/package.json +2 -2
package/dist/schemas/core.d.ts
CHANGED
|
@@ -673,6 +673,27 @@ export declare const providerModelListingSchema: {
|
|
|
673
673
|
readonly minLength: 1;
|
|
674
674
|
};
|
|
675
675
|
};
|
|
676
|
+
readonly endpointSupport: {
|
|
677
|
+
readonly type: "object";
|
|
678
|
+
readonly additionalProperties: false;
|
|
679
|
+
readonly properties: {
|
|
680
|
+
readonly responses: {
|
|
681
|
+
readonly type: "boolean";
|
|
682
|
+
};
|
|
683
|
+
readonly messages: {
|
|
684
|
+
readonly type: "boolean";
|
|
685
|
+
};
|
|
686
|
+
readonly generateContent: {
|
|
687
|
+
readonly type: "boolean";
|
|
688
|
+
};
|
|
689
|
+
readonly interactionsV1: {
|
|
690
|
+
readonly type: "boolean";
|
|
691
|
+
};
|
|
692
|
+
readonly chatCompletions: {
|
|
693
|
+
readonly type: "boolean";
|
|
694
|
+
};
|
|
695
|
+
};
|
|
696
|
+
};
|
|
676
697
|
readonly capabilities: {
|
|
677
698
|
readonly required: readonly [];
|
|
678
699
|
readonly type: "object";
|
|
@@ -1645,6 +1666,178 @@ export declare const modelDefinitionSchema: {
|
|
|
1645
1666
|
readonly type: "object";
|
|
1646
1667
|
readonly additionalProperties: false;
|
|
1647
1668
|
readonly required: readonly ["schemaVersion", "catalogId", "providerModelId", "provider", "adapterId", "displayName", "capabilities", "nativeReasoning", "lifecycle", "source"];
|
|
1669
|
+
}, {
|
|
1670
|
+
required: string[];
|
|
1671
|
+
properties: {
|
|
1672
|
+
schemaVersion: {
|
|
1673
|
+
const: number;
|
|
1674
|
+
};
|
|
1675
|
+
verifiedAt: {
|
|
1676
|
+
readonly type: readonly ["string", "null"];
|
|
1677
|
+
readonly format: "date-time";
|
|
1678
|
+
};
|
|
1679
|
+
availability: {
|
|
1680
|
+
type: string;
|
|
1681
|
+
additionalProperties: boolean;
|
|
1682
|
+
required: string[];
|
|
1683
|
+
properties: {
|
|
1684
|
+
status: {
|
|
1685
|
+
const: string;
|
|
1686
|
+
};
|
|
1687
|
+
};
|
|
1688
|
+
};
|
|
1689
|
+
capabilities: {
|
|
1690
|
+
readonly required: readonly ["inputModalities", "outputModalities"];
|
|
1691
|
+
readonly type: "object";
|
|
1692
|
+
readonly additionalProperties: false;
|
|
1693
|
+
readonly properties: {
|
|
1694
|
+
readonly inputModalities: {
|
|
1695
|
+
readonly type: "array";
|
|
1696
|
+
readonly minItems: 1;
|
|
1697
|
+
readonly items: {
|
|
1698
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
|
|
1699
|
+
};
|
|
1700
|
+
};
|
|
1701
|
+
readonly outputModalities: {
|
|
1702
|
+
readonly type: "array";
|
|
1703
|
+
readonly minItems: 1;
|
|
1704
|
+
readonly items: {
|
|
1705
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
|
|
1706
|
+
};
|
|
1707
|
+
};
|
|
1708
|
+
readonly structuredOutput: {
|
|
1709
|
+
readonly type: "boolean";
|
|
1710
|
+
};
|
|
1711
|
+
readonly providerTools: {
|
|
1712
|
+
readonly type: "array";
|
|
1713
|
+
readonly items: {
|
|
1714
|
+
readonly type: "string";
|
|
1715
|
+
readonly minLength: 1;
|
|
1716
|
+
};
|
|
1717
|
+
};
|
|
1718
|
+
readonly contextWindowTokens: {
|
|
1719
|
+
readonly type: "integer";
|
|
1720
|
+
readonly minimum: 1;
|
|
1721
|
+
};
|
|
1722
|
+
readonly maxInputTokens: {
|
|
1723
|
+
readonly type: "integer";
|
|
1724
|
+
readonly minimum: 1;
|
|
1725
|
+
};
|
|
1726
|
+
readonly maxOutputTokens: {
|
|
1727
|
+
readonly type: "integer";
|
|
1728
|
+
readonly minimum: 1;
|
|
1729
|
+
};
|
|
1730
|
+
};
|
|
1731
|
+
};
|
|
1732
|
+
nativeReasoning: {
|
|
1733
|
+
readonly required: readonly [];
|
|
1734
|
+
readonly type: "object";
|
|
1735
|
+
readonly additionalProperties: false;
|
|
1736
|
+
readonly properties: {
|
|
1737
|
+
readonly supportedControls: {
|
|
1738
|
+
readonly type: "array";
|
|
1739
|
+
readonly items: {
|
|
1740
|
+
readonly enum: readonly ["effort", "thinking", "token-budget"];
|
|
1741
|
+
};
|
|
1742
|
+
readonly uniqueItems: true;
|
|
1743
|
+
};
|
|
1744
|
+
readonly disableSupported: {
|
|
1745
|
+
readonly type: "boolean";
|
|
1746
|
+
};
|
|
1747
|
+
readonly supportedEffortLevels: {
|
|
1748
|
+
readonly type: "array";
|
|
1749
|
+
readonly minItems: 1;
|
|
1750
|
+
readonly items: {
|
|
1751
|
+
readonly type: "string";
|
|
1752
|
+
readonly minLength: 1;
|
|
1753
|
+
};
|
|
1754
|
+
};
|
|
1755
|
+
readonly defaultEffort: {
|
|
1756
|
+
readonly type: "string";
|
|
1757
|
+
readonly minLength: 1;
|
|
1758
|
+
};
|
|
1759
|
+
readonly defaultThinkingEnabled: {
|
|
1760
|
+
readonly type: "boolean";
|
|
1761
|
+
};
|
|
1762
|
+
readonly defaultBudgetTokens: {
|
|
1763
|
+
readonly type: "integer";
|
|
1764
|
+
readonly minimum: 0;
|
|
1765
|
+
};
|
|
1766
|
+
readonly budgetTokensRange: {
|
|
1767
|
+
readonly type: "object";
|
|
1768
|
+
readonly additionalProperties: false;
|
|
1769
|
+
readonly required: readonly ["min", "max"];
|
|
1770
|
+
readonly properties: {
|
|
1771
|
+
readonly min: {
|
|
1772
|
+
readonly type: "integer";
|
|
1773
|
+
readonly minimum: 0;
|
|
1774
|
+
};
|
|
1775
|
+
readonly max: {
|
|
1776
|
+
readonly type: "integer";
|
|
1777
|
+
readonly minimum: 0;
|
|
1778
|
+
};
|
|
1779
|
+
};
|
|
1780
|
+
};
|
|
1781
|
+
readonly notes: {
|
|
1782
|
+
readonly type: "string";
|
|
1783
|
+
};
|
|
1784
|
+
};
|
|
1785
|
+
};
|
|
1786
|
+
lifecycle: {
|
|
1787
|
+
readonly properties: {
|
|
1788
|
+
readonly status: {
|
|
1789
|
+
readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
|
|
1790
|
+
};
|
|
1791
|
+
readonly deprecatedAt: {
|
|
1792
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
1793
|
+
};
|
|
1794
|
+
readonly sunsetAt: {
|
|
1795
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
1796
|
+
};
|
|
1797
|
+
readonly replacementCatalogId: {
|
|
1798
|
+
readonly type: "string";
|
|
1799
|
+
readonly minLength: 1;
|
|
1800
|
+
};
|
|
1801
|
+
};
|
|
1802
|
+
readonly type: "object";
|
|
1803
|
+
readonly additionalProperties: false;
|
|
1804
|
+
readonly required: readonly ["status"];
|
|
1805
|
+
};
|
|
1806
|
+
catalogId: {
|
|
1807
|
+
readonly type: "string";
|
|
1808
|
+
readonly minLength: 1;
|
|
1809
|
+
};
|
|
1810
|
+
providerModelId: {
|
|
1811
|
+
readonly type: "string";
|
|
1812
|
+
readonly minLength: 1;
|
|
1813
|
+
};
|
|
1814
|
+
provider: {
|
|
1815
|
+
readonly type: "string";
|
|
1816
|
+
readonly minLength: 1;
|
|
1817
|
+
};
|
|
1818
|
+
adapterId: {
|
|
1819
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/adapterId";
|
|
1820
|
+
};
|
|
1821
|
+
displayName: {
|
|
1822
|
+
readonly type: "string";
|
|
1823
|
+
readonly minLength: 1;
|
|
1824
|
+
};
|
|
1825
|
+
aliases: {
|
|
1826
|
+
readonly type: "array";
|
|
1827
|
+
readonly items: {
|
|
1828
|
+
readonly type: "string";
|
|
1829
|
+
readonly minLength: 1;
|
|
1830
|
+
};
|
|
1831
|
+
};
|
|
1832
|
+
activePriceRevisionId: {
|
|
1833
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
|
|
1834
|
+
};
|
|
1835
|
+
notes: {
|
|
1836
|
+
readonly type: "string";
|
|
1837
|
+
};
|
|
1838
|
+
};
|
|
1839
|
+
type: "object";
|
|
1840
|
+
additionalProperties: false;
|
|
1648
1841
|
}];
|
|
1649
1842
|
};
|
|
1650
1843
|
export declare const priceRevisionSchemaId = "https://techis.dev/ai/contracts/price-revision.schema.json";
|
|
@@ -2032,77 +2225,61 @@ export declare const priceRevisionSchema: {
|
|
|
2032
2225
|
};
|
|
2033
2226
|
readonly type: "object";
|
|
2034
2227
|
readonly additionalProperties: false;
|
|
2035
|
-
}
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
readonly models: {
|
|
2046
|
-
readonly type: "array";
|
|
2047
|
-
readonly items: {
|
|
2048
|
-
readonly allOf: readonly [{
|
|
2049
|
-
readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
|
|
2228
|
+
}, {
|
|
2229
|
+
required: ("schemaVersion" | "currency" | "priceRevisionId" | "scope" | "units" | "effectiveDate")[];
|
|
2230
|
+
properties: {
|
|
2231
|
+
schemaVersion: {
|
|
2232
|
+
const: number;
|
|
2233
|
+
};
|
|
2234
|
+
effectiveDate: {
|
|
2235
|
+
readonly anyOf: readonly [{
|
|
2236
|
+
readonly type: "string";
|
|
2237
|
+
readonly format: "date";
|
|
2050
2238
|
}, {
|
|
2239
|
+
readonly type: "null";
|
|
2240
|
+
}];
|
|
2241
|
+
};
|
|
2242
|
+
observedAt: {
|
|
2243
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
2244
|
+
};
|
|
2245
|
+
longContextTiers: {
|
|
2246
|
+
readonly items: {
|
|
2051
2247
|
readonly properties: {
|
|
2052
|
-
readonly
|
|
2053
|
-
readonly
|
|
2248
|
+
readonly cachedInputMultiplier: {
|
|
2249
|
+
readonly type: "number";
|
|
2250
|
+
readonly minimum: 0;
|
|
2251
|
+
};
|
|
2252
|
+
readonly cacheWriteInputMultiplier: {
|
|
2253
|
+
readonly type: "number";
|
|
2254
|
+
readonly minimum: 0;
|
|
2255
|
+
};
|
|
2256
|
+
readonly inputTokenThreshold: {
|
|
2257
|
+
readonly type: "integer";
|
|
2258
|
+
readonly minimum: 1;
|
|
2259
|
+
};
|
|
2260
|
+
readonly inputMultiplier: {
|
|
2261
|
+
readonly type: "number";
|
|
2262
|
+
readonly minimum: 0;
|
|
2263
|
+
};
|
|
2264
|
+
readonly outputMultiplier: {
|
|
2265
|
+
readonly type: "number";
|
|
2266
|
+
readonly minimum: 0;
|
|
2054
2267
|
};
|
|
2055
2268
|
};
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
readonly items: {
|
|
2062
|
-
readonly $ref: "https://techis.dev/ai/contracts/price-revision.schema.json";
|
|
2269
|
+
readonly type: "object";
|
|
2270
|
+
readonly additionalProperties: false;
|
|
2271
|
+
readonly required: readonly ["inputTokenThreshold", "inputMultiplier", "outputMultiplier"];
|
|
2272
|
+
};
|
|
2273
|
+
readonly type: "array";
|
|
2063
2274
|
};
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
2067
|
-
};
|
|
2068
|
-
readonly releaseSequence: {
|
|
2069
|
-
readonly type: "integer";
|
|
2070
|
-
readonly minimum: 1;
|
|
2071
|
-
};
|
|
2072
|
-
readonly publishedAt: {
|
|
2073
|
-
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
2074
|
-
};
|
|
2075
|
-
readonly notes: {
|
|
2076
|
-
readonly type: "string";
|
|
2077
|
-
};
|
|
2078
|
-
};
|
|
2079
|
-
readonly type: "object";
|
|
2080
|
-
readonly additionalProperties: false;
|
|
2081
|
-
readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices"];
|
|
2082
|
-
};
|
|
2083
|
-
export declare const catalogReleaseV3Schema: {
|
|
2084
|
-
readonly $id: string;
|
|
2085
|
-
readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices", "listings", "runtimeMappings"];
|
|
2086
|
-
readonly properties: {
|
|
2087
|
-
readonly schemaVersion: {
|
|
2088
|
-
readonly const: 3;
|
|
2089
|
-
};
|
|
2090
|
-
readonly models: {
|
|
2091
|
-
readonly type: "array";
|
|
2092
|
-
readonly items: {
|
|
2093
|
-
readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
|
|
2275
|
+
priceRevisionId: {
|
|
2276
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
|
|
2094
2277
|
};
|
|
2095
|
-
|
|
2096
|
-
readonly listings: {
|
|
2097
|
-
readonly type: "array";
|
|
2098
|
-
readonly items: {
|
|
2278
|
+
scope: {
|
|
2099
2279
|
readonly type: "object";
|
|
2100
2280
|
readonly additionalProperties: false;
|
|
2101
|
-
readonly
|
|
2281
|
+
readonly minProperties: 1;
|
|
2102
2282
|
readonly properties: {
|
|
2103
|
-
readonly schemaVersion: {
|
|
2104
|
-
readonly const: 1;
|
|
2105
|
-
};
|
|
2106
2283
|
readonly catalogId: {
|
|
2107
2284
|
readonly type: "string";
|
|
2108
2285
|
readonly minLength: 1;
|
|
@@ -2111,179 +2288,93 @@ export declare const catalogReleaseV3Schema: {
|
|
|
2111
2288
|
readonly type: "string";
|
|
2112
2289
|
readonly minLength: 1;
|
|
2113
2290
|
};
|
|
2114
|
-
readonly
|
|
2115
|
-
readonly type: "string";
|
|
2116
|
-
readonly minLength: 1;
|
|
2117
|
-
};
|
|
2118
|
-
readonly creator: {
|
|
2119
|
-
readonly type: "object";
|
|
2120
|
-
readonly additionalProperties: false;
|
|
2121
|
-
readonly required: readonly ["displayName"];
|
|
2122
|
-
readonly properties: {
|
|
2123
|
-
readonly displayName: {
|
|
2124
|
-
readonly type: "string";
|
|
2125
|
-
readonly minLength: 1;
|
|
2126
|
-
};
|
|
2127
|
-
readonly providerId: {
|
|
2128
|
-
readonly type: "string";
|
|
2129
|
-
readonly minLength: 1;
|
|
2130
|
-
};
|
|
2131
|
-
};
|
|
2132
|
-
};
|
|
2133
|
-
readonly providerModelId: {
|
|
2291
|
+
readonly service: {
|
|
2134
2292
|
readonly type: "string";
|
|
2135
2293
|
readonly minLength: 1;
|
|
2136
2294
|
};
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2295
|
+
};
|
|
2296
|
+
};
|
|
2297
|
+
currency: {
|
|
2298
|
+
readonly type: "string";
|
|
2299
|
+
readonly minLength: 3;
|
|
2300
|
+
readonly maxLength: 3;
|
|
2301
|
+
};
|
|
2302
|
+
units: {
|
|
2303
|
+
readonly enum: readonly ["per-million-tokens", "per-thousand-calls", "per-call"];
|
|
2304
|
+
};
|
|
2305
|
+
input: {
|
|
2306
|
+
readonly type: "number";
|
|
2307
|
+
readonly minimum: 0;
|
|
2308
|
+
};
|
|
2309
|
+
output: {
|
|
2310
|
+
readonly type: "number";
|
|
2311
|
+
readonly minimum: 0;
|
|
2312
|
+
};
|
|
2313
|
+
cachedInput: {
|
|
2314
|
+
readonly type: "number";
|
|
2315
|
+
readonly minimum: 0;
|
|
2316
|
+
};
|
|
2317
|
+
cacheWriteInput: {
|
|
2318
|
+
readonly type: "number";
|
|
2319
|
+
readonly minimum: 0;
|
|
2320
|
+
};
|
|
2321
|
+
servicePrice: {
|
|
2322
|
+
readonly type: "array";
|
|
2323
|
+
readonly items: {
|
|
2324
|
+
readonly type: "object";
|
|
2325
|
+
readonly additionalProperties: false;
|
|
2326
|
+
readonly required: readonly ["dimension", "price", "unit"];
|
|
2327
|
+
readonly properties: {
|
|
2328
|
+
readonly dimension: {
|
|
2140
2329
|
readonly type: "string";
|
|
2141
2330
|
readonly minLength: 1;
|
|
2142
2331
|
};
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
readonly type: "object";
|
|
2147
|
-
readonly additionalProperties: false;
|
|
2148
|
-
readonly properties: {
|
|
2149
|
-
readonly inputModalities: {
|
|
2150
|
-
readonly type: "array";
|
|
2151
|
-
readonly minItems: 1;
|
|
2152
|
-
readonly items: {
|
|
2153
|
-
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
|
|
2154
|
-
};
|
|
2155
|
-
};
|
|
2156
|
-
readonly outputModalities: {
|
|
2157
|
-
readonly type: "array";
|
|
2158
|
-
readonly minItems: 1;
|
|
2159
|
-
readonly items: {
|
|
2160
|
-
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
|
|
2161
|
-
};
|
|
2162
|
-
};
|
|
2163
|
-
readonly structuredOutput: {
|
|
2164
|
-
readonly type: "boolean";
|
|
2165
|
-
};
|
|
2166
|
-
readonly providerTools: {
|
|
2167
|
-
readonly type: "array";
|
|
2168
|
-
readonly items: {
|
|
2169
|
-
readonly type: "string";
|
|
2170
|
-
readonly minLength: 1;
|
|
2171
|
-
};
|
|
2172
|
-
};
|
|
2173
|
-
readonly contextWindowTokens: {
|
|
2174
|
-
readonly type: "integer";
|
|
2175
|
-
readonly minimum: 1;
|
|
2176
|
-
};
|
|
2177
|
-
readonly maxInputTokens: {
|
|
2178
|
-
readonly type: "integer";
|
|
2179
|
-
readonly minimum: 1;
|
|
2180
|
-
};
|
|
2181
|
-
readonly maxOutputTokens: {
|
|
2182
|
-
readonly type: "integer";
|
|
2183
|
-
readonly minimum: 1;
|
|
2184
|
-
};
|
|
2185
|
-
};
|
|
2186
|
-
};
|
|
2187
|
-
readonly nativeReasoning: {
|
|
2188
|
-
readonly required: readonly [];
|
|
2189
|
-
readonly type: "object";
|
|
2190
|
-
readonly additionalProperties: false;
|
|
2191
|
-
readonly properties: {
|
|
2192
|
-
readonly supportedControls: {
|
|
2193
|
-
readonly type: "array";
|
|
2194
|
-
readonly items: {
|
|
2195
|
-
readonly enum: readonly ["effort", "thinking", "token-budget"];
|
|
2196
|
-
};
|
|
2197
|
-
readonly uniqueItems: true;
|
|
2198
|
-
};
|
|
2199
|
-
readonly disableSupported: {
|
|
2200
|
-
readonly type: "boolean";
|
|
2201
|
-
};
|
|
2202
|
-
readonly supportedEffortLevels: {
|
|
2203
|
-
readonly type: "array";
|
|
2204
|
-
readonly minItems: 1;
|
|
2205
|
-
readonly items: {
|
|
2206
|
-
readonly type: "string";
|
|
2207
|
-
readonly minLength: 1;
|
|
2208
|
-
};
|
|
2209
|
-
};
|
|
2210
|
-
readonly defaultEffort: {
|
|
2211
|
-
readonly type: "string";
|
|
2212
|
-
readonly minLength: 1;
|
|
2213
|
-
};
|
|
2214
|
-
readonly defaultThinkingEnabled: {
|
|
2215
|
-
readonly type: "boolean";
|
|
2216
|
-
};
|
|
2217
|
-
readonly defaultBudgetTokens: {
|
|
2218
|
-
readonly type: "integer";
|
|
2219
|
-
readonly minimum: 0;
|
|
2220
|
-
};
|
|
2221
|
-
readonly budgetTokensRange: {
|
|
2222
|
-
readonly type: "object";
|
|
2223
|
-
readonly additionalProperties: false;
|
|
2224
|
-
readonly required: readonly ["min", "max"];
|
|
2225
|
-
readonly properties: {
|
|
2226
|
-
readonly min: {
|
|
2227
|
-
readonly type: "integer";
|
|
2228
|
-
readonly minimum: 0;
|
|
2229
|
-
};
|
|
2230
|
-
readonly max: {
|
|
2231
|
-
readonly type: "integer";
|
|
2232
|
-
readonly minimum: 0;
|
|
2233
|
-
};
|
|
2234
|
-
};
|
|
2235
|
-
};
|
|
2236
|
-
readonly notes: {
|
|
2237
|
-
readonly type: "string";
|
|
2238
|
-
};
|
|
2239
|
-
};
|
|
2240
|
-
};
|
|
2241
|
-
readonly lifecycle: {
|
|
2242
|
-
readonly properties: {
|
|
2243
|
-
readonly status: {
|
|
2244
|
-
readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
|
|
2245
|
-
};
|
|
2246
|
-
readonly deprecatedAt: {
|
|
2247
|
-
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
2248
|
-
};
|
|
2249
|
-
readonly sunsetAt: {
|
|
2250
|
-
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
2251
|
-
};
|
|
2252
|
-
readonly replacementCatalogId: {
|
|
2253
|
-
readonly type: "string";
|
|
2254
|
-
readonly minLength: 1;
|
|
2255
|
-
};
|
|
2332
|
+
readonly price: {
|
|
2333
|
+
readonly type: "number";
|
|
2334
|
+
readonly minimum: 0;
|
|
2256
2335
|
};
|
|
2257
|
-
readonly
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
};
|
|
2261
|
-
readonly availability: {
|
|
2262
|
-
readonly type: "object";
|
|
2263
|
-
readonly additionalProperties: false;
|
|
2264
|
-
readonly required: readonly ["status"];
|
|
2265
|
-
readonly properties: {
|
|
2266
|
-
readonly status: {
|
|
2267
|
-
readonly enum: readonly ["available", "unavailable", "restricted", "announced", "unknown"];
|
|
2268
|
-
};
|
|
2336
|
+
readonly unit: {
|
|
2337
|
+
readonly type: "string";
|
|
2338
|
+
readonly minLength: 1;
|
|
2269
2339
|
};
|
|
2270
2340
|
};
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2341
|
+
};
|
|
2342
|
+
};
|
|
2343
|
+
conditions: {
|
|
2344
|
+
readonly type: "string";
|
|
2345
|
+
};
|
|
2346
|
+
unknownDimensions: {
|
|
2347
|
+
readonly type: "array";
|
|
2348
|
+
readonly items: {
|
|
2349
|
+
readonly type: "string";
|
|
2350
|
+
readonly minLength: 1;
|
|
2280
2351
|
};
|
|
2281
2352
|
};
|
|
2282
2353
|
};
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2354
|
+
type: "object";
|
|
2355
|
+
additionalProperties: false;
|
|
2356
|
+
}];
|
|
2357
|
+
};
|
|
2358
|
+
export declare const catalogReleaseSchemaId = "https://techis.dev/ai/contracts/catalog-release.schema.json";
|
|
2359
|
+
export declare const catalogReleaseV2SchemaId = "https://techis.dev/ai/contracts/v2/catalog-release.schema.json";
|
|
2360
|
+
export declare const catalogReleaseV2Schema: {
|
|
2361
|
+
readonly $id: "https://techis.dev/ai/contracts/v2/catalog-release.schema.json";
|
|
2362
|
+
readonly properties: {
|
|
2363
|
+
readonly schemaVersion: {
|
|
2364
|
+
readonly const: 2;
|
|
2365
|
+
};
|
|
2366
|
+
readonly models: {
|
|
2367
|
+
readonly type: "array";
|
|
2368
|
+
readonly items: {
|
|
2369
|
+
readonly allOf: readonly [{
|
|
2370
|
+
readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
|
|
2371
|
+
}, {
|
|
2372
|
+
readonly properties: {
|
|
2373
|
+
readonly schemaVersion: {
|
|
2374
|
+
readonly enum: readonly [1, 2];
|
|
2375
|
+
};
|
|
2376
|
+
};
|
|
2377
|
+
}];
|
|
2287
2378
|
};
|
|
2288
2379
|
};
|
|
2289
2380
|
readonly prices: {
|
|
@@ -2308,128 +2399,35 @@ export declare const catalogReleaseV3Schema: {
|
|
|
2308
2399
|
};
|
|
2309
2400
|
readonly type: "object";
|
|
2310
2401
|
readonly additionalProperties: false;
|
|
2402
|
+
readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices"];
|
|
2311
2403
|
};
|
|
2312
|
-
export declare const
|
|
2313
|
-
readonly $id:
|
|
2314
|
-
readonly
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
2324
|
-
};
|
|
2325
|
-
readonly releaseSequence: {
|
|
2326
|
-
readonly type: "integer";
|
|
2327
|
-
readonly minimum: 1;
|
|
2328
|
-
};
|
|
2329
|
-
readonly publishedAt: {
|
|
2330
|
-
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
2404
|
+
export declare const catalogReleaseV3Schema: {
|
|
2405
|
+
readonly $id: string;
|
|
2406
|
+
readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices", "listings", "runtimeMappings"];
|
|
2407
|
+
readonly properties: {
|
|
2408
|
+
readonly schemaVersion: {
|
|
2409
|
+
readonly const: 3;
|
|
2410
|
+
};
|
|
2411
|
+
readonly models: {
|
|
2412
|
+
readonly type: "array";
|
|
2413
|
+
readonly items: {
|
|
2414
|
+
readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
|
|
2331
2415
|
};
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2416
|
+
};
|
|
2417
|
+
readonly listings: {
|
|
2418
|
+
readonly type: "array";
|
|
2419
|
+
readonly items: {
|
|
2420
|
+
readonly anyOf: readonly [{
|
|
2421
|
+
readonly type: "object";
|
|
2422
|
+
readonly additionalProperties: false;
|
|
2423
|
+
readonly required: readonly ["schemaVersion", "catalogId", "provider", "displayName", "source"];
|
|
2424
|
+
readonly properties: {
|
|
2425
|
+
readonly schemaVersion: {
|
|
2426
|
+
readonly const: 1;
|
|
2342
2427
|
};
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
readonly prices: {
|
|
2347
|
-
readonly type: "array";
|
|
2348
|
-
readonly items: {
|
|
2349
|
-
readonly allOf: readonly [{
|
|
2350
|
-
readonly $ref: "https://techis.dev/ai/contracts/price-revision.schema.json";
|
|
2351
|
-
}, {
|
|
2352
|
-
readonly properties: {
|
|
2353
|
-
readonly schemaVersion: {
|
|
2354
|
-
readonly const: 1;
|
|
2355
|
-
};
|
|
2356
|
-
};
|
|
2357
|
-
}];
|
|
2358
|
-
};
|
|
2359
|
-
};
|
|
2360
|
-
readonly notes: {
|
|
2361
|
-
readonly type: "string";
|
|
2362
|
-
};
|
|
2363
|
-
};
|
|
2364
|
-
}, {
|
|
2365
|
-
readonly $id: "https://techis.dev/ai/contracts/v2/catalog-release.schema.json";
|
|
2366
|
-
readonly properties: {
|
|
2367
|
-
readonly schemaVersion: {
|
|
2368
|
-
readonly const: 2;
|
|
2369
|
-
};
|
|
2370
|
-
readonly models: {
|
|
2371
|
-
readonly type: "array";
|
|
2372
|
-
readonly items: {
|
|
2373
|
-
readonly allOf: readonly [{
|
|
2374
|
-
readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
|
|
2375
|
-
}, {
|
|
2376
|
-
readonly properties: {
|
|
2377
|
-
readonly schemaVersion: {
|
|
2378
|
-
readonly enum: readonly [1, 2];
|
|
2379
|
-
};
|
|
2380
|
-
};
|
|
2381
|
-
}];
|
|
2382
|
-
};
|
|
2383
|
-
};
|
|
2384
|
-
readonly prices: {
|
|
2385
|
-
readonly type: "array";
|
|
2386
|
-
readonly items: {
|
|
2387
|
-
readonly $ref: "https://techis.dev/ai/contracts/price-revision.schema.json";
|
|
2388
|
-
};
|
|
2389
|
-
};
|
|
2390
|
-
readonly catalogRevision: {
|
|
2391
|
-
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
2392
|
-
};
|
|
2393
|
-
readonly releaseSequence: {
|
|
2394
|
-
readonly type: "integer";
|
|
2395
|
-
readonly minimum: 1;
|
|
2396
|
-
};
|
|
2397
|
-
readonly publishedAt: {
|
|
2398
|
-
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
2399
|
-
};
|
|
2400
|
-
readonly notes: {
|
|
2401
|
-
readonly type: "string";
|
|
2402
|
-
};
|
|
2403
|
-
};
|
|
2404
|
-
readonly type: "object";
|
|
2405
|
-
readonly additionalProperties: false;
|
|
2406
|
-
readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices"];
|
|
2407
|
-
}, {
|
|
2408
|
-
readonly $id: string;
|
|
2409
|
-
readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices", "listings", "runtimeMappings"];
|
|
2410
|
-
readonly properties: {
|
|
2411
|
-
readonly schemaVersion: {
|
|
2412
|
-
readonly const: 3;
|
|
2413
|
-
};
|
|
2414
|
-
readonly models: {
|
|
2415
|
-
readonly type: "array";
|
|
2416
|
-
readonly items: {
|
|
2417
|
-
readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
|
|
2418
|
-
};
|
|
2419
|
-
};
|
|
2420
|
-
readonly listings: {
|
|
2421
|
-
readonly type: "array";
|
|
2422
|
-
readonly items: {
|
|
2423
|
-
readonly type: "object";
|
|
2424
|
-
readonly additionalProperties: false;
|
|
2425
|
-
readonly required: readonly ["schemaVersion", "catalogId", "provider", "displayName", "source"];
|
|
2426
|
-
readonly properties: {
|
|
2427
|
-
readonly schemaVersion: {
|
|
2428
|
-
readonly const: 1;
|
|
2429
|
-
};
|
|
2430
|
-
readonly catalogId: {
|
|
2431
|
-
readonly type: "string";
|
|
2432
|
-
readonly minLength: 1;
|
|
2428
|
+
readonly catalogId: {
|
|
2429
|
+
readonly type: "string";
|
|
2430
|
+
readonly minLength: 1;
|
|
2433
2431
|
};
|
|
2434
2432
|
readonly provider: {
|
|
2435
2433
|
readonly type: "string";
|
|
@@ -2465,6 +2463,27 @@ export declare const catalogReleaseSchema: {
|
|
|
2465
2463
|
readonly minLength: 1;
|
|
2466
2464
|
};
|
|
2467
2465
|
};
|
|
2466
|
+
readonly endpointSupport: {
|
|
2467
|
+
readonly type: "object";
|
|
2468
|
+
readonly additionalProperties: false;
|
|
2469
|
+
readonly properties: {
|
|
2470
|
+
readonly responses: {
|
|
2471
|
+
readonly type: "boolean";
|
|
2472
|
+
};
|
|
2473
|
+
readonly messages: {
|
|
2474
|
+
readonly type: "boolean";
|
|
2475
|
+
};
|
|
2476
|
+
readonly generateContent: {
|
|
2477
|
+
readonly type: "boolean";
|
|
2478
|
+
};
|
|
2479
|
+
readonly interactionsV1: {
|
|
2480
|
+
readonly type: "boolean";
|
|
2481
|
+
};
|
|
2482
|
+
readonly chatCompletions: {
|
|
2483
|
+
readonly type: "boolean";
|
|
2484
|
+
};
|
|
2485
|
+
};
|
|
2486
|
+
};
|
|
2468
2487
|
readonly capabilities: {
|
|
2469
2488
|
readonly required: readonly [];
|
|
2470
2489
|
readonly type: "object";
|
|
@@ -2602,12 +2621,800 @@ export declare const catalogReleaseSchema: {
|
|
|
2602
2621
|
readonly type: "string";
|
|
2603
2622
|
};
|
|
2604
2623
|
};
|
|
2605
|
-
}
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2624
|
+
}, {
|
|
2625
|
+
required: string[];
|
|
2626
|
+
properties: {
|
|
2627
|
+
schemaVersion: {
|
|
2628
|
+
const: number;
|
|
2629
|
+
};
|
|
2630
|
+
verifiedAt: {
|
|
2631
|
+
readonly type: readonly ["string", "null"];
|
|
2632
|
+
readonly format: "date-time";
|
|
2633
|
+
};
|
|
2634
|
+
catalogId: {
|
|
2635
|
+
readonly type: "string";
|
|
2636
|
+
readonly minLength: 1;
|
|
2637
|
+
};
|
|
2638
|
+
provider: {
|
|
2639
|
+
readonly type: "string";
|
|
2640
|
+
readonly minLength: 1;
|
|
2641
|
+
};
|
|
2642
|
+
displayName: {
|
|
2643
|
+
readonly type: "string";
|
|
2644
|
+
readonly minLength: 1;
|
|
2645
|
+
};
|
|
2646
|
+
creator: {
|
|
2647
|
+
readonly type: "object";
|
|
2648
|
+
readonly additionalProperties: false;
|
|
2649
|
+
readonly required: readonly ["displayName"];
|
|
2650
|
+
readonly properties: {
|
|
2651
|
+
readonly displayName: {
|
|
2652
|
+
readonly type: "string";
|
|
2653
|
+
readonly minLength: 1;
|
|
2654
|
+
};
|
|
2655
|
+
readonly providerId: {
|
|
2656
|
+
readonly type: "string";
|
|
2657
|
+
readonly minLength: 1;
|
|
2658
|
+
};
|
|
2659
|
+
};
|
|
2660
|
+
};
|
|
2661
|
+
providerModelId: {
|
|
2662
|
+
readonly type: "string";
|
|
2663
|
+
readonly minLength: 1;
|
|
2664
|
+
};
|
|
2665
|
+
aliases: {
|
|
2666
|
+
readonly type: "array";
|
|
2667
|
+
readonly items: {
|
|
2668
|
+
readonly type: "string";
|
|
2669
|
+
readonly minLength: 1;
|
|
2670
|
+
};
|
|
2671
|
+
};
|
|
2672
|
+
endpointSupport: {
|
|
2673
|
+
readonly type: "object";
|
|
2674
|
+
readonly additionalProperties: false;
|
|
2675
|
+
readonly properties: {
|
|
2676
|
+
readonly responses: {
|
|
2677
|
+
readonly type: "boolean";
|
|
2678
|
+
};
|
|
2679
|
+
readonly messages: {
|
|
2680
|
+
readonly type: "boolean";
|
|
2681
|
+
};
|
|
2682
|
+
readonly generateContent: {
|
|
2683
|
+
readonly type: "boolean";
|
|
2684
|
+
};
|
|
2685
|
+
readonly interactionsV1: {
|
|
2686
|
+
readonly type: "boolean";
|
|
2687
|
+
};
|
|
2688
|
+
readonly chatCompletions: {
|
|
2689
|
+
readonly type: "boolean";
|
|
2690
|
+
};
|
|
2691
|
+
};
|
|
2692
|
+
};
|
|
2693
|
+
capabilities: {
|
|
2694
|
+
readonly required: readonly [];
|
|
2695
|
+
readonly type: "object";
|
|
2696
|
+
readonly additionalProperties: false;
|
|
2697
|
+
readonly properties: {
|
|
2698
|
+
readonly inputModalities: {
|
|
2699
|
+
readonly type: "array";
|
|
2700
|
+
readonly minItems: 1;
|
|
2701
|
+
readonly items: {
|
|
2702
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
|
|
2703
|
+
};
|
|
2704
|
+
};
|
|
2705
|
+
readonly outputModalities: {
|
|
2706
|
+
readonly type: "array";
|
|
2707
|
+
readonly minItems: 1;
|
|
2708
|
+
readonly items: {
|
|
2709
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
|
|
2710
|
+
};
|
|
2711
|
+
};
|
|
2712
|
+
readonly structuredOutput: {
|
|
2713
|
+
readonly type: "boolean";
|
|
2714
|
+
};
|
|
2715
|
+
readonly providerTools: {
|
|
2716
|
+
readonly type: "array";
|
|
2717
|
+
readonly items: {
|
|
2718
|
+
readonly type: "string";
|
|
2719
|
+
readonly minLength: 1;
|
|
2720
|
+
};
|
|
2721
|
+
};
|
|
2722
|
+
readonly contextWindowTokens: {
|
|
2723
|
+
readonly type: "integer";
|
|
2724
|
+
readonly minimum: 1;
|
|
2725
|
+
};
|
|
2726
|
+
readonly maxInputTokens: {
|
|
2727
|
+
readonly type: "integer";
|
|
2728
|
+
readonly minimum: 1;
|
|
2729
|
+
};
|
|
2730
|
+
readonly maxOutputTokens: {
|
|
2731
|
+
readonly type: "integer";
|
|
2732
|
+
readonly minimum: 1;
|
|
2733
|
+
};
|
|
2734
|
+
};
|
|
2735
|
+
};
|
|
2736
|
+
nativeReasoning: {
|
|
2737
|
+
readonly required: readonly [];
|
|
2738
|
+
readonly type: "object";
|
|
2739
|
+
readonly additionalProperties: false;
|
|
2740
|
+
readonly properties: {
|
|
2741
|
+
readonly supportedControls: {
|
|
2742
|
+
readonly type: "array";
|
|
2743
|
+
readonly items: {
|
|
2744
|
+
readonly enum: readonly ["effort", "thinking", "token-budget"];
|
|
2745
|
+
};
|
|
2746
|
+
readonly uniqueItems: true;
|
|
2747
|
+
};
|
|
2748
|
+
readonly disableSupported: {
|
|
2749
|
+
readonly type: "boolean";
|
|
2750
|
+
};
|
|
2751
|
+
readonly supportedEffortLevels: {
|
|
2752
|
+
readonly type: "array";
|
|
2753
|
+
readonly minItems: 1;
|
|
2754
|
+
readonly items: {
|
|
2755
|
+
readonly type: "string";
|
|
2756
|
+
readonly minLength: 1;
|
|
2757
|
+
};
|
|
2758
|
+
};
|
|
2759
|
+
readonly defaultEffort: {
|
|
2760
|
+
readonly type: "string";
|
|
2761
|
+
readonly minLength: 1;
|
|
2762
|
+
};
|
|
2763
|
+
readonly defaultThinkingEnabled: {
|
|
2764
|
+
readonly type: "boolean";
|
|
2765
|
+
};
|
|
2766
|
+
readonly defaultBudgetTokens: {
|
|
2767
|
+
readonly type: "integer";
|
|
2768
|
+
readonly minimum: 0;
|
|
2769
|
+
};
|
|
2770
|
+
readonly budgetTokensRange: {
|
|
2771
|
+
readonly type: "object";
|
|
2772
|
+
readonly additionalProperties: false;
|
|
2773
|
+
readonly required: readonly ["min", "max"];
|
|
2774
|
+
readonly properties: {
|
|
2775
|
+
readonly min: {
|
|
2776
|
+
readonly type: "integer";
|
|
2777
|
+
readonly minimum: 0;
|
|
2778
|
+
};
|
|
2779
|
+
readonly max: {
|
|
2780
|
+
readonly type: "integer";
|
|
2781
|
+
readonly minimum: 0;
|
|
2782
|
+
};
|
|
2783
|
+
};
|
|
2784
|
+
};
|
|
2785
|
+
readonly notes: {
|
|
2786
|
+
readonly type: "string";
|
|
2787
|
+
};
|
|
2788
|
+
};
|
|
2789
|
+
};
|
|
2790
|
+
lifecycle: {
|
|
2791
|
+
readonly properties: {
|
|
2792
|
+
readonly status: {
|
|
2793
|
+
readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
|
|
2794
|
+
};
|
|
2795
|
+
readonly deprecatedAt: {
|
|
2796
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
2797
|
+
};
|
|
2798
|
+
readonly sunsetAt: {
|
|
2799
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
2800
|
+
};
|
|
2801
|
+
readonly replacementCatalogId: {
|
|
2802
|
+
readonly type: "string";
|
|
2803
|
+
readonly minLength: 1;
|
|
2804
|
+
};
|
|
2805
|
+
};
|
|
2806
|
+
readonly type: "object";
|
|
2807
|
+
readonly additionalProperties: false;
|
|
2808
|
+
readonly required: readonly ["status"];
|
|
2809
|
+
};
|
|
2810
|
+
availability: {
|
|
2811
|
+
readonly type: "object";
|
|
2812
|
+
readonly additionalProperties: false;
|
|
2813
|
+
readonly required: readonly ["status"];
|
|
2814
|
+
readonly properties: {
|
|
2815
|
+
readonly status: {
|
|
2816
|
+
readonly enum: readonly ["available", "unavailable", "restricted", "announced", "unknown"];
|
|
2817
|
+
};
|
|
2818
|
+
};
|
|
2819
|
+
};
|
|
2820
|
+
activePriceRevisionId: {
|
|
2821
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
|
|
2822
|
+
};
|
|
2823
|
+
notes: {
|
|
2824
|
+
readonly type: "string";
|
|
2825
|
+
};
|
|
2826
|
+
};
|
|
2827
|
+
type: "object";
|
|
2828
|
+
additionalProperties: false;
|
|
2829
|
+
}];
|
|
2830
|
+
};
|
|
2831
|
+
};
|
|
2832
|
+
readonly executionProjection: {
|
|
2833
|
+
readonly enum: readonly ["endpoint-evidence-v1", "endpoint-evidence-v2"];
|
|
2834
|
+
};
|
|
2835
|
+
readonly listingFactReview: {
|
|
2836
|
+
readonly enum: readonly ["field-updates-v1", "field-evidence-v2"];
|
|
2837
|
+
};
|
|
2838
|
+
readonly runtimeMappings: {
|
|
2839
|
+
readonly type: "object";
|
|
2840
|
+
readonly additionalProperties: {
|
|
2841
|
+
readonly anyOf: readonly [{
|
|
2842
|
+
readonly $ref: string;
|
|
2843
|
+
}, {
|
|
2844
|
+
readonly type: "array";
|
|
2845
|
+
readonly minItems: 1;
|
|
2846
|
+
readonly uniqueItems: true;
|
|
2847
|
+
readonly items: {
|
|
2848
|
+
readonly $ref: string;
|
|
2849
|
+
};
|
|
2850
|
+
}];
|
|
2851
|
+
};
|
|
2852
|
+
};
|
|
2853
|
+
readonly prices: {
|
|
2854
|
+
readonly type: "array";
|
|
2855
|
+
readonly items: {
|
|
2856
|
+
readonly $ref: "https://techis.dev/ai/contracts/price-revision.schema.json";
|
|
2857
|
+
};
|
|
2858
|
+
};
|
|
2859
|
+
readonly catalogRevision: {
|
|
2860
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
2861
|
+
};
|
|
2862
|
+
readonly releaseSequence: {
|
|
2863
|
+
readonly type: "integer";
|
|
2864
|
+
readonly minimum: 1;
|
|
2865
|
+
};
|
|
2866
|
+
readonly publishedAt: {
|
|
2867
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
2868
|
+
};
|
|
2869
|
+
readonly notes: {
|
|
2870
|
+
readonly type: "string";
|
|
2871
|
+
};
|
|
2872
|
+
};
|
|
2873
|
+
readonly type: "object";
|
|
2874
|
+
readonly additionalProperties: false;
|
|
2875
|
+
};
|
|
2876
|
+
export declare const catalogReleaseSchema: {
|
|
2877
|
+
readonly $id: "https://techis.dev/ai/contracts/catalog-release.schema.json";
|
|
2878
|
+
readonly anyOf: readonly [{
|
|
2879
|
+
type: "object";
|
|
2880
|
+
additionalProperties: false;
|
|
2881
|
+
required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices"];
|
|
2882
|
+
properties: {
|
|
2883
|
+
readonly schemaVersion: {
|
|
2884
|
+
readonly const: 1;
|
|
2885
|
+
};
|
|
2886
|
+
readonly catalogRevision: {
|
|
2887
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
2888
|
+
};
|
|
2889
|
+
readonly releaseSequence: {
|
|
2890
|
+
readonly type: "integer";
|
|
2891
|
+
readonly minimum: 1;
|
|
2892
|
+
};
|
|
2893
|
+
readonly publishedAt: {
|
|
2894
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
2895
|
+
};
|
|
2896
|
+
readonly models: {
|
|
2897
|
+
readonly type: "array";
|
|
2898
|
+
readonly items: {
|
|
2899
|
+
readonly allOf: readonly [{
|
|
2900
|
+
readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
|
|
2901
|
+
}, {
|
|
2902
|
+
readonly properties: {
|
|
2903
|
+
readonly schemaVersion: {
|
|
2904
|
+
readonly const: 1;
|
|
2905
|
+
};
|
|
2906
|
+
};
|
|
2907
|
+
}];
|
|
2908
|
+
};
|
|
2909
|
+
};
|
|
2910
|
+
readonly prices: {
|
|
2911
|
+
readonly type: "array";
|
|
2912
|
+
readonly items: {
|
|
2913
|
+
readonly allOf: readonly [{
|
|
2914
|
+
readonly $ref: "https://techis.dev/ai/contracts/price-revision.schema.json";
|
|
2915
|
+
}, {
|
|
2916
|
+
readonly properties: {
|
|
2917
|
+
readonly schemaVersion: {
|
|
2918
|
+
readonly const: 1;
|
|
2919
|
+
};
|
|
2920
|
+
};
|
|
2921
|
+
}];
|
|
2922
|
+
};
|
|
2923
|
+
};
|
|
2924
|
+
readonly notes: {
|
|
2925
|
+
readonly type: "string";
|
|
2926
|
+
};
|
|
2927
|
+
};
|
|
2928
|
+
}, {
|
|
2929
|
+
readonly $id: "https://techis.dev/ai/contracts/v2/catalog-release.schema.json";
|
|
2930
|
+
readonly properties: {
|
|
2931
|
+
readonly schemaVersion: {
|
|
2932
|
+
readonly const: 2;
|
|
2933
|
+
};
|
|
2934
|
+
readonly models: {
|
|
2935
|
+
readonly type: "array";
|
|
2936
|
+
readonly items: {
|
|
2937
|
+
readonly allOf: readonly [{
|
|
2938
|
+
readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
|
|
2939
|
+
}, {
|
|
2940
|
+
readonly properties: {
|
|
2941
|
+
readonly schemaVersion: {
|
|
2942
|
+
readonly enum: readonly [1, 2];
|
|
2943
|
+
};
|
|
2944
|
+
};
|
|
2945
|
+
}];
|
|
2946
|
+
};
|
|
2947
|
+
};
|
|
2948
|
+
readonly prices: {
|
|
2949
|
+
readonly type: "array";
|
|
2950
|
+
readonly items: {
|
|
2951
|
+
readonly $ref: "https://techis.dev/ai/contracts/price-revision.schema.json";
|
|
2952
|
+
};
|
|
2953
|
+
};
|
|
2954
|
+
readonly catalogRevision: {
|
|
2955
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
2956
|
+
};
|
|
2957
|
+
readonly releaseSequence: {
|
|
2958
|
+
readonly type: "integer";
|
|
2959
|
+
readonly minimum: 1;
|
|
2960
|
+
};
|
|
2961
|
+
readonly publishedAt: {
|
|
2962
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
2963
|
+
};
|
|
2964
|
+
readonly notes: {
|
|
2965
|
+
readonly type: "string";
|
|
2966
|
+
};
|
|
2967
|
+
};
|
|
2968
|
+
readonly type: "object";
|
|
2969
|
+
readonly additionalProperties: false;
|
|
2970
|
+
readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices"];
|
|
2971
|
+
}, {
|
|
2972
|
+
readonly $id: string;
|
|
2973
|
+
readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices", "listings", "runtimeMappings"];
|
|
2974
|
+
readonly properties: {
|
|
2975
|
+
readonly schemaVersion: {
|
|
2976
|
+
readonly const: 3;
|
|
2977
|
+
};
|
|
2978
|
+
readonly models: {
|
|
2979
|
+
readonly type: "array";
|
|
2980
|
+
readonly items: {
|
|
2981
|
+
readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
|
|
2982
|
+
};
|
|
2983
|
+
};
|
|
2984
|
+
readonly listings: {
|
|
2985
|
+
readonly type: "array";
|
|
2986
|
+
readonly items: {
|
|
2987
|
+
readonly anyOf: readonly [{
|
|
2988
|
+
readonly type: "object";
|
|
2989
|
+
readonly additionalProperties: false;
|
|
2990
|
+
readonly required: readonly ["schemaVersion", "catalogId", "provider", "displayName", "source"];
|
|
2991
|
+
readonly properties: {
|
|
2992
|
+
readonly schemaVersion: {
|
|
2993
|
+
readonly const: 1;
|
|
2994
|
+
};
|
|
2995
|
+
readonly catalogId: {
|
|
2996
|
+
readonly type: "string";
|
|
2997
|
+
readonly minLength: 1;
|
|
2998
|
+
};
|
|
2999
|
+
readonly provider: {
|
|
3000
|
+
readonly type: "string";
|
|
3001
|
+
readonly minLength: 1;
|
|
3002
|
+
};
|
|
3003
|
+
readonly displayName: {
|
|
3004
|
+
readonly type: "string";
|
|
3005
|
+
readonly minLength: 1;
|
|
3006
|
+
};
|
|
3007
|
+
readonly creator: {
|
|
3008
|
+
readonly type: "object";
|
|
3009
|
+
readonly additionalProperties: false;
|
|
3010
|
+
readonly required: readonly ["displayName"];
|
|
3011
|
+
readonly properties: {
|
|
3012
|
+
readonly displayName: {
|
|
3013
|
+
readonly type: "string";
|
|
3014
|
+
readonly minLength: 1;
|
|
3015
|
+
};
|
|
3016
|
+
readonly providerId: {
|
|
3017
|
+
readonly type: "string";
|
|
3018
|
+
readonly minLength: 1;
|
|
3019
|
+
};
|
|
3020
|
+
};
|
|
3021
|
+
};
|
|
3022
|
+
readonly providerModelId: {
|
|
3023
|
+
readonly type: "string";
|
|
3024
|
+
readonly minLength: 1;
|
|
3025
|
+
};
|
|
3026
|
+
readonly aliases: {
|
|
3027
|
+
readonly type: "array";
|
|
3028
|
+
readonly items: {
|
|
3029
|
+
readonly type: "string";
|
|
3030
|
+
readonly minLength: 1;
|
|
3031
|
+
};
|
|
3032
|
+
};
|
|
3033
|
+
readonly endpointSupport: {
|
|
3034
|
+
readonly type: "object";
|
|
3035
|
+
readonly additionalProperties: false;
|
|
3036
|
+
readonly properties: {
|
|
3037
|
+
readonly responses: {
|
|
3038
|
+
readonly type: "boolean";
|
|
3039
|
+
};
|
|
3040
|
+
readonly messages: {
|
|
3041
|
+
readonly type: "boolean";
|
|
3042
|
+
};
|
|
3043
|
+
readonly generateContent: {
|
|
3044
|
+
readonly type: "boolean";
|
|
3045
|
+
};
|
|
3046
|
+
readonly interactionsV1: {
|
|
3047
|
+
readonly type: "boolean";
|
|
3048
|
+
};
|
|
3049
|
+
readonly chatCompletions: {
|
|
3050
|
+
readonly type: "boolean";
|
|
3051
|
+
};
|
|
3052
|
+
};
|
|
3053
|
+
};
|
|
3054
|
+
readonly capabilities: {
|
|
3055
|
+
readonly required: readonly [];
|
|
3056
|
+
readonly type: "object";
|
|
3057
|
+
readonly additionalProperties: false;
|
|
3058
|
+
readonly properties: {
|
|
3059
|
+
readonly inputModalities: {
|
|
3060
|
+
readonly type: "array";
|
|
3061
|
+
readonly minItems: 1;
|
|
3062
|
+
readonly items: {
|
|
3063
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
|
|
3064
|
+
};
|
|
3065
|
+
};
|
|
3066
|
+
readonly outputModalities: {
|
|
3067
|
+
readonly type: "array";
|
|
3068
|
+
readonly minItems: 1;
|
|
3069
|
+
readonly items: {
|
|
3070
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
|
|
3071
|
+
};
|
|
3072
|
+
};
|
|
3073
|
+
readonly structuredOutput: {
|
|
3074
|
+
readonly type: "boolean";
|
|
3075
|
+
};
|
|
3076
|
+
readonly providerTools: {
|
|
3077
|
+
readonly type: "array";
|
|
3078
|
+
readonly items: {
|
|
3079
|
+
readonly type: "string";
|
|
3080
|
+
readonly minLength: 1;
|
|
3081
|
+
};
|
|
3082
|
+
};
|
|
3083
|
+
readonly contextWindowTokens: {
|
|
3084
|
+
readonly type: "integer";
|
|
3085
|
+
readonly minimum: 1;
|
|
3086
|
+
};
|
|
3087
|
+
readonly maxInputTokens: {
|
|
3088
|
+
readonly type: "integer";
|
|
3089
|
+
readonly minimum: 1;
|
|
3090
|
+
};
|
|
3091
|
+
readonly maxOutputTokens: {
|
|
3092
|
+
readonly type: "integer";
|
|
3093
|
+
readonly minimum: 1;
|
|
3094
|
+
};
|
|
3095
|
+
};
|
|
3096
|
+
};
|
|
3097
|
+
readonly nativeReasoning: {
|
|
3098
|
+
readonly required: readonly [];
|
|
3099
|
+
readonly type: "object";
|
|
3100
|
+
readonly additionalProperties: false;
|
|
3101
|
+
readonly properties: {
|
|
3102
|
+
readonly supportedControls: {
|
|
3103
|
+
readonly type: "array";
|
|
3104
|
+
readonly items: {
|
|
3105
|
+
readonly enum: readonly ["effort", "thinking", "token-budget"];
|
|
3106
|
+
};
|
|
3107
|
+
readonly uniqueItems: true;
|
|
3108
|
+
};
|
|
3109
|
+
readonly disableSupported: {
|
|
3110
|
+
readonly type: "boolean";
|
|
3111
|
+
};
|
|
3112
|
+
readonly supportedEffortLevels: {
|
|
3113
|
+
readonly type: "array";
|
|
3114
|
+
readonly minItems: 1;
|
|
3115
|
+
readonly items: {
|
|
3116
|
+
readonly type: "string";
|
|
3117
|
+
readonly minLength: 1;
|
|
3118
|
+
};
|
|
3119
|
+
};
|
|
3120
|
+
readonly defaultEffort: {
|
|
3121
|
+
readonly type: "string";
|
|
3122
|
+
readonly minLength: 1;
|
|
3123
|
+
};
|
|
3124
|
+
readonly defaultThinkingEnabled: {
|
|
3125
|
+
readonly type: "boolean";
|
|
3126
|
+
};
|
|
3127
|
+
readonly defaultBudgetTokens: {
|
|
3128
|
+
readonly type: "integer";
|
|
3129
|
+
readonly minimum: 0;
|
|
3130
|
+
};
|
|
3131
|
+
readonly budgetTokensRange: {
|
|
3132
|
+
readonly type: "object";
|
|
3133
|
+
readonly additionalProperties: false;
|
|
3134
|
+
readonly required: readonly ["min", "max"];
|
|
3135
|
+
readonly properties: {
|
|
3136
|
+
readonly min: {
|
|
3137
|
+
readonly type: "integer";
|
|
3138
|
+
readonly minimum: 0;
|
|
3139
|
+
};
|
|
3140
|
+
readonly max: {
|
|
3141
|
+
readonly type: "integer";
|
|
3142
|
+
readonly minimum: 0;
|
|
3143
|
+
};
|
|
3144
|
+
};
|
|
3145
|
+
};
|
|
3146
|
+
readonly notes: {
|
|
3147
|
+
readonly type: "string";
|
|
3148
|
+
};
|
|
3149
|
+
};
|
|
3150
|
+
};
|
|
3151
|
+
readonly lifecycle: {
|
|
3152
|
+
readonly properties: {
|
|
3153
|
+
readonly status: {
|
|
3154
|
+
readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
|
|
3155
|
+
};
|
|
3156
|
+
readonly deprecatedAt: {
|
|
3157
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
3158
|
+
};
|
|
3159
|
+
readonly sunsetAt: {
|
|
3160
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
3161
|
+
};
|
|
3162
|
+
readonly replacementCatalogId: {
|
|
3163
|
+
readonly type: "string";
|
|
3164
|
+
readonly minLength: 1;
|
|
3165
|
+
};
|
|
3166
|
+
};
|
|
3167
|
+
readonly type: "object";
|
|
3168
|
+
readonly additionalProperties: false;
|
|
3169
|
+
readonly required: readonly ["status"];
|
|
3170
|
+
};
|
|
3171
|
+
readonly availability: {
|
|
3172
|
+
readonly type: "object";
|
|
3173
|
+
readonly additionalProperties: false;
|
|
3174
|
+
readonly required: readonly ["status"];
|
|
3175
|
+
readonly properties: {
|
|
3176
|
+
readonly status: {
|
|
3177
|
+
readonly enum: readonly ["available", "unavailable", "restricted", "announced", "unknown"];
|
|
3178
|
+
};
|
|
3179
|
+
};
|
|
3180
|
+
};
|
|
3181
|
+
readonly activePriceRevisionId: {
|
|
3182
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
|
|
3183
|
+
};
|
|
3184
|
+
readonly source: {
|
|
3185
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
|
|
3186
|
+
};
|
|
3187
|
+
readonly notes: {
|
|
3188
|
+
readonly type: "string";
|
|
3189
|
+
};
|
|
3190
|
+
};
|
|
3191
|
+
}, {
|
|
3192
|
+
required: string[];
|
|
3193
|
+
properties: {
|
|
3194
|
+
schemaVersion: {
|
|
3195
|
+
const: number;
|
|
3196
|
+
};
|
|
3197
|
+
verifiedAt: {
|
|
3198
|
+
readonly type: readonly ["string", "null"];
|
|
3199
|
+
readonly format: "date-time";
|
|
3200
|
+
};
|
|
3201
|
+
catalogId: {
|
|
3202
|
+
readonly type: "string";
|
|
3203
|
+
readonly minLength: 1;
|
|
3204
|
+
};
|
|
3205
|
+
provider: {
|
|
3206
|
+
readonly type: "string";
|
|
3207
|
+
readonly minLength: 1;
|
|
3208
|
+
};
|
|
3209
|
+
displayName: {
|
|
3210
|
+
readonly type: "string";
|
|
3211
|
+
readonly minLength: 1;
|
|
3212
|
+
};
|
|
3213
|
+
creator: {
|
|
3214
|
+
readonly type: "object";
|
|
3215
|
+
readonly additionalProperties: false;
|
|
3216
|
+
readonly required: readonly ["displayName"];
|
|
3217
|
+
readonly properties: {
|
|
3218
|
+
readonly displayName: {
|
|
3219
|
+
readonly type: "string";
|
|
3220
|
+
readonly minLength: 1;
|
|
3221
|
+
};
|
|
3222
|
+
readonly providerId: {
|
|
3223
|
+
readonly type: "string";
|
|
3224
|
+
readonly minLength: 1;
|
|
3225
|
+
};
|
|
3226
|
+
};
|
|
3227
|
+
};
|
|
3228
|
+
providerModelId: {
|
|
3229
|
+
readonly type: "string";
|
|
3230
|
+
readonly minLength: 1;
|
|
3231
|
+
};
|
|
3232
|
+
aliases: {
|
|
3233
|
+
readonly type: "array";
|
|
3234
|
+
readonly items: {
|
|
3235
|
+
readonly type: "string";
|
|
3236
|
+
readonly minLength: 1;
|
|
3237
|
+
};
|
|
3238
|
+
};
|
|
3239
|
+
endpointSupport: {
|
|
3240
|
+
readonly type: "object";
|
|
3241
|
+
readonly additionalProperties: false;
|
|
3242
|
+
readonly properties: {
|
|
3243
|
+
readonly responses: {
|
|
3244
|
+
readonly type: "boolean";
|
|
3245
|
+
};
|
|
3246
|
+
readonly messages: {
|
|
3247
|
+
readonly type: "boolean";
|
|
3248
|
+
};
|
|
3249
|
+
readonly generateContent: {
|
|
3250
|
+
readonly type: "boolean";
|
|
3251
|
+
};
|
|
3252
|
+
readonly interactionsV1: {
|
|
3253
|
+
readonly type: "boolean";
|
|
3254
|
+
};
|
|
3255
|
+
readonly chatCompletions: {
|
|
3256
|
+
readonly type: "boolean";
|
|
3257
|
+
};
|
|
3258
|
+
};
|
|
3259
|
+
};
|
|
3260
|
+
capabilities: {
|
|
3261
|
+
readonly required: readonly [];
|
|
3262
|
+
readonly type: "object";
|
|
3263
|
+
readonly additionalProperties: false;
|
|
3264
|
+
readonly properties: {
|
|
3265
|
+
readonly inputModalities: {
|
|
3266
|
+
readonly type: "array";
|
|
3267
|
+
readonly minItems: 1;
|
|
3268
|
+
readonly items: {
|
|
3269
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
|
|
3270
|
+
};
|
|
3271
|
+
};
|
|
3272
|
+
readonly outputModalities: {
|
|
3273
|
+
readonly type: "array";
|
|
3274
|
+
readonly minItems: 1;
|
|
3275
|
+
readonly items: {
|
|
3276
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
|
|
3277
|
+
};
|
|
3278
|
+
};
|
|
3279
|
+
readonly structuredOutput: {
|
|
3280
|
+
readonly type: "boolean";
|
|
3281
|
+
};
|
|
3282
|
+
readonly providerTools: {
|
|
3283
|
+
readonly type: "array";
|
|
3284
|
+
readonly items: {
|
|
3285
|
+
readonly type: "string";
|
|
3286
|
+
readonly minLength: 1;
|
|
3287
|
+
};
|
|
3288
|
+
};
|
|
3289
|
+
readonly contextWindowTokens: {
|
|
3290
|
+
readonly type: "integer";
|
|
3291
|
+
readonly minimum: 1;
|
|
3292
|
+
};
|
|
3293
|
+
readonly maxInputTokens: {
|
|
3294
|
+
readonly type: "integer";
|
|
3295
|
+
readonly minimum: 1;
|
|
3296
|
+
};
|
|
3297
|
+
readonly maxOutputTokens: {
|
|
3298
|
+
readonly type: "integer";
|
|
3299
|
+
readonly minimum: 1;
|
|
3300
|
+
};
|
|
3301
|
+
};
|
|
3302
|
+
};
|
|
3303
|
+
nativeReasoning: {
|
|
3304
|
+
readonly required: readonly [];
|
|
3305
|
+
readonly type: "object";
|
|
3306
|
+
readonly additionalProperties: false;
|
|
3307
|
+
readonly properties: {
|
|
3308
|
+
readonly supportedControls: {
|
|
3309
|
+
readonly type: "array";
|
|
3310
|
+
readonly items: {
|
|
3311
|
+
readonly enum: readonly ["effort", "thinking", "token-budget"];
|
|
3312
|
+
};
|
|
3313
|
+
readonly uniqueItems: true;
|
|
3314
|
+
};
|
|
3315
|
+
readonly disableSupported: {
|
|
3316
|
+
readonly type: "boolean";
|
|
3317
|
+
};
|
|
3318
|
+
readonly supportedEffortLevels: {
|
|
3319
|
+
readonly type: "array";
|
|
3320
|
+
readonly minItems: 1;
|
|
3321
|
+
readonly items: {
|
|
3322
|
+
readonly type: "string";
|
|
3323
|
+
readonly minLength: 1;
|
|
3324
|
+
};
|
|
3325
|
+
};
|
|
3326
|
+
readonly defaultEffort: {
|
|
3327
|
+
readonly type: "string";
|
|
3328
|
+
readonly minLength: 1;
|
|
3329
|
+
};
|
|
3330
|
+
readonly defaultThinkingEnabled: {
|
|
3331
|
+
readonly type: "boolean";
|
|
3332
|
+
};
|
|
3333
|
+
readonly defaultBudgetTokens: {
|
|
3334
|
+
readonly type: "integer";
|
|
3335
|
+
readonly minimum: 0;
|
|
3336
|
+
};
|
|
3337
|
+
readonly budgetTokensRange: {
|
|
3338
|
+
readonly type: "object";
|
|
3339
|
+
readonly additionalProperties: false;
|
|
3340
|
+
readonly required: readonly ["min", "max"];
|
|
3341
|
+
readonly properties: {
|
|
3342
|
+
readonly min: {
|
|
3343
|
+
readonly type: "integer";
|
|
3344
|
+
readonly minimum: 0;
|
|
3345
|
+
};
|
|
3346
|
+
readonly max: {
|
|
3347
|
+
readonly type: "integer";
|
|
3348
|
+
readonly minimum: 0;
|
|
3349
|
+
};
|
|
3350
|
+
};
|
|
3351
|
+
};
|
|
3352
|
+
readonly notes: {
|
|
3353
|
+
readonly type: "string";
|
|
3354
|
+
};
|
|
3355
|
+
};
|
|
3356
|
+
};
|
|
3357
|
+
lifecycle: {
|
|
3358
|
+
readonly properties: {
|
|
3359
|
+
readonly status: {
|
|
3360
|
+
readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
|
|
3361
|
+
};
|
|
3362
|
+
readonly deprecatedAt: {
|
|
3363
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
3364
|
+
};
|
|
3365
|
+
readonly sunsetAt: {
|
|
3366
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
3367
|
+
};
|
|
3368
|
+
readonly replacementCatalogId: {
|
|
3369
|
+
readonly type: "string";
|
|
3370
|
+
readonly minLength: 1;
|
|
3371
|
+
};
|
|
3372
|
+
};
|
|
3373
|
+
readonly type: "object";
|
|
3374
|
+
readonly additionalProperties: false;
|
|
3375
|
+
readonly required: readonly ["status"];
|
|
3376
|
+
};
|
|
3377
|
+
availability: {
|
|
3378
|
+
readonly type: "object";
|
|
3379
|
+
readonly additionalProperties: false;
|
|
3380
|
+
readonly required: readonly ["status"];
|
|
3381
|
+
readonly properties: {
|
|
3382
|
+
readonly status: {
|
|
3383
|
+
readonly enum: readonly ["available", "unavailable", "restricted", "announced", "unknown"];
|
|
3384
|
+
};
|
|
3385
|
+
};
|
|
3386
|
+
};
|
|
3387
|
+
activePriceRevisionId: {
|
|
3388
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
|
|
3389
|
+
};
|
|
3390
|
+
notes: {
|
|
3391
|
+
readonly type: "string";
|
|
3392
|
+
};
|
|
3393
|
+
};
|
|
3394
|
+
type: "object";
|
|
3395
|
+
additionalProperties: false;
|
|
3396
|
+
}];
|
|
3397
|
+
};
|
|
3398
|
+
};
|
|
3399
|
+
readonly executionProjection: {
|
|
3400
|
+
readonly enum: readonly ["endpoint-evidence-v1", "endpoint-evidence-v2"];
|
|
3401
|
+
};
|
|
3402
|
+
readonly listingFactReview: {
|
|
3403
|
+
readonly enum: readonly ["field-updates-v1", "field-evidence-v2"];
|
|
3404
|
+
};
|
|
3405
|
+
readonly runtimeMappings: {
|
|
3406
|
+
readonly type: "object";
|
|
3407
|
+
readonly additionalProperties: {
|
|
3408
|
+
readonly anyOf: readonly [{
|
|
3409
|
+
readonly $ref: string;
|
|
3410
|
+
}, {
|
|
3411
|
+
readonly type: "array";
|
|
3412
|
+
readonly minItems: 1;
|
|
3413
|
+
readonly uniqueItems: true;
|
|
3414
|
+
readonly items: {
|
|
3415
|
+
readonly $ref: string;
|
|
3416
|
+
};
|
|
3417
|
+
}];
|
|
2611
3418
|
};
|
|
2612
3419
|
};
|
|
2613
3420
|
readonly prices: {
|