@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.
- package/LICENSE +122 -0
- package/README.md +28 -3
- package/THIRD_PARTY_NOTICES +34 -0
- package/dist/availability.d.ts +21 -0
- package/dist/availability.d.ts.map +1 -0
- package/dist/availability.js +2 -0
- package/dist/availability.js.map +1 -0
- package/dist/catalog-adoption.d.ts +20 -0
- package/dist/catalog-adoption.d.ts.map +1 -0
- package/dist/catalog-adoption.js +76 -0
- package/dist/catalog-adoption.js.map +1 -0
- package/dist/catalog-composition.d.ts +10 -0
- package/dist/catalog-composition.d.ts.map +1 -0
- package/dist/catalog-composition.js +66 -0
- package/dist/catalog-composition.js.map +1 -0
- package/dist/catalog-delivery.d.ts +47 -0
- package/dist/catalog-delivery.d.ts.map +1 -0
- package/dist/catalog-delivery.js +87 -0
- package/dist/catalog-delivery.js.map +1 -0
- package/dist/catalog-package-data.d.ts +8 -0
- package/dist/catalog-package-data.d.ts.map +1 -0
- package/dist/catalog-package-data.js +3845 -0
- package/dist/catalog-package-data.js.map +1 -0
- package/dist/compatibility.d.ts +68 -0
- package/dist/compatibility.d.ts.map +1 -0
- package/dist/compatibility.js +207 -0
- package/dist/compatibility.js.map +1 -0
- package/dist/configuration-bundle.d.ts +204 -0
- package/dist/configuration-bundle.d.ts.map +1 -0
- package/dist/configuration-bundle.js +626 -0
- package/dist/configuration-bundle.js.map +1 -0
- package/dist/entities.d.ts +641 -0
- package/dist/entities.d.ts.map +1 -0
- package/dist/entities.js +2 -0
- package/dist/entities.js.map +1 -0
- package/dist/fixtures.d.ts +25 -0
- package/dist/fixtures.d.ts.map +1 -0
- package/dist/fixtures.js +546 -0
- package/dist/fixtures.js.map +1 -0
- package/dist/hash.d.ts +8 -0
- package/dist/hash.d.ts.map +1 -0
- package/dist/hash.js +13 -0
- package/dist/hash.js.map +1 -0
- package/dist/host-qualification.d.ts +107 -0
- package/dist/host-qualification.d.ts.map +1 -0
- package/dist/host-qualification.js +88 -0
- package/dist/host-qualification.js.map +1 -0
- package/dist/icc-catalog.d.ts +31 -0
- package/dist/icc-catalog.d.ts.map +1 -0
- package/dist/icc-catalog.js +321 -0
- package/dist/icc-catalog.js.map +1 -0
- package/dist/icc-csf-profiles.d.ts +28 -0
- package/dist/icc-csf-profiles.d.ts.map +1 -0
- package/dist/icc-csf-profiles.js +394 -0
- package/dist/icc-csf-profiles.js.map +1 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -0
- package/dist/model-maintenance.d.ts +216 -0
- package/dist/model-maintenance.d.ts.map +1 -0
- package/dist/model-maintenance.js +425 -0
- package/dist/model-maintenance.js.map +1 -0
- package/dist/model-package-data.d.ts +3 -0
- package/dist/model-package-data.d.ts.map +1 -0
- package/dist/model-package-data.js +4954 -0
- package/dist/model-package-data.js.map +1 -0
- package/dist/persona-inventory.d.ts +143 -0
- package/dist/persona-inventory.d.ts.map +1 -0
- package/dist/persona-inventory.js +56 -0
- package/dist/persona-inventory.js.map +1 -0
- package/dist/profile-identity.d.ts +27 -0
- package/dist/profile-identity.d.ts.map +1 -0
- package/dist/profile-identity.js +30 -0
- package/dist/profile-identity.js.map +1 -0
- package/dist/provider-listings.d.ts +9 -0
- package/dist/provider-listings.d.ts.map +1 -0
- package/dist/provider-listings.js +48 -0
- package/dist/provider-listings.js.map +1 -0
- package/dist/reasoning-validation.d.ts +9 -0
- package/dist/reasoning-validation.d.ts.map +1 -0
- package/dist/reasoning-validation.js +79 -0
- package/dist/reasoning-validation.js.map +1 -0
- package/dist/reasoning.d.ts +55 -0
- package/dist/reasoning.d.ts.map +1 -0
- package/dist/reasoning.js +13 -0
- package/dist/reasoning.js.map +1 -0
- package/dist/receipt.d.ts +16 -0
- package/dist/receipt.d.ts.map +1 -0
- package/dist/receipt.js +18 -0
- package/dist/receipt.js.map +1 -0
- package/dist/schemas/adoption-change-set.schema.json +91 -0
- package/dist/schemas/bundle.d.ts +124 -0
- package/dist/schemas/bundle.d.ts.map +1 -0
- package/dist/schemas/bundle.js +84 -0
- package/dist/schemas/bundle.js.map +1 -0
- package/dist/schemas/catalog-release.schema.json +375 -0
- package/dist/schemas/catalog-review-input.schema.json +179 -0
- package/dist/schemas/catalog-review-output.schema.json +259 -0
- package/dist/schemas/catalog-review-output.v2.schema.json +251 -0
- package/dist/schemas/catalog-review-record.schema.json +391 -0
- package/dist/schemas/client-persona-inventory.schema.json +107 -0
- package/dist/schemas/common.schema.json +324 -0
- package/dist/schemas/config.d.ts +1106 -0
- package/dist/schemas/config.d.ts.map +1 -0
- package/dist/schemas/config.js +496 -0
- package/dist/schemas/config.js.map +1 -0
- package/dist/schemas/configuration-bundle-manifest.schema.json +144 -0
- package/dist/schemas/configuration-manifest.schema.json +109 -0
- package/dist/schemas/connection.schema.json +49 -0
- package/dist/schemas/core.d.ts +2268 -0
- package/dist/schemas/core.d.ts.map +1 -0
- package/dist/schemas/core.js +367 -0
- package/dist/schemas/core.js.map +1 -0
- package/dist/schemas/desktop-configuration-revision.schema.json +146 -0
- package/dist/schemas/execution-profile-revision.schema.json +235 -0
- package/dist/schemas/execution-receipt.schema.json +431 -0
- package/dist/schemas/host-adapter-qualification.schema.json +398 -0
- package/dist/schemas/host-qualification-policy.schema.json +50 -0
- package/dist/schemas/index.d.ts +11 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +34 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/inventory.d.ts +170 -0
- package/dist/schemas/inventory.d.ts.map +1 -0
- package/dist/schemas/inventory.js +87 -0
- package/dist/schemas/inventory.js.map +1 -0
- package/dist/schemas/model-definition.schema.json +628 -0
- package/dist/schemas/model-package-release.schema.json +594 -0
- package/dist/schemas/model-upgrade-advisory.schema.json +191 -0
- package/dist/schemas/operation-contract-document.schema.json +153 -0
- package/dist/schemas/persona-assignments.schema.json +125 -0
- package/dist/schemas/persona-registry-overlay.schema.json +93 -0
- package/dist/schemas/persona-source-document.schema.json +86 -0
- package/dist/schemas/persona-specification.schema.json +122 -0
- package/dist/schemas/price-revision.schema.json +299 -0
- package/dist/schemas/profile-assessment.schema.json +288 -0
- package/dist/schemas/scoped.d.ts +424 -0
- package/dist/schemas/scoped.d.ts.map +1 -0
- package/dist/schemas/scoped.js +203 -0
- package/dist/schemas/scoped.js.map +1 -0
- package/dist/schemas/usage-aggregate-query.schema.json +86 -0
- package/dist/schemas/usage-page.schema.json +22 -0
- package/dist/schemas/usage-query.schema.json +77 -0
- package/dist/schemas/usage-summary.schema.json +468 -0
- package/dist/schemas/usage.d.ts +527 -0
- package/dist/schemas/usage.d.ts.map +1 -0
- package/dist/schemas/usage.js +142 -0
- package/dist/schemas/usage.js.map +1 -0
- package/dist/scoped-configuration.d.ts +208 -0
- package/dist/scoped-configuration.d.ts.map +1 -0
- package/dist/scoped-configuration.js +425 -0
- package/dist/scoped-configuration.js.map +1 -0
- package/dist/scripts/emit-schemas.d.ts +2 -0
- package/dist/scripts/emit-schemas.d.ts.map +1 -0
- package/dist/scripts/emit-schemas.js +24 -0
- package/dist/scripts/emit-schemas.js.map +1 -0
- package/dist/scripts/verify-bundle.d.ts +3 -0
- package/dist/scripts/verify-bundle.d.ts.map +1 -0
- package/dist/scripts/verify-bundle.js +59 -0
- package/dist/scripts/verify-bundle.js.map +1 -0
- package/dist/validation.d.ts +11 -0
- package/dist/validation.d.ts.map +1 -0
- package/dist/validation.js +41 -0
- package/dist/validation.js.map +1 -0
- package/package.json +31 -4
- package/third-party-licenses/ajv-formats@3.0.1/LICENSE +21 -0
- package/third-party-licenses/ajv@8.20.0/LICENSE +22 -0
- package/third-party-licenses/fast-deep-equal@3.1.3/LICENSE +21 -0
- package/third-party-licenses/fast-uri@3.1.7/LICENSE +30 -0
- package/third-party-licenses/json-schema-traverse@1.0.0/LICENSE +21 -0
- package/third-party-licenses/require-from-string@2.0.2/license +21 -0
- package/third-party-licenses/typescript@5.9.3/LICENSE.txt +55 -0
- package/third-party-licenses/typescript@5.9.3/ThirdPartyNoticeText.txt +193 -0
- package/third-party-licenses.json +102 -0
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://techis.dev/ai/contracts/catalog-release.schema.json",
|
|
3
|
+
"anyOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"catalogRevision",
|
|
10
|
+
"publishedAt",
|
|
11
|
+
"models",
|
|
12
|
+
"prices"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"schemaVersion": {
|
|
16
|
+
"const": 1
|
|
17
|
+
},
|
|
18
|
+
"catalogRevision": {
|
|
19
|
+
"$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision"
|
|
20
|
+
},
|
|
21
|
+
"releaseSequence": {
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"minimum": 1
|
|
24
|
+
},
|
|
25
|
+
"publishedAt": {
|
|
26
|
+
"$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime"
|
|
27
|
+
},
|
|
28
|
+
"models": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"items": {
|
|
31
|
+
"allOf": [
|
|
32
|
+
{
|
|
33
|
+
"$ref": "https://techis.dev/ai/contracts/model-definition.schema.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"properties": {
|
|
37
|
+
"schemaVersion": {
|
|
38
|
+
"const": 1
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"prices": {
|
|
46
|
+
"type": "array",
|
|
47
|
+
"items": {
|
|
48
|
+
"allOf": [
|
|
49
|
+
{
|
|
50
|
+
"$ref": "https://techis.dev/ai/contracts/price-revision.schema.json"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"properties": {
|
|
54
|
+
"schemaVersion": {
|
|
55
|
+
"const": 1
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"notes": {
|
|
63
|
+
"type": "string"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"type": "object",
|
|
69
|
+
"additionalProperties": false,
|
|
70
|
+
"required": [
|
|
71
|
+
"schemaVersion",
|
|
72
|
+
"catalogRevision",
|
|
73
|
+
"publishedAt",
|
|
74
|
+
"models",
|
|
75
|
+
"prices"
|
|
76
|
+
],
|
|
77
|
+
"properties": {
|
|
78
|
+
"schemaVersion": {
|
|
79
|
+
"const": 2
|
|
80
|
+
},
|
|
81
|
+
"catalogRevision": {
|
|
82
|
+
"$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision"
|
|
83
|
+
},
|
|
84
|
+
"releaseSequence": {
|
|
85
|
+
"type": "integer",
|
|
86
|
+
"minimum": 1
|
|
87
|
+
},
|
|
88
|
+
"publishedAt": {
|
|
89
|
+
"$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime"
|
|
90
|
+
},
|
|
91
|
+
"models": {
|
|
92
|
+
"type": "array",
|
|
93
|
+
"items": {
|
|
94
|
+
"allOf": [
|
|
95
|
+
{
|
|
96
|
+
"$ref": "https://techis.dev/ai/contracts/model-definition.schema.json"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"properties": {
|
|
100
|
+
"schemaVersion": {
|
|
101
|
+
"enum": [
|
|
102
|
+
1,
|
|
103
|
+
2
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"prices": {
|
|
112
|
+
"type": "array",
|
|
113
|
+
"items": {
|
|
114
|
+
"$ref": "https://techis.dev/ai/contracts/price-revision.schema.json"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"notes": {
|
|
118
|
+
"type": "string"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"$id": "https://techis.dev/ai/contracts/v2/catalog-release.schema.json"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"type": "object",
|
|
125
|
+
"additionalProperties": false,
|
|
126
|
+
"required": [
|
|
127
|
+
"schemaVersion",
|
|
128
|
+
"catalogRevision",
|
|
129
|
+
"publishedAt",
|
|
130
|
+
"models",
|
|
131
|
+
"prices",
|
|
132
|
+
"listings",
|
|
133
|
+
"runtimeMappings"
|
|
134
|
+
],
|
|
135
|
+
"properties": {
|
|
136
|
+
"schemaVersion": {
|
|
137
|
+
"const": 3
|
|
138
|
+
},
|
|
139
|
+
"catalogRevision": {
|
|
140
|
+
"$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision"
|
|
141
|
+
},
|
|
142
|
+
"releaseSequence": {
|
|
143
|
+
"type": "integer",
|
|
144
|
+
"minimum": 1
|
|
145
|
+
},
|
|
146
|
+
"publishedAt": {
|
|
147
|
+
"$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime"
|
|
148
|
+
},
|
|
149
|
+
"models": {
|
|
150
|
+
"type": "array",
|
|
151
|
+
"items": {
|
|
152
|
+
"$ref": "https://techis.dev/ai/contracts/model-definition.schema.json"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"prices": {
|
|
156
|
+
"type": "array",
|
|
157
|
+
"items": {
|
|
158
|
+
"$ref": "https://techis.dev/ai/contracts/price-revision.schema.json"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"notes": {
|
|
162
|
+
"type": "string"
|
|
163
|
+
},
|
|
164
|
+
"listings": {
|
|
165
|
+
"type": "array",
|
|
166
|
+
"items": {
|
|
167
|
+
"type": "object",
|
|
168
|
+
"additionalProperties": false,
|
|
169
|
+
"required": [
|
|
170
|
+
"schemaVersion",
|
|
171
|
+
"catalogId",
|
|
172
|
+
"provider",
|
|
173
|
+
"displayName",
|
|
174
|
+
"source"
|
|
175
|
+
],
|
|
176
|
+
"properties": {
|
|
177
|
+
"schemaVersion": {
|
|
178
|
+
"const": 1
|
|
179
|
+
},
|
|
180
|
+
"catalogId": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"minLength": 1
|
|
183
|
+
},
|
|
184
|
+
"provider": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"minLength": 1
|
|
187
|
+
},
|
|
188
|
+
"displayName": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"minLength": 1
|
|
191
|
+
},
|
|
192
|
+
"providerModelId": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"minLength": 1
|
|
195
|
+
},
|
|
196
|
+
"aliases": {
|
|
197
|
+
"type": "array",
|
|
198
|
+
"items": {
|
|
199
|
+
"type": "string",
|
|
200
|
+
"minLength": 1
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"capabilities": {
|
|
204
|
+
"type": "object",
|
|
205
|
+
"additionalProperties": false,
|
|
206
|
+
"required": [],
|
|
207
|
+
"properties": {
|
|
208
|
+
"inputModalities": {
|
|
209
|
+
"type": "array",
|
|
210
|
+
"minItems": 1,
|
|
211
|
+
"items": {
|
|
212
|
+
"$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"outputModalities": {
|
|
216
|
+
"type": "array",
|
|
217
|
+
"minItems": 1,
|
|
218
|
+
"items": {
|
|
219
|
+
"$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"structuredOutput": {
|
|
223
|
+
"type": "boolean"
|
|
224
|
+
},
|
|
225
|
+
"providerTools": {
|
|
226
|
+
"type": "array",
|
|
227
|
+
"items": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"minLength": 1
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"contextWindowTokens": {
|
|
233
|
+
"type": "integer",
|
|
234
|
+
"minimum": 1
|
|
235
|
+
},
|
|
236
|
+
"maxInputTokens": {
|
|
237
|
+
"type": "integer",
|
|
238
|
+
"minimum": 1
|
|
239
|
+
},
|
|
240
|
+
"maxOutputTokens": {
|
|
241
|
+
"type": "integer",
|
|
242
|
+
"minimum": 1
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"nativeReasoning": {
|
|
247
|
+
"type": "object",
|
|
248
|
+
"additionalProperties": false,
|
|
249
|
+
"required": [],
|
|
250
|
+
"properties": {
|
|
251
|
+
"supportedControls": {
|
|
252
|
+
"type": "array",
|
|
253
|
+
"items": {
|
|
254
|
+
"enum": [
|
|
255
|
+
"effort",
|
|
256
|
+
"thinking",
|
|
257
|
+
"token-budget"
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
"uniqueItems": true
|
|
261
|
+
},
|
|
262
|
+
"disableSupported": {
|
|
263
|
+
"type": "boolean"
|
|
264
|
+
},
|
|
265
|
+
"supportedEffortLevels": {
|
|
266
|
+
"type": "array",
|
|
267
|
+
"minItems": 1,
|
|
268
|
+
"items": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"minLength": 1
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"defaultEffort": {
|
|
274
|
+
"type": "string",
|
|
275
|
+
"minLength": 1
|
|
276
|
+
},
|
|
277
|
+
"defaultThinkingEnabled": {
|
|
278
|
+
"type": "boolean"
|
|
279
|
+
},
|
|
280
|
+
"defaultBudgetTokens": {
|
|
281
|
+
"type": "integer",
|
|
282
|
+
"minimum": 0
|
|
283
|
+
},
|
|
284
|
+
"budgetTokensRange": {
|
|
285
|
+
"type": "object",
|
|
286
|
+
"additionalProperties": false,
|
|
287
|
+
"required": [
|
|
288
|
+
"min",
|
|
289
|
+
"max"
|
|
290
|
+
],
|
|
291
|
+
"properties": {
|
|
292
|
+
"min": {
|
|
293
|
+
"type": "integer",
|
|
294
|
+
"minimum": 0
|
|
295
|
+
},
|
|
296
|
+
"max": {
|
|
297
|
+
"type": "integer",
|
|
298
|
+
"minimum": 0
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"notes": {
|
|
303
|
+
"type": "string"
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"lifecycle": {
|
|
308
|
+
"type": "object",
|
|
309
|
+
"additionalProperties": false,
|
|
310
|
+
"required": [
|
|
311
|
+
"status"
|
|
312
|
+
],
|
|
313
|
+
"properties": {
|
|
314
|
+
"status": {
|
|
315
|
+
"enum": [
|
|
316
|
+
"preview",
|
|
317
|
+
"ga",
|
|
318
|
+
"deprecated",
|
|
319
|
+
"retired",
|
|
320
|
+
"unknown"
|
|
321
|
+
]
|
|
322
|
+
},
|
|
323
|
+
"deprecatedAt": {
|
|
324
|
+
"$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime"
|
|
325
|
+
},
|
|
326
|
+
"sunsetAt": {
|
|
327
|
+
"$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime"
|
|
328
|
+
},
|
|
329
|
+
"replacementCatalogId": {
|
|
330
|
+
"type": "string",
|
|
331
|
+
"minLength": 1
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"availability": {
|
|
336
|
+
"type": "object",
|
|
337
|
+
"additionalProperties": false,
|
|
338
|
+
"required": [
|
|
339
|
+
"status"
|
|
340
|
+
],
|
|
341
|
+
"properties": {
|
|
342
|
+
"status": {
|
|
343
|
+
"enum": [
|
|
344
|
+
"available",
|
|
345
|
+
"unavailable",
|
|
346
|
+
"restricted",
|
|
347
|
+
"announced",
|
|
348
|
+
"unknown"
|
|
349
|
+
]
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"activePriceRevisionId": {
|
|
354
|
+
"$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId"
|
|
355
|
+
},
|
|
356
|
+
"source": {
|
|
357
|
+
"$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/source"
|
|
358
|
+
},
|
|
359
|
+
"notes": {
|
|
360
|
+
"type": "string"
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"runtimeMappings": {
|
|
366
|
+
"type": "object",
|
|
367
|
+
"additionalProperties": {
|
|
368
|
+
"$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/adapterId"
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"$id": "https://techis.dev/ai/contracts/v3/catalog-release.schema.json"
|
|
373
|
+
}
|
|
374
|
+
]
|
|
375
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"required": [
|
|
5
|
+
"base",
|
|
6
|
+
"catalog",
|
|
7
|
+
"evidence",
|
|
8
|
+
"policy"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"base": {},
|
|
12
|
+
"catalog": {},
|
|
13
|
+
"evidence": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"additionalProperties": false,
|
|
18
|
+
"required": [
|
|
19
|
+
"evidenceId",
|
|
20
|
+
"kind",
|
|
21
|
+
"uri",
|
|
22
|
+
"collectedAt",
|
|
23
|
+
"content",
|
|
24
|
+
"sha256",
|
|
25
|
+
"claims"
|
|
26
|
+
],
|
|
27
|
+
"properties": {
|
|
28
|
+
"evidenceId": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"minLength": 1
|
|
31
|
+
},
|
|
32
|
+
"kind": {
|
|
33
|
+
"enum": [
|
|
34
|
+
"provider-documentation",
|
|
35
|
+
"provider-discovery",
|
|
36
|
+
"provider-advisory",
|
|
37
|
+
"evaluation",
|
|
38
|
+
"host-qualification"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"uri": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"minLength": 1
|
|
44
|
+
},
|
|
45
|
+
"collectedAt": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"minLength": 1
|
|
48
|
+
},
|
|
49
|
+
"content": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"minLength": 1
|
|
52
|
+
},
|
|
53
|
+
"sha256": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
56
|
+
},
|
|
57
|
+
"claims": {
|
|
58
|
+
"type": "array",
|
|
59
|
+
"items": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"additionalProperties": false,
|
|
62
|
+
"required": [
|
|
63
|
+
"key",
|
|
64
|
+
"value",
|
|
65
|
+
"quote"
|
|
66
|
+
],
|
|
67
|
+
"properties": {
|
|
68
|
+
"key": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"minLength": 1
|
|
71
|
+
},
|
|
72
|
+
"value": {},
|
|
73
|
+
"quote": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"minLength": 1
|
|
76
|
+
},
|
|
77
|
+
"taskDefinition": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"minLength": 1
|
|
80
|
+
},
|
|
81
|
+
"successCriterion": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"minLength": 1
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"policy": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"additionalProperties": false,
|
|
94
|
+
"required": [
|
|
95
|
+
"revision",
|
|
96
|
+
"allowedSourceOrigins",
|
|
97
|
+
"maxEvidenceAgeDays"
|
|
98
|
+
],
|
|
99
|
+
"properties": {
|
|
100
|
+
"schemaVersion": {
|
|
101
|
+
"const": 2
|
|
102
|
+
},
|
|
103
|
+
"revision": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"minLength": 1
|
|
106
|
+
},
|
|
107
|
+
"allowedSourceOrigins": {
|
|
108
|
+
"type": "array",
|
|
109
|
+
"items": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"minLength": 1
|
|
112
|
+
},
|
|
113
|
+
"minItems": 1
|
|
114
|
+
},
|
|
115
|
+
"maxEvidenceAgeDays": {
|
|
116
|
+
"anyOf": [
|
|
117
|
+
{
|
|
118
|
+
"type": "number",
|
|
119
|
+
"minimum": 0
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "null"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
"hostQualification": {
|
|
127
|
+
"type": "object",
|
|
128
|
+
"additionalProperties": false,
|
|
129
|
+
"required": [
|
|
130
|
+
"schemaVersion",
|
|
131
|
+
"artifactPins"
|
|
132
|
+
],
|
|
133
|
+
"properties": {
|
|
134
|
+
"schemaVersion": {
|
|
135
|
+
"const": 1
|
|
136
|
+
},
|
|
137
|
+
"artifactPins": {
|
|
138
|
+
"type": "array",
|
|
139
|
+
"minItems": 1,
|
|
140
|
+
"items": {
|
|
141
|
+
"type": "object",
|
|
142
|
+
"additionalProperties": false,
|
|
143
|
+
"required": [
|
|
144
|
+
"qualificationSha256",
|
|
145
|
+
"runtimePackageSha256",
|
|
146
|
+
"adapterModuleSha256",
|
|
147
|
+
"receiptSha256",
|
|
148
|
+
"conformanceSha256"
|
|
149
|
+
],
|
|
150
|
+
"properties": {
|
|
151
|
+
"qualificationSha256": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
154
|
+
},
|
|
155
|
+
"runtimePackageSha256": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
158
|
+
},
|
|
159
|
+
"adapterModuleSha256": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
162
|
+
},
|
|
163
|
+
"receiptSha256": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
166
|
+
},
|
|
167
|
+
"conformanceSha256": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|