@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,594 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"required": [
|
|
5
|
+
"schemaVersion",
|
|
6
|
+
"kind",
|
|
7
|
+
"packageVersion",
|
|
8
|
+
"builtAt",
|
|
9
|
+
"baseCatalog",
|
|
10
|
+
"catalog",
|
|
11
|
+
"evidence",
|
|
12
|
+
"policy",
|
|
13
|
+
"review",
|
|
14
|
+
"payloadHash"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"schemaVersion": {
|
|
18
|
+
"const": 1
|
|
19
|
+
},
|
|
20
|
+
"kind": {
|
|
21
|
+
"const": "techis-model-package-release"
|
|
22
|
+
},
|
|
23
|
+
"packageVersion": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"minLength": 1
|
|
26
|
+
},
|
|
27
|
+
"builtAt": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"minLength": 1
|
|
30
|
+
},
|
|
31
|
+
"baseCatalog": {},
|
|
32
|
+
"catalog": {},
|
|
33
|
+
"evidence": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"additionalProperties": false,
|
|
38
|
+
"required": [
|
|
39
|
+
"evidenceId",
|
|
40
|
+
"kind",
|
|
41
|
+
"uri",
|
|
42
|
+
"collectedAt",
|
|
43
|
+
"content",
|
|
44
|
+
"sha256",
|
|
45
|
+
"claims"
|
|
46
|
+
],
|
|
47
|
+
"properties": {
|
|
48
|
+
"evidenceId": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"minLength": 1
|
|
51
|
+
},
|
|
52
|
+
"kind": {
|
|
53
|
+
"enum": [
|
|
54
|
+
"provider-documentation",
|
|
55
|
+
"provider-discovery",
|
|
56
|
+
"provider-advisory",
|
|
57
|
+
"evaluation",
|
|
58
|
+
"host-qualification"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"uri": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"minLength": 1
|
|
64
|
+
},
|
|
65
|
+
"collectedAt": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"minLength": 1
|
|
68
|
+
},
|
|
69
|
+
"content": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"minLength": 1
|
|
72
|
+
},
|
|
73
|
+
"sha256": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
76
|
+
},
|
|
77
|
+
"claims": {
|
|
78
|
+
"type": "array",
|
|
79
|
+
"items": {
|
|
80
|
+
"type": "object",
|
|
81
|
+
"additionalProperties": false,
|
|
82
|
+
"required": [
|
|
83
|
+
"key",
|
|
84
|
+
"value",
|
|
85
|
+
"quote"
|
|
86
|
+
],
|
|
87
|
+
"properties": {
|
|
88
|
+
"key": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"minLength": 1
|
|
91
|
+
},
|
|
92
|
+
"value": {},
|
|
93
|
+
"quote": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"minLength": 1
|
|
96
|
+
},
|
|
97
|
+
"taskDefinition": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"minLength": 1
|
|
100
|
+
},
|
|
101
|
+
"successCriterion": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"minLength": 1
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"policy": {
|
|
112
|
+
"type": "object",
|
|
113
|
+
"additionalProperties": false,
|
|
114
|
+
"required": [
|
|
115
|
+
"revision",
|
|
116
|
+
"allowedSourceOrigins",
|
|
117
|
+
"maxEvidenceAgeDays"
|
|
118
|
+
],
|
|
119
|
+
"properties": {
|
|
120
|
+
"schemaVersion": {
|
|
121
|
+
"const": 2
|
|
122
|
+
},
|
|
123
|
+
"revision": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"minLength": 1
|
|
126
|
+
},
|
|
127
|
+
"allowedSourceOrigins": {
|
|
128
|
+
"type": "array",
|
|
129
|
+
"items": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"minLength": 1
|
|
132
|
+
},
|
|
133
|
+
"minItems": 1
|
|
134
|
+
},
|
|
135
|
+
"maxEvidenceAgeDays": {
|
|
136
|
+
"anyOf": [
|
|
137
|
+
{
|
|
138
|
+
"type": "number",
|
|
139
|
+
"minimum": 0
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "null"
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
"hostQualification": {
|
|
147
|
+
"type": "object",
|
|
148
|
+
"additionalProperties": false,
|
|
149
|
+
"required": [
|
|
150
|
+
"schemaVersion",
|
|
151
|
+
"artifactPins"
|
|
152
|
+
],
|
|
153
|
+
"properties": {
|
|
154
|
+
"schemaVersion": {
|
|
155
|
+
"const": 1
|
|
156
|
+
},
|
|
157
|
+
"artifactPins": {
|
|
158
|
+
"type": "array",
|
|
159
|
+
"minItems": 1,
|
|
160
|
+
"items": {
|
|
161
|
+
"type": "object",
|
|
162
|
+
"additionalProperties": false,
|
|
163
|
+
"required": [
|
|
164
|
+
"qualificationSha256",
|
|
165
|
+
"runtimePackageSha256",
|
|
166
|
+
"adapterModuleSha256",
|
|
167
|
+
"receiptSha256",
|
|
168
|
+
"conformanceSha256"
|
|
169
|
+
],
|
|
170
|
+
"properties": {
|
|
171
|
+
"qualificationSha256": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
174
|
+
},
|
|
175
|
+
"runtimePackageSha256": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
178
|
+
},
|
|
179
|
+
"adapterModuleSha256": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
182
|
+
},
|
|
183
|
+
"receiptSha256": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
186
|
+
},
|
|
187
|
+
"conformanceSha256": {
|
|
188
|
+
"type": "string",
|
|
189
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"review": {
|
|
199
|
+
"type": "object",
|
|
200
|
+
"additionalProperties": false,
|
|
201
|
+
"required": [
|
|
202
|
+
"schemaVersion",
|
|
203
|
+
"kind",
|
|
204
|
+
"recordId",
|
|
205
|
+
"baseCatalogHash",
|
|
206
|
+
"candidateCatalogHash",
|
|
207
|
+
"evidenceHash",
|
|
208
|
+
"policyHash",
|
|
209
|
+
"instructionsHash",
|
|
210
|
+
"reviewer",
|
|
211
|
+
"outcome",
|
|
212
|
+
"modelOutput",
|
|
213
|
+
"gateErrors",
|
|
214
|
+
"receipt",
|
|
215
|
+
"reviewedAt"
|
|
216
|
+
],
|
|
217
|
+
"properties": {
|
|
218
|
+
"schemaVersion": {
|
|
219
|
+
"const": 1
|
|
220
|
+
},
|
|
221
|
+
"kind": {
|
|
222
|
+
"const": "catalog-model-review"
|
|
223
|
+
},
|
|
224
|
+
"recordId": {
|
|
225
|
+
"type": "string",
|
|
226
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
227
|
+
},
|
|
228
|
+
"baseCatalogHash": {
|
|
229
|
+
"type": "string",
|
|
230
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
231
|
+
},
|
|
232
|
+
"candidateCatalogHash": {
|
|
233
|
+
"type": "string",
|
|
234
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
235
|
+
},
|
|
236
|
+
"evidenceHash": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
239
|
+
},
|
|
240
|
+
"policyHash": {
|
|
241
|
+
"type": "string",
|
|
242
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
243
|
+
},
|
|
244
|
+
"instructionsHash": {
|
|
245
|
+
"type": "string",
|
|
246
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
247
|
+
},
|
|
248
|
+
"reviewer": {
|
|
249
|
+
"type": "object",
|
|
250
|
+
"additionalProperties": false,
|
|
251
|
+
"required": [
|
|
252
|
+
"provider",
|
|
253
|
+
"providerModelId",
|
|
254
|
+
"profileId",
|
|
255
|
+
"profileRevision",
|
|
256
|
+
"spendingCap"
|
|
257
|
+
],
|
|
258
|
+
"properties": {
|
|
259
|
+
"provider": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"minLength": 1
|
|
262
|
+
},
|
|
263
|
+
"providerModelId": {
|
|
264
|
+
"type": "string",
|
|
265
|
+
"minLength": 1
|
|
266
|
+
},
|
|
267
|
+
"profileId": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"minLength": 1
|
|
270
|
+
},
|
|
271
|
+
"profileRevision": {
|
|
272
|
+
"type": "string",
|
|
273
|
+
"minLength": 1
|
|
274
|
+
},
|
|
275
|
+
"spendingCap": {
|
|
276
|
+
"anyOf": [
|
|
277
|
+
{
|
|
278
|
+
"type": "object",
|
|
279
|
+
"additionalProperties": false,
|
|
280
|
+
"required": [
|
|
281
|
+
"currency",
|
|
282
|
+
"amount"
|
|
283
|
+
],
|
|
284
|
+
"properties": {
|
|
285
|
+
"currency": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"minLength": 1
|
|
288
|
+
},
|
|
289
|
+
"amount": {
|
|
290
|
+
"type": "number",
|
|
291
|
+
"minimum": 0
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"type": "null"
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"outcome": {
|
|
303
|
+
"enum": [
|
|
304
|
+
"accepted",
|
|
305
|
+
"needs-evidence",
|
|
306
|
+
"rejected"
|
|
307
|
+
]
|
|
308
|
+
},
|
|
309
|
+
"modelOutput": {
|
|
310
|
+
"anyOf": [
|
|
311
|
+
{
|
|
312
|
+
"type": "object",
|
|
313
|
+
"additionalProperties": false,
|
|
314
|
+
"required": [
|
|
315
|
+
"outcome",
|
|
316
|
+
"findings",
|
|
317
|
+
"advisories",
|
|
318
|
+
"issues"
|
|
319
|
+
],
|
|
320
|
+
"properties": {
|
|
321
|
+
"outcome": {
|
|
322
|
+
"type": "string",
|
|
323
|
+
"enum": [
|
|
324
|
+
"accepted",
|
|
325
|
+
"needs-evidence",
|
|
326
|
+
"rejected"
|
|
327
|
+
]
|
|
328
|
+
},
|
|
329
|
+
"findings": {
|
|
330
|
+
"type": "array",
|
|
331
|
+
"items": {
|
|
332
|
+
"type": "object",
|
|
333
|
+
"additionalProperties": false,
|
|
334
|
+
"required": [
|
|
335
|
+
"factKey",
|
|
336
|
+
"status",
|
|
337
|
+
"evidenceIds",
|
|
338
|
+
"reason"
|
|
339
|
+
],
|
|
340
|
+
"properties": {
|
|
341
|
+
"factKey": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"minLength": 1
|
|
344
|
+
},
|
|
345
|
+
"status": {
|
|
346
|
+
"type": "string",
|
|
347
|
+
"enum": [
|
|
348
|
+
"supported",
|
|
349
|
+
"insufficient",
|
|
350
|
+
"contradicted"
|
|
351
|
+
]
|
|
352
|
+
},
|
|
353
|
+
"evidenceIds": {
|
|
354
|
+
"type": "array",
|
|
355
|
+
"items": {
|
|
356
|
+
"type": "string",
|
|
357
|
+
"minLength": 1
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"reason": {
|
|
361
|
+
"type": "string",
|
|
362
|
+
"minLength": 1
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"advisories": {
|
|
368
|
+
"type": "array",
|
|
369
|
+
"items": {
|
|
370
|
+
"type": "object",
|
|
371
|
+
"additionalProperties": false,
|
|
372
|
+
"required": [
|
|
373
|
+
"fromModel",
|
|
374
|
+
"toModel",
|
|
375
|
+
"relationship",
|
|
376
|
+
"migrationClass",
|
|
377
|
+
"better",
|
|
378
|
+
"cheaper",
|
|
379
|
+
"highlights",
|
|
380
|
+
"caveats",
|
|
381
|
+
"migrationSteps",
|
|
382
|
+
"evidenceIds"
|
|
383
|
+
],
|
|
384
|
+
"properties": {
|
|
385
|
+
"fromModel": {
|
|
386
|
+
"type": "string",
|
|
387
|
+
"minLength": 1
|
|
388
|
+
},
|
|
389
|
+
"toModel": {
|
|
390
|
+
"type": "string",
|
|
391
|
+
"minLength": 1
|
|
392
|
+
},
|
|
393
|
+
"relationship": {
|
|
394
|
+
"type": "string",
|
|
395
|
+
"enum": [
|
|
396
|
+
"successor",
|
|
397
|
+
"alternative",
|
|
398
|
+
"unknown"
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
"migrationClass": {
|
|
402
|
+
"type": "string",
|
|
403
|
+
"enum": [
|
|
404
|
+
"compatible-upgrade",
|
|
405
|
+
"adaptation-required",
|
|
406
|
+
"incompatible",
|
|
407
|
+
"unverified"
|
|
408
|
+
]
|
|
409
|
+
},
|
|
410
|
+
"better": {
|
|
411
|
+
"type": "object",
|
|
412
|
+
"additionalProperties": false,
|
|
413
|
+
"required": [
|
|
414
|
+
"verdict",
|
|
415
|
+
"scope",
|
|
416
|
+
"basis",
|
|
417
|
+
"reason",
|
|
418
|
+
"evidenceIds"
|
|
419
|
+
],
|
|
420
|
+
"properties": {
|
|
421
|
+
"verdict": {
|
|
422
|
+
"type": "string",
|
|
423
|
+
"enum": [
|
|
424
|
+
"yes",
|
|
425
|
+
"no",
|
|
426
|
+
"mixed",
|
|
427
|
+
"unknown"
|
|
428
|
+
]
|
|
429
|
+
},
|
|
430
|
+
"scope": {
|
|
431
|
+
"type": "string",
|
|
432
|
+
"enum": [
|
|
433
|
+
"model-quality",
|
|
434
|
+
"comparable-tasks",
|
|
435
|
+
"cost-per-successful-task"
|
|
436
|
+
]
|
|
437
|
+
},
|
|
438
|
+
"basis": {
|
|
439
|
+
"type": "string",
|
|
440
|
+
"enum": [
|
|
441
|
+
"provider-reported",
|
|
442
|
+
"independently-measured",
|
|
443
|
+
"insufficient-evidence"
|
|
444
|
+
]
|
|
445
|
+
},
|
|
446
|
+
"reason": {
|
|
447
|
+
"type": "string",
|
|
448
|
+
"minLength": 1
|
|
449
|
+
},
|
|
450
|
+
"evidenceIds": {
|
|
451
|
+
"type": "array",
|
|
452
|
+
"items": {
|
|
453
|
+
"type": "string",
|
|
454
|
+
"minLength": 1
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"cheaper": {
|
|
460
|
+
"type": "object",
|
|
461
|
+
"additionalProperties": false,
|
|
462
|
+
"required": [
|
|
463
|
+
"verdict",
|
|
464
|
+
"scope",
|
|
465
|
+
"basis",
|
|
466
|
+
"reason",
|
|
467
|
+
"evidenceIds"
|
|
468
|
+
],
|
|
469
|
+
"properties": {
|
|
470
|
+
"verdict": {
|
|
471
|
+
"type": "string",
|
|
472
|
+
"enum": [
|
|
473
|
+
"yes",
|
|
474
|
+
"no",
|
|
475
|
+
"mixed",
|
|
476
|
+
"unknown"
|
|
477
|
+
]
|
|
478
|
+
},
|
|
479
|
+
"scope": {
|
|
480
|
+
"type": "string",
|
|
481
|
+
"enum": [
|
|
482
|
+
"model-quality",
|
|
483
|
+
"comparable-tasks",
|
|
484
|
+
"cost-per-successful-task"
|
|
485
|
+
]
|
|
486
|
+
},
|
|
487
|
+
"basis": {
|
|
488
|
+
"type": "string",
|
|
489
|
+
"enum": [
|
|
490
|
+
"provider-reported",
|
|
491
|
+
"independently-measured",
|
|
492
|
+
"insufficient-evidence"
|
|
493
|
+
]
|
|
494
|
+
},
|
|
495
|
+
"reason": {
|
|
496
|
+
"type": "string",
|
|
497
|
+
"minLength": 1
|
|
498
|
+
},
|
|
499
|
+
"evidenceIds": {
|
|
500
|
+
"type": "array",
|
|
501
|
+
"items": {
|
|
502
|
+
"type": "string",
|
|
503
|
+
"minLength": 1
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
"highlights": {
|
|
509
|
+
"type": "array",
|
|
510
|
+
"items": {
|
|
511
|
+
"type": "object",
|
|
512
|
+
"additionalProperties": false,
|
|
513
|
+
"required": [
|
|
514
|
+
"text",
|
|
515
|
+
"claimKey",
|
|
516
|
+
"evidenceIds"
|
|
517
|
+
],
|
|
518
|
+
"properties": {
|
|
519
|
+
"text": {
|
|
520
|
+
"type": "string",
|
|
521
|
+
"minLength": 1
|
|
522
|
+
},
|
|
523
|
+
"claimKey": {
|
|
524
|
+
"type": "string",
|
|
525
|
+
"minLength": 1
|
|
526
|
+
},
|
|
527
|
+
"evidenceIds": {
|
|
528
|
+
"type": "array",
|
|
529
|
+
"items": {
|
|
530
|
+
"type": "string",
|
|
531
|
+
"minLength": 1
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"caveats": {
|
|
538
|
+
"type": "array",
|
|
539
|
+
"items": {
|
|
540
|
+
"type": "string",
|
|
541
|
+
"minLength": 1
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
"migrationSteps": {
|
|
545
|
+
"type": "array",
|
|
546
|
+
"items": {
|
|
547
|
+
"type": "string",
|
|
548
|
+
"minLength": 1
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
"evidenceIds": {
|
|
552
|
+
"type": "array",
|
|
553
|
+
"items": {
|
|
554
|
+
"type": "string",
|
|
555
|
+
"minLength": 1
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
"issues": {
|
|
562
|
+
"type": "array",
|
|
563
|
+
"items": {
|
|
564
|
+
"type": "string",
|
|
565
|
+
"minLength": 1
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"type": "null"
|
|
572
|
+
}
|
|
573
|
+
]
|
|
574
|
+
},
|
|
575
|
+
"gateErrors": {
|
|
576
|
+
"type": "array",
|
|
577
|
+
"items": {
|
|
578
|
+
"type": "string",
|
|
579
|
+
"minLength": 1
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
"receipt": {},
|
|
583
|
+
"reviewedAt": {
|
|
584
|
+
"type": "string",
|
|
585
|
+
"minLength": 1
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
"payloadHash": {
|
|
590
|
+
"type": "string",
|
|
591
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
}
|