@techis/ai-contracts 0.0.0-stage → 0.3.0-rc.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/LICENSE +122 -0
  2. package/README.md +28 -3
  3. package/THIRD_PARTY_NOTICES +34 -0
  4. package/dist/availability.d.ts +21 -0
  5. package/dist/availability.d.ts.map +1 -0
  6. package/dist/availability.js +2 -0
  7. package/dist/availability.js.map +1 -0
  8. package/dist/catalog-adoption.d.ts +20 -0
  9. package/dist/catalog-adoption.d.ts.map +1 -0
  10. package/dist/catalog-adoption.js +76 -0
  11. package/dist/catalog-adoption.js.map +1 -0
  12. package/dist/catalog-composition.d.ts +10 -0
  13. package/dist/catalog-composition.d.ts.map +1 -0
  14. package/dist/catalog-composition.js +66 -0
  15. package/dist/catalog-composition.js.map +1 -0
  16. package/dist/catalog-delivery.d.ts +47 -0
  17. package/dist/catalog-delivery.d.ts.map +1 -0
  18. package/dist/catalog-delivery.js +87 -0
  19. package/dist/catalog-delivery.js.map +1 -0
  20. package/dist/catalog-package-data.d.ts +8 -0
  21. package/dist/catalog-package-data.d.ts.map +1 -0
  22. package/dist/catalog-package-data.js +3845 -0
  23. package/dist/catalog-package-data.js.map +1 -0
  24. package/dist/compatibility.d.ts +68 -0
  25. package/dist/compatibility.d.ts.map +1 -0
  26. package/dist/compatibility.js +207 -0
  27. package/dist/compatibility.js.map +1 -0
  28. package/dist/configuration-bundle.d.ts +204 -0
  29. package/dist/configuration-bundle.d.ts.map +1 -0
  30. package/dist/configuration-bundle.js +626 -0
  31. package/dist/configuration-bundle.js.map +1 -0
  32. package/dist/entities.d.ts +641 -0
  33. package/dist/entities.d.ts.map +1 -0
  34. package/dist/entities.js +2 -0
  35. package/dist/entities.js.map +1 -0
  36. package/dist/fixtures.d.ts +25 -0
  37. package/dist/fixtures.d.ts.map +1 -0
  38. package/dist/fixtures.js +546 -0
  39. package/dist/fixtures.js.map +1 -0
  40. package/dist/hash.d.ts +8 -0
  41. package/dist/hash.d.ts.map +1 -0
  42. package/dist/hash.js +13 -0
  43. package/dist/hash.js.map +1 -0
  44. package/dist/host-qualification.d.ts +107 -0
  45. package/dist/host-qualification.d.ts.map +1 -0
  46. package/dist/host-qualification.js +88 -0
  47. package/dist/host-qualification.js.map +1 -0
  48. package/dist/icc-catalog.d.ts +31 -0
  49. package/dist/icc-catalog.d.ts.map +1 -0
  50. package/dist/icc-catalog.js +321 -0
  51. package/dist/icc-catalog.js.map +1 -0
  52. package/dist/icc-csf-profiles.d.ts +28 -0
  53. package/dist/icc-csf-profiles.d.ts.map +1 -0
  54. package/dist/icc-csf-profiles.js +394 -0
  55. package/dist/icc-csf-profiles.js.map +1 -0
  56. package/dist/index.d.ts +25 -0
  57. package/dist/index.d.ts.map +1 -0
  58. package/dist/index.js +25 -0
  59. package/dist/index.js.map +1 -0
  60. package/dist/model-maintenance.d.ts +216 -0
  61. package/dist/model-maintenance.d.ts.map +1 -0
  62. package/dist/model-maintenance.js +425 -0
  63. package/dist/model-maintenance.js.map +1 -0
  64. package/dist/model-package-data.d.ts +3 -0
  65. package/dist/model-package-data.d.ts.map +1 -0
  66. package/dist/model-package-data.js +4954 -0
  67. package/dist/model-package-data.js.map +1 -0
  68. package/dist/persona-inventory.d.ts +143 -0
  69. package/dist/persona-inventory.d.ts.map +1 -0
  70. package/dist/persona-inventory.js +56 -0
  71. package/dist/persona-inventory.js.map +1 -0
  72. package/dist/profile-identity.d.ts +27 -0
  73. package/dist/profile-identity.d.ts.map +1 -0
  74. package/dist/profile-identity.js +30 -0
  75. package/dist/profile-identity.js.map +1 -0
  76. package/dist/provider-listings.d.ts +9 -0
  77. package/dist/provider-listings.d.ts.map +1 -0
  78. package/dist/provider-listings.js +48 -0
  79. package/dist/provider-listings.js.map +1 -0
  80. package/dist/reasoning-validation.d.ts +9 -0
  81. package/dist/reasoning-validation.d.ts.map +1 -0
  82. package/dist/reasoning-validation.js +79 -0
  83. package/dist/reasoning-validation.js.map +1 -0
  84. package/dist/reasoning.d.ts +55 -0
  85. package/dist/reasoning.d.ts.map +1 -0
  86. package/dist/reasoning.js +13 -0
  87. package/dist/reasoning.js.map +1 -0
  88. package/dist/receipt.d.ts +16 -0
  89. package/dist/receipt.d.ts.map +1 -0
  90. package/dist/receipt.js +18 -0
  91. package/dist/receipt.js.map +1 -0
  92. package/dist/schemas/adoption-change-set.schema.json +91 -0
  93. package/dist/schemas/bundle.d.ts +124 -0
  94. package/dist/schemas/bundle.d.ts.map +1 -0
  95. package/dist/schemas/bundle.js +84 -0
  96. package/dist/schemas/bundle.js.map +1 -0
  97. package/dist/schemas/catalog-release.schema.json +375 -0
  98. package/dist/schemas/catalog-review-input.schema.json +179 -0
  99. package/dist/schemas/catalog-review-output.schema.json +259 -0
  100. package/dist/schemas/catalog-review-output.v2.schema.json +251 -0
  101. package/dist/schemas/catalog-review-record.schema.json +391 -0
  102. package/dist/schemas/client-persona-inventory.schema.json +107 -0
  103. package/dist/schemas/common.schema.json +324 -0
  104. package/dist/schemas/config.d.ts +1106 -0
  105. package/dist/schemas/config.d.ts.map +1 -0
  106. package/dist/schemas/config.js +496 -0
  107. package/dist/schemas/config.js.map +1 -0
  108. package/dist/schemas/configuration-bundle-manifest.schema.json +144 -0
  109. package/dist/schemas/configuration-manifest.schema.json +109 -0
  110. package/dist/schemas/connection.schema.json +49 -0
  111. package/dist/schemas/core.d.ts +2268 -0
  112. package/dist/schemas/core.d.ts.map +1 -0
  113. package/dist/schemas/core.js +367 -0
  114. package/dist/schemas/core.js.map +1 -0
  115. package/dist/schemas/desktop-configuration-revision.schema.json +146 -0
  116. package/dist/schemas/execution-profile-revision.schema.json +235 -0
  117. package/dist/schemas/execution-receipt.schema.json +431 -0
  118. package/dist/schemas/host-adapter-qualification.schema.json +398 -0
  119. package/dist/schemas/host-qualification-policy.schema.json +50 -0
  120. package/dist/schemas/index.d.ts +11 -0
  121. package/dist/schemas/index.d.ts.map +1 -0
  122. package/dist/schemas/index.js +34 -0
  123. package/dist/schemas/index.js.map +1 -0
  124. package/dist/schemas/inventory.d.ts +170 -0
  125. package/dist/schemas/inventory.d.ts.map +1 -0
  126. package/dist/schemas/inventory.js +87 -0
  127. package/dist/schemas/inventory.js.map +1 -0
  128. package/dist/schemas/model-definition.schema.json +628 -0
  129. package/dist/schemas/model-package-release.schema.json +594 -0
  130. package/dist/schemas/model-upgrade-advisory.schema.json +191 -0
  131. package/dist/schemas/operation-contract-document.schema.json +153 -0
  132. package/dist/schemas/persona-assignments.schema.json +125 -0
  133. package/dist/schemas/persona-registry-overlay.schema.json +93 -0
  134. package/dist/schemas/persona-source-document.schema.json +86 -0
  135. package/dist/schemas/persona-specification.schema.json +122 -0
  136. package/dist/schemas/price-revision.schema.json +299 -0
  137. package/dist/schemas/profile-assessment.schema.json +288 -0
  138. package/dist/schemas/scoped.d.ts +424 -0
  139. package/dist/schemas/scoped.d.ts.map +1 -0
  140. package/dist/schemas/scoped.js +203 -0
  141. package/dist/schemas/scoped.js.map +1 -0
  142. package/dist/schemas/usage-aggregate-query.schema.json +86 -0
  143. package/dist/schemas/usage-page.schema.json +22 -0
  144. package/dist/schemas/usage-query.schema.json +77 -0
  145. package/dist/schemas/usage-summary.schema.json +468 -0
  146. package/dist/schemas/usage.d.ts +527 -0
  147. package/dist/schemas/usage.d.ts.map +1 -0
  148. package/dist/schemas/usage.js +142 -0
  149. package/dist/schemas/usage.js.map +1 -0
  150. package/dist/scoped-configuration.d.ts +208 -0
  151. package/dist/scoped-configuration.d.ts.map +1 -0
  152. package/dist/scoped-configuration.js +425 -0
  153. package/dist/scoped-configuration.js.map +1 -0
  154. package/dist/scripts/emit-schemas.d.ts +2 -0
  155. package/dist/scripts/emit-schemas.d.ts.map +1 -0
  156. package/dist/scripts/emit-schemas.js +24 -0
  157. package/dist/scripts/emit-schemas.js.map +1 -0
  158. package/dist/scripts/verify-bundle.d.ts +3 -0
  159. package/dist/scripts/verify-bundle.d.ts.map +1 -0
  160. package/dist/scripts/verify-bundle.js +59 -0
  161. package/dist/scripts/verify-bundle.js.map +1 -0
  162. package/dist/validation.d.ts +11 -0
  163. package/dist/validation.d.ts.map +1 -0
  164. package/dist/validation.js +41 -0
  165. package/dist/validation.js.map +1 -0
  166. package/package.json +31 -4
  167. package/third-party-licenses/ajv-formats@3.0.1/LICENSE +21 -0
  168. package/third-party-licenses/ajv@8.20.0/LICENSE +22 -0
  169. package/third-party-licenses/fast-deep-equal@3.1.3/LICENSE +21 -0
  170. package/third-party-licenses/fast-uri@3.1.7/LICENSE +30 -0
  171. package/third-party-licenses/json-schema-traverse@1.0.0/LICENSE +21 -0
  172. package/third-party-licenses/require-from-string@2.0.2/license +21 -0
  173. package/third-party-licenses/typescript@5.9.3/LICENSE.txt +55 -0
  174. package/third-party-licenses/typescript@5.9.3/ThirdPartyNoticeText.txt +193 -0
  175. package/third-party-licenses.json +102 -0
@@ -0,0 +1,2268 @@
1
+ /**
2
+ * Shared JSON Schema definitions (draft-07) referenced by the entity schemas.
3
+ * Schemas live as exported objects so they are portable to any JS runtime without
4
+ * JSON import attributes; `npm run emit-schemas` in this package writes them to
5
+ * dist/schemas/*.json for language-neutral consumption.
6
+ */
7
+ export declare const SCHEMA_BASE = "https://techis.dev/ai/contracts";
8
+ export declare const commonSchemaId = "https://techis.dev/ai/contracts/common.schema.json";
9
+ export declare const commonSchema: {
10
+ readonly $id: "https://techis.dev/ai/contracts/common.schema.json";
11
+ readonly definitions: {
12
+ readonly revision: {
13
+ readonly type: "string";
14
+ readonly minLength: 1;
15
+ };
16
+ readonly applicationId: {
17
+ readonly type: "string";
18
+ readonly pattern: "^[a-z0-9][a-z0-9._-]*$";
19
+ };
20
+ readonly environmentId: {
21
+ readonly type: "string";
22
+ readonly pattern: "^[a-z0-9][a-z0-9._-]*$";
23
+ };
24
+ readonly personaId: {
25
+ readonly type: "string";
26
+ readonly pattern: "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$";
27
+ };
28
+ readonly profileId: {
29
+ readonly type: "string";
30
+ readonly pattern: "^[a-zA-Z0-9][a-zA-Z0-9._-]*$";
31
+ };
32
+ readonly adapterId: {
33
+ readonly type: "string";
34
+ readonly pattern: "^[a-z0-9][a-z0-9-]*$";
35
+ };
36
+ readonly priceRevisionId: {
37
+ readonly type: "string";
38
+ readonly minLength: 1;
39
+ };
40
+ readonly modality: {
41
+ readonly enum: readonly ["text", "image", "audio", "video"];
42
+ };
43
+ readonly isoDateTime: {
44
+ readonly type: "string";
45
+ readonly format: "date-time";
46
+ };
47
+ readonly source: {
48
+ readonly type: "object";
49
+ readonly additionalProperties: false;
50
+ readonly required: readonly ["uri", "verifiedAt"];
51
+ readonly properties: {
52
+ readonly uri: {
53
+ readonly type: "string";
54
+ readonly minLength: 1;
55
+ };
56
+ readonly verifiedAt: {
57
+ readonly type: readonly ["string", "null"];
58
+ readonly format: "date-time";
59
+ };
60
+ };
61
+ };
62
+ readonly nativeReasoningControl: {
63
+ readonly anyOf: readonly [{
64
+ readonly type: "object";
65
+ readonly additionalProperties: false;
66
+ readonly required: readonly ["mode"];
67
+ readonly properties: {
68
+ readonly mode: {
69
+ readonly const: "provider-default";
70
+ };
71
+ };
72
+ }, {
73
+ readonly type: "object";
74
+ readonly additionalProperties: false;
75
+ readonly required: readonly ["mode"];
76
+ readonly properties: {
77
+ readonly mode: {
78
+ readonly const: "disabled";
79
+ };
80
+ };
81
+ }, {
82
+ readonly type: "object";
83
+ readonly additionalProperties: false;
84
+ readonly required: readonly ["mode", "level"];
85
+ readonly properties: {
86
+ readonly mode: {
87
+ readonly const: "effort";
88
+ };
89
+ readonly level: {
90
+ readonly type: "string";
91
+ readonly minLength: 1;
92
+ };
93
+ };
94
+ }, {
95
+ readonly type: "object";
96
+ readonly additionalProperties: false;
97
+ readonly required: readonly ["mode", "enabled"];
98
+ readonly properties: {
99
+ readonly mode: {
100
+ readonly const: "thinking";
101
+ };
102
+ readonly enabled: {
103
+ readonly type: "boolean";
104
+ };
105
+ };
106
+ }, {
107
+ readonly type: "object";
108
+ readonly additionalProperties: false;
109
+ readonly required: readonly ["mode", "budgetTokens"];
110
+ readonly properties: {
111
+ readonly mode: {
112
+ readonly const: "token-budget";
113
+ };
114
+ readonly budgetTokens: {
115
+ readonly type: "integer";
116
+ readonly minimum: 0;
117
+ };
118
+ };
119
+ }, {
120
+ readonly type: "object";
121
+ readonly additionalProperties: false;
122
+ readonly required: readonly ["mode"];
123
+ readonly properties: {
124
+ readonly mode: {
125
+ readonly const: "combined";
126
+ };
127
+ readonly effort: {
128
+ readonly type: "object";
129
+ readonly additionalProperties: false;
130
+ readonly required: readonly ["level"];
131
+ readonly properties: {
132
+ readonly level: {
133
+ readonly type: "string";
134
+ readonly minLength: 1;
135
+ };
136
+ };
137
+ };
138
+ readonly thinking: {
139
+ readonly type: "object";
140
+ readonly additionalProperties: false;
141
+ readonly required: readonly ["enabled"];
142
+ readonly properties: {
143
+ readonly enabled: {
144
+ readonly type: "boolean";
145
+ };
146
+ };
147
+ };
148
+ readonly tokenBudget: {
149
+ readonly type: "object";
150
+ readonly additionalProperties: false;
151
+ readonly required: readonly ["budgetTokens"];
152
+ readonly properties: {
153
+ readonly budgetTokens: {
154
+ readonly type: "integer";
155
+ readonly minimum: 0;
156
+ };
157
+ };
158
+ };
159
+ };
160
+ }];
161
+ };
162
+ readonly modelSettings: {
163
+ readonly type: "object";
164
+ readonly additionalProperties: false;
165
+ readonly properties: {
166
+ readonly reasoning: {
167
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/nativeReasoningControl";
168
+ };
169
+ readonly defaultMaxOutputTokens: {
170
+ readonly type: "integer";
171
+ readonly minimum: 1;
172
+ };
173
+ readonly temperature: {
174
+ readonly type: "number";
175
+ readonly minimum: 0;
176
+ readonly maximum: 2;
177
+ };
178
+ readonly providerOptions: {
179
+ readonly type: "object";
180
+ };
181
+ };
182
+ };
183
+ readonly executionCaps: {
184
+ readonly type: "object";
185
+ readonly additionalProperties: false;
186
+ readonly minProperties: 1;
187
+ readonly properties: {
188
+ readonly maxInputTokens: {
189
+ readonly type: "integer";
190
+ readonly minimum: 1;
191
+ };
192
+ readonly maxOutputTokens: {
193
+ readonly type: "integer";
194
+ readonly minimum: 1;
195
+ };
196
+ readonly maxEstimatedCost: {
197
+ readonly type: "object";
198
+ readonly additionalProperties: false;
199
+ readonly required: readonly ["currency", "amount"];
200
+ readonly properties: {
201
+ readonly currency: {
202
+ readonly type: "string";
203
+ readonly minLength: 3;
204
+ readonly maxLength: 3;
205
+ };
206
+ readonly amount: {
207
+ readonly type: "number";
208
+ readonly minimum: 0;
209
+ };
210
+ };
211
+ };
212
+ };
213
+ };
214
+ readonly effortPolicyForModel: {
215
+ readonly type: "object";
216
+ readonly additionalProperties: false;
217
+ readonly minProperties: 1;
218
+ readonly properties: {
219
+ readonly minimum: {
220
+ readonly type: "string";
221
+ readonly minLength: 1;
222
+ };
223
+ readonly maximum: {
224
+ readonly type: "string";
225
+ readonly minLength: 1;
226
+ };
227
+ readonly translations: {
228
+ readonly type: "object";
229
+ readonly additionalProperties: {
230
+ readonly type: "string";
231
+ readonly minLength: 1;
232
+ };
233
+ readonly minProperties: 1;
234
+ };
235
+ };
236
+ };
237
+ readonly usageDimensions: {
238
+ readonly type: "object";
239
+ readonly additionalProperties: false;
240
+ readonly properties: {
241
+ readonly inputTokens: {
242
+ readonly type: "integer";
243
+ readonly minimum: 0;
244
+ };
245
+ readonly outputTokens: {
246
+ readonly type: "integer";
247
+ readonly minimum: 0;
248
+ };
249
+ readonly cachedInputTokens: {
250
+ readonly type: "integer";
251
+ readonly minimum: 0;
252
+ };
253
+ readonly cacheWriteInputTokens: {
254
+ readonly type: "integer";
255
+ readonly minimum: 0;
256
+ };
257
+ readonly reasoningTokens: {
258
+ readonly type: "integer";
259
+ readonly minimum: 0;
260
+ };
261
+ readonly toolCalls: {
262
+ readonly type: "integer";
263
+ readonly minimum: 0;
264
+ };
265
+ };
266
+ };
267
+ readonly modelLifecycleStatus: {
268
+ readonly enum: readonly ["preview", "ga", "deprecated", "retired"];
269
+ };
270
+ readonly latencyPreference: {
271
+ readonly enum: readonly ["low", "moderate", "any"];
272
+ };
273
+ readonly costPreference: {
274
+ readonly enum: readonly ["economy", "balanced", "quality-first"];
275
+ };
276
+ };
277
+ };
278
+ export declare const modelDefinitionSchemaId = "https://techis.dev/ai/contracts/model-definition.schema.json";
279
+ export declare const modelDefinitionV2SchemaId = "https://techis.dev/ai/contracts/v2/model-definition.schema.json";
280
+ export declare const modelDefinitionV2Schema: {
281
+ readonly $id: "https://techis.dev/ai/contracts/v2/model-definition.schema.json";
282
+ readonly required: readonly ["schemaVersion", "catalogId", "providerModelId", "provider", "adapterId", "displayName", "capabilities", "nativeReasoning", "lifecycle", "source", "availability"];
283
+ readonly properties: {
284
+ readonly schemaVersion: {
285
+ readonly const: 2;
286
+ };
287
+ readonly lifecycle: {
288
+ readonly properties: {
289
+ readonly status: {
290
+ readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
291
+ };
292
+ readonly deprecatedAt: {
293
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
294
+ };
295
+ readonly sunsetAt: {
296
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
297
+ };
298
+ readonly replacementCatalogId: {
299
+ readonly type: "string";
300
+ readonly minLength: 1;
301
+ };
302
+ };
303
+ readonly type: "object";
304
+ readonly additionalProperties: false;
305
+ readonly required: readonly ["status"];
306
+ };
307
+ readonly availability: {
308
+ readonly type: "object";
309
+ readonly additionalProperties: false;
310
+ readonly required: readonly ["status", "source"];
311
+ readonly properties: {
312
+ readonly status: {
313
+ readonly const: "available";
314
+ };
315
+ readonly source: {
316
+ readonly type: "object";
317
+ readonly additionalProperties: false;
318
+ readonly required: readonly ["uri", "verifiedAt"];
319
+ readonly properties: {
320
+ readonly uri: {
321
+ readonly type: "string";
322
+ readonly minLength: 1;
323
+ };
324
+ readonly verifiedAt: {
325
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
326
+ };
327
+ };
328
+ };
329
+ };
330
+ };
331
+ readonly catalogId: {
332
+ readonly type: "string";
333
+ readonly minLength: 1;
334
+ };
335
+ readonly providerModelId: {
336
+ readonly type: "string";
337
+ readonly minLength: 1;
338
+ };
339
+ readonly provider: {
340
+ readonly type: "string";
341
+ readonly minLength: 1;
342
+ };
343
+ readonly adapterId: {
344
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/adapterId";
345
+ };
346
+ readonly displayName: {
347
+ readonly type: "string";
348
+ readonly minLength: 1;
349
+ };
350
+ readonly aliases: {
351
+ readonly type: "array";
352
+ readonly items: {
353
+ readonly type: "string";
354
+ readonly minLength: 1;
355
+ };
356
+ };
357
+ readonly capabilities: {
358
+ readonly type: "object";
359
+ readonly additionalProperties: false;
360
+ readonly required: readonly ["inputModalities", "outputModalities", "structuredOutput", "providerTools", "contextWindowTokens", "maxInputTokens", "maxOutputTokens"];
361
+ readonly properties: {
362
+ readonly inputModalities: {
363
+ readonly type: "array";
364
+ readonly minItems: 1;
365
+ readonly items: {
366
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
367
+ };
368
+ };
369
+ readonly outputModalities: {
370
+ readonly type: "array";
371
+ readonly minItems: 1;
372
+ readonly items: {
373
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
374
+ };
375
+ };
376
+ readonly structuredOutput: {
377
+ readonly type: "boolean";
378
+ };
379
+ readonly providerTools: {
380
+ readonly type: "array";
381
+ readonly items: {
382
+ readonly type: "string";
383
+ readonly minLength: 1;
384
+ };
385
+ };
386
+ readonly contextWindowTokens: {
387
+ readonly type: "integer";
388
+ readonly minimum: 1;
389
+ };
390
+ readonly maxInputTokens: {
391
+ readonly type: "integer";
392
+ readonly minimum: 1;
393
+ };
394
+ readonly maxOutputTokens: {
395
+ readonly type: "integer";
396
+ readonly minimum: 1;
397
+ };
398
+ };
399
+ };
400
+ readonly nativeReasoning: {
401
+ readonly type: "object";
402
+ readonly additionalProperties: false;
403
+ readonly required: readonly ["supportedControls", "disableSupported"];
404
+ readonly properties: {
405
+ readonly supportedControls: {
406
+ readonly type: "array";
407
+ readonly items: {
408
+ readonly enum: readonly ["effort", "thinking", "token-budget"];
409
+ };
410
+ readonly uniqueItems: true;
411
+ };
412
+ readonly disableSupported: {
413
+ readonly type: "boolean";
414
+ };
415
+ readonly supportedEffortLevels: {
416
+ readonly type: "array";
417
+ readonly minItems: 1;
418
+ readonly items: {
419
+ readonly type: "string";
420
+ readonly minLength: 1;
421
+ };
422
+ };
423
+ readonly defaultEffort: {
424
+ readonly type: "string";
425
+ readonly minLength: 1;
426
+ };
427
+ readonly defaultThinkingEnabled: {
428
+ readonly type: "boolean";
429
+ };
430
+ readonly defaultBudgetTokens: {
431
+ readonly type: "integer";
432
+ readonly minimum: 0;
433
+ };
434
+ readonly budgetTokensRange: {
435
+ readonly type: "object";
436
+ readonly additionalProperties: false;
437
+ readonly required: readonly ["min", "max"];
438
+ readonly properties: {
439
+ readonly min: {
440
+ readonly type: "integer";
441
+ readonly minimum: 0;
442
+ };
443
+ readonly max: {
444
+ readonly type: "integer";
445
+ readonly minimum: 0;
446
+ };
447
+ };
448
+ };
449
+ readonly notes: {
450
+ readonly type: "string";
451
+ };
452
+ };
453
+ };
454
+ readonly activePriceRevisionId: {
455
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
456
+ };
457
+ readonly source: {
458
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
459
+ };
460
+ readonly notes: {
461
+ readonly type: "string";
462
+ };
463
+ };
464
+ readonly type: "object";
465
+ readonly additionalProperties: false;
466
+ };
467
+ /** New readers accept both versions; v1 keeps its closed lifecycle and has no availability field. */
468
+ export declare const modelDefinitionV3Schema: {
469
+ readonly properties: {
470
+ readonly schemaVersion: {
471
+ readonly const: 3;
472
+ };
473
+ readonly lifecycle: {
474
+ readonly properties: {
475
+ readonly status: {
476
+ readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
477
+ };
478
+ readonly deprecatedAt: {
479
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
480
+ };
481
+ readonly sunsetAt: {
482
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
483
+ };
484
+ readonly replacementCatalogId: {
485
+ readonly type: "string";
486
+ readonly minLength: 1;
487
+ };
488
+ };
489
+ readonly type: "object";
490
+ readonly additionalProperties: false;
491
+ readonly required: readonly ["status"];
492
+ };
493
+ readonly catalogId: {
494
+ readonly type: "string";
495
+ readonly minLength: 1;
496
+ };
497
+ readonly providerModelId: {
498
+ readonly type: "string";
499
+ readonly minLength: 1;
500
+ };
501
+ readonly provider: {
502
+ readonly type: "string";
503
+ readonly minLength: 1;
504
+ };
505
+ readonly adapterId: {
506
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/adapterId";
507
+ };
508
+ readonly displayName: {
509
+ readonly type: "string";
510
+ readonly minLength: 1;
511
+ };
512
+ readonly aliases: {
513
+ readonly type: "array";
514
+ readonly items: {
515
+ readonly type: "string";
516
+ readonly minLength: 1;
517
+ };
518
+ };
519
+ readonly capabilities: {
520
+ readonly type: "object";
521
+ readonly additionalProperties: false;
522
+ readonly required: readonly ["inputModalities", "outputModalities", "structuredOutput", "providerTools", "contextWindowTokens", "maxInputTokens", "maxOutputTokens"];
523
+ readonly properties: {
524
+ readonly inputModalities: {
525
+ readonly type: "array";
526
+ readonly minItems: 1;
527
+ readonly items: {
528
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
529
+ };
530
+ };
531
+ readonly outputModalities: {
532
+ readonly type: "array";
533
+ readonly minItems: 1;
534
+ readonly items: {
535
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
536
+ };
537
+ };
538
+ readonly structuredOutput: {
539
+ readonly type: "boolean";
540
+ };
541
+ readonly providerTools: {
542
+ readonly type: "array";
543
+ readonly items: {
544
+ readonly type: "string";
545
+ readonly minLength: 1;
546
+ };
547
+ };
548
+ readonly contextWindowTokens: {
549
+ readonly type: "integer";
550
+ readonly minimum: 1;
551
+ };
552
+ readonly maxInputTokens: {
553
+ readonly type: "integer";
554
+ readonly minimum: 1;
555
+ };
556
+ readonly maxOutputTokens: {
557
+ readonly type: "integer";
558
+ readonly minimum: 1;
559
+ };
560
+ };
561
+ };
562
+ readonly nativeReasoning: {
563
+ readonly type: "object";
564
+ readonly additionalProperties: false;
565
+ readonly required: readonly ["supportedControls", "disableSupported"];
566
+ readonly properties: {
567
+ readonly supportedControls: {
568
+ readonly type: "array";
569
+ readonly items: {
570
+ readonly enum: readonly ["effort", "thinking", "token-budget"];
571
+ };
572
+ readonly uniqueItems: true;
573
+ };
574
+ readonly disableSupported: {
575
+ readonly type: "boolean";
576
+ };
577
+ readonly supportedEffortLevels: {
578
+ readonly type: "array";
579
+ readonly minItems: 1;
580
+ readonly items: {
581
+ readonly type: "string";
582
+ readonly minLength: 1;
583
+ };
584
+ };
585
+ readonly defaultEffort: {
586
+ readonly type: "string";
587
+ readonly minLength: 1;
588
+ };
589
+ readonly defaultThinkingEnabled: {
590
+ readonly type: "boolean";
591
+ };
592
+ readonly defaultBudgetTokens: {
593
+ readonly type: "integer";
594
+ readonly minimum: 0;
595
+ };
596
+ readonly budgetTokensRange: {
597
+ readonly type: "object";
598
+ readonly additionalProperties: false;
599
+ readonly required: readonly ["min", "max"];
600
+ readonly properties: {
601
+ readonly min: {
602
+ readonly type: "integer";
603
+ readonly minimum: 0;
604
+ };
605
+ readonly max: {
606
+ readonly type: "integer";
607
+ readonly minimum: 0;
608
+ };
609
+ };
610
+ };
611
+ readonly notes: {
612
+ readonly type: "string";
613
+ };
614
+ };
615
+ };
616
+ readonly activePriceRevisionId: {
617
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
618
+ };
619
+ readonly source: {
620
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
621
+ };
622
+ readonly notes: {
623
+ readonly type: "string";
624
+ };
625
+ };
626
+ readonly type: "object";
627
+ readonly additionalProperties: false;
628
+ readonly required: readonly ["schemaVersion", "catalogId", "providerModelId", "provider", "adapterId", "displayName", "capabilities", "nativeReasoning", "lifecycle", "source"];
629
+ };
630
+ export declare const providerModelListingSchema: {
631
+ readonly type: "object";
632
+ readonly additionalProperties: false;
633
+ readonly required: readonly ["schemaVersion", "catalogId", "provider", "displayName", "source"];
634
+ readonly properties: {
635
+ readonly schemaVersion: {
636
+ readonly const: 1;
637
+ };
638
+ readonly catalogId: {
639
+ readonly type: "string";
640
+ readonly minLength: 1;
641
+ };
642
+ readonly provider: {
643
+ readonly type: "string";
644
+ readonly minLength: 1;
645
+ };
646
+ readonly displayName: {
647
+ readonly type: "string";
648
+ readonly minLength: 1;
649
+ };
650
+ readonly providerModelId: {
651
+ readonly type: "string";
652
+ readonly minLength: 1;
653
+ };
654
+ readonly aliases: {
655
+ readonly type: "array";
656
+ readonly items: {
657
+ readonly type: "string";
658
+ readonly minLength: 1;
659
+ };
660
+ };
661
+ readonly capabilities: {
662
+ readonly required: readonly [];
663
+ readonly type: "object";
664
+ readonly additionalProperties: false;
665
+ readonly properties: {
666
+ readonly inputModalities: {
667
+ readonly type: "array";
668
+ readonly minItems: 1;
669
+ readonly items: {
670
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
671
+ };
672
+ };
673
+ readonly outputModalities: {
674
+ readonly type: "array";
675
+ readonly minItems: 1;
676
+ readonly items: {
677
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
678
+ };
679
+ };
680
+ readonly structuredOutput: {
681
+ readonly type: "boolean";
682
+ };
683
+ readonly providerTools: {
684
+ readonly type: "array";
685
+ readonly items: {
686
+ readonly type: "string";
687
+ readonly minLength: 1;
688
+ };
689
+ };
690
+ readonly contextWindowTokens: {
691
+ readonly type: "integer";
692
+ readonly minimum: 1;
693
+ };
694
+ readonly maxInputTokens: {
695
+ readonly type: "integer";
696
+ readonly minimum: 1;
697
+ };
698
+ readonly maxOutputTokens: {
699
+ readonly type: "integer";
700
+ readonly minimum: 1;
701
+ };
702
+ };
703
+ };
704
+ readonly nativeReasoning: {
705
+ readonly required: readonly [];
706
+ readonly type: "object";
707
+ readonly additionalProperties: false;
708
+ readonly properties: {
709
+ readonly supportedControls: {
710
+ readonly type: "array";
711
+ readonly items: {
712
+ readonly enum: readonly ["effort", "thinking", "token-budget"];
713
+ };
714
+ readonly uniqueItems: true;
715
+ };
716
+ readonly disableSupported: {
717
+ readonly type: "boolean";
718
+ };
719
+ readonly supportedEffortLevels: {
720
+ readonly type: "array";
721
+ readonly minItems: 1;
722
+ readonly items: {
723
+ readonly type: "string";
724
+ readonly minLength: 1;
725
+ };
726
+ };
727
+ readonly defaultEffort: {
728
+ readonly type: "string";
729
+ readonly minLength: 1;
730
+ };
731
+ readonly defaultThinkingEnabled: {
732
+ readonly type: "boolean";
733
+ };
734
+ readonly defaultBudgetTokens: {
735
+ readonly type: "integer";
736
+ readonly minimum: 0;
737
+ };
738
+ readonly budgetTokensRange: {
739
+ readonly type: "object";
740
+ readonly additionalProperties: false;
741
+ readonly required: readonly ["min", "max"];
742
+ readonly properties: {
743
+ readonly min: {
744
+ readonly type: "integer";
745
+ readonly minimum: 0;
746
+ };
747
+ readonly max: {
748
+ readonly type: "integer";
749
+ readonly minimum: 0;
750
+ };
751
+ };
752
+ };
753
+ readonly notes: {
754
+ readonly type: "string";
755
+ };
756
+ };
757
+ };
758
+ readonly lifecycle: {
759
+ readonly properties: {
760
+ readonly status: {
761
+ readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
762
+ };
763
+ readonly deprecatedAt: {
764
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
765
+ };
766
+ readonly sunsetAt: {
767
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
768
+ };
769
+ readonly replacementCatalogId: {
770
+ readonly type: "string";
771
+ readonly minLength: 1;
772
+ };
773
+ };
774
+ readonly type: "object";
775
+ readonly additionalProperties: false;
776
+ readonly required: readonly ["status"];
777
+ };
778
+ readonly availability: {
779
+ readonly type: "object";
780
+ readonly additionalProperties: false;
781
+ readonly required: readonly ["status"];
782
+ readonly properties: {
783
+ readonly status: {
784
+ readonly enum: readonly ["available", "unavailable", "restricted", "announced", "unknown"];
785
+ };
786
+ };
787
+ };
788
+ readonly activePriceRevisionId: {
789
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
790
+ };
791
+ readonly source: {
792
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
793
+ };
794
+ readonly notes: {
795
+ readonly type: "string";
796
+ };
797
+ };
798
+ };
799
+ export declare const modelDefinitionSchema: {
800
+ readonly $id: "https://techis.dev/ai/contracts/model-definition.schema.json";
801
+ readonly anyOf: readonly [{
802
+ type: "object";
803
+ additionalProperties: false;
804
+ required: readonly ["schemaVersion", "catalogId", "providerModelId", "provider", "adapterId", "displayName", "capabilities", "nativeReasoning", "lifecycle", "source"];
805
+ properties: {
806
+ readonly schemaVersion: {
807
+ readonly const: 1;
808
+ };
809
+ readonly catalogId: {
810
+ readonly type: "string";
811
+ readonly minLength: 1;
812
+ };
813
+ readonly providerModelId: {
814
+ readonly type: "string";
815
+ readonly minLength: 1;
816
+ };
817
+ readonly provider: {
818
+ readonly type: "string";
819
+ readonly minLength: 1;
820
+ };
821
+ readonly adapterId: {
822
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/adapterId";
823
+ };
824
+ readonly displayName: {
825
+ readonly type: "string";
826
+ readonly minLength: 1;
827
+ };
828
+ readonly aliases: {
829
+ readonly type: "array";
830
+ readonly items: {
831
+ readonly type: "string";
832
+ readonly minLength: 1;
833
+ };
834
+ };
835
+ readonly capabilities: {
836
+ readonly type: "object";
837
+ readonly additionalProperties: false;
838
+ readonly required: readonly ["inputModalities", "outputModalities", "structuredOutput", "providerTools", "contextWindowTokens", "maxInputTokens", "maxOutputTokens"];
839
+ readonly properties: {
840
+ readonly inputModalities: {
841
+ readonly type: "array";
842
+ readonly minItems: 1;
843
+ readonly items: {
844
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
845
+ };
846
+ };
847
+ readonly outputModalities: {
848
+ readonly type: "array";
849
+ readonly minItems: 1;
850
+ readonly items: {
851
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
852
+ };
853
+ };
854
+ readonly structuredOutput: {
855
+ readonly type: "boolean";
856
+ };
857
+ readonly providerTools: {
858
+ readonly type: "array";
859
+ readonly items: {
860
+ readonly type: "string";
861
+ readonly minLength: 1;
862
+ };
863
+ };
864
+ readonly contextWindowTokens: {
865
+ readonly type: "integer";
866
+ readonly minimum: 1;
867
+ };
868
+ readonly maxInputTokens: {
869
+ readonly type: "integer";
870
+ readonly minimum: 1;
871
+ };
872
+ readonly maxOutputTokens: {
873
+ readonly type: "integer";
874
+ readonly minimum: 1;
875
+ };
876
+ };
877
+ };
878
+ readonly nativeReasoning: {
879
+ readonly type: "object";
880
+ readonly additionalProperties: false;
881
+ readonly required: readonly ["supportedControls", "disableSupported"];
882
+ readonly properties: {
883
+ readonly supportedControls: {
884
+ readonly type: "array";
885
+ readonly items: {
886
+ readonly enum: readonly ["effort", "thinking", "token-budget"];
887
+ };
888
+ readonly uniqueItems: true;
889
+ };
890
+ readonly disableSupported: {
891
+ readonly type: "boolean";
892
+ };
893
+ readonly supportedEffortLevels: {
894
+ readonly type: "array";
895
+ readonly minItems: 1;
896
+ readonly items: {
897
+ readonly type: "string";
898
+ readonly minLength: 1;
899
+ };
900
+ };
901
+ readonly defaultEffort: {
902
+ readonly type: "string";
903
+ readonly minLength: 1;
904
+ };
905
+ readonly defaultThinkingEnabled: {
906
+ readonly type: "boolean";
907
+ };
908
+ readonly defaultBudgetTokens: {
909
+ readonly type: "integer";
910
+ readonly minimum: 0;
911
+ };
912
+ readonly budgetTokensRange: {
913
+ readonly type: "object";
914
+ readonly additionalProperties: false;
915
+ readonly required: readonly ["min", "max"];
916
+ readonly properties: {
917
+ readonly min: {
918
+ readonly type: "integer";
919
+ readonly minimum: 0;
920
+ };
921
+ readonly max: {
922
+ readonly type: "integer";
923
+ readonly minimum: 0;
924
+ };
925
+ };
926
+ };
927
+ readonly notes: {
928
+ readonly type: "string";
929
+ };
930
+ };
931
+ };
932
+ readonly lifecycle: {
933
+ readonly type: "object";
934
+ readonly additionalProperties: false;
935
+ readonly required: readonly ["status"];
936
+ readonly properties: {
937
+ readonly status: {
938
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modelLifecycleStatus";
939
+ };
940
+ readonly deprecatedAt: {
941
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
942
+ };
943
+ readonly sunsetAt: {
944
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
945
+ };
946
+ readonly replacementCatalogId: {
947
+ readonly type: "string";
948
+ readonly minLength: 1;
949
+ };
950
+ };
951
+ };
952
+ readonly activePriceRevisionId: {
953
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
954
+ };
955
+ readonly source: {
956
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
957
+ };
958
+ readonly notes: {
959
+ readonly type: "string";
960
+ };
961
+ };
962
+ }, {
963
+ readonly $id: "https://techis.dev/ai/contracts/v2/model-definition.schema.json";
964
+ readonly required: readonly ["schemaVersion", "catalogId", "providerModelId", "provider", "adapterId", "displayName", "capabilities", "nativeReasoning", "lifecycle", "source", "availability"];
965
+ readonly properties: {
966
+ readonly schemaVersion: {
967
+ readonly const: 2;
968
+ };
969
+ readonly lifecycle: {
970
+ readonly properties: {
971
+ readonly status: {
972
+ readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
973
+ };
974
+ readonly deprecatedAt: {
975
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
976
+ };
977
+ readonly sunsetAt: {
978
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
979
+ };
980
+ readonly replacementCatalogId: {
981
+ readonly type: "string";
982
+ readonly minLength: 1;
983
+ };
984
+ };
985
+ readonly type: "object";
986
+ readonly additionalProperties: false;
987
+ readonly required: readonly ["status"];
988
+ };
989
+ readonly availability: {
990
+ readonly type: "object";
991
+ readonly additionalProperties: false;
992
+ readonly required: readonly ["status", "source"];
993
+ readonly properties: {
994
+ readonly status: {
995
+ readonly const: "available";
996
+ };
997
+ readonly source: {
998
+ readonly type: "object";
999
+ readonly additionalProperties: false;
1000
+ readonly required: readonly ["uri", "verifiedAt"];
1001
+ readonly properties: {
1002
+ readonly uri: {
1003
+ readonly type: "string";
1004
+ readonly minLength: 1;
1005
+ };
1006
+ readonly verifiedAt: {
1007
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
1008
+ };
1009
+ };
1010
+ };
1011
+ };
1012
+ };
1013
+ readonly catalogId: {
1014
+ readonly type: "string";
1015
+ readonly minLength: 1;
1016
+ };
1017
+ readonly providerModelId: {
1018
+ readonly type: "string";
1019
+ readonly minLength: 1;
1020
+ };
1021
+ readonly provider: {
1022
+ readonly type: "string";
1023
+ readonly minLength: 1;
1024
+ };
1025
+ readonly adapterId: {
1026
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/adapterId";
1027
+ };
1028
+ readonly displayName: {
1029
+ readonly type: "string";
1030
+ readonly minLength: 1;
1031
+ };
1032
+ readonly aliases: {
1033
+ readonly type: "array";
1034
+ readonly items: {
1035
+ readonly type: "string";
1036
+ readonly minLength: 1;
1037
+ };
1038
+ };
1039
+ readonly capabilities: {
1040
+ readonly type: "object";
1041
+ readonly additionalProperties: false;
1042
+ readonly required: readonly ["inputModalities", "outputModalities", "structuredOutput", "providerTools", "contextWindowTokens", "maxInputTokens", "maxOutputTokens"];
1043
+ readonly properties: {
1044
+ readonly inputModalities: {
1045
+ readonly type: "array";
1046
+ readonly minItems: 1;
1047
+ readonly items: {
1048
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
1049
+ };
1050
+ };
1051
+ readonly outputModalities: {
1052
+ readonly type: "array";
1053
+ readonly minItems: 1;
1054
+ readonly items: {
1055
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
1056
+ };
1057
+ };
1058
+ readonly structuredOutput: {
1059
+ readonly type: "boolean";
1060
+ };
1061
+ readonly providerTools: {
1062
+ readonly type: "array";
1063
+ readonly items: {
1064
+ readonly type: "string";
1065
+ readonly minLength: 1;
1066
+ };
1067
+ };
1068
+ readonly contextWindowTokens: {
1069
+ readonly type: "integer";
1070
+ readonly minimum: 1;
1071
+ };
1072
+ readonly maxInputTokens: {
1073
+ readonly type: "integer";
1074
+ readonly minimum: 1;
1075
+ };
1076
+ readonly maxOutputTokens: {
1077
+ readonly type: "integer";
1078
+ readonly minimum: 1;
1079
+ };
1080
+ };
1081
+ };
1082
+ readonly nativeReasoning: {
1083
+ readonly type: "object";
1084
+ readonly additionalProperties: false;
1085
+ readonly required: readonly ["supportedControls", "disableSupported"];
1086
+ readonly properties: {
1087
+ readonly supportedControls: {
1088
+ readonly type: "array";
1089
+ readonly items: {
1090
+ readonly enum: readonly ["effort", "thinking", "token-budget"];
1091
+ };
1092
+ readonly uniqueItems: true;
1093
+ };
1094
+ readonly disableSupported: {
1095
+ readonly type: "boolean";
1096
+ };
1097
+ readonly supportedEffortLevels: {
1098
+ readonly type: "array";
1099
+ readonly minItems: 1;
1100
+ readonly items: {
1101
+ readonly type: "string";
1102
+ readonly minLength: 1;
1103
+ };
1104
+ };
1105
+ readonly defaultEffort: {
1106
+ readonly type: "string";
1107
+ readonly minLength: 1;
1108
+ };
1109
+ readonly defaultThinkingEnabled: {
1110
+ readonly type: "boolean";
1111
+ };
1112
+ readonly defaultBudgetTokens: {
1113
+ readonly type: "integer";
1114
+ readonly minimum: 0;
1115
+ };
1116
+ readonly budgetTokensRange: {
1117
+ readonly type: "object";
1118
+ readonly additionalProperties: false;
1119
+ readonly required: readonly ["min", "max"];
1120
+ readonly properties: {
1121
+ readonly min: {
1122
+ readonly type: "integer";
1123
+ readonly minimum: 0;
1124
+ };
1125
+ readonly max: {
1126
+ readonly type: "integer";
1127
+ readonly minimum: 0;
1128
+ };
1129
+ };
1130
+ };
1131
+ readonly notes: {
1132
+ readonly type: "string";
1133
+ };
1134
+ };
1135
+ };
1136
+ readonly activePriceRevisionId: {
1137
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
1138
+ };
1139
+ readonly source: {
1140
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
1141
+ };
1142
+ readonly notes: {
1143
+ readonly type: "string";
1144
+ };
1145
+ };
1146
+ readonly type: "object";
1147
+ readonly additionalProperties: false;
1148
+ }, {
1149
+ readonly properties: {
1150
+ readonly schemaVersion: {
1151
+ readonly const: 3;
1152
+ };
1153
+ readonly lifecycle: {
1154
+ readonly properties: {
1155
+ readonly status: {
1156
+ readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
1157
+ };
1158
+ readonly deprecatedAt: {
1159
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
1160
+ };
1161
+ readonly sunsetAt: {
1162
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
1163
+ };
1164
+ readonly replacementCatalogId: {
1165
+ readonly type: "string";
1166
+ readonly minLength: 1;
1167
+ };
1168
+ };
1169
+ readonly type: "object";
1170
+ readonly additionalProperties: false;
1171
+ readonly required: readonly ["status"];
1172
+ };
1173
+ readonly catalogId: {
1174
+ readonly type: "string";
1175
+ readonly minLength: 1;
1176
+ };
1177
+ readonly providerModelId: {
1178
+ readonly type: "string";
1179
+ readonly minLength: 1;
1180
+ };
1181
+ readonly provider: {
1182
+ readonly type: "string";
1183
+ readonly minLength: 1;
1184
+ };
1185
+ readonly adapterId: {
1186
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/adapterId";
1187
+ };
1188
+ readonly displayName: {
1189
+ readonly type: "string";
1190
+ readonly minLength: 1;
1191
+ };
1192
+ readonly aliases: {
1193
+ readonly type: "array";
1194
+ readonly items: {
1195
+ readonly type: "string";
1196
+ readonly minLength: 1;
1197
+ };
1198
+ };
1199
+ readonly capabilities: {
1200
+ readonly type: "object";
1201
+ readonly additionalProperties: false;
1202
+ readonly required: readonly ["inputModalities", "outputModalities", "structuredOutput", "providerTools", "contextWindowTokens", "maxInputTokens", "maxOutputTokens"];
1203
+ readonly properties: {
1204
+ readonly inputModalities: {
1205
+ readonly type: "array";
1206
+ readonly minItems: 1;
1207
+ readonly items: {
1208
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
1209
+ };
1210
+ };
1211
+ readonly outputModalities: {
1212
+ readonly type: "array";
1213
+ readonly minItems: 1;
1214
+ readonly items: {
1215
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
1216
+ };
1217
+ };
1218
+ readonly structuredOutput: {
1219
+ readonly type: "boolean";
1220
+ };
1221
+ readonly providerTools: {
1222
+ readonly type: "array";
1223
+ readonly items: {
1224
+ readonly type: "string";
1225
+ readonly minLength: 1;
1226
+ };
1227
+ };
1228
+ readonly contextWindowTokens: {
1229
+ readonly type: "integer";
1230
+ readonly minimum: 1;
1231
+ };
1232
+ readonly maxInputTokens: {
1233
+ readonly type: "integer";
1234
+ readonly minimum: 1;
1235
+ };
1236
+ readonly maxOutputTokens: {
1237
+ readonly type: "integer";
1238
+ readonly minimum: 1;
1239
+ };
1240
+ };
1241
+ };
1242
+ readonly nativeReasoning: {
1243
+ readonly type: "object";
1244
+ readonly additionalProperties: false;
1245
+ readonly required: readonly ["supportedControls", "disableSupported"];
1246
+ readonly properties: {
1247
+ readonly supportedControls: {
1248
+ readonly type: "array";
1249
+ readonly items: {
1250
+ readonly enum: readonly ["effort", "thinking", "token-budget"];
1251
+ };
1252
+ readonly uniqueItems: true;
1253
+ };
1254
+ readonly disableSupported: {
1255
+ readonly type: "boolean";
1256
+ };
1257
+ readonly supportedEffortLevels: {
1258
+ readonly type: "array";
1259
+ readonly minItems: 1;
1260
+ readonly items: {
1261
+ readonly type: "string";
1262
+ readonly minLength: 1;
1263
+ };
1264
+ };
1265
+ readonly defaultEffort: {
1266
+ readonly type: "string";
1267
+ readonly minLength: 1;
1268
+ };
1269
+ readonly defaultThinkingEnabled: {
1270
+ readonly type: "boolean";
1271
+ };
1272
+ readonly defaultBudgetTokens: {
1273
+ readonly type: "integer";
1274
+ readonly minimum: 0;
1275
+ };
1276
+ readonly budgetTokensRange: {
1277
+ readonly type: "object";
1278
+ readonly additionalProperties: false;
1279
+ readonly required: readonly ["min", "max"];
1280
+ readonly properties: {
1281
+ readonly min: {
1282
+ readonly type: "integer";
1283
+ readonly minimum: 0;
1284
+ };
1285
+ readonly max: {
1286
+ readonly type: "integer";
1287
+ readonly minimum: 0;
1288
+ };
1289
+ };
1290
+ };
1291
+ readonly notes: {
1292
+ readonly type: "string";
1293
+ };
1294
+ };
1295
+ };
1296
+ readonly activePriceRevisionId: {
1297
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
1298
+ };
1299
+ readonly source: {
1300
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
1301
+ };
1302
+ readonly notes: {
1303
+ readonly type: "string";
1304
+ };
1305
+ };
1306
+ readonly type: "object";
1307
+ readonly additionalProperties: false;
1308
+ readonly required: readonly ["schemaVersion", "catalogId", "providerModelId", "provider", "adapterId", "displayName", "capabilities", "nativeReasoning", "lifecycle", "source"];
1309
+ }];
1310
+ };
1311
+ export declare const priceRevisionSchemaId = "https://techis.dev/ai/contracts/price-revision.schema.json";
1312
+ export declare const priceRevisionV2SchemaId = "https://techis.dev/ai/contracts/v2/price-revision.schema.json";
1313
+ export declare const priceRevisionV2Schema: {
1314
+ readonly $id: "https://techis.dev/ai/contracts/v2/price-revision.schema.json";
1315
+ readonly required: readonly ["schemaVersion", "priceRevisionId", "scope", "currency", "units", "effectiveDate", "source", "observedAt"];
1316
+ readonly properties: {
1317
+ readonly schemaVersion: {
1318
+ readonly const: 2;
1319
+ };
1320
+ readonly effectiveDate: {
1321
+ readonly anyOf: readonly [{
1322
+ readonly type: "string";
1323
+ readonly format: "date";
1324
+ }, {
1325
+ readonly type: "null";
1326
+ }];
1327
+ };
1328
+ readonly observedAt: {
1329
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
1330
+ };
1331
+ readonly longContextTiers: {
1332
+ readonly items: {
1333
+ readonly properties: {
1334
+ readonly cachedInputMultiplier: {
1335
+ readonly type: "number";
1336
+ readonly minimum: 0;
1337
+ };
1338
+ readonly cacheWriteInputMultiplier: {
1339
+ readonly type: "number";
1340
+ readonly minimum: 0;
1341
+ };
1342
+ readonly inputTokenThreshold: {
1343
+ readonly type: "integer";
1344
+ readonly minimum: 1;
1345
+ };
1346
+ readonly inputMultiplier: {
1347
+ readonly type: "number";
1348
+ readonly minimum: 0;
1349
+ };
1350
+ readonly outputMultiplier: {
1351
+ readonly type: "number";
1352
+ readonly minimum: 0;
1353
+ };
1354
+ };
1355
+ readonly type: "object";
1356
+ readonly additionalProperties: false;
1357
+ readonly required: readonly ["inputTokenThreshold", "inputMultiplier", "outputMultiplier"];
1358
+ };
1359
+ readonly type: "array";
1360
+ };
1361
+ readonly priceRevisionId: {
1362
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
1363
+ };
1364
+ readonly scope: {
1365
+ readonly type: "object";
1366
+ readonly additionalProperties: false;
1367
+ readonly minProperties: 1;
1368
+ readonly properties: {
1369
+ readonly catalogId: {
1370
+ readonly type: "string";
1371
+ readonly minLength: 1;
1372
+ };
1373
+ readonly provider: {
1374
+ readonly type: "string";
1375
+ readonly minLength: 1;
1376
+ };
1377
+ readonly service: {
1378
+ readonly type: "string";
1379
+ readonly minLength: 1;
1380
+ };
1381
+ };
1382
+ };
1383
+ readonly currency: {
1384
+ readonly type: "string";
1385
+ readonly minLength: 3;
1386
+ readonly maxLength: 3;
1387
+ };
1388
+ readonly units: {
1389
+ readonly enum: readonly ["per-million-tokens", "per-thousand-calls", "per-call"];
1390
+ };
1391
+ readonly input: {
1392
+ readonly type: "number";
1393
+ readonly minimum: 0;
1394
+ };
1395
+ readonly output: {
1396
+ readonly type: "number";
1397
+ readonly minimum: 0;
1398
+ };
1399
+ readonly cachedInput: {
1400
+ readonly type: "number";
1401
+ readonly minimum: 0;
1402
+ };
1403
+ readonly cacheWriteInput: {
1404
+ readonly type: "number";
1405
+ readonly minimum: 0;
1406
+ };
1407
+ readonly servicePrice: {
1408
+ readonly type: "array";
1409
+ readonly items: {
1410
+ readonly type: "object";
1411
+ readonly additionalProperties: false;
1412
+ readonly required: readonly ["dimension", "price", "unit"];
1413
+ readonly properties: {
1414
+ readonly dimension: {
1415
+ readonly type: "string";
1416
+ readonly minLength: 1;
1417
+ };
1418
+ readonly price: {
1419
+ readonly type: "number";
1420
+ readonly minimum: 0;
1421
+ };
1422
+ readonly unit: {
1423
+ readonly type: "string";
1424
+ readonly minLength: 1;
1425
+ };
1426
+ };
1427
+ };
1428
+ };
1429
+ readonly source: {
1430
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
1431
+ };
1432
+ readonly conditions: {
1433
+ readonly type: "string";
1434
+ };
1435
+ readonly unknownDimensions: {
1436
+ readonly type: "array";
1437
+ readonly items: {
1438
+ readonly type: "string";
1439
+ readonly minLength: 1;
1440
+ };
1441
+ };
1442
+ };
1443
+ readonly type: "object";
1444
+ readonly additionalProperties: false;
1445
+ };
1446
+ export declare const priceRevisionSchema: {
1447
+ readonly $id: "https://techis.dev/ai/contracts/price-revision.schema.json";
1448
+ readonly anyOf: readonly [{
1449
+ type: "object";
1450
+ additionalProperties: false;
1451
+ required: readonly ["schemaVersion", "priceRevisionId", "scope", "currency", "units", "effectiveDate", "source"];
1452
+ properties: {
1453
+ readonly schemaVersion: {
1454
+ readonly const: 1;
1455
+ };
1456
+ readonly priceRevisionId: {
1457
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
1458
+ };
1459
+ readonly scope: {
1460
+ readonly type: "object";
1461
+ readonly additionalProperties: false;
1462
+ readonly minProperties: 1;
1463
+ readonly properties: {
1464
+ readonly catalogId: {
1465
+ readonly type: "string";
1466
+ readonly minLength: 1;
1467
+ };
1468
+ readonly provider: {
1469
+ readonly type: "string";
1470
+ readonly minLength: 1;
1471
+ };
1472
+ readonly service: {
1473
+ readonly type: "string";
1474
+ readonly minLength: 1;
1475
+ };
1476
+ };
1477
+ };
1478
+ readonly currency: {
1479
+ readonly type: "string";
1480
+ readonly minLength: 3;
1481
+ readonly maxLength: 3;
1482
+ };
1483
+ readonly units: {
1484
+ readonly enum: readonly ["per-million-tokens", "per-thousand-calls", "per-call"];
1485
+ };
1486
+ readonly input: {
1487
+ readonly type: "number";
1488
+ readonly minimum: 0;
1489
+ };
1490
+ readonly output: {
1491
+ readonly type: "number";
1492
+ readonly minimum: 0;
1493
+ };
1494
+ readonly cachedInput: {
1495
+ readonly type: "number";
1496
+ readonly minimum: 0;
1497
+ };
1498
+ readonly cacheWriteInput: {
1499
+ readonly type: "number";
1500
+ readonly minimum: 0;
1501
+ };
1502
+ readonly servicePrice: {
1503
+ readonly type: "array";
1504
+ readonly items: {
1505
+ readonly type: "object";
1506
+ readonly additionalProperties: false;
1507
+ readonly required: readonly ["dimension", "price", "unit"];
1508
+ readonly properties: {
1509
+ readonly dimension: {
1510
+ readonly type: "string";
1511
+ readonly minLength: 1;
1512
+ };
1513
+ readonly price: {
1514
+ readonly type: "number";
1515
+ readonly minimum: 0;
1516
+ };
1517
+ readonly unit: {
1518
+ readonly type: "string";
1519
+ readonly minLength: 1;
1520
+ };
1521
+ };
1522
+ };
1523
+ };
1524
+ readonly longContextTiers: {
1525
+ readonly type: "array";
1526
+ readonly items: {
1527
+ readonly type: "object";
1528
+ readonly additionalProperties: false;
1529
+ readonly required: readonly ["inputTokenThreshold", "inputMultiplier", "outputMultiplier"];
1530
+ readonly properties: {
1531
+ readonly inputTokenThreshold: {
1532
+ readonly type: "integer";
1533
+ readonly minimum: 1;
1534
+ };
1535
+ readonly inputMultiplier: {
1536
+ readonly type: "number";
1537
+ readonly minimum: 0;
1538
+ };
1539
+ readonly outputMultiplier: {
1540
+ readonly type: "number";
1541
+ readonly minimum: 0;
1542
+ };
1543
+ };
1544
+ };
1545
+ };
1546
+ readonly effectiveDate: {
1547
+ readonly type: "string";
1548
+ readonly format: "date";
1549
+ };
1550
+ readonly source: {
1551
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
1552
+ };
1553
+ readonly conditions: {
1554
+ readonly type: "string";
1555
+ };
1556
+ readonly unknownDimensions: {
1557
+ readonly type: "array";
1558
+ readonly items: {
1559
+ readonly type: "string";
1560
+ readonly minLength: 1;
1561
+ };
1562
+ };
1563
+ };
1564
+ }, {
1565
+ readonly $id: "https://techis.dev/ai/contracts/v2/price-revision.schema.json";
1566
+ readonly required: readonly ["schemaVersion", "priceRevisionId", "scope", "currency", "units", "effectiveDate", "source", "observedAt"];
1567
+ readonly properties: {
1568
+ readonly schemaVersion: {
1569
+ readonly const: 2;
1570
+ };
1571
+ readonly effectiveDate: {
1572
+ readonly anyOf: readonly [{
1573
+ readonly type: "string";
1574
+ readonly format: "date";
1575
+ }, {
1576
+ readonly type: "null";
1577
+ }];
1578
+ };
1579
+ readonly observedAt: {
1580
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
1581
+ };
1582
+ readonly longContextTiers: {
1583
+ readonly items: {
1584
+ readonly properties: {
1585
+ readonly cachedInputMultiplier: {
1586
+ readonly type: "number";
1587
+ readonly minimum: 0;
1588
+ };
1589
+ readonly cacheWriteInputMultiplier: {
1590
+ readonly type: "number";
1591
+ readonly minimum: 0;
1592
+ };
1593
+ readonly inputTokenThreshold: {
1594
+ readonly type: "integer";
1595
+ readonly minimum: 1;
1596
+ };
1597
+ readonly inputMultiplier: {
1598
+ readonly type: "number";
1599
+ readonly minimum: 0;
1600
+ };
1601
+ readonly outputMultiplier: {
1602
+ readonly type: "number";
1603
+ readonly minimum: 0;
1604
+ };
1605
+ };
1606
+ readonly type: "object";
1607
+ readonly additionalProperties: false;
1608
+ readonly required: readonly ["inputTokenThreshold", "inputMultiplier", "outputMultiplier"];
1609
+ };
1610
+ readonly type: "array";
1611
+ };
1612
+ readonly priceRevisionId: {
1613
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
1614
+ };
1615
+ readonly scope: {
1616
+ readonly type: "object";
1617
+ readonly additionalProperties: false;
1618
+ readonly minProperties: 1;
1619
+ readonly properties: {
1620
+ readonly catalogId: {
1621
+ readonly type: "string";
1622
+ readonly minLength: 1;
1623
+ };
1624
+ readonly provider: {
1625
+ readonly type: "string";
1626
+ readonly minLength: 1;
1627
+ };
1628
+ readonly service: {
1629
+ readonly type: "string";
1630
+ readonly minLength: 1;
1631
+ };
1632
+ };
1633
+ };
1634
+ readonly currency: {
1635
+ readonly type: "string";
1636
+ readonly minLength: 3;
1637
+ readonly maxLength: 3;
1638
+ };
1639
+ readonly units: {
1640
+ readonly enum: readonly ["per-million-tokens", "per-thousand-calls", "per-call"];
1641
+ };
1642
+ readonly input: {
1643
+ readonly type: "number";
1644
+ readonly minimum: 0;
1645
+ };
1646
+ readonly output: {
1647
+ readonly type: "number";
1648
+ readonly minimum: 0;
1649
+ };
1650
+ readonly cachedInput: {
1651
+ readonly type: "number";
1652
+ readonly minimum: 0;
1653
+ };
1654
+ readonly cacheWriteInput: {
1655
+ readonly type: "number";
1656
+ readonly minimum: 0;
1657
+ };
1658
+ readonly servicePrice: {
1659
+ readonly type: "array";
1660
+ readonly items: {
1661
+ readonly type: "object";
1662
+ readonly additionalProperties: false;
1663
+ readonly required: readonly ["dimension", "price", "unit"];
1664
+ readonly properties: {
1665
+ readonly dimension: {
1666
+ readonly type: "string";
1667
+ readonly minLength: 1;
1668
+ };
1669
+ readonly price: {
1670
+ readonly type: "number";
1671
+ readonly minimum: 0;
1672
+ };
1673
+ readonly unit: {
1674
+ readonly type: "string";
1675
+ readonly minLength: 1;
1676
+ };
1677
+ };
1678
+ };
1679
+ };
1680
+ readonly source: {
1681
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
1682
+ };
1683
+ readonly conditions: {
1684
+ readonly type: "string";
1685
+ };
1686
+ readonly unknownDimensions: {
1687
+ readonly type: "array";
1688
+ readonly items: {
1689
+ readonly type: "string";
1690
+ readonly minLength: 1;
1691
+ };
1692
+ };
1693
+ };
1694
+ readonly type: "object";
1695
+ readonly additionalProperties: false;
1696
+ }];
1697
+ };
1698
+ export declare const catalogReleaseSchemaId = "https://techis.dev/ai/contracts/catalog-release.schema.json";
1699
+ export declare const catalogReleaseV2SchemaId = "https://techis.dev/ai/contracts/v2/catalog-release.schema.json";
1700
+ export declare const catalogReleaseV2Schema: {
1701
+ readonly $id: "https://techis.dev/ai/contracts/v2/catalog-release.schema.json";
1702
+ readonly properties: {
1703
+ readonly schemaVersion: {
1704
+ readonly const: 2;
1705
+ };
1706
+ readonly models: {
1707
+ readonly type: "array";
1708
+ readonly items: {
1709
+ readonly allOf: readonly [{
1710
+ readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
1711
+ }, {
1712
+ readonly properties: {
1713
+ readonly schemaVersion: {
1714
+ readonly enum: readonly [1, 2];
1715
+ };
1716
+ };
1717
+ }];
1718
+ };
1719
+ };
1720
+ readonly prices: {
1721
+ readonly type: "array";
1722
+ readonly items: {
1723
+ readonly $ref: "https://techis.dev/ai/contracts/price-revision.schema.json";
1724
+ };
1725
+ };
1726
+ readonly catalogRevision: {
1727
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
1728
+ };
1729
+ readonly releaseSequence: {
1730
+ readonly type: "integer";
1731
+ readonly minimum: 1;
1732
+ };
1733
+ readonly publishedAt: {
1734
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
1735
+ };
1736
+ readonly notes: {
1737
+ readonly type: "string";
1738
+ };
1739
+ };
1740
+ readonly type: "object";
1741
+ readonly additionalProperties: false;
1742
+ readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices"];
1743
+ };
1744
+ export declare const catalogReleaseV3Schema: {
1745
+ readonly $id: string;
1746
+ readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices", "listings", "runtimeMappings"];
1747
+ readonly properties: {
1748
+ readonly schemaVersion: {
1749
+ readonly const: 3;
1750
+ };
1751
+ readonly models: {
1752
+ readonly type: "array";
1753
+ readonly items: {
1754
+ readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
1755
+ };
1756
+ };
1757
+ readonly listings: {
1758
+ readonly type: "array";
1759
+ readonly items: {
1760
+ readonly type: "object";
1761
+ readonly additionalProperties: false;
1762
+ readonly required: readonly ["schemaVersion", "catalogId", "provider", "displayName", "source"];
1763
+ readonly properties: {
1764
+ readonly schemaVersion: {
1765
+ readonly const: 1;
1766
+ };
1767
+ readonly catalogId: {
1768
+ readonly type: "string";
1769
+ readonly minLength: 1;
1770
+ };
1771
+ readonly provider: {
1772
+ readonly type: "string";
1773
+ readonly minLength: 1;
1774
+ };
1775
+ readonly displayName: {
1776
+ readonly type: "string";
1777
+ readonly minLength: 1;
1778
+ };
1779
+ readonly providerModelId: {
1780
+ readonly type: "string";
1781
+ readonly minLength: 1;
1782
+ };
1783
+ readonly aliases: {
1784
+ readonly type: "array";
1785
+ readonly items: {
1786
+ readonly type: "string";
1787
+ readonly minLength: 1;
1788
+ };
1789
+ };
1790
+ readonly capabilities: {
1791
+ readonly required: readonly [];
1792
+ readonly type: "object";
1793
+ readonly additionalProperties: false;
1794
+ readonly properties: {
1795
+ readonly inputModalities: {
1796
+ readonly type: "array";
1797
+ readonly minItems: 1;
1798
+ readonly items: {
1799
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
1800
+ };
1801
+ };
1802
+ readonly outputModalities: {
1803
+ readonly type: "array";
1804
+ readonly minItems: 1;
1805
+ readonly items: {
1806
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
1807
+ };
1808
+ };
1809
+ readonly structuredOutput: {
1810
+ readonly type: "boolean";
1811
+ };
1812
+ readonly providerTools: {
1813
+ readonly type: "array";
1814
+ readonly items: {
1815
+ readonly type: "string";
1816
+ readonly minLength: 1;
1817
+ };
1818
+ };
1819
+ readonly contextWindowTokens: {
1820
+ readonly type: "integer";
1821
+ readonly minimum: 1;
1822
+ };
1823
+ readonly maxInputTokens: {
1824
+ readonly type: "integer";
1825
+ readonly minimum: 1;
1826
+ };
1827
+ readonly maxOutputTokens: {
1828
+ readonly type: "integer";
1829
+ readonly minimum: 1;
1830
+ };
1831
+ };
1832
+ };
1833
+ readonly nativeReasoning: {
1834
+ readonly required: readonly [];
1835
+ readonly type: "object";
1836
+ readonly additionalProperties: false;
1837
+ readonly properties: {
1838
+ readonly supportedControls: {
1839
+ readonly type: "array";
1840
+ readonly items: {
1841
+ readonly enum: readonly ["effort", "thinking", "token-budget"];
1842
+ };
1843
+ readonly uniqueItems: true;
1844
+ };
1845
+ readonly disableSupported: {
1846
+ readonly type: "boolean";
1847
+ };
1848
+ readonly supportedEffortLevels: {
1849
+ readonly type: "array";
1850
+ readonly minItems: 1;
1851
+ readonly items: {
1852
+ readonly type: "string";
1853
+ readonly minLength: 1;
1854
+ };
1855
+ };
1856
+ readonly defaultEffort: {
1857
+ readonly type: "string";
1858
+ readonly minLength: 1;
1859
+ };
1860
+ readonly defaultThinkingEnabled: {
1861
+ readonly type: "boolean";
1862
+ };
1863
+ readonly defaultBudgetTokens: {
1864
+ readonly type: "integer";
1865
+ readonly minimum: 0;
1866
+ };
1867
+ readonly budgetTokensRange: {
1868
+ readonly type: "object";
1869
+ readonly additionalProperties: false;
1870
+ readonly required: readonly ["min", "max"];
1871
+ readonly properties: {
1872
+ readonly min: {
1873
+ readonly type: "integer";
1874
+ readonly minimum: 0;
1875
+ };
1876
+ readonly max: {
1877
+ readonly type: "integer";
1878
+ readonly minimum: 0;
1879
+ };
1880
+ };
1881
+ };
1882
+ readonly notes: {
1883
+ readonly type: "string";
1884
+ };
1885
+ };
1886
+ };
1887
+ readonly lifecycle: {
1888
+ readonly properties: {
1889
+ readonly status: {
1890
+ readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
1891
+ };
1892
+ readonly deprecatedAt: {
1893
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
1894
+ };
1895
+ readonly sunsetAt: {
1896
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
1897
+ };
1898
+ readonly replacementCatalogId: {
1899
+ readonly type: "string";
1900
+ readonly minLength: 1;
1901
+ };
1902
+ };
1903
+ readonly type: "object";
1904
+ readonly additionalProperties: false;
1905
+ readonly required: readonly ["status"];
1906
+ };
1907
+ readonly availability: {
1908
+ readonly type: "object";
1909
+ readonly additionalProperties: false;
1910
+ readonly required: readonly ["status"];
1911
+ readonly properties: {
1912
+ readonly status: {
1913
+ readonly enum: readonly ["available", "unavailable", "restricted", "announced", "unknown"];
1914
+ };
1915
+ };
1916
+ };
1917
+ readonly activePriceRevisionId: {
1918
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
1919
+ };
1920
+ readonly source: {
1921
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
1922
+ };
1923
+ readonly notes: {
1924
+ readonly type: "string";
1925
+ };
1926
+ };
1927
+ };
1928
+ };
1929
+ readonly runtimeMappings: {
1930
+ readonly type: "object";
1931
+ readonly additionalProperties: {
1932
+ readonly $ref: string;
1933
+ };
1934
+ };
1935
+ readonly prices: {
1936
+ readonly type: "array";
1937
+ readonly items: {
1938
+ readonly $ref: "https://techis.dev/ai/contracts/price-revision.schema.json";
1939
+ };
1940
+ };
1941
+ readonly catalogRevision: {
1942
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
1943
+ };
1944
+ readonly releaseSequence: {
1945
+ readonly type: "integer";
1946
+ readonly minimum: 1;
1947
+ };
1948
+ readonly publishedAt: {
1949
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
1950
+ };
1951
+ readonly notes: {
1952
+ readonly type: "string";
1953
+ };
1954
+ };
1955
+ readonly type: "object";
1956
+ readonly additionalProperties: false;
1957
+ };
1958
+ export declare const catalogReleaseSchema: {
1959
+ readonly $id: "https://techis.dev/ai/contracts/catalog-release.schema.json";
1960
+ readonly anyOf: readonly [{
1961
+ type: "object";
1962
+ additionalProperties: false;
1963
+ required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices"];
1964
+ properties: {
1965
+ readonly schemaVersion: {
1966
+ readonly const: 1;
1967
+ };
1968
+ readonly catalogRevision: {
1969
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
1970
+ };
1971
+ readonly releaseSequence: {
1972
+ readonly type: "integer";
1973
+ readonly minimum: 1;
1974
+ };
1975
+ readonly publishedAt: {
1976
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
1977
+ };
1978
+ readonly models: {
1979
+ readonly type: "array";
1980
+ readonly items: {
1981
+ readonly allOf: readonly [{
1982
+ readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
1983
+ }, {
1984
+ readonly properties: {
1985
+ readonly schemaVersion: {
1986
+ readonly const: 1;
1987
+ };
1988
+ };
1989
+ }];
1990
+ };
1991
+ };
1992
+ readonly prices: {
1993
+ readonly type: "array";
1994
+ readonly items: {
1995
+ readonly allOf: readonly [{
1996
+ readonly $ref: "https://techis.dev/ai/contracts/price-revision.schema.json";
1997
+ }, {
1998
+ readonly properties: {
1999
+ readonly schemaVersion: {
2000
+ readonly const: 1;
2001
+ };
2002
+ };
2003
+ }];
2004
+ };
2005
+ };
2006
+ readonly notes: {
2007
+ readonly type: "string";
2008
+ };
2009
+ };
2010
+ }, {
2011
+ readonly $id: "https://techis.dev/ai/contracts/v2/catalog-release.schema.json";
2012
+ readonly properties: {
2013
+ readonly schemaVersion: {
2014
+ readonly const: 2;
2015
+ };
2016
+ readonly models: {
2017
+ readonly type: "array";
2018
+ readonly items: {
2019
+ readonly allOf: readonly [{
2020
+ readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
2021
+ }, {
2022
+ readonly properties: {
2023
+ readonly schemaVersion: {
2024
+ readonly enum: readonly [1, 2];
2025
+ };
2026
+ };
2027
+ }];
2028
+ };
2029
+ };
2030
+ readonly prices: {
2031
+ readonly type: "array";
2032
+ readonly items: {
2033
+ readonly $ref: "https://techis.dev/ai/contracts/price-revision.schema.json";
2034
+ };
2035
+ };
2036
+ readonly catalogRevision: {
2037
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
2038
+ };
2039
+ readonly releaseSequence: {
2040
+ readonly type: "integer";
2041
+ readonly minimum: 1;
2042
+ };
2043
+ readonly publishedAt: {
2044
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
2045
+ };
2046
+ readonly notes: {
2047
+ readonly type: "string";
2048
+ };
2049
+ };
2050
+ readonly type: "object";
2051
+ readonly additionalProperties: false;
2052
+ readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices"];
2053
+ }, {
2054
+ readonly $id: string;
2055
+ readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices", "listings", "runtimeMappings"];
2056
+ readonly properties: {
2057
+ readonly schemaVersion: {
2058
+ readonly const: 3;
2059
+ };
2060
+ readonly models: {
2061
+ readonly type: "array";
2062
+ readonly items: {
2063
+ readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
2064
+ };
2065
+ };
2066
+ readonly listings: {
2067
+ readonly type: "array";
2068
+ readonly items: {
2069
+ readonly type: "object";
2070
+ readonly additionalProperties: false;
2071
+ readonly required: readonly ["schemaVersion", "catalogId", "provider", "displayName", "source"];
2072
+ readonly properties: {
2073
+ readonly schemaVersion: {
2074
+ readonly const: 1;
2075
+ };
2076
+ readonly catalogId: {
2077
+ readonly type: "string";
2078
+ readonly minLength: 1;
2079
+ };
2080
+ readonly provider: {
2081
+ readonly type: "string";
2082
+ readonly minLength: 1;
2083
+ };
2084
+ readonly displayName: {
2085
+ readonly type: "string";
2086
+ readonly minLength: 1;
2087
+ };
2088
+ readonly providerModelId: {
2089
+ readonly type: "string";
2090
+ readonly minLength: 1;
2091
+ };
2092
+ readonly aliases: {
2093
+ readonly type: "array";
2094
+ readonly items: {
2095
+ readonly type: "string";
2096
+ readonly minLength: 1;
2097
+ };
2098
+ };
2099
+ readonly capabilities: {
2100
+ readonly required: readonly [];
2101
+ readonly type: "object";
2102
+ readonly additionalProperties: false;
2103
+ readonly properties: {
2104
+ readonly inputModalities: {
2105
+ readonly type: "array";
2106
+ readonly minItems: 1;
2107
+ readonly items: {
2108
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
2109
+ };
2110
+ };
2111
+ readonly outputModalities: {
2112
+ readonly type: "array";
2113
+ readonly minItems: 1;
2114
+ readonly items: {
2115
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
2116
+ };
2117
+ };
2118
+ readonly structuredOutput: {
2119
+ readonly type: "boolean";
2120
+ };
2121
+ readonly providerTools: {
2122
+ readonly type: "array";
2123
+ readonly items: {
2124
+ readonly type: "string";
2125
+ readonly minLength: 1;
2126
+ };
2127
+ };
2128
+ readonly contextWindowTokens: {
2129
+ readonly type: "integer";
2130
+ readonly minimum: 1;
2131
+ };
2132
+ readonly maxInputTokens: {
2133
+ readonly type: "integer";
2134
+ readonly minimum: 1;
2135
+ };
2136
+ readonly maxOutputTokens: {
2137
+ readonly type: "integer";
2138
+ readonly minimum: 1;
2139
+ };
2140
+ };
2141
+ };
2142
+ readonly nativeReasoning: {
2143
+ readonly required: readonly [];
2144
+ readonly type: "object";
2145
+ readonly additionalProperties: false;
2146
+ readonly properties: {
2147
+ readonly supportedControls: {
2148
+ readonly type: "array";
2149
+ readonly items: {
2150
+ readonly enum: readonly ["effort", "thinking", "token-budget"];
2151
+ };
2152
+ readonly uniqueItems: true;
2153
+ };
2154
+ readonly disableSupported: {
2155
+ readonly type: "boolean";
2156
+ };
2157
+ readonly supportedEffortLevels: {
2158
+ readonly type: "array";
2159
+ readonly minItems: 1;
2160
+ readonly items: {
2161
+ readonly type: "string";
2162
+ readonly minLength: 1;
2163
+ };
2164
+ };
2165
+ readonly defaultEffort: {
2166
+ readonly type: "string";
2167
+ readonly minLength: 1;
2168
+ };
2169
+ readonly defaultThinkingEnabled: {
2170
+ readonly type: "boolean";
2171
+ };
2172
+ readonly defaultBudgetTokens: {
2173
+ readonly type: "integer";
2174
+ readonly minimum: 0;
2175
+ };
2176
+ readonly budgetTokensRange: {
2177
+ readonly type: "object";
2178
+ readonly additionalProperties: false;
2179
+ readonly required: readonly ["min", "max"];
2180
+ readonly properties: {
2181
+ readonly min: {
2182
+ readonly type: "integer";
2183
+ readonly minimum: 0;
2184
+ };
2185
+ readonly max: {
2186
+ readonly type: "integer";
2187
+ readonly minimum: 0;
2188
+ };
2189
+ };
2190
+ };
2191
+ readonly notes: {
2192
+ readonly type: "string";
2193
+ };
2194
+ };
2195
+ };
2196
+ readonly lifecycle: {
2197
+ readonly properties: {
2198
+ readonly status: {
2199
+ readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
2200
+ };
2201
+ readonly deprecatedAt: {
2202
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
2203
+ };
2204
+ readonly sunsetAt: {
2205
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
2206
+ };
2207
+ readonly replacementCatalogId: {
2208
+ readonly type: "string";
2209
+ readonly minLength: 1;
2210
+ };
2211
+ };
2212
+ readonly type: "object";
2213
+ readonly additionalProperties: false;
2214
+ readonly required: readonly ["status"];
2215
+ };
2216
+ readonly availability: {
2217
+ readonly type: "object";
2218
+ readonly additionalProperties: false;
2219
+ readonly required: readonly ["status"];
2220
+ readonly properties: {
2221
+ readonly status: {
2222
+ readonly enum: readonly ["available", "unavailable", "restricted", "announced", "unknown"];
2223
+ };
2224
+ };
2225
+ };
2226
+ readonly activePriceRevisionId: {
2227
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
2228
+ };
2229
+ readonly source: {
2230
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
2231
+ };
2232
+ readonly notes: {
2233
+ readonly type: "string";
2234
+ };
2235
+ };
2236
+ };
2237
+ };
2238
+ readonly runtimeMappings: {
2239
+ readonly type: "object";
2240
+ readonly additionalProperties: {
2241
+ readonly $ref: string;
2242
+ };
2243
+ };
2244
+ readonly prices: {
2245
+ readonly type: "array";
2246
+ readonly items: {
2247
+ readonly $ref: "https://techis.dev/ai/contracts/price-revision.schema.json";
2248
+ };
2249
+ };
2250
+ readonly catalogRevision: {
2251
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
2252
+ };
2253
+ readonly releaseSequence: {
2254
+ readonly type: "integer";
2255
+ readonly minimum: 1;
2256
+ };
2257
+ readonly publishedAt: {
2258
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
2259
+ };
2260
+ readonly notes: {
2261
+ readonly type: "string";
2262
+ };
2263
+ };
2264
+ readonly type: "object";
2265
+ readonly additionalProperties: false;
2266
+ }];
2267
+ };
2268
+ //# sourceMappingURL=core.d.ts.map