@tenhaw/core 0.0.0-bootstrap
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 +21 -0
- package/LICENSE-CONTENT +15 -0
- package/README.md +37 -0
- package/dist/index.d.ts +2685 -0
- package/dist/index.js +3585 -0
- package/package.json +45 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2685 @@
|
|
|
1
|
+
declare const schemas: {
|
|
2
|
+
readonly "delivery-events": {
|
|
3
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
4
|
+
readonly $id: "https://kit.tenhaw.com/schemas/delivery-events.schema.json";
|
|
5
|
+
readonly type: "array";
|
|
6
|
+
readonly items: {
|
|
7
|
+
readonly oneOf: readonly [{
|
|
8
|
+
readonly type: "object";
|
|
9
|
+
readonly properties: {
|
|
10
|
+
readonly id: {
|
|
11
|
+
readonly type: "string";
|
|
12
|
+
readonly minLength: 1;
|
|
13
|
+
};
|
|
14
|
+
readonly type: {
|
|
15
|
+
readonly const: "commit";
|
|
16
|
+
};
|
|
17
|
+
readonly timestamp: {
|
|
18
|
+
readonly type: "string";
|
|
19
|
+
readonly format: "date-time";
|
|
20
|
+
};
|
|
21
|
+
readonly service: {
|
|
22
|
+
readonly type: "string";
|
|
23
|
+
readonly minLength: 1;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
readonly required: readonly ["id", "type", "timestamp", "service"];
|
|
27
|
+
readonly additionalProperties: false;
|
|
28
|
+
}, {
|
|
29
|
+
readonly type: "object";
|
|
30
|
+
readonly properties: {
|
|
31
|
+
readonly id: {
|
|
32
|
+
readonly type: "string";
|
|
33
|
+
readonly minLength: 1;
|
|
34
|
+
};
|
|
35
|
+
readonly type: {
|
|
36
|
+
readonly const: "deployment";
|
|
37
|
+
};
|
|
38
|
+
readonly timestamp: {
|
|
39
|
+
readonly type: "string";
|
|
40
|
+
readonly format: "date-time";
|
|
41
|
+
};
|
|
42
|
+
readonly service: {
|
|
43
|
+
readonly type: "string";
|
|
44
|
+
readonly minLength: 1;
|
|
45
|
+
};
|
|
46
|
+
readonly environment: {
|
|
47
|
+
readonly type: "string";
|
|
48
|
+
readonly minLength: 1;
|
|
49
|
+
};
|
|
50
|
+
readonly commitIds: {
|
|
51
|
+
readonly type: "array";
|
|
52
|
+
readonly items: {
|
|
53
|
+
readonly type: "string";
|
|
54
|
+
readonly minLength: 1;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
readonly status: {
|
|
58
|
+
readonly type: "string";
|
|
59
|
+
readonly enum: readonly ["success", "failed"];
|
|
60
|
+
};
|
|
61
|
+
readonly rework: {
|
|
62
|
+
readonly type: "boolean";
|
|
63
|
+
};
|
|
64
|
+
readonly proxy: {
|
|
65
|
+
readonly type: "boolean";
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
readonly required: readonly ["id", "type", "timestamp", "service", "environment", "commitIds", "status"];
|
|
69
|
+
readonly additionalProperties: false;
|
|
70
|
+
}, {
|
|
71
|
+
readonly type: "object";
|
|
72
|
+
readonly properties: {
|
|
73
|
+
readonly id: {
|
|
74
|
+
readonly type: "string";
|
|
75
|
+
readonly minLength: 1;
|
|
76
|
+
};
|
|
77
|
+
readonly type: {
|
|
78
|
+
readonly const: "incident";
|
|
79
|
+
};
|
|
80
|
+
readonly startedAt: {
|
|
81
|
+
readonly type: "string";
|
|
82
|
+
readonly format: "date-time";
|
|
83
|
+
};
|
|
84
|
+
readonly restoredAt: {
|
|
85
|
+
readonly type: "string";
|
|
86
|
+
readonly format: "date-time";
|
|
87
|
+
};
|
|
88
|
+
readonly service: {
|
|
89
|
+
readonly type: "string";
|
|
90
|
+
readonly minLength: 1;
|
|
91
|
+
};
|
|
92
|
+
readonly deploymentId: {
|
|
93
|
+
readonly type: "string";
|
|
94
|
+
readonly minLength: 1;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
readonly required: readonly ["id", "type", "startedAt", "service", "deploymentId"];
|
|
98
|
+
readonly additionalProperties: false;
|
|
99
|
+
}, {
|
|
100
|
+
readonly type: "object";
|
|
101
|
+
readonly properties: {
|
|
102
|
+
readonly id: {
|
|
103
|
+
readonly type: "string";
|
|
104
|
+
readonly minLength: 1;
|
|
105
|
+
};
|
|
106
|
+
readonly type: {
|
|
107
|
+
readonly const: "work-item";
|
|
108
|
+
};
|
|
109
|
+
readonly startedAt: {
|
|
110
|
+
readonly type: "string";
|
|
111
|
+
readonly format: "date-time";
|
|
112
|
+
};
|
|
113
|
+
readonly completedAt: {
|
|
114
|
+
readonly type: "string";
|
|
115
|
+
readonly format: "date-time";
|
|
116
|
+
};
|
|
117
|
+
readonly service: {
|
|
118
|
+
readonly type: "string";
|
|
119
|
+
readonly minLength: 1;
|
|
120
|
+
};
|
|
121
|
+
readonly activeMinutes: {
|
|
122
|
+
readonly type: "number";
|
|
123
|
+
readonly minimum: 0;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
readonly required: readonly ["id", "type", "startedAt", "service"];
|
|
127
|
+
readonly additionalProperties: false;
|
|
128
|
+
}, {
|
|
129
|
+
readonly type: "object";
|
|
130
|
+
readonly properties: {
|
|
131
|
+
readonly id: {
|
|
132
|
+
readonly type: "string";
|
|
133
|
+
readonly minLength: 1;
|
|
134
|
+
};
|
|
135
|
+
readonly type: {
|
|
136
|
+
readonly const: "pull-request";
|
|
137
|
+
};
|
|
138
|
+
readonly createdAt: {
|
|
139
|
+
readonly type: "string";
|
|
140
|
+
readonly format: "date-time";
|
|
141
|
+
};
|
|
142
|
+
readonly firstReviewAt: {
|
|
143
|
+
readonly type: "string";
|
|
144
|
+
readonly format: "date-time";
|
|
145
|
+
};
|
|
146
|
+
readonly mergedAt: {
|
|
147
|
+
readonly type: "string";
|
|
148
|
+
readonly format: "date-time";
|
|
149
|
+
};
|
|
150
|
+
readonly service: {
|
|
151
|
+
readonly type: "string";
|
|
152
|
+
readonly minLength: 1;
|
|
153
|
+
};
|
|
154
|
+
readonly additions: {
|
|
155
|
+
readonly type: "integer";
|
|
156
|
+
readonly minimum: 0;
|
|
157
|
+
};
|
|
158
|
+
readonly deletions: {
|
|
159
|
+
readonly type: "integer";
|
|
160
|
+
readonly minimum: 0;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
readonly required: readonly ["id", "type", "createdAt", "service"];
|
|
164
|
+
readonly additionalProperties: false;
|
|
165
|
+
}];
|
|
166
|
+
};
|
|
167
|
+
readonly maxItems: 50000;
|
|
168
|
+
};
|
|
169
|
+
readonly "delivery-health": {
|
|
170
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
171
|
+
readonly $id: "https://kit.tenhaw.com/schemas/delivery-health.schema.json";
|
|
172
|
+
readonly type: "object";
|
|
173
|
+
readonly properties: {
|
|
174
|
+
readonly status: {
|
|
175
|
+
readonly const: "informational";
|
|
176
|
+
};
|
|
177
|
+
readonly metrics: {
|
|
178
|
+
readonly type: "object";
|
|
179
|
+
readonly properties: {
|
|
180
|
+
readonly deploymentFrequency: {
|
|
181
|
+
readonly type: "object";
|
|
182
|
+
readonly properties: {
|
|
183
|
+
readonly value: {
|
|
184
|
+
readonly type: readonly ["number", "null"];
|
|
185
|
+
readonly minimum: 0;
|
|
186
|
+
};
|
|
187
|
+
readonly unit: {
|
|
188
|
+
readonly const: "deployments/day";
|
|
189
|
+
};
|
|
190
|
+
readonly sampleSize: {
|
|
191
|
+
readonly type: "integer";
|
|
192
|
+
readonly minimum: 0;
|
|
193
|
+
};
|
|
194
|
+
readonly period: {
|
|
195
|
+
readonly type: "object";
|
|
196
|
+
readonly properties: {
|
|
197
|
+
readonly since: {
|
|
198
|
+
readonly type: "string";
|
|
199
|
+
readonly format: "date-time";
|
|
200
|
+
};
|
|
201
|
+
readonly until: {
|
|
202
|
+
readonly type: "string";
|
|
203
|
+
readonly format: "date-time";
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
readonly required: readonly ["since", "until"];
|
|
207
|
+
readonly additionalProperties: false;
|
|
208
|
+
};
|
|
209
|
+
readonly dataSource: {
|
|
210
|
+
readonly const: "supplied events";
|
|
211
|
+
};
|
|
212
|
+
readonly caveats: {
|
|
213
|
+
readonly type: "array";
|
|
214
|
+
readonly items: {
|
|
215
|
+
readonly type: "string";
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
220
|
+
readonly additionalProperties: false;
|
|
221
|
+
};
|
|
222
|
+
readonly changeLeadTime: {
|
|
223
|
+
readonly type: "object";
|
|
224
|
+
readonly properties: {
|
|
225
|
+
readonly value: {
|
|
226
|
+
readonly type: readonly ["number", "null"];
|
|
227
|
+
readonly minimum: 0;
|
|
228
|
+
};
|
|
229
|
+
readonly unit: {
|
|
230
|
+
readonly const: "hours";
|
|
231
|
+
};
|
|
232
|
+
readonly sampleSize: {
|
|
233
|
+
readonly type: "integer";
|
|
234
|
+
readonly minimum: 0;
|
|
235
|
+
};
|
|
236
|
+
readonly period: {
|
|
237
|
+
readonly type: "object";
|
|
238
|
+
readonly properties: {
|
|
239
|
+
readonly since: {
|
|
240
|
+
readonly type: "string";
|
|
241
|
+
readonly format: "date-time";
|
|
242
|
+
};
|
|
243
|
+
readonly until: {
|
|
244
|
+
readonly type: "string";
|
|
245
|
+
readonly format: "date-time";
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
readonly required: readonly ["since", "until"];
|
|
249
|
+
readonly additionalProperties: false;
|
|
250
|
+
};
|
|
251
|
+
readonly dataSource: {
|
|
252
|
+
readonly const: "supplied events";
|
|
253
|
+
};
|
|
254
|
+
readonly caveats: {
|
|
255
|
+
readonly type: "array";
|
|
256
|
+
readonly items: {
|
|
257
|
+
readonly type: "string";
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
262
|
+
readonly additionalProperties: false;
|
|
263
|
+
};
|
|
264
|
+
readonly changeFailRate: {
|
|
265
|
+
readonly type: "object";
|
|
266
|
+
readonly properties: {
|
|
267
|
+
readonly value: {
|
|
268
|
+
readonly type: readonly ["number", "null"];
|
|
269
|
+
readonly minimum: 0;
|
|
270
|
+
readonly maximum: 100;
|
|
271
|
+
};
|
|
272
|
+
readonly unit: {
|
|
273
|
+
readonly const: "percent";
|
|
274
|
+
};
|
|
275
|
+
readonly sampleSize: {
|
|
276
|
+
readonly type: "integer";
|
|
277
|
+
readonly minimum: 0;
|
|
278
|
+
};
|
|
279
|
+
readonly period: {
|
|
280
|
+
readonly type: "object";
|
|
281
|
+
readonly properties: {
|
|
282
|
+
readonly since: {
|
|
283
|
+
readonly type: "string";
|
|
284
|
+
readonly format: "date-time";
|
|
285
|
+
};
|
|
286
|
+
readonly until: {
|
|
287
|
+
readonly type: "string";
|
|
288
|
+
readonly format: "date-time";
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
readonly required: readonly ["since", "until"];
|
|
292
|
+
readonly additionalProperties: false;
|
|
293
|
+
};
|
|
294
|
+
readonly dataSource: {
|
|
295
|
+
readonly const: "supplied events";
|
|
296
|
+
};
|
|
297
|
+
readonly caveats: {
|
|
298
|
+
readonly type: "array";
|
|
299
|
+
readonly items: {
|
|
300
|
+
readonly type: "string";
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
305
|
+
readonly additionalProperties: false;
|
|
306
|
+
};
|
|
307
|
+
readonly failedDeploymentRecoveryTime: {
|
|
308
|
+
readonly type: "object";
|
|
309
|
+
readonly properties: {
|
|
310
|
+
readonly value: {
|
|
311
|
+
readonly type: readonly ["number", "null"];
|
|
312
|
+
readonly minimum: 0;
|
|
313
|
+
};
|
|
314
|
+
readonly unit: {
|
|
315
|
+
readonly const: "hours";
|
|
316
|
+
};
|
|
317
|
+
readonly sampleSize: {
|
|
318
|
+
readonly type: "integer";
|
|
319
|
+
readonly minimum: 0;
|
|
320
|
+
};
|
|
321
|
+
readonly period: {
|
|
322
|
+
readonly type: "object";
|
|
323
|
+
readonly properties: {
|
|
324
|
+
readonly since: {
|
|
325
|
+
readonly type: "string";
|
|
326
|
+
readonly format: "date-time";
|
|
327
|
+
};
|
|
328
|
+
readonly until: {
|
|
329
|
+
readonly type: "string";
|
|
330
|
+
readonly format: "date-time";
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
readonly required: readonly ["since", "until"];
|
|
334
|
+
readonly additionalProperties: false;
|
|
335
|
+
};
|
|
336
|
+
readonly dataSource: {
|
|
337
|
+
readonly const: "supplied events";
|
|
338
|
+
};
|
|
339
|
+
readonly caveats: {
|
|
340
|
+
readonly type: "array";
|
|
341
|
+
readonly items: {
|
|
342
|
+
readonly type: "string";
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
347
|
+
readonly additionalProperties: false;
|
|
348
|
+
};
|
|
349
|
+
readonly deploymentReworkRate: {
|
|
350
|
+
readonly type: "object";
|
|
351
|
+
readonly properties: {
|
|
352
|
+
readonly value: {
|
|
353
|
+
readonly type: readonly ["number", "null"];
|
|
354
|
+
readonly minimum: 0;
|
|
355
|
+
readonly maximum: 100;
|
|
356
|
+
};
|
|
357
|
+
readonly unit: {
|
|
358
|
+
readonly const: "percent";
|
|
359
|
+
};
|
|
360
|
+
readonly sampleSize: {
|
|
361
|
+
readonly type: "integer";
|
|
362
|
+
readonly minimum: 0;
|
|
363
|
+
};
|
|
364
|
+
readonly period: {
|
|
365
|
+
readonly type: "object";
|
|
366
|
+
readonly properties: {
|
|
367
|
+
readonly since: {
|
|
368
|
+
readonly type: "string";
|
|
369
|
+
readonly format: "date-time";
|
|
370
|
+
};
|
|
371
|
+
readonly until: {
|
|
372
|
+
readonly type: "string";
|
|
373
|
+
readonly format: "date-time";
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
readonly required: readonly ["since", "until"];
|
|
377
|
+
readonly additionalProperties: false;
|
|
378
|
+
};
|
|
379
|
+
readonly dataSource: {
|
|
380
|
+
readonly const: "supplied events";
|
|
381
|
+
};
|
|
382
|
+
readonly caveats: {
|
|
383
|
+
readonly type: "array";
|
|
384
|
+
readonly items: {
|
|
385
|
+
readonly type: "string";
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
390
|
+
readonly additionalProperties: false;
|
|
391
|
+
};
|
|
392
|
+
readonly cycleTime: {
|
|
393
|
+
readonly type: "object";
|
|
394
|
+
readonly properties: {
|
|
395
|
+
readonly value: {
|
|
396
|
+
readonly type: readonly ["number", "null"];
|
|
397
|
+
readonly minimum: 0;
|
|
398
|
+
};
|
|
399
|
+
readonly unit: {
|
|
400
|
+
readonly const: "hours";
|
|
401
|
+
};
|
|
402
|
+
readonly sampleSize: {
|
|
403
|
+
readonly type: "integer";
|
|
404
|
+
readonly minimum: 0;
|
|
405
|
+
};
|
|
406
|
+
readonly period: {
|
|
407
|
+
readonly type: "object";
|
|
408
|
+
readonly properties: {
|
|
409
|
+
readonly since: {
|
|
410
|
+
readonly type: "string";
|
|
411
|
+
readonly format: "date-time";
|
|
412
|
+
};
|
|
413
|
+
readonly until: {
|
|
414
|
+
readonly type: "string";
|
|
415
|
+
readonly format: "date-time";
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
readonly required: readonly ["since", "until"];
|
|
419
|
+
readonly additionalProperties: false;
|
|
420
|
+
};
|
|
421
|
+
readonly dataSource: {
|
|
422
|
+
readonly const: "supplied events";
|
|
423
|
+
};
|
|
424
|
+
readonly caveats: {
|
|
425
|
+
readonly type: "array";
|
|
426
|
+
readonly items: {
|
|
427
|
+
readonly type: "string";
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
432
|
+
readonly additionalProperties: false;
|
|
433
|
+
};
|
|
434
|
+
readonly throughput: {
|
|
435
|
+
readonly type: "object";
|
|
436
|
+
readonly properties: {
|
|
437
|
+
readonly value: {
|
|
438
|
+
readonly type: readonly ["number", "null"];
|
|
439
|
+
readonly minimum: 0;
|
|
440
|
+
};
|
|
441
|
+
readonly unit: {
|
|
442
|
+
readonly const: "items/week";
|
|
443
|
+
};
|
|
444
|
+
readonly sampleSize: {
|
|
445
|
+
readonly type: "integer";
|
|
446
|
+
readonly minimum: 0;
|
|
447
|
+
};
|
|
448
|
+
readonly period: {
|
|
449
|
+
readonly type: "object";
|
|
450
|
+
readonly properties: {
|
|
451
|
+
readonly since: {
|
|
452
|
+
readonly type: "string";
|
|
453
|
+
readonly format: "date-time";
|
|
454
|
+
};
|
|
455
|
+
readonly until: {
|
|
456
|
+
readonly type: "string";
|
|
457
|
+
readonly format: "date-time";
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
readonly required: readonly ["since", "until"];
|
|
461
|
+
readonly additionalProperties: false;
|
|
462
|
+
};
|
|
463
|
+
readonly dataSource: {
|
|
464
|
+
readonly const: "supplied events";
|
|
465
|
+
};
|
|
466
|
+
readonly caveats: {
|
|
467
|
+
readonly type: "array";
|
|
468
|
+
readonly items: {
|
|
469
|
+
readonly type: "string";
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
474
|
+
readonly additionalProperties: false;
|
|
475
|
+
};
|
|
476
|
+
readonly wip: {
|
|
477
|
+
readonly type: "object";
|
|
478
|
+
readonly properties: {
|
|
479
|
+
readonly value: {
|
|
480
|
+
readonly type: readonly ["number", "null"];
|
|
481
|
+
readonly minimum: 0;
|
|
482
|
+
};
|
|
483
|
+
readonly unit: {
|
|
484
|
+
readonly const: "items at period end";
|
|
485
|
+
};
|
|
486
|
+
readonly sampleSize: {
|
|
487
|
+
readonly type: "integer";
|
|
488
|
+
readonly minimum: 0;
|
|
489
|
+
};
|
|
490
|
+
readonly period: {
|
|
491
|
+
readonly type: "object";
|
|
492
|
+
readonly properties: {
|
|
493
|
+
readonly since: {
|
|
494
|
+
readonly type: "string";
|
|
495
|
+
readonly format: "date-time";
|
|
496
|
+
};
|
|
497
|
+
readonly until: {
|
|
498
|
+
readonly type: "string";
|
|
499
|
+
readonly format: "date-time";
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
readonly required: readonly ["since", "until"];
|
|
503
|
+
readonly additionalProperties: false;
|
|
504
|
+
};
|
|
505
|
+
readonly dataSource: {
|
|
506
|
+
readonly const: "supplied events";
|
|
507
|
+
};
|
|
508
|
+
readonly caveats: {
|
|
509
|
+
readonly type: "array";
|
|
510
|
+
readonly items: {
|
|
511
|
+
readonly type: "string";
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
516
|
+
readonly additionalProperties: false;
|
|
517
|
+
};
|
|
518
|
+
readonly flowEfficiency: {
|
|
519
|
+
readonly type: "object";
|
|
520
|
+
readonly properties: {
|
|
521
|
+
readonly value: {
|
|
522
|
+
readonly type: readonly ["number", "null"];
|
|
523
|
+
readonly minimum: 0;
|
|
524
|
+
readonly maximum: 100;
|
|
525
|
+
};
|
|
526
|
+
readonly unit: {
|
|
527
|
+
readonly const: "percent";
|
|
528
|
+
};
|
|
529
|
+
readonly sampleSize: {
|
|
530
|
+
readonly type: "integer";
|
|
531
|
+
readonly minimum: 0;
|
|
532
|
+
};
|
|
533
|
+
readonly period: {
|
|
534
|
+
readonly type: "object";
|
|
535
|
+
readonly properties: {
|
|
536
|
+
readonly since: {
|
|
537
|
+
readonly type: "string";
|
|
538
|
+
readonly format: "date-time";
|
|
539
|
+
};
|
|
540
|
+
readonly until: {
|
|
541
|
+
readonly type: "string";
|
|
542
|
+
readonly format: "date-time";
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
readonly required: readonly ["since", "until"];
|
|
546
|
+
readonly additionalProperties: false;
|
|
547
|
+
};
|
|
548
|
+
readonly dataSource: {
|
|
549
|
+
readonly const: "supplied events";
|
|
550
|
+
};
|
|
551
|
+
readonly caveats: {
|
|
552
|
+
readonly type: "array";
|
|
553
|
+
readonly items: {
|
|
554
|
+
readonly type: "string";
|
|
555
|
+
};
|
|
556
|
+
};
|
|
557
|
+
};
|
|
558
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
559
|
+
readonly additionalProperties: false;
|
|
560
|
+
};
|
|
561
|
+
readonly prReviewTime: {
|
|
562
|
+
readonly type: "object";
|
|
563
|
+
readonly properties: {
|
|
564
|
+
readonly value: {
|
|
565
|
+
readonly type: readonly ["number", "null"];
|
|
566
|
+
readonly minimum: 0;
|
|
567
|
+
};
|
|
568
|
+
readonly unit: {
|
|
569
|
+
readonly const: "hours";
|
|
570
|
+
};
|
|
571
|
+
readonly sampleSize: {
|
|
572
|
+
readonly type: "integer";
|
|
573
|
+
readonly minimum: 0;
|
|
574
|
+
};
|
|
575
|
+
readonly period: {
|
|
576
|
+
readonly type: "object";
|
|
577
|
+
readonly properties: {
|
|
578
|
+
readonly since: {
|
|
579
|
+
readonly type: "string";
|
|
580
|
+
readonly format: "date-time";
|
|
581
|
+
};
|
|
582
|
+
readonly until: {
|
|
583
|
+
readonly type: "string";
|
|
584
|
+
readonly format: "date-time";
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
readonly required: readonly ["since", "until"];
|
|
588
|
+
readonly additionalProperties: false;
|
|
589
|
+
};
|
|
590
|
+
readonly dataSource: {
|
|
591
|
+
readonly const: "supplied events";
|
|
592
|
+
};
|
|
593
|
+
readonly caveats: {
|
|
594
|
+
readonly type: "array";
|
|
595
|
+
readonly items: {
|
|
596
|
+
readonly type: "string";
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
};
|
|
600
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
601
|
+
readonly additionalProperties: false;
|
|
602
|
+
};
|
|
603
|
+
readonly prSize: {
|
|
604
|
+
readonly type: "object";
|
|
605
|
+
readonly properties: {
|
|
606
|
+
readonly value: {
|
|
607
|
+
readonly type: readonly ["number", "null"];
|
|
608
|
+
readonly minimum: 0;
|
|
609
|
+
};
|
|
610
|
+
readonly unit: {
|
|
611
|
+
readonly const: "changed lines";
|
|
612
|
+
};
|
|
613
|
+
readonly sampleSize: {
|
|
614
|
+
readonly type: "integer";
|
|
615
|
+
readonly minimum: 0;
|
|
616
|
+
};
|
|
617
|
+
readonly period: {
|
|
618
|
+
readonly type: "object";
|
|
619
|
+
readonly properties: {
|
|
620
|
+
readonly since: {
|
|
621
|
+
readonly type: "string";
|
|
622
|
+
readonly format: "date-time";
|
|
623
|
+
};
|
|
624
|
+
readonly until: {
|
|
625
|
+
readonly type: "string";
|
|
626
|
+
readonly format: "date-time";
|
|
627
|
+
};
|
|
628
|
+
};
|
|
629
|
+
readonly required: readonly ["since", "until"];
|
|
630
|
+
readonly additionalProperties: false;
|
|
631
|
+
};
|
|
632
|
+
readonly dataSource: {
|
|
633
|
+
readonly const: "supplied events";
|
|
634
|
+
};
|
|
635
|
+
readonly caveats: {
|
|
636
|
+
readonly type: "array";
|
|
637
|
+
readonly items: {
|
|
638
|
+
readonly type: "string";
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
};
|
|
642
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
643
|
+
readonly additionalProperties: false;
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
readonly required: readonly ["deploymentFrequency", "changeLeadTime", "changeFailRate", "failedDeploymentRecoveryTime", "deploymentReworkRate", "cycleTime", "throughput", "wip", "flowEfficiency", "prReviewTime", "prSize"];
|
|
647
|
+
readonly additionalProperties: false;
|
|
648
|
+
};
|
|
649
|
+
readonly actions: {
|
|
650
|
+
readonly type: "array";
|
|
651
|
+
readonly items: {
|
|
652
|
+
readonly type: "string";
|
|
653
|
+
};
|
|
654
|
+
readonly minItems: 1;
|
|
655
|
+
readonly maxItems: 3;
|
|
656
|
+
};
|
|
657
|
+
readonly limitations: {
|
|
658
|
+
readonly type: "array";
|
|
659
|
+
readonly items: {
|
|
660
|
+
readonly type: "string";
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
readonly sources: {
|
|
664
|
+
readonly type: "array";
|
|
665
|
+
readonly items: {
|
|
666
|
+
readonly type: "string";
|
|
667
|
+
readonly format: "uri";
|
|
668
|
+
};
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
readonly required: readonly ["status", "metrics", "actions", "limitations", "sources"];
|
|
672
|
+
readonly additionalProperties: false;
|
|
673
|
+
};
|
|
674
|
+
readonly "delivery-report": {
|
|
675
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
676
|
+
readonly $id: "https://kit.tenhaw.com/schemas/delivery-report.schema.json";
|
|
677
|
+
readonly type: "object";
|
|
678
|
+
readonly properties: {
|
|
679
|
+
readonly period: {
|
|
680
|
+
readonly type: "object";
|
|
681
|
+
readonly properties: {
|
|
682
|
+
readonly since: {
|
|
683
|
+
readonly type: "string";
|
|
684
|
+
readonly format: "date-time";
|
|
685
|
+
};
|
|
686
|
+
readonly until: {
|
|
687
|
+
readonly type: "string";
|
|
688
|
+
readonly format: "date-time";
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
readonly required: readonly ["since", "until"];
|
|
692
|
+
readonly additionalProperties: false;
|
|
693
|
+
};
|
|
694
|
+
readonly metrics: {
|
|
695
|
+
readonly type: "object";
|
|
696
|
+
readonly properties: {
|
|
697
|
+
readonly deploymentFrequency: {
|
|
698
|
+
readonly type: "object";
|
|
699
|
+
readonly properties: {
|
|
700
|
+
readonly value: {
|
|
701
|
+
readonly type: readonly ["number", "null"];
|
|
702
|
+
readonly minimum: 0;
|
|
703
|
+
};
|
|
704
|
+
readonly unit: {
|
|
705
|
+
readonly const: "deployments/day";
|
|
706
|
+
};
|
|
707
|
+
readonly sampleSize: {
|
|
708
|
+
readonly type: "integer";
|
|
709
|
+
readonly minimum: 0;
|
|
710
|
+
};
|
|
711
|
+
readonly period: {
|
|
712
|
+
readonly type: "object";
|
|
713
|
+
readonly properties: {
|
|
714
|
+
readonly since: {
|
|
715
|
+
readonly type: "string";
|
|
716
|
+
readonly format: "date-time";
|
|
717
|
+
};
|
|
718
|
+
readonly until: {
|
|
719
|
+
readonly type: "string";
|
|
720
|
+
readonly format: "date-time";
|
|
721
|
+
};
|
|
722
|
+
};
|
|
723
|
+
readonly required: readonly ["since", "until"];
|
|
724
|
+
readonly additionalProperties: false;
|
|
725
|
+
};
|
|
726
|
+
readonly dataSource: {
|
|
727
|
+
readonly const: "supplied events";
|
|
728
|
+
};
|
|
729
|
+
readonly caveats: {
|
|
730
|
+
readonly type: "array";
|
|
731
|
+
readonly items: {
|
|
732
|
+
readonly type: "string";
|
|
733
|
+
};
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
737
|
+
readonly additionalProperties: false;
|
|
738
|
+
};
|
|
739
|
+
readonly changeLeadTime: {
|
|
740
|
+
readonly type: "object";
|
|
741
|
+
readonly properties: {
|
|
742
|
+
readonly value: {
|
|
743
|
+
readonly type: readonly ["number", "null"];
|
|
744
|
+
readonly minimum: 0;
|
|
745
|
+
};
|
|
746
|
+
readonly unit: {
|
|
747
|
+
readonly const: "hours";
|
|
748
|
+
};
|
|
749
|
+
readonly sampleSize: {
|
|
750
|
+
readonly type: "integer";
|
|
751
|
+
readonly minimum: 0;
|
|
752
|
+
};
|
|
753
|
+
readonly period: {
|
|
754
|
+
readonly type: "object";
|
|
755
|
+
readonly properties: {
|
|
756
|
+
readonly since: {
|
|
757
|
+
readonly type: "string";
|
|
758
|
+
readonly format: "date-time";
|
|
759
|
+
};
|
|
760
|
+
readonly until: {
|
|
761
|
+
readonly type: "string";
|
|
762
|
+
readonly format: "date-time";
|
|
763
|
+
};
|
|
764
|
+
};
|
|
765
|
+
readonly required: readonly ["since", "until"];
|
|
766
|
+
readonly additionalProperties: false;
|
|
767
|
+
};
|
|
768
|
+
readonly dataSource: {
|
|
769
|
+
readonly const: "supplied events";
|
|
770
|
+
};
|
|
771
|
+
readonly caveats: {
|
|
772
|
+
readonly type: "array";
|
|
773
|
+
readonly items: {
|
|
774
|
+
readonly type: "string";
|
|
775
|
+
};
|
|
776
|
+
};
|
|
777
|
+
};
|
|
778
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
779
|
+
readonly additionalProperties: false;
|
|
780
|
+
};
|
|
781
|
+
readonly changeFailRate: {
|
|
782
|
+
readonly type: "object";
|
|
783
|
+
readonly properties: {
|
|
784
|
+
readonly value: {
|
|
785
|
+
readonly type: readonly ["number", "null"];
|
|
786
|
+
readonly minimum: 0;
|
|
787
|
+
readonly maximum: 100;
|
|
788
|
+
};
|
|
789
|
+
readonly unit: {
|
|
790
|
+
readonly const: "percent";
|
|
791
|
+
};
|
|
792
|
+
readonly sampleSize: {
|
|
793
|
+
readonly type: "integer";
|
|
794
|
+
readonly minimum: 0;
|
|
795
|
+
};
|
|
796
|
+
readonly period: {
|
|
797
|
+
readonly type: "object";
|
|
798
|
+
readonly properties: {
|
|
799
|
+
readonly since: {
|
|
800
|
+
readonly type: "string";
|
|
801
|
+
readonly format: "date-time";
|
|
802
|
+
};
|
|
803
|
+
readonly until: {
|
|
804
|
+
readonly type: "string";
|
|
805
|
+
readonly format: "date-time";
|
|
806
|
+
};
|
|
807
|
+
};
|
|
808
|
+
readonly required: readonly ["since", "until"];
|
|
809
|
+
readonly additionalProperties: false;
|
|
810
|
+
};
|
|
811
|
+
readonly dataSource: {
|
|
812
|
+
readonly const: "supplied events";
|
|
813
|
+
};
|
|
814
|
+
readonly caveats: {
|
|
815
|
+
readonly type: "array";
|
|
816
|
+
readonly items: {
|
|
817
|
+
readonly type: "string";
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
};
|
|
821
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
822
|
+
readonly additionalProperties: false;
|
|
823
|
+
};
|
|
824
|
+
readonly failedDeploymentRecoveryTime: {
|
|
825
|
+
readonly type: "object";
|
|
826
|
+
readonly properties: {
|
|
827
|
+
readonly value: {
|
|
828
|
+
readonly type: readonly ["number", "null"];
|
|
829
|
+
readonly minimum: 0;
|
|
830
|
+
};
|
|
831
|
+
readonly unit: {
|
|
832
|
+
readonly const: "hours";
|
|
833
|
+
};
|
|
834
|
+
readonly sampleSize: {
|
|
835
|
+
readonly type: "integer";
|
|
836
|
+
readonly minimum: 0;
|
|
837
|
+
};
|
|
838
|
+
readonly period: {
|
|
839
|
+
readonly type: "object";
|
|
840
|
+
readonly properties: {
|
|
841
|
+
readonly since: {
|
|
842
|
+
readonly type: "string";
|
|
843
|
+
readonly format: "date-time";
|
|
844
|
+
};
|
|
845
|
+
readonly until: {
|
|
846
|
+
readonly type: "string";
|
|
847
|
+
readonly format: "date-time";
|
|
848
|
+
};
|
|
849
|
+
};
|
|
850
|
+
readonly required: readonly ["since", "until"];
|
|
851
|
+
readonly additionalProperties: false;
|
|
852
|
+
};
|
|
853
|
+
readonly dataSource: {
|
|
854
|
+
readonly const: "supplied events";
|
|
855
|
+
};
|
|
856
|
+
readonly caveats: {
|
|
857
|
+
readonly type: "array";
|
|
858
|
+
readonly items: {
|
|
859
|
+
readonly type: "string";
|
|
860
|
+
};
|
|
861
|
+
};
|
|
862
|
+
};
|
|
863
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
864
|
+
readonly additionalProperties: false;
|
|
865
|
+
};
|
|
866
|
+
readonly deploymentReworkRate: {
|
|
867
|
+
readonly type: "object";
|
|
868
|
+
readonly properties: {
|
|
869
|
+
readonly value: {
|
|
870
|
+
readonly type: readonly ["number", "null"];
|
|
871
|
+
readonly minimum: 0;
|
|
872
|
+
readonly maximum: 100;
|
|
873
|
+
};
|
|
874
|
+
readonly unit: {
|
|
875
|
+
readonly const: "percent";
|
|
876
|
+
};
|
|
877
|
+
readonly sampleSize: {
|
|
878
|
+
readonly type: "integer";
|
|
879
|
+
readonly minimum: 0;
|
|
880
|
+
};
|
|
881
|
+
readonly period: {
|
|
882
|
+
readonly type: "object";
|
|
883
|
+
readonly properties: {
|
|
884
|
+
readonly since: {
|
|
885
|
+
readonly type: "string";
|
|
886
|
+
readonly format: "date-time";
|
|
887
|
+
};
|
|
888
|
+
readonly until: {
|
|
889
|
+
readonly type: "string";
|
|
890
|
+
readonly format: "date-time";
|
|
891
|
+
};
|
|
892
|
+
};
|
|
893
|
+
readonly required: readonly ["since", "until"];
|
|
894
|
+
readonly additionalProperties: false;
|
|
895
|
+
};
|
|
896
|
+
readonly dataSource: {
|
|
897
|
+
readonly const: "supplied events";
|
|
898
|
+
};
|
|
899
|
+
readonly caveats: {
|
|
900
|
+
readonly type: "array";
|
|
901
|
+
readonly items: {
|
|
902
|
+
readonly type: "string";
|
|
903
|
+
};
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
907
|
+
readonly additionalProperties: false;
|
|
908
|
+
};
|
|
909
|
+
readonly cycleTime: {
|
|
910
|
+
readonly type: "object";
|
|
911
|
+
readonly properties: {
|
|
912
|
+
readonly value: {
|
|
913
|
+
readonly type: readonly ["number", "null"];
|
|
914
|
+
readonly minimum: 0;
|
|
915
|
+
};
|
|
916
|
+
readonly unit: {
|
|
917
|
+
readonly const: "hours";
|
|
918
|
+
};
|
|
919
|
+
readonly sampleSize: {
|
|
920
|
+
readonly type: "integer";
|
|
921
|
+
readonly minimum: 0;
|
|
922
|
+
};
|
|
923
|
+
readonly period: {
|
|
924
|
+
readonly type: "object";
|
|
925
|
+
readonly properties: {
|
|
926
|
+
readonly since: {
|
|
927
|
+
readonly type: "string";
|
|
928
|
+
readonly format: "date-time";
|
|
929
|
+
};
|
|
930
|
+
readonly until: {
|
|
931
|
+
readonly type: "string";
|
|
932
|
+
readonly format: "date-time";
|
|
933
|
+
};
|
|
934
|
+
};
|
|
935
|
+
readonly required: readonly ["since", "until"];
|
|
936
|
+
readonly additionalProperties: false;
|
|
937
|
+
};
|
|
938
|
+
readonly dataSource: {
|
|
939
|
+
readonly const: "supplied events";
|
|
940
|
+
};
|
|
941
|
+
readonly caveats: {
|
|
942
|
+
readonly type: "array";
|
|
943
|
+
readonly items: {
|
|
944
|
+
readonly type: "string";
|
|
945
|
+
};
|
|
946
|
+
};
|
|
947
|
+
};
|
|
948
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
949
|
+
readonly additionalProperties: false;
|
|
950
|
+
};
|
|
951
|
+
readonly throughput: {
|
|
952
|
+
readonly type: "object";
|
|
953
|
+
readonly properties: {
|
|
954
|
+
readonly value: {
|
|
955
|
+
readonly type: readonly ["number", "null"];
|
|
956
|
+
readonly minimum: 0;
|
|
957
|
+
};
|
|
958
|
+
readonly unit: {
|
|
959
|
+
readonly const: "items/week";
|
|
960
|
+
};
|
|
961
|
+
readonly sampleSize: {
|
|
962
|
+
readonly type: "integer";
|
|
963
|
+
readonly minimum: 0;
|
|
964
|
+
};
|
|
965
|
+
readonly period: {
|
|
966
|
+
readonly type: "object";
|
|
967
|
+
readonly properties: {
|
|
968
|
+
readonly since: {
|
|
969
|
+
readonly type: "string";
|
|
970
|
+
readonly format: "date-time";
|
|
971
|
+
};
|
|
972
|
+
readonly until: {
|
|
973
|
+
readonly type: "string";
|
|
974
|
+
readonly format: "date-time";
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
readonly required: readonly ["since", "until"];
|
|
978
|
+
readonly additionalProperties: false;
|
|
979
|
+
};
|
|
980
|
+
readonly dataSource: {
|
|
981
|
+
readonly const: "supplied events";
|
|
982
|
+
};
|
|
983
|
+
readonly caveats: {
|
|
984
|
+
readonly type: "array";
|
|
985
|
+
readonly items: {
|
|
986
|
+
readonly type: "string";
|
|
987
|
+
};
|
|
988
|
+
};
|
|
989
|
+
};
|
|
990
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
991
|
+
readonly additionalProperties: false;
|
|
992
|
+
};
|
|
993
|
+
readonly wip: {
|
|
994
|
+
readonly type: "object";
|
|
995
|
+
readonly properties: {
|
|
996
|
+
readonly value: {
|
|
997
|
+
readonly type: readonly ["number", "null"];
|
|
998
|
+
readonly minimum: 0;
|
|
999
|
+
};
|
|
1000
|
+
readonly unit: {
|
|
1001
|
+
readonly const: "items at period end";
|
|
1002
|
+
};
|
|
1003
|
+
readonly sampleSize: {
|
|
1004
|
+
readonly type: "integer";
|
|
1005
|
+
readonly minimum: 0;
|
|
1006
|
+
};
|
|
1007
|
+
readonly period: {
|
|
1008
|
+
readonly type: "object";
|
|
1009
|
+
readonly properties: {
|
|
1010
|
+
readonly since: {
|
|
1011
|
+
readonly type: "string";
|
|
1012
|
+
readonly format: "date-time";
|
|
1013
|
+
};
|
|
1014
|
+
readonly until: {
|
|
1015
|
+
readonly type: "string";
|
|
1016
|
+
readonly format: "date-time";
|
|
1017
|
+
};
|
|
1018
|
+
};
|
|
1019
|
+
readonly required: readonly ["since", "until"];
|
|
1020
|
+
readonly additionalProperties: false;
|
|
1021
|
+
};
|
|
1022
|
+
readonly dataSource: {
|
|
1023
|
+
readonly const: "supplied events";
|
|
1024
|
+
};
|
|
1025
|
+
readonly caveats: {
|
|
1026
|
+
readonly type: "array";
|
|
1027
|
+
readonly items: {
|
|
1028
|
+
readonly type: "string";
|
|
1029
|
+
};
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
1033
|
+
readonly additionalProperties: false;
|
|
1034
|
+
};
|
|
1035
|
+
readonly flowEfficiency: {
|
|
1036
|
+
readonly type: "object";
|
|
1037
|
+
readonly properties: {
|
|
1038
|
+
readonly value: {
|
|
1039
|
+
readonly type: readonly ["number", "null"];
|
|
1040
|
+
readonly minimum: 0;
|
|
1041
|
+
readonly maximum: 100;
|
|
1042
|
+
};
|
|
1043
|
+
readonly unit: {
|
|
1044
|
+
readonly const: "percent";
|
|
1045
|
+
};
|
|
1046
|
+
readonly sampleSize: {
|
|
1047
|
+
readonly type: "integer";
|
|
1048
|
+
readonly minimum: 0;
|
|
1049
|
+
};
|
|
1050
|
+
readonly period: {
|
|
1051
|
+
readonly type: "object";
|
|
1052
|
+
readonly properties: {
|
|
1053
|
+
readonly since: {
|
|
1054
|
+
readonly type: "string";
|
|
1055
|
+
readonly format: "date-time";
|
|
1056
|
+
};
|
|
1057
|
+
readonly until: {
|
|
1058
|
+
readonly type: "string";
|
|
1059
|
+
readonly format: "date-time";
|
|
1060
|
+
};
|
|
1061
|
+
};
|
|
1062
|
+
readonly required: readonly ["since", "until"];
|
|
1063
|
+
readonly additionalProperties: false;
|
|
1064
|
+
};
|
|
1065
|
+
readonly dataSource: {
|
|
1066
|
+
readonly const: "supplied events";
|
|
1067
|
+
};
|
|
1068
|
+
readonly caveats: {
|
|
1069
|
+
readonly type: "array";
|
|
1070
|
+
readonly items: {
|
|
1071
|
+
readonly type: "string";
|
|
1072
|
+
};
|
|
1073
|
+
};
|
|
1074
|
+
};
|
|
1075
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
1076
|
+
readonly additionalProperties: false;
|
|
1077
|
+
};
|
|
1078
|
+
readonly prReviewTime: {
|
|
1079
|
+
readonly type: "object";
|
|
1080
|
+
readonly properties: {
|
|
1081
|
+
readonly value: {
|
|
1082
|
+
readonly type: readonly ["number", "null"];
|
|
1083
|
+
readonly minimum: 0;
|
|
1084
|
+
};
|
|
1085
|
+
readonly unit: {
|
|
1086
|
+
readonly const: "hours";
|
|
1087
|
+
};
|
|
1088
|
+
readonly sampleSize: {
|
|
1089
|
+
readonly type: "integer";
|
|
1090
|
+
readonly minimum: 0;
|
|
1091
|
+
};
|
|
1092
|
+
readonly period: {
|
|
1093
|
+
readonly type: "object";
|
|
1094
|
+
readonly properties: {
|
|
1095
|
+
readonly since: {
|
|
1096
|
+
readonly type: "string";
|
|
1097
|
+
readonly format: "date-time";
|
|
1098
|
+
};
|
|
1099
|
+
readonly until: {
|
|
1100
|
+
readonly type: "string";
|
|
1101
|
+
readonly format: "date-time";
|
|
1102
|
+
};
|
|
1103
|
+
};
|
|
1104
|
+
readonly required: readonly ["since", "until"];
|
|
1105
|
+
readonly additionalProperties: false;
|
|
1106
|
+
};
|
|
1107
|
+
readonly dataSource: {
|
|
1108
|
+
readonly const: "supplied events";
|
|
1109
|
+
};
|
|
1110
|
+
readonly caveats: {
|
|
1111
|
+
readonly type: "array";
|
|
1112
|
+
readonly items: {
|
|
1113
|
+
readonly type: "string";
|
|
1114
|
+
};
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
1118
|
+
readonly additionalProperties: false;
|
|
1119
|
+
};
|
|
1120
|
+
readonly prSize: {
|
|
1121
|
+
readonly type: "object";
|
|
1122
|
+
readonly properties: {
|
|
1123
|
+
readonly value: {
|
|
1124
|
+
readonly type: readonly ["number", "null"];
|
|
1125
|
+
readonly minimum: 0;
|
|
1126
|
+
};
|
|
1127
|
+
readonly unit: {
|
|
1128
|
+
readonly const: "changed lines";
|
|
1129
|
+
};
|
|
1130
|
+
readonly sampleSize: {
|
|
1131
|
+
readonly type: "integer";
|
|
1132
|
+
readonly minimum: 0;
|
|
1133
|
+
};
|
|
1134
|
+
readonly period: {
|
|
1135
|
+
readonly type: "object";
|
|
1136
|
+
readonly properties: {
|
|
1137
|
+
readonly since: {
|
|
1138
|
+
readonly type: "string";
|
|
1139
|
+
readonly format: "date-time";
|
|
1140
|
+
};
|
|
1141
|
+
readonly until: {
|
|
1142
|
+
readonly type: "string";
|
|
1143
|
+
readonly format: "date-time";
|
|
1144
|
+
};
|
|
1145
|
+
};
|
|
1146
|
+
readonly required: readonly ["since", "until"];
|
|
1147
|
+
readonly additionalProperties: false;
|
|
1148
|
+
};
|
|
1149
|
+
readonly dataSource: {
|
|
1150
|
+
readonly const: "supplied events";
|
|
1151
|
+
};
|
|
1152
|
+
readonly caveats: {
|
|
1153
|
+
readonly type: "array";
|
|
1154
|
+
readonly items: {
|
|
1155
|
+
readonly type: "string";
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
};
|
|
1159
|
+
readonly required: readonly ["value", "unit", "sampleSize", "period", "dataSource", "caveats"];
|
|
1160
|
+
readonly additionalProperties: false;
|
|
1161
|
+
};
|
|
1162
|
+
};
|
|
1163
|
+
readonly required: readonly ["deploymentFrequency", "changeLeadTime", "changeFailRate", "failedDeploymentRecoveryTime", "deploymentReworkRate", "cycleTime", "throughput", "wip", "flowEfficiency", "prReviewTime", "prSize"];
|
|
1164
|
+
readonly additionalProperties: false;
|
|
1165
|
+
};
|
|
1166
|
+
readonly caveats: {
|
|
1167
|
+
readonly type: "array";
|
|
1168
|
+
readonly items: {
|
|
1169
|
+
readonly type: "string";
|
|
1170
|
+
};
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
readonly required: readonly ["period", "metrics", "caveats"];
|
|
1174
|
+
readonly additionalProperties: false;
|
|
1175
|
+
};
|
|
1176
|
+
readonly interaction: {
|
|
1177
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
1178
|
+
readonly $id: "https://kit.tenhaw.com/schemas/interaction.schema.json";
|
|
1179
|
+
readonly type: "object";
|
|
1180
|
+
readonly properties: {
|
|
1181
|
+
readonly from: {
|
|
1182
|
+
readonly type: "string";
|
|
1183
|
+
readonly minLength: 1;
|
|
1184
|
+
};
|
|
1185
|
+
readonly to: {
|
|
1186
|
+
readonly type: "string";
|
|
1187
|
+
readonly minLength: 1;
|
|
1188
|
+
};
|
|
1189
|
+
readonly mode: {
|
|
1190
|
+
readonly type: "string";
|
|
1191
|
+
readonly enum: readonly ["collaboration", "X-as-a-Service", "facilitating"];
|
|
1192
|
+
};
|
|
1193
|
+
};
|
|
1194
|
+
readonly required: readonly ["from", "to", "mode"];
|
|
1195
|
+
readonly additionalProperties: false;
|
|
1196
|
+
};
|
|
1197
|
+
readonly okr: {
|
|
1198
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
1199
|
+
readonly $id: "https://kit.tenhaw.com/schemas/okr.schema.json";
|
|
1200
|
+
readonly type: "object";
|
|
1201
|
+
readonly properties: {
|
|
1202
|
+
readonly id: {
|
|
1203
|
+
readonly type: "string";
|
|
1204
|
+
readonly minLength: 1;
|
|
1205
|
+
};
|
|
1206
|
+
readonly objective: {
|
|
1207
|
+
readonly type: "string";
|
|
1208
|
+
readonly minLength: 1;
|
|
1209
|
+
};
|
|
1210
|
+
readonly teamId: {
|
|
1211
|
+
readonly type: "string";
|
|
1212
|
+
readonly minLength: 1;
|
|
1213
|
+
};
|
|
1214
|
+
readonly keyResults: {
|
|
1215
|
+
readonly type: "array";
|
|
1216
|
+
readonly items: {
|
|
1217
|
+
readonly type: "object";
|
|
1218
|
+
readonly properties: {
|
|
1219
|
+
readonly id: {
|
|
1220
|
+
readonly type: "string";
|
|
1221
|
+
readonly minLength: 1;
|
|
1222
|
+
};
|
|
1223
|
+
readonly description: {
|
|
1224
|
+
readonly type: "string";
|
|
1225
|
+
readonly minLength: 1;
|
|
1226
|
+
};
|
|
1227
|
+
readonly baseline: {
|
|
1228
|
+
readonly type: "number";
|
|
1229
|
+
};
|
|
1230
|
+
readonly target: {
|
|
1231
|
+
readonly type: "number";
|
|
1232
|
+
};
|
|
1233
|
+
readonly current: {
|
|
1234
|
+
readonly type: "number";
|
|
1235
|
+
};
|
|
1236
|
+
readonly confidence: {
|
|
1237
|
+
readonly type: "number";
|
|
1238
|
+
readonly minimum: 0;
|
|
1239
|
+
readonly maximum: 1;
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1242
|
+
readonly required: readonly ["id", "description", "baseline", "target", "current", "confidence"];
|
|
1243
|
+
readonly additionalProperties: false;
|
|
1244
|
+
};
|
|
1245
|
+
};
|
|
1246
|
+
};
|
|
1247
|
+
readonly required: readonly ["id", "objective", "keyResults"];
|
|
1248
|
+
readonly additionalProperties: false;
|
|
1249
|
+
};
|
|
1250
|
+
readonly "opmodel-report": {
|
|
1251
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
1252
|
+
readonly $id: "https://kit.tenhaw.com/schemas/opmodel-report.schema.json";
|
|
1253
|
+
readonly type: "object";
|
|
1254
|
+
readonly properties: {
|
|
1255
|
+
readonly model: {
|
|
1256
|
+
readonly type: "object";
|
|
1257
|
+
readonly properties: {
|
|
1258
|
+
readonly teams: {
|
|
1259
|
+
readonly type: "array";
|
|
1260
|
+
readonly items: {
|
|
1261
|
+
readonly type: "object";
|
|
1262
|
+
readonly properties: {
|
|
1263
|
+
readonly id: {
|
|
1264
|
+
readonly type: "string";
|
|
1265
|
+
readonly minLength: 1;
|
|
1266
|
+
};
|
|
1267
|
+
readonly name: {
|
|
1268
|
+
readonly type: "string";
|
|
1269
|
+
readonly minLength: 1;
|
|
1270
|
+
};
|
|
1271
|
+
readonly type: {
|
|
1272
|
+
readonly type: "string";
|
|
1273
|
+
readonly enum: readonly ["stream-aligned", "platform", "enabling", "complicated-subsystem"];
|
|
1274
|
+
};
|
|
1275
|
+
readonly size: {
|
|
1276
|
+
readonly type: "integer";
|
|
1277
|
+
readonly minimum: 1;
|
|
1278
|
+
};
|
|
1279
|
+
readonly cognitiveLoad: {
|
|
1280
|
+
readonly type: "string";
|
|
1281
|
+
readonly enum: readonly ["low", "medium", "high"];
|
|
1282
|
+
};
|
|
1283
|
+
readonly platformDependencies: {
|
|
1284
|
+
readonly type: "array";
|
|
1285
|
+
readonly items: {
|
|
1286
|
+
readonly type: "string";
|
|
1287
|
+
readonly minLength: 1;
|
|
1288
|
+
};
|
|
1289
|
+
};
|
|
1290
|
+
};
|
|
1291
|
+
readonly required: readonly ["id", "name", "type", "size"];
|
|
1292
|
+
readonly additionalProperties: false;
|
|
1293
|
+
};
|
|
1294
|
+
};
|
|
1295
|
+
readonly okrs: {
|
|
1296
|
+
readonly type: "array";
|
|
1297
|
+
readonly items: {
|
|
1298
|
+
readonly type: "object";
|
|
1299
|
+
readonly properties: {
|
|
1300
|
+
readonly id: {
|
|
1301
|
+
readonly type: "string";
|
|
1302
|
+
readonly minLength: 1;
|
|
1303
|
+
};
|
|
1304
|
+
readonly objective: {
|
|
1305
|
+
readonly type: "string";
|
|
1306
|
+
readonly minLength: 1;
|
|
1307
|
+
};
|
|
1308
|
+
readonly teamId: {
|
|
1309
|
+
readonly type: "string";
|
|
1310
|
+
readonly minLength: 1;
|
|
1311
|
+
};
|
|
1312
|
+
readonly keyResults: {
|
|
1313
|
+
readonly type: "array";
|
|
1314
|
+
readonly items: {
|
|
1315
|
+
readonly type: "object";
|
|
1316
|
+
readonly properties: {
|
|
1317
|
+
readonly id: {
|
|
1318
|
+
readonly type: "string";
|
|
1319
|
+
readonly minLength: 1;
|
|
1320
|
+
};
|
|
1321
|
+
readonly description: {
|
|
1322
|
+
readonly type: "string";
|
|
1323
|
+
readonly minLength: 1;
|
|
1324
|
+
};
|
|
1325
|
+
readonly baseline: {
|
|
1326
|
+
readonly type: "number";
|
|
1327
|
+
};
|
|
1328
|
+
readonly target: {
|
|
1329
|
+
readonly type: "number";
|
|
1330
|
+
};
|
|
1331
|
+
readonly current: {
|
|
1332
|
+
readonly type: "number";
|
|
1333
|
+
};
|
|
1334
|
+
readonly confidence: {
|
|
1335
|
+
readonly type: "number";
|
|
1336
|
+
readonly minimum: 0;
|
|
1337
|
+
readonly maximum: 1;
|
|
1338
|
+
};
|
|
1339
|
+
readonly progress: {
|
|
1340
|
+
readonly type: "number";
|
|
1341
|
+
};
|
|
1342
|
+
};
|
|
1343
|
+
readonly required: readonly ["id", "description", "baseline", "target", "current", "confidence", "progress"];
|
|
1344
|
+
readonly additionalProperties: false;
|
|
1345
|
+
};
|
|
1346
|
+
};
|
|
1347
|
+
};
|
|
1348
|
+
readonly required: readonly ["id", "objective", "keyResults"];
|
|
1349
|
+
readonly additionalProperties: false;
|
|
1350
|
+
};
|
|
1351
|
+
};
|
|
1352
|
+
readonly roadmap: {
|
|
1353
|
+
readonly type: "array";
|
|
1354
|
+
readonly items: {
|
|
1355
|
+
readonly type: "object";
|
|
1356
|
+
readonly properties: {
|
|
1357
|
+
readonly id: {
|
|
1358
|
+
readonly type: "string";
|
|
1359
|
+
readonly minLength: 1;
|
|
1360
|
+
};
|
|
1361
|
+
readonly title: {
|
|
1362
|
+
readonly type: "string";
|
|
1363
|
+
readonly minLength: 1;
|
|
1364
|
+
};
|
|
1365
|
+
readonly horizon: {
|
|
1366
|
+
readonly type: "string";
|
|
1367
|
+
readonly enum: readonly ["now", "next", "later"];
|
|
1368
|
+
};
|
|
1369
|
+
readonly outcome: {
|
|
1370
|
+
readonly type: "string";
|
|
1371
|
+
};
|
|
1372
|
+
readonly teamId: {
|
|
1373
|
+
readonly type: "string";
|
|
1374
|
+
readonly minLength: 1;
|
|
1375
|
+
};
|
|
1376
|
+
readonly okrId: {
|
|
1377
|
+
readonly type: "string";
|
|
1378
|
+
readonly minLength: 1;
|
|
1379
|
+
};
|
|
1380
|
+
};
|
|
1381
|
+
readonly required: readonly ["id", "title", "horizon"];
|
|
1382
|
+
readonly additionalProperties: false;
|
|
1383
|
+
};
|
|
1384
|
+
};
|
|
1385
|
+
readonly interactions: {
|
|
1386
|
+
readonly type: "array";
|
|
1387
|
+
readonly items: {
|
|
1388
|
+
readonly type: "object";
|
|
1389
|
+
readonly properties: {
|
|
1390
|
+
readonly from: {
|
|
1391
|
+
readonly type: "string";
|
|
1392
|
+
readonly minLength: 1;
|
|
1393
|
+
};
|
|
1394
|
+
readonly to: {
|
|
1395
|
+
readonly type: "string";
|
|
1396
|
+
readonly minLength: 1;
|
|
1397
|
+
};
|
|
1398
|
+
readonly mode: {
|
|
1399
|
+
readonly type: "string";
|
|
1400
|
+
readonly enum: readonly ["collaboration", "X-as-a-Service", "facilitating"];
|
|
1401
|
+
};
|
|
1402
|
+
};
|
|
1403
|
+
readonly required: readonly ["from", "to", "mode"];
|
|
1404
|
+
readonly additionalProperties: false;
|
|
1405
|
+
};
|
|
1406
|
+
};
|
|
1407
|
+
readonly products: {
|
|
1408
|
+
readonly type: "array";
|
|
1409
|
+
readonly items: {
|
|
1410
|
+
readonly type: "object";
|
|
1411
|
+
readonly properties: {
|
|
1412
|
+
readonly id: {
|
|
1413
|
+
readonly type: "string";
|
|
1414
|
+
readonly minLength: 1;
|
|
1415
|
+
};
|
|
1416
|
+
readonly name: {
|
|
1417
|
+
readonly type: "string";
|
|
1418
|
+
readonly minLength: 1;
|
|
1419
|
+
};
|
|
1420
|
+
};
|
|
1421
|
+
readonly required: readonly ["id", "name"];
|
|
1422
|
+
readonly additionalProperties: false;
|
|
1423
|
+
};
|
|
1424
|
+
};
|
|
1425
|
+
};
|
|
1426
|
+
readonly required: readonly ["teams", "okrs", "roadmap", "interactions", "products"];
|
|
1427
|
+
readonly additionalProperties: false;
|
|
1428
|
+
};
|
|
1429
|
+
readonly checks: {
|
|
1430
|
+
readonly type: "array";
|
|
1431
|
+
readonly items: {
|
|
1432
|
+
readonly type: "object";
|
|
1433
|
+
readonly properties: {
|
|
1434
|
+
readonly code: {
|
|
1435
|
+
readonly type: "string";
|
|
1436
|
+
};
|
|
1437
|
+
readonly entityId: {
|
|
1438
|
+
readonly type: "string";
|
|
1439
|
+
};
|
|
1440
|
+
readonly message: {
|
|
1441
|
+
readonly type: "string";
|
|
1442
|
+
};
|
|
1443
|
+
};
|
|
1444
|
+
readonly required: readonly ["code", "entityId", "message"];
|
|
1445
|
+
readonly additionalProperties: false;
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
readonly limitations: {
|
|
1449
|
+
readonly type: "array";
|
|
1450
|
+
readonly items: {
|
|
1451
|
+
readonly type: "string";
|
|
1452
|
+
};
|
|
1453
|
+
};
|
|
1454
|
+
readonly sources: {
|
|
1455
|
+
readonly type: "array";
|
|
1456
|
+
readonly items: {
|
|
1457
|
+
readonly type: "string";
|
|
1458
|
+
};
|
|
1459
|
+
};
|
|
1460
|
+
};
|
|
1461
|
+
readonly required: readonly ["model", "checks", "limitations", "sources"];
|
|
1462
|
+
readonly additionalProperties: false;
|
|
1463
|
+
};
|
|
1464
|
+
readonly opmodel: {
|
|
1465
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
1466
|
+
readonly $id: "https://kit.tenhaw.com/schemas/opmodel.schema.json";
|
|
1467
|
+
readonly type: "object";
|
|
1468
|
+
readonly properties: {
|
|
1469
|
+
readonly teams: {
|
|
1470
|
+
readonly type: "array";
|
|
1471
|
+
readonly items: {
|
|
1472
|
+
readonly type: "object";
|
|
1473
|
+
readonly properties: {
|
|
1474
|
+
readonly id: {
|
|
1475
|
+
readonly type: "string";
|
|
1476
|
+
readonly minLength: 1;
|
|
1477
|
+
};
|
|
1478
|
+
readonly name: {
|
|
1479
|
+
readonly type: "string";
|
|
1480
|
+
readonly minLength: 1;
|
|
1481
|
+
};
|
|
1482
|
+
readonly type: {
|
|
1483
|
+
readonly type: "string";
|
|
1484
|
+
readonly enum: readonly ["stream-aligned", "platform", "enabling", "complicated-subsystem"];
|
|
1485
|
+
};
|
|
1486
|
+
readonly size: {
|
|
1487
|
+
readonly type: "integer";
|
|
1488
|
+
readonly minimum: 1;
|
|
1489
|
+
};
|
|
1490
|
+
readonly cognitiveLoad: {
|
|
1491
|
+
readonly type: "string";
|
|
1492
|
+
readonly enum: readonly ["low", "medium", "high"];
|
|
1493
|
+
};
|
|
1494
|
+
readonly platformDependencies: {
|
|
1495
|
+
readonly type: "array";
|
|
1496
|
+
readonly items: {
|
|
1497
|
+
readonly type: "string";
|
|
1498
|
+
readonly minLength: 1;
|
|
1499
|
+
};
|
|
1500
|
+
};
|
|
1501
|
+
};
|
|
1502
|
+
readonly required: readonly ["id", "name", "type", "size"];
|
|
1503
|
+
readonly additionalProperties: false;
|
|
1504
|
+
};
|
|
1505
|
+
};
|
|
1506
|
+
readonly okrs: {
|
|
1507
|
+
readonly type: "array";
|
|
1508
|
+
readonly items: {
|
|
1509
|
+
readonly type: "object";
|
|
1510
|
+
readonly properties: {
|
|
1511
|
+
readonly id: {
|
|
1512
|
+
readonly type: "string";
|
|
1513
|
+
readonly minLength: 1;
|
|
1514
|
+
};
|
|
1515
|
+
readonly objective: {
|
|
1516
|
+
readonly type: "string";
|
|
1517
|
+
readonly minLength: 1;
|
|
1518
|
+
};
|
|
1519
|
+
readonly teamId: {
|
|
1520
|
+
readonly type: "string";
|
|
1521
|
+
readonly minLength: 1;
|
|
1522
|
+
};
|
|
1523
|
+
readonly keyResults: {
|
|
1524
|
+
readonly type: "array";
|
|
1525
|
+
readonly items: {
|
|
1526
|
+
readonly type: "object";
|
|
1527
|
+
readonly properties: {
|
|
1528
|
+
readonly id: {
|
|
1529
|
+
readonly type: "string";
|
|
1530
|
+
readonly minLength: 1;
|
|
1531
|
+
};
|
|
1532
|
+
readonly description: {
|
|
1533
|
+
readonly type: "string";
|
|
1534
|
+
readonly minLength: 1;
|
|
1535
|
+
};
|
|
1536
|
+
readonly baseline: {
|
|
1537
|
+
readonly type: "number";
|
|
1538
|
+
};
|
|
1539
|
+
readonly target: {
|
|
1540
|
+
readonly type: "number";
|
|
1541
|
+
};
|
|
1542
|
+
readonly current: {
|
|
1543
|
+
readonly type: "number";
|
|
1544
|
+
};
|
|
1545
|
+
readonly confidence: {
|
|
1546
|
+
readonly type: "number";
|
|
1547
|
+
readonly minimum: 0;
|
|
1548
|
+
readonly maximum: 1;
|
|
1549
|
+
};
|
|
1550
|
+
};
|
|
1551
|
+
readonly required: readonly ["id", "description", "baseline", "target", "current", "confidence"];
|
|
1552
|
+
readonly additionalProperties: false;
|
|
1553
|
+
};
|
|
1554
|
+
};
|
|
1555
|
+
};
|
|
1556
|
+
readonly required: readonly ["id", "objective", "keyResults"];
|
|
1557
|
+
readonly additionalProperties: false;
|
|
1558
|
+
};
|
|
1559
|
+
};
|
|
1560
|
+
readonly roadmap: {
|
|
1561
|
+
readonly type: "array";
|
|
1562
|
+
readonly items: {
|
|
1563
|
+
readonly type: "object";
|
|
1564
|
+
readonly properties: {
|
|
1565
|
+
readonly id: {
|
|
1566
|
+
readonly type: "string";
|
|
1567
|
+
readonly minLength: 1;
|
|
1568
|
+
};
|
|
1569
|
+
readonly title: {
|
|
1570
|
+
readonly type: "string";
|
|
1571
|
+
readonly minLength: 1;
|
|
1572
|
+
};
|
|
1573
|
+
readonly horizon: {
|
|
1574
|
+
readonly type: "string";
|
|
1575
|
+
readonly enum: readonly ["now", "next", "later"];
|
|
1576
|
+
};
|
|
1577
|
+
readonly outcome: {
|
|
1578
|
+
readonly type: "string";
|
|
1579
|
+
};
|
|
1580
|
+
readonly teamId: {
|
|
1581
|
+
readonly type: "string";
|
|
1582
|
+
readonly minLength: 1;
|
|
1583
|
+
};
|
|
1584
|
+
readonly okrId: {
|
|
1585
|
+
readonly type: "string";
|
|
1586
|
+
readonly minLength: 1;
|
|
1587
|
+
};
|
|
1588
|
+
};
|
|
1589
|
+
readonly required: readonly ["id", "title", "horizon"];
|
|
1590
|
+
readonly additionalProperties: false;
|
|
1591
|
+
};
|
|
1592
|
+
};
|
|
1593
|
+
readonly interactions: {
|
|
1594
|
+
readonly type: "array";
|
|
1595
|
+
readonly items: {
|
|
1596
|
+
readonly type: "object";
|
|
1597
|
+
readonly properties: {
|
|
1598
|
+
readonly from: {
|
|
1599
|
+
readonly type: "string";
|
|
1600
|
+
readonly minLength: 1;
|
|
1601
|
+
};
|
|
1602
|
+
readonly to: {
|
|
1603
|
+
readonly type: "string";
|
|
1604
|
+
readonly minLength: 1;
|
|
1605
|
+
};
|
|
1606
|
+
readonly mode: {
|
|
1607
|
+
readonly type: "string";
|
|
1608
|
+
readonly enum: readonly ["collaboration", "X-as-a-Service", "facilitating"];
|
|
1609
|
+
};
|
|
1610
|
+
};
|
|
1611
|
+
readonly required: readonly ["from", "to", "mode"];
|
|
1612
|
+
readonly additionalProperties: false;
|
|
1613
|
+
};
|
|
1614
|
+
};
|
|
1615
|
+
readonly products: {
|
|
1616
|
+
readonly type: "array";
|
|
1617
|
+
readonly items: {
|
|
1618
|
+
readonly type: "object";
|
|
1619
|
+
readonly properties: {
|
|
1620
|
+
readonly id: {
|
|
1621
|
+
readonly type: "string";
|
|
1622
|
+
readonly minLength: 1;
|
|
1623
|
+
};
|
|
1624
|
+
readonly name: {
|
|
1625
|
+
readonly type: "string";
|
|
1626
|
+
readonly minLength: 1;
|
|
1627
|
+
};
|
|
1628
|
+
};
|
|
1629
|
+
readonly required: readonly ["id", "name"];
|
|
1630
|
+
readonly additionalProperties: false;
|
|
1631
|
+
};
|
|
1632
|
+
};
|
|
1633
|
+
};
|
|
1634
|
+
readonly required: readonly ["teams"];
|
|
1635
|
+
readonly additionalProperties: false;
|
|
1636
|
+
};
|
|
1637
|
+
readonly "project-cost-input": {
|
|
1638
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
1639
|
+
readonly $id: "https://kit.tenhaw.com/schemas/project-cost-input.schema.json";
|
|
1640
|
+
readonly type: "object";
|
|
1641
|
+
readonly properties: {
|
|
1642
|
+
readonly stage: {
|
|
1643
|
+
readonly enum: readonly ["poc", "pilot", "production"];
|
|
1644
|
+
};
|
|
1645
|
+
readonly people: {
|
|
1646
|
+
readonly type: "number";
|
|
1647
|
+
readonly exclusiveMinimum: 0;
|
|
1648
|
+
};
|
|
1649
|
+
readonly durationWeeks: {
|
|
1650
|
+
readonly type: "number";
|
|
1651
|
+
readonly exclusiveMinimum: 0;
|
|
1652
|
+
};
|
|
1653
|
+
readonly dayRate: {
|
|
1654
|
+
readonly type: "number";
|
|
1655
|
+
readonly exclusiveMinimum: 0;
|
|
1656
|
+
};
|
|
1657
|
+
readonly currency: {
|
|
1658
|
+
readonly type: "string";
|
|
1659
|
+
readonly pattern: "^[A-Z]{3}$";
|
|
1660
|
+
};
|
|
1661
|
+
};
|
|
1662
|
+
readonly required: readonly ["stage"];
|
|
1663
|
+
readonly additionalProperties: false;
|
|
1664
|
+
};
|
|
1665
|
+
readonly "project-cost-report": {
|
|
1666
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
1667
|
+
readonly $id: "https://kit.tenhaw.com/schemas/project-cost-report.schema.json";
|
|
1668
|
+
readonly type: "object";
|
|
1669
|
+
readonly properties: {
|
|
1670
|
+
readonly stage: {
|
|
1671
|
+
readonly enum: readonly ["poc", "pilot", "production"];
|
|
1672
|
+
};
|
|
1673
|
+
readonly currency: {
|
|
1674
|
+
readonly type: "string";
|
|
1675
|
+
};
|
|
1676
|
+
readonly low: {
|
|
1677
|
+
readonly type: "number";
|
|
1678
|
+
readonly minimum: 0;
|
|
1679
|
+
};
|
|
1680
|
+
readonly high: {
|
|
1681
|
+
readonly type: "number";
|
|
1682
|
+
readonly minimum: 0;
|
|
1683
|
+
};
|
|
1684
|
+
readonly assumptions: {
|
|
1685
|
+
readonly type: "object";
|
|
1686
|
+
readonly properties: {
|
|
1687
|
+
readonly people: {
|
|
1688
|
+
readonly type: "number";
|
|
1689
|
+
readonly minimum: 0;
|
|
1690
|
+
};
|
|
1691
|
+
readonly dayRate: {
|
|
1692
|
+
readonly type: "number";
|
|
1693
|
+
readonly minimum: 0;
|
|
1694
|
+
};
|
|
1695
|
+
readonly workingDaysPerWeek: {
|
|
1696
|
+
readonly const: 5;
|
|
1697
|
+
};
|
|
1698
|
+
readonly weeksLow: {
|
|
1699
|
+
readonly type: "number";
|
|
1700
|
+
readonly minimum: 0;
|
|
1701
|
+
};
|
|
1702
|
+
readonly weeksHigh: {
|
|
1703
|
+
readonly type: "number";
|
|
1704
|
+
readonly minimum: 0;
|
|
1705
|
+
};
|
|
1706
|
+
};
|
|
1707
|
+
readonly required: readonly ["people", "dayRate", "workingDaysPerWeek", "weeksLow", "weeksHigh"];
|
|
1708
|
+
readonly additionalProperties: false;
|
|
1709
|
+
};
|
|
1710
|
+
readonly limitations: {
|
|
1711
|
+
readonly type: "array";
|
|
1712
|
+
readonly items: {
|
|
1713
|
+
readonly type: "string";
|
|
1714
|
+
};
|
|
1715
|
+
};
|
|
1716
|
+
};
|
|
1717
|
+
readonly required: readonly ["stage", "currency", "low", "high", "assumptions", "limitations"];
|
|
1718
|
+
readonly additionalProperties: false;
|
|
1719
|
+
};
|
|
1720
|
+
readonly "readiness-questionnaire": {
|
|
1721
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
1722
|
+
readonly $id: "https://kit.tenhaw.com/schemas/readiness-questionnaire.schema.json";
|
|
1723
|
+
readonly type: "object";
|
|
1724
|
+
readonly properties: {
|
|
1725
|
+
readonly version: {
|
|
1726
|
+
readonly const: "v1";
|
|
1727
|
+
};
|
|
1728
|
+
readonly dimensions: {
|
|
1729
|
+
readonly type: "array";
|
|
1730
|
+
readonly items: {
|
|
1731
|
+
readonly type: "object";
|
|
1732
|
+
};
|
|
1733
|
+
readonly minItems: 6;
|
|
1734
|
+
readonly maxItems: 6;
|
|
1735
|
+
};
|
|
1736
|
+
readonly bands: {
|
|
1737
|
+
readonly type: "array";
|
|
1738
|
+
readonly items: {
|
|
1739
|
+
readonly type: "object";
|
|
1740
|
+
};
|
|
1741
|
+
};
|
|
1742
|
+
readonly minimumBandCoverage: {
|
|
1743
|
+
readonly const: 0.8;
|
|
1744
|
+
};
|
|
1745
|
+
readonly limitations: {
|
|
1746
|
+
readonly type: "array";
|
|
1747
|
+
readonly items: {
|
|
1748
|
+
readonly type: "string";
|
|
1749
|
+
};
|
|
1750
|
+
};
|
|
1751
|
+
readonly contentCredit: {
|
|
1752
|
+
readonly const: "Tenhaw AI Readiness Framework, CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), https://tenhaw.com.";
|
|
1753
|
+
};
|
|
1754
|
+
};
|
|
1755
|
+
readonly required: readonly ["version", "dimensions", "bands", "minimumBandCoverage", "limitations", "contentCredit"];
|
|
1756
|
+
readonly additionalProperties: false;
|
|
1757
|
+
};
|
|
1758
|
+
readonly "readiness-report": {
|
|
1759
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
1760
|
+
readonly $id: "https://kit.tenhaw.com/schemas/readiness-report.schema.json";
|
|
1761
|
+
readonly type: "object";
|
|
1762
|
+
readonly properties: {
|
|
1763
|
+
readonly frameworkVersion: {
|
|
1764
|
+
readonly const: "v1";
|
|
1765
|
+
};
|
|
1766
|
+
readonly overall: {
|
|
1767
|
+
readonly type: readonly ["number", "null"];
|
|
1768
|
+
readonly minimum: 1;
|
|
1769
|
+
readonly maximum: 5;
|
|
1770
|
+
};
|
|
1771
|
+
readonly band: {
|
|
1772
|
+
readonly type: readonly ["string", "null"];
|
|
1773
|
+
readonly enum: readonly ["Exploring", "Experimenting", "Scaling", "Embedded", "Leading", null];
|
|
1774
|
+
};
|
|
1775
|
+
readonly coverage: {
|
|
1776
|
+
readonly type: "number";
|
|
1777
|
+
readonly minimum: 0;
|
|
1778
|
+
readonly maximum: 1;
|
|
1779
|
+
};
|
|
1780
|
+
readonly dimensions: {
|
|
1781
|
+
readonly type: "array";
|
|
1782
|
+
readonly items: {
|
|
1783
|
+
readonly type: "object";
|
|
1784
|
+
readonly properties: {
|
|
1785
|
+
readonly id: {
|
|
1786
|
+
readonly type: "string";
|
|
1787
|
+
};
|
|
1788
|
+
readonly label: {
|
|
1789
|
+
readonly type: "string";
|
|
1790
|
+
};
|
|
1791
|
+
readonly weight: {
|
|
1792
|
+
readonly type: "number";
|
|
1793
|
+
readonly minimum: 0;
|
|
1794
|
+
readonly maximum: 1;
|
|
1795
|
+
};
|
|
1796
|
+
readonly score: {
|
|
1797
|
+
readonly type: readonly ["number", "null"];
|
|
1798
|
+
readonly minimum: 1;
|
|
1799
|
+
readonly maximum: 5;
|
|
1800
|
+
};
|
|
1801
|
+
readonly answered: {
|
|
1802
|
+
readonly type: "integer";
|
|
1803
|
+
readonly minimum: 0;
|
|
1804
|
+
};
|
|
1805
|
+
readonly total: {
|
|
1806
|
+
readonly const: 5;
|
|
1807
|
+
};
|
|
1808
|
+
readonly coverage: {
|
|
1809
|
+
readonly type: "number";
|
|
1810
|
+
readonly minimum: 0;
|
|
1811
|
+
readonly maximum: 1;
|
|
1812
|
+
};
|
|
1813
|
+
};
|
|
1814
|
+
readonly required: readonly ["id", "label", "weight", "score", "answered", "total", "coverage"];
|
|
1815
|
+
readonly additionalProperties: false;
|
|
1816
|
+
};
|
|
1817
|
+
readonly minItems: 6;
|
|
1818
|
+
readonly maxItems: 6;
|
|
1819
|
+
};
|
|
1820
|
+
readonly gaps: {
|
|
1821
|
+
readonly type: "array";
|
|
1822
|
+
readonly items: {
|
|
1823
|
+
readonly type: "object";
|
|
1824
|
+
readonly properties: {
|
|
1825
|
+
readonly questionId: {
|
|
1826
|
+
readonly type: "string";
|
|
1827
|
+
};
|
|
1828
|
+
readonly dimensionId: {
|
|
1829
|
+
readonly type: "string";
|
|
1830
|
+
};
|
|
1831
|
+
readonly score: {
|
|
1832
|
+
readonly type: "integer";
|
|
1833
|
+
readonly minimum: 1;
|
|
1834
|
+
readonly maximum: 2;
|
|
1835
|
+
};
|
|
1836
|
+
readonly priority: {
|
|
1837
|
+
readonly type: "number";
|
|
1838
|
+
readonly minimum: 0;
|
|
1839
|
+
};
|
|
1840
|
+
readonly recommendation: {
|
|
1841
|
+
readonly type: "string";
|
|
1842
|
+
};
|
|
1843
|
+
};
|
|
1844
|
+
readonly required: readonly ["questionId", "dimensionId", "score", "priority", "recommendation"];
|
|
1845
|
+
readonly additionalProperties: false;
|
|
1846
|
+
};
|
|
1847
|
+
};
|
|
1848
|
+
readonly recommendations: {
|
|
1849
|
+
readonly type: "array";
|
|
1850
|
+
readonly items: {
|
|
1851
|
+
readonly type: "object";
|
|
1852
|
+
readonly properties: {
|
|
1853
|
+
readonly questionId: {
|
|
1854
|
+
readonly type: "string";
|
|
1855
|
+
};
|
|
1856
|
+
readonly action: {
|
|
1857
|
+
readonly type: "string";
|
|
1858
|
+
};
|
|
1859
|
+
};
|
|
1860
|
+
readonly required: readonly ["questionId", "action"];
|
|
1861
|
+
readonly additionalProperties: false;
|
|
1862
|
+
};
|
|
1863
|
+
};
|
|
1864
|
+
readonly limitations: {
|
|
1865
|
+
readonly type: "array";
|
|
1866
|
+
readonly items: {
|
|
1867
|
+
readonly type: "string";
|
|
1868
|
+
};
|
|
1869
|
+
};
|
|
1870
|
+
readonly contentCredit: {
|
|
1871
|
+
readonly const: "Tenhaw AI Readiness Framework, CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), https://tenhaw.com.";
|
|
1872
|
+
};
|
|
1873
|
+
};
|
|
1874
|
+
readonly required: readonly ["frameworkVersion", "overall", "band", "coverage", "dimensions", "gaps", "recommendations", "limitations", "contentCredit"];
|
|
1875
|
+
readonly additionalProperties: false;
|
|
1876
|
+
};
|
|
1877
|
+
readonly "readiness-response": {
|
|
1878
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
1879
|
+
readonly $id: "https://kit.tenhaw.com/schemas/readiness-response.schema.json";
|
|
1880
|
+
readonly type: "object";
|
|
1881
|
+
readonly properties: {
|
|
1882
|
+
readonly answers: {
|
|
1883
|
+
readonly type: "array";
|
|
1884
|
+
readonly items: {
|
|
1885
|
+
readonly type: "object";
|
|
1886
|
+
readonly properties: {
|
|
1887
|
+
readonly questionId: {
|
|
1888
|
+
readonly type: "string";
|
|
1889
|
+
readonly pattern: "^(strategy|data|technology|people|governance|delivery)-[1-5]$";
|
|
1890
|
+
};
|
|
1891
|
+
readonly score: {
|
|
1892
|
+
readonly type: "integer";
|
|
1893
|
+
readonly minimum: 1;
|
|
1894
|
+
readonly maximum: 5;
|
|
1895
|
+
};
|
|
1896
|
+
readonly evidence: {
|
|
1897
|
+
readonly type: "string";
|
|
1898
|
+
};
|
|
1899
|
+
};
|
|
1900
|
+
readonly required: readonly ["questionId", "score"];
|
|
1901
|
+
readonly additionalProperties: false;
|
|
1902
|
+
};
|
|
1903
|
+
readonly maxItems: 30;
|
|
1904
|
+
};
|
|
1905
|
+
};
|
|
1906
|
+
readonly required: readonly ["answers"];
|
|
1907
|
+
readonly additionalProperties: false;
|
|
1908
|
+
};
|
|
1909
|
+
readonly "roadmap-item": {
|
|
1910
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
1911
|
+
readonly $id: "https://kit.tenhaw.com/schemas/roadmap-item.schema.json";
|
|
1912
|
+
readonly type: "object";
|
|
1913
|
+
readonly properties: {
|
|
1914
|
+
readonly id: {
|
|
1915
|
+
readonly type: "string";
|
|
1916
|
+
readonly minLength: 1;
|
|
1917
|
+
};
|
|
1918
|
+
readonly title: {
|
|
1919
|
+
readonly type: "string";
|
|
1920
|
+
readonly minLength: 1;
|
|
1921
|
+
};
|
|
1922
|
+
readonly horizon: {
|
|
1923
|
+
readonly type: "string";
|
|
1924
|
+
readonly enum: readonly ["now", "next", "later"];
|
|
1925
|
+
};
|
|
1926
|
+
readonly outcome: {
|
|
1927
|
+
readonly type: "string";
|
|
1928
|
+
};
|
|
1929
|
+
readonly teamId: {
|
|
1930
|
+
readonly type: "string";
|
|
1931
|
+
readonly minLength: 1;
|
|
1932
|
+
};
|
|
1933
|
+
readonly okrId: {
|
|
1934
|
+
readonly type: "string";
|
|
1935
|
+
readonly minLength: 1;
|
|
1936
|
+
};
|
|
1937
|
+
};
|
|
1938
|
+
readonly required: readonly ["id", "title", "horizon"];
|
|
1939
|
+
readonly additionalProperties: false;
|
|
1940
|
+
};
|
|
1941
|
+
readonly "roi-input": {
|
|
1942
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
1943
|
+
readonly $id: "https://kit.tenhaw.com/schemas/roi-input.schema.json";
|
|
1944
|
+
readonly type: "object";
|
|
1945
|
+
readonly properties: {
|
|
1946
|
+
readonly useCase: {
|
|
1947
|
+
readonly type: "string";
|
|
1948
|
+
readonly minLength: 1;
|
|
1949
|
+
};
|
|
1950
|
+
readonly users: {
|
|
1951
|
+
readonly type: "number";
|
|
1952
|
+
readonly minimum: 0;
|
|
1953
|
+
};
|
|
1954
|
+
readonly minutesPerTask: {
|
|
1955
|
+
readonly type: "number";
|
|
1956
|
+
readonly minimum: 0;
|
|
1957
|
+
};
|
|
1958
|
+
readonly tasksPerUserPerMonth: {
|
|
1959
|
+
readonly type: "number";
|
|
1960
|
+
readonly minimum: 0;
|
|
1961
|
+
};
|
|
1962
|
+
readonly savings: {
|
|
1963
|
+
readonly type: "object";
|
|
1964
|
+
readonly properties: {
|
|
1965
|
+
readonly low: {
|
|
1966
|
+
readonly type: "number";
|
|
1967
|
+
readonly minimum: 0;
|
|
1968
|
+
readonly maximum: 1;
|
|
1969
|
+
};
|
|
1970
|
+
readonly base: {
|
|
1971
|
+
readonly type: "number";
|
|
1972
|
+
readonly minimum: 0;
|
|
1973
|
+
readonly maximum: 1;
|
|
1974
|
+
};
|
|
1975
|
+
readonly high: {
|
|
1976
|
+
readonly type: "number";
|
|
1977
|
+
readonly minimum: 0;
|
|
1978
|
+
readonly maximum: 1;
|
|
1979
|
+
};
|
|
1980
|
+
};
|
|
1981
|
+
readonly required: readonly ["low", "base", "high"];
|
|
1982
|
+
readonly additionalProperties: false;
|
|
1983
|
+
};
|
|
1984
|
+
readonly hourlyCost: {
|
|
1985
|
+
readonly type: "number";
|
|
1986
|
+
readonly minimum: 0;
|
|
1987
|
+
};
|
|
1988
|
+
readonly buildCost: {
|
|
1989
|
+
readonly type: "number";
|
|
1990
|
+
readonly minimum: 0;
|
|
1991
|
+
};
|
|
1992
|
+
readonly monthlyRunCost: {
|
|
1993
|
+
readonly type: "number";
|
|
1994
|
+
readonly minimum: 0;
|
|
1995
|
+
};
|
|
1996
|
+
readonly adoptionMonths: {
|
|
1997
|
+
readonly type: "integer";
|
|
1998
|
+
readonly minimum: 0;
|
|
1999
|
+
readonly maximum: 1200;
|
|
2000
|
+
};
|
|
2001
|
+
readonly horizonMonths: {
|
|
2002
|
+
readonly type: "integer";
|
|
2003
|
+
readonly minimum: 1;
|
|
2004
|
+
readonly maximum: 1200;
|
|
2005
|
+
};
|
|
2006
|
+
readonly annualDiscountRate: {
|
|
2007
|
+
readonly type: "number";
|
|
2008
|
+
readonly minimum: 0;
|
|
2009
|
+
readonly maximum: 10;
|
|
2010
|
+
};
|
|
2011
|
+
readonly cashRealisation: {
|
|
2012
|
+
readonly type: "number";
|
|
2013
|
+
readonly minimum: 0;
|
|
2014
|
+
readonly maximum: 1;
|
|
2015
|
+
};
|
|
2016
|
+
readonly currency: {
|
|
2017
|
+
readonly type: "string";
|
|
2018
|
+
readonly pattern: "^[A-Z]{3}$";
|
|
2019
|
+
};
|
|
2020
|
+
};
|
|
2021
|
+
readonly required: readonly ["useCase", "users", "minutesPerTask", "tasksPerUserPerMonth", "savings", "hourlyCost", "buildCost", "monthlyRunCost", "adoptionMonths", "horizonMonths", "annualDiscountRate", "cashRealisation", "currency"];
|
|
2022
|
+
readonly additionalProperties: false;
|
|
2023
|
+
};
|
|
2024
|
+
readonly "roi-report": {
|
|
2025
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
2026
|
+
readonly $id: "https://kit.tenhaw.com/schemas/roi-report.schema.json";
|
|
2027
|
+
readonly type: "object";
|
|
2028
|
+
readonly properties: {
|
|
2029
|
+
readonly currency: {
|
|
2030
|
+
readonly type: "string";
|
|
2031
|
+
};
|
|
2032
|
+
readonly assumptions: {
|
|
2033
|
+
readonly type: "object";
|
|
2034
|
+
readonly properties: {
|
|
2035
|
+
readonly cashRealisation: {
|
|
2036
|
+
readonly type: "number";
|
|
2037
|
+
readonly minimum: 0;
|
|
2038
|
+
readonly maximum: 1;
|
|
2039
|
+
};
|
|
2040
|
+
readonly capacityIsCash: {
|
|
2041
|
+
readonly const: false;
|
|
2042
|
+
};
|
|
2043
|
+
};
|
|
2044
|
+
readonly required: readonly ["cashRealisation", "capacityIsCash"];
|
|
2045
|
+
readonly additionalProperties: false;
|
|
2046
|
+
};
|
|
2047
|
+
readonly scenarios: {
|
|
2048
|
+
readonly type: "object";
|
|
2049
|
+
readonly properties: {
|
|
2050
|
+
readonly low: {
|
|
2051
|
+
readonly type: "object";
|
|
2052
|
+
readonly properties: {
|
|
2053
|
+
readonly monthlyCashFlow: {
|
|
2054
|
+
readonly type: "array";
|
|
2055
|
+
readonly items: {
|
|
2056
|
+
readonly type: "object";
|
|
2057
|
+
readonly properties: {
|
|
2058
|
+
readonly month: {
|
|
2059
|
+
readonly type: "integer";
|
|
2060
|
+
readonly minimum: 1;
|
|
2061
|
+
};
|
|
2062
|
+
readonly adoption: {
|
|
2063
|
+
readonly type: "number";
|
|
2064
|
+
readonly minimum: 0;
|
|
2065
|
+
readonly maximum: 1;
|
|
2066
|
+
};
|
|
2067
|
+
readonly hoursSaved: {
|
|
2068
|
+
readonly type: "number";
|
|
2069
|
+
readonly minimum: 0;
|
|
2070
|
+
};
|
|
2071
|
+
readonly potentialValue: {
|
|
2072
|
+
readonly type: "number";
|
|
2073
|
+
readonly minimum: 0;
|
|
2074
|
+
};
|
|
2075
|
+
readonly cashBenefit: {
|
|
2076
|
+
readonly type: "number";
|
|
2077
|
+
readonly minimum: 0;
|
|
2078
|
+
};
|
|
2079
|
+
readonly runCost: {
|
|
2080
|
+
readonly type: "number";
|
|
2081
|
+
readonly minimum: 0;
|
|
2082
|
+
};
|
|
2083
|
+
readonly netCashFlow: {
|
|
2084
|
+
readonly type: "number";
|
|
2085
|
+
};
|
|
2086
|
+
readonly cumulativeCashFlow: {
|
|
2087
|
+
readonly type: "number";
|
|
2088
|
+
};
|
|
2089
|
+
};
|
|
2090
|
+
readonly required: readonly ["month", "adoption", "hoursSaved", "potentialValue", "cashBenefit", "runCost", "netCashFlow", "cumulativeCashFlow"];
|
|
2091
|
+
readonly additionalProperties: false;
|
|
2092
|
+
};
|
|
2093
|
+
};
|
|
2094
|
+
readonly totalCashBenefit: {
|
|
2095
|
+
readonly type: "number";
|
|
2096
|
+
readonly minimum: 0;
|
|
2097
|
+
};
|
|
2098
|
+
readonly totalRunCost: {
|
|
2099
|
+
readonly type: "number";
|
|
2100
|
+
readonly minimum: 0;
|
|
2101
|
+
};
|
|
2102
|
+
readonly totalHoursSaved: {
|
|
2103
|
+
readonly type: "number";
|
|
2104
|
+
readonly minimum: 0;
|
|
2105
|
+
};
|
|
2106
|
+
readonly recoveredCapacityHours: {
|
|
2107
|
+
readonly type: "number";
|
|
2108
|
+
readonly minimum: 0;
|
|
2109
|
+
};
|
|
2110
|
+
readonly npv: {
|
|
2111
|
+
readonly type: "number";
|
|
2112
|
+
};
|
|
2113
|
+
readonly paybackMonth: {
|
|
2114
|
+
readonly type: readonly ["integer", "null"];
|
|
2115
|
+
readonly minimum: 0;
|
|
2116
|
+
};
|
|
2117
|
+
readonly roiPercent: {
|
|
2118
|
+
readonly type: readonly ["number", "null"];
|
|
2119
|
+
};
|
|
2120
|
+
readonly costPerTask: {
|
|
2121
|
+
readonly type: readonly ["number", "null"];
|
|
2122
|
+
readonly minimum: 0;
|
|
2123
|
+
};
|
|
2124
|
+
readonly breakEvenAdoption: {
|
|
2125
|
+
readonly type: readonly ["number", "null"];
|
|
2126
|
+
readonly minimum: 0;
|
|
2127
|
+
};
|
|
2128
|
+
};
|
|
2129
|
+
readonly required: readonly ["monthlyCashFlow", "totalCashBenefit", "totalRunCost", "totalHoursSaved", "recoveredCapacityHours", "npv", "paybackMonth", "roiPercent", "costPerTask", "breakEvenAdoption"];
|
|
2130
|
+
readonly additionalProperties: false;
|
|
2131
|
+
};
|
|
2132
|
+
readonly base: {
|
|
2133
|
+
readonly type: "object";
|
|
2134
|
+
readonly properties: {
|
|
2135
|
+
readonly monthlyCashFlow: {
|
|
2136
|
+
readonly type: "array";
|
|
2137
|
+
readonly items: {
|
|
2138
|
+
readonly type: "object";
|
|
2139
|
+
readonly properties: {
|
|
2140
|
+
readonly month: {
|
|
2141
|
+
readonly type: "integer";
|
|
2142
|
+
readonly minimum: 1;
|
|
2143
|
+
};
|
|
2144
|
+
readonly adoption: {
|
|
2145
|
+
readonly type: "number";
|
|
2146
|
+
readonly minimum: 0;
|
|
2147
|
+
readonly maximum: 1;
|
|
2148
|
+
};
|
|
2149
|
+
readonly hoursSaved: {
|
|
2150
|
+
readonly type: "number";
|
|
2151
|
+
readonly minimum: 0;
|
|
2152
|
+
};
|
|
2153
|
+
readonly potentialValue: {
|
|
2154
|
+
readonly type: "number";
|
|
2155
|
+
readonly minimum: 0;
|
|
2156
|
+
};
|
|
2157
|
+
readonly cashBenefit: {
|
|
2158
|
+
readonly type: "number";
|
|
2159
|
+
readonly minimum: 0;
|
|
2160
|
+
};
|
|
2161
|
+
readonly runCost: {
|
|
2162
|
+
readonly type: "number";
|
|
2163
|
+
readonly minimum: 0;
|
|
2164
|
+
};
|
|
2165
|
+
readonly netCashFlow: {
|
|
2166
|
+
readonly type: "number";
|
|
2167
|
+
};
|
|
2168
|
+
readonly cumulativeCashFlow: {
|
|
2169
|
+
readonly type: "number";
|
|
2170
|
+
};
|
|
2171
|
+
};
|
|
2172
|
+
readonly required: readonly ["month", "adoption", "hoursSaved", "potentialValue", "cashBenefit", "runCost", "netCashFlow", "cumulativeCashFlow"];
|
|
2173
|
+
readonly additionalProperties: false;
|
|
2174
|
+
};
|
|
2175
|
+
};
|
|
2176
|
+
readonly totalCashBenefit: {
|
|
2177
|
+
readonly type: "number";
|
|
2178
|
+
readonly minimum: 0;
|
|
2179
|
+
};
|
|
2180
|
+
readonly totalRunCost: {
|
|
2181
|
+
readonly type: "number";
|
|
2182
|
+
readonly minimum: 0;
|
|
2183
|
+
};
|
|
2184
|
+
readonly totalHoursSaved: {
|
|
2185
|
+
readonly type: "number";
|
|
2186
|
+
readonly minimum: 0;
|
|
2187
|
+
};
|
|
2188
|
+
readonly recoveredCapacityHours: {
|
|
2189
|
+
readonly type: "number";
|
|
2190
|
+
readonly minimum: 0;
|
|
2191
|
+
};
|
|
2192
|
+
readonly npv: {
|
|
2193
|
+
readonly type: "number";
|
|
2194
|
+
};
|
|
2195
|
+
readonly paybackMonth: {
|
|
2196
|
+
readonly type: readonly ["integer", "null"];
|
|
2197
|
+
readonly minimum: 0;
|
|
2198
|
+
};
|
|
2199
|
+
readonly roiPercent: {
|
|
2200
|
+
readonly type: readonly ["number", "null"];
|
|
2201
|
+
};
|
|
2202
|
+
readonly costPerTask: {
|
|
2203
|
+
readonly type: readonly ["number", "null"];
|
|
2204
|
+
readonly minimum: 0;
|
|
2205
|
+
};
|
|
2206
|
+
readonly breakEvenAdoption: {
|
|
2207
|
+
readonly type: readonly ["number", "null"];
|
|
2208
|
+
readonly minimum: 0;
|
|
2209
|
+
};
|
|
2210
|
+
};
|
|
2211
|
+
readonly required: readonly ["monthlyCashFlow", "totalCashBenefit", "totalRunCost", "totalHoursSaved", "recoveredCapacityHours", "npv", "paybackMonth", "roiPercent", "costPerTask", "breakEvenAdoption"];
|
|
2212
|
+
readonly additionalProperties: false;
|
|
2213
|
+
};
|
|
2214
|
+
readonly high: {
|
|
2215
|
+
readonly type: "object";
|
|
2216
|
+
readonly properties: {
|
|
2217
|
+
readonly monthlyCashFlow: {
|
|
2218
|
+
readonly type: "array";
|
|
2219
|
+
readonly items: {
|
|
2220
|
+
readonly type: "object";
|
|
2221
|
+
readonly properties: {
|
|
2222
|
+
readonly month: {
|
|
2223
|
+
readonly type: "integer";
|
|
2224
|
+
readonly minimum: 1;
|
|
2225
|
+
};
|
|
2226
|
+
readonly adoption: {
|
|
2227
|
+
readonly type: "number";
|
|
2228
|
+
readonly minimum: 0;
|
|
2229
|
+
readonly maximum: 1;
|
|
2230
|
+
};
|
|
2231
|
+
readonly hoursSaved: {
|
|
2232
|
+
readonly type: "number";
|
|
2233
|
+
readonly minimum: 0;
|
|
2234
|
+
};
|
|
2235
|
+
readonly potentialValue: {
|
|
2236
|
+
readonly type: "number";
|
|
2237
|
+
readonly minimum: 0;
|
|
2238
|
+
};
|
|
2239
|
+
readonly cashBenefit: {
|
|
2240
|
+
readonly type: "number";
|
|
2241
|
+
readonly minimum: 0;
|
|
2242
|
+
};
|
|
2243
|
+
readonly runCost: {
|
|
2244
|
+
readonly type: "number";
|
|
2245
|
+
readonly minimum: 0;
|
|
2246
|
+
};
|
|
2247
|
+
readonly netCashFlow: {
|
|
2248
|
+
readonly type: "number";
|
|
2249
|
+
};
|
|
2250
|
+
readonly cumulativeCashFlow: {
|
|
2251
|
+
readonly type: "number";
|
|
2252
|
+
};
|
|
2253
|
+
};
|
|
2254
|
+
readonly required: readonly ["month", "adoption", "hoursSaved", "potentialValue", "cashBenefit", "runCost", "netCashFlow", "cumulativeCashFlow"];
|
|
2255
|
+
readonly additionalProperties: false;
|
|
2256
|
+
};
|
|
2257
|
+
};
|
|
2258
|
+
readonly totalCashBenefit: {
|
|
2259
|
+
readonly type: "number";
|
|
2260
|
+
readonly minimum: 0;
|
|
2261
|
+
};
|
|
2262
|
+
readonly totalRunCost: {
|
|
2263
|
+
readonly type: "number";
|
|
2264
|
+
readonly minimum: 0;
|
|
2265
|
+
};
|
|
2266
|
+
readonly totalHoursSaved: {
|
|
2267
|
+
readonly type: "number";
|
|
2268
|
+
readonly minimum: 0;
|
|
2269
|
+
};
|
|
2270
|
+
readonly recoveredCapacityHours: {
|
|
2271
|
+
readonly type: "number";
|
|
2272
|
+
readonly minimum: 0;
|
|
2273
|
+
};
|
|
2274
|
+
readonly npv: {
|
|
2275
|
+
readonly type: "number";
|
|
2276
|
+
};
|
|
2277
|
+
readonly paybackMonth: {
|
|
2278
|
+
readonly type: readonly ["integer", "null"];
|
|
2279
|
+
readonly minimum: 0;
|
|
2280
|
+
};
|
|
2281
|
+
readonly roiPercent: {
|
|
2282
|
+
readonly type: readonly ["number", "null"];
|
|
2283
|
+
};
|
|
2284
|
+
readonly costPerTask: {
|
|
2285
|
+
readonly type: readonly ["number", "null"];
|
|
2286
|
+
readonly minimum: 0;
|
|
2287
|
+
};
|
|
2288
|
+
readonly breakEvenAdoption: {
|
|
2289
|
+
readonly type: readonly ["number", "null"];
|
|
2290
|
+
readonly minimum: 0;
|
|
2291
|
+
};
|
|
2292
|
+
};
|
|
2293
|
+
readonly required: readonly ["monthlyCashFlow", "totalCashBenefit", "totalRunCost", "totalHoursSaved", "recoveredCapacityHours", "npv", "paybackMonth", "roiPercent", "costPerTask", "breakEvenAdoption"];
|
|
2294
|
+
readonly additionalProperties: false;
|
|
2295
|
+
};
|
|
2296
|
+
};
|
|
2297
|
+
readonly required: readonly ["low", "base", "high"];
|
|
2298
|
+
readonly additionalProperties: false;
|
|
2299
|
+
};
|
|
2300
|
+
readonly topDrivers: {
|
|
2301
|
+
readonly type: "array";
|
|
2302
|
+
readonly items: {
|
|
2303
|
+
readonly type: "object";
|
|
2304
|
+
readonly properties: {
|
|
2305
|
+
readonly name: {
|
|
2306
|
+
readonly type: "string";
|
|
2307
|
+
};
|
|
2308
|
+
readonly value: {
|
|
2309
|
+
readonly type: "number";
|
|
2310
|
+
};
|
|
2311
|
+
};
|
|
2312
|
+
readonly required: readonly ["name", "value"];
|
|
2313
|
+
readonly additionalProperties: false;
|
|
2314
|
+
};
|
|
2315
|
+
readonly minItems: 3;
|
|
2316
|
+
readonly maxItems: 3;
|
|
2317
|
+
};
|
|
2318
|
+
readonly limitations: {
|
|
2319
|
+
readonly type: "array";
|
|
2320
|
+
readonly items: {
|
|
2321
|
+
readonly type: "string";
|
|
2322
|
+
};
|
|
2323
|
+
};
|
|
2324
|
+
};
|
|
2325
|
+
readonly required: readonly ["currency", "assumptions", "scenarios", "topDrivers", "limitations"];
|
|
2326
|
+
readonly additionalProperties: false;
|
|
2327
|
+
};
|
|
2328
|
+
readonly team: {
|
|
2329
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
2330
|
+
readonly $id: "https://kit.tenhaw.com/schemas/team.schema.json";
|
|
2331
|
+
readonly type: "object";
|
|
2332
|
+
readonly properties: {
|
|
2333
|
+
readonly id: {
|
|
2334
|
+
readonly type: "string";
|
|
2335
|
+
readonly minLength: 1;
|
|
2336
|
+
};
|
|
2337
|
+
readonly name: {
|
|
2338
|
+
readonly type: "string";
|
|
2339
|
+
readonly minLength: 1;
|
|
2340
|
+
};
|
|
2341
|
+
readonly type: {
|
|
2342
|
+
readonly type: "string";
|
|
2343
|
+
readonly enum: readonly ["stream-aligned", "platform", "enabling", "complicated-subsystem"];
|
|
2344
|
+
};
|
|
2345
|
+
readonly size: {
|
|
2346
|
+
readonly type: "integer";
|
|
2347
|
+
readonly minimum: 1;
|
|
2348
|
+
};
|
|
2349
|
+
readonly cognitiveLoad: {
|
|
2350
|
+
readonly type: "string";
|
|
2351
|
+
readonly enum: readonly ["low", "medium", "high"];
|
|
2352
|
+
};
|
|
2353
|
+
readonly platformDependencies: {
|
|
2354
|
+
readonly type: "array";
|
|
2355
|
+
readonly items: {
|
|
2356
|
+
readonly type: "string";
|
|
2357
|
+
readonly minLength: 1;
|
|
2358
|
+
};
|
|
2359
|
+
};
|
|
2360
|
+
};
|
|
2361
|
+
readonly required: readonly ["id", "name", "type", "size"];
|
|
2362
|
+
readonly additionalProperties: false;
|
|
2363
|
+
};
|
|
2364
|
+
readonly "usecase-register-report": {
|
|
2365
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
2366
|
+
readonly $id: "https://kit.tenhaw.com/schemas/usecase-register-report.schema.json";
|
|
2367
|
+
readonly type: "object";
|
|
2368
|
+
readonly properties: {
|
|
2369
|
+
readonly useCases: {
|
|
2370
|
+
readonly type: "array";
|
|
2371
|
+
readonly items: {
|
|
2372
|
+
readonly type: "object";
|
|
2373
|
+
readonly properties: {
|
|
2374
|
+
readonly id: {
|
|
2375
|
+
readonly type: "string";
|
|
2376
|
+
readonly minLength: 1;
|
|
2377
|
+
};
|
|
2378
|
+
readonly title: {
|
|
2379
|
+
readonly type: "string";
|
|
2380
|
+
readonly minLength: 1;
|
|
2381
|
+
};
|
|
2382
|
+
readonly problem: {
|
|
2383
|
+
readonly type: "string";
|
|
2384
|
+
readonly minLength: 1;
|
|
2385
|
+
};
|
|
2386
|
+
readonly ownerRole: {
|
|
2387
|
+
readonly type: "string";
|
|
2388
|
+
readonly minLength: 1;
|
|
2389
|
+
};
|
|
2390
|
+
readonly businessUnit: {
|
|
2391
|
+
readonly type: "string";
|
|
2392
|
+
readonly minLength: 1;
|
|
2393
|
+
};
|
|
2394
|
+
readonly value: {
|
|
2395
|
+
readonly type: "number";
|
|
2396
|
+
readonly minimum: 0;
|
|
2397
|
+
readonly maximum: 5;
|
|
2398
|
+
};
|
|
2399
|
+
readonly feasibility: {
|
|
2400
|
+
readonly type: "number";
|
|
2401
|
+
readonly minimum: 0;
|
|
2402
|
+
readonly maximum: 5;
|
|
2403
|
+
};
|
|
2404
|
+
readonly riskTier: {
|
|
2405
|
+
readonly type: "string";
|
|
2406
|
+
readonly enum: readonly ["prohibited", "high", "limited", "minimal", "unknown"];
|
|
2407
|
+
};
|
|
2408
|
+
readonly status: {
|
|
2409
|
+
readonly type: "string";
|
|
2410
|
+
readonly enum: readonly ["idea", "assessed", "approved", "PoC", "pilot", "production", "retired"];
|
|
2411
|
+
};
|
|
2412
|
+
readonly dataRequired: {
|
|
2413
|
+
readonly type: "array";
|
|
2414
|
+
readonly items: {
|
|
2415
|
+
readonly type: "string";
|
|
2416
|
+
};
|
|
2417
|
+
};
|
|
2418
|
+
readonly dataSensitivity: {
|
|
2419
|
+
readonly type: "string";
|
|
2420
|
+
readonly enum: readonly ["public", "internal", "confidential", "restricted"];
|
|
2421
|
+
};
|
|
2422
|
+
readonly valueHypothesis: {
|
|
2423
|
+
readonly type: "string";
|
|
2424
|
+
};
|
|
2425
|
+
readonly valueEstimate: {
|
|
2426
|
+
readonly type: "object";
|
|
2427
|
+
};
|
|
2428
|
+
readonly dependencies: {
|
|
2429
|
+
readonly type: "array";
|
|
2430
|
+
readonly items: {
|
|
2431
|
+
readonly type: "string";
|
|
2432
|
+
readonly minLength: 1;
|
|
2433
|
+
};
|
|
2434
|
+
};
|
|
2435
|
+
readonly kpis: {
|
|
2436
|
+
readonly type: "array";
|
|
2437
|
+
readonly items: {
|
|
2438
|
+
readonly type: "string";
|
|
2439
|
+
};
|
|
2440
|
+
};
|
|
2441
|
+
readonly reviewDate: {
|
|
2442
|
+
readonly type: "string";
|
|
2443
|
+
readonly format: "date";
|
|
2444
|
+
};
|
|
2445
|
+
readonly priority: {
|
|
2446
|
+
readonly type: "number";
|
|
2447
|
+
readonly minimum: 0;
|
|
2448
|
+
readonly maximum: 25;
|
|
2449
|
+
};
|
|
2450
|
+
readonly governanceGate: {
|
|
2451
|
+
readonly enum: readonly ["blocked", "review-required", "standard-review"];
|
|
2452
|
+
};
|
|
2453
|
+
};
|
|
2454
|
+
readonly required: readonly ["id", "title", "problem", "ownerRole", "businessUnit", "value", "feasibility", "riskTier", "status", "priority", "governanceGate"];
|
|
2455
|
+
readonly additionalProperties: false;
|
|
2456
|
+
};
|
|
2457
|
+
};
|
|
2458
|
+
readonly methodology: {
|
|
2459
|
+
readonly type: "string";
|
|
2460
|
+
};
|
|
2461
|
+
readonly limitations: {
|
|
2462
|
+
readonly type: "array";
|
|
2463
|
+
readonly items: {
|
|
2464
|
+
readonly type: "string";
|
|
2465
|
+
};
|
|
2466
|
+
};
|
|
2467
|
+
};
|
|
2468
|
+
readonly required: readonly ["useCases", "methodology", "limitations"];
|
|
2469
|
+
readonly additionalProperties: false;
|
|
2470
|
+
};
|
|
2471
|
+
readonly "usecase-register": {
|
|
2472
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
2473
|
+
readonly $id: "https://kit.tenhaw.com/schemas/usecase-register.schema.json";
|
|
2474
|
+
readonly type: "object";
|
|
2475
|
+
readonly properties: {
|
|
2476
|
+
readonly useCases: {
|
|
2477
|
+
readonly type: "array";
|
|
2478
|
+
readonly items: {
|
|
2479
|
+
readonly type: "object";
|
|
2480
|
+
readonly properties: {
|
|
2481
|
+
readonly id: {
|
|
2482
|
+
readonly type: "string";
|
|
2483
|
+
readonly minLength: 1;
|
|
2484
|
+
};
|
|
2485
|
+
readonly title: {
|
|
2486
|
+
readonly type: "string";
|
|
2487
|
+
readonly minLength: 1;
|
|
2488
|
+
};
|
|
2489
|
+
readonly problem: {
|
|
2490
|
+
readonly type: "string";
|
|
2491
|
+
readonly minLength: 1;
|
|
2492
|
+
};
|
|
2493
|
+
readonly ownerRole: {
|
|
2494
|
+
readonly type: "string";
|
|
2495
|
+
readonly minLength: 1;
|
|
2496
|
+
};
|
|
2497
|
+
readonly businessUnit: {
|
|
2498
|
+
readonly type: "string";
|
|
2499
|
+
readonly minLength: 1;
|
|
2500
|
+
};
|
|
2501
|
+
readonly value: {
|
|
2502
|
+
readonly type: "number";
|
|
2503
|
+
readonly minimum: 0;
|
|
2504
|
+
readonly maximum: 5;
|
|
2505
|
+
};
|
|
2506
|
+
readonly feasibility: {
|
|
2507
|
+
readonly type: "number";
|
|
2508
|
+
readonly minimum: 0;
|
|
2509
|
+
readonly maximum: 5;
|
|
2510
|
+
};
|
|
2511
|
+
readonly riskTier: {
|
|
2512
|
+
readonly type: "string";
|
|
2513
|
+
readonly enum: readonly ["prohibited", "high", "limited", "minimal", "unknown"];
|
|
2514
|
+
};
|
|
2515
|
+
readonly status: {
|
|
2516
|
+
readonly type: "string";
|
|
2517
|
+
readonly enum: readonly ["idea", "assessed", "approved", "PoC", "pilot", "production", "retired"];
|
|
2518
|
+
};
|
|
2519
|
+
readonly dataRequired: {
|
|
2520
|
+
readonly type: "array";
|
|
2521
|
+
readonly items: {
|
|
2522
|
+
readonly type: "string";
|
|
2523
|
+
};
|
|
2524
|
+
};
|
|
2525
|
+
readonly dataSensitivity: {
|
|
2526
|
+
readonly type: "string";
|
|
2527
|
+
readonly enum: readonly ["public", "internal", "confidential", "restricted"];
|
|
2528
|
+
};
|
|
2529
|
+
readonly valueHypothesis: {
|
|
2530
|
+
readonly type: "string";
|
|
2531
|
+
};
|
|
2532
|
+
readonly valueEstimate: {
|
|
2533
|
+
readonly type: "object";
|
|
2534
|
+
};
|
|
2535
|
+
readonly dependencies: {
|
|
2536
|
+
readonly type: "array";
|
|
2537
|
+
readonly items: {
|
|
2538
|
+
readonly type: "string";
|
|
2539
|
+
readonly minLength: 1;
|
|
2540
|
+
};
|
|
2541
|
+
};
|
|
2542
|
+
readonly kpis: {
|
|
2543
|
+
readonly type: "array";
|
|
2544
|
+
readonly items: {
|
|
2545
|
+
readonly type: "string";
|
|
2546
|
+
};
|
|
2547
|
+
};
|
|
2548
|
+
readonly reviewDate: {
|
|
2549
|
+
readonly type: "string";
|
|
2550
|
+
readonly format: "date";
|
|
2551
|
+
};
|
|
2552
|
+
};
|
|
2553
|
+
readonly required: readonly ["id", "title", "problem", "ownerRole", "businessUnit", "value", "feasibility", "riskTier", "status"];
|
|
2554
|
+
readonly additionalProperties: false;
|
|
2555
|
+
};
|
|
2556
|
+
readonly maxItems: 10000;
|
|
2557
|
+
};
|
|
2558
|
+
};
|
|
2559
|
+
readonly required: readonly ["useCases"];
|
|
2560
|
+
readonly additionalProperties: false;
|
|
2561
|
+
};
|
|
2562
|
+
readonly usecase: {
|
|
2563
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
2564
|
+
readonly $id: "https://kit.tenhaw.com/schemas/usecase.schema.json";
|
|
2565
|
+
readonly type: "object";
|
|
2566
|
+
readonly properties: {
|
|
2567
|
+
readonly id: {
|
|
2568
|
+
readonly type: "string";
|
|
2569
|
+
readonly minLength: 1;
|
|
2570
|
+
};
|
|
2571
|
+
readonly title: {
|
|
2572
|
+
readonly type: "string";
|
|
2573
|
+
readonly minLength: 1;
|
|
2574
|
+
};
|
|
2575
|
+
readonly problem: {
|
|
2576
|
+
readonly type: "string";
|
|
2577
|
+
readonly minLength: 1;
|
|
2578
|
+
};
|
|
2579
|
+
readonly ownerRole: {
|
|
2580
|
+
readonly type: "string";
|
|
2581
|
+
readonly minLength: 1;
|
|
2582
|
+
};
|
|
2583
|
+
readonly businessUnit: {
|
|
2584
|
+
readonly type: "string";
|
|
2585
|
+
readonly minLength: 1;
|
|
2586
|
+
};
|
|
2587
|
+
readonly value: {
|
|
2588
|
+
readonly type: "number";
|
|
2589
|
+
readonly minimum: 0;
|
|
2590
|
+
readonly maximum: 5;
|
|
2591
|
+
};
|
|
2592
|
+
readonly feasibility: {
|
|
2593
|
+
readonly type: "number";
|
|
2594
|
+
readonly minimum: 0;
|
|
2595
|
+
readonly maximum: 5;
|
|
2596
|
+
};
|
|
2597
|
+
readonly riskTier: {
|
|
2598
|
+
readonly type: "string";
|
|
2599
|
+
readonly enum: readonly ["prohibited", "high", "limited", "minimal", "unknown"];
|
|
2600
|
+
};
|
|
2601
|
+
readonly status: {
|
|
2602
|
+
readonly type: "string";
|
|
2603
|
+
readonly enum: readonly ["idea", "assessed", "approved", "PoC", "pilot", "production", "retired"];
|
|
2604
|
+
};
|
|
2605
|
+
readonly dataRequired: {
|
|
2606
|
+
readonly type: "array";
|
|
2607
|
+
readonly items: {
|
|
2608
|
+
readonly type: "string";
|
|
2609
|
+
};
|
|
2610
|
+
};
|
|
2611
|
+
readonly dataSensitivity: {
|
|
2612
|
+
readonly type: "string";
|
|
2613
|
+
readonly enum: readonly ["public", "internal", "confidential", "restricted"];
|
|
2614
|
+
};
|
|
2615
|
+
readonly valueHypothesis: {
|
|
2616
|
+
readonly type: "string";
|
|
2617
|
+
};
|
|
2618
|
+
readonly valueEstimate: {
|
|
2619
|
+
readonly type: "object";
|
|
2620
|
+
};
|
|
2621
|
+
readonly dependencies: {
|
|
2622
|
+
readonly type: "array";
|
|
2623
|
+
readonly items: {
|
|
2624
|
+
readonly type: "string";
|
|
2625
|
+
readonly minLength: 1;
|
|
2626
|
+
};
|
|
2627
|
+
};
|
|
2628
|
+
readonly kpis: {
|
|
2629
|
+
readonly type: "array";
|
|
2630
|
+
readonly items: {
|
|
2631
|
+
readonly type: "string";
|
|
2632
|
+
};
|
|
2633
|
+
};
|
|
2634
|
+
readonly reviewDate: {
|
|
2635
|
+
readonly type: "string";
|
|
2636
|
+
readonly format: "date";
|
|
2637
|
+
};
|
|
2638
|
+
};
|
|
2639
|
+
readonly required: readonly ["id", "title", "problem", "ownerRole", "businessUnit", "value", "feasibility", "riskTier", "status"];
|
|
2640
|
+
readonly additionalProperties: false;
|
|
2641
|
+
};
|
|
2642
|
+
};
|
|
2643
|
+
|
|
2644
|
+
declare const VERSION = "0.0.0-bootstrap";
|
|
2645
|
+
declare const AUDIT_URL = "https://tenhaw.com/contact#book";
|
|
2646
|
+
declare const round: (value: number) => number;
|
|
2647
|
+
declare class ValidationError extends Error {
|
|
2648
|
+
readonly issues: {
|
|
2649
|
+
path: string;
|
|
2650
|
+
message: string;
|
|
2651
|
+
}[];
|
|
2652
|
+
readonly code = "VALIDATION_ERROR";
|
|
2653
|
+
constructor(issues: {
|
|
2654
|
+
path: string;
|
|
2655
|
+
message: string;
|
|
2656
|
+
}[]);
|
|
2657
|
+
}
|
|
2658
|
+
declare function validateInput<T>(name: keyof typeof schemas, input: unknown): T;
|
|
2659
|
+
declare function validateDateTime(value: unknown, path?: string): asserts value is string;
|
|
2660
|
+
declare function invariant(condition: unknown, path: string, message: string): asserts condition;
|
|
2661
|
+
type AttributionOptions = {
|
|
2662
|
+
source?: string;
|
|
2663
|
+
medium?: string;
|
|
2664
|
+
content?: string;
|
|
2665
|
+
attribution?: boolean;
|
|
2666
|
+
};
|
|
2667
|
+
declare function buildUtmUrl({ source, medium, content }: {
|
|
2668
|
+
source: string;
|
|
2669
|
+
medium: string;
|
|
2670
|
+
content: string;
|
|
2671
|
+
}): string;
|
|
2672
|
+
declare function escapeHtml(value: unknown): string;
|
|
2673
|
+
declare function generator(options?: AttributionOptions): {
|
|
2674
|
+
generator: string;
|
|
2675
|
+
version: string;
|
|
2676
|
+
url: string;
|
|
2677
|
+
};
|
|
2678
|
+
declare function attributionFooter(format: 'md' | 'html' | 'text' | 'json', options?: AttributionOptions): string;
|
|
2679
|
+
declare function renderJson(report: unknown, options?: AttributionOptions): string;
|
|
2680
|
+
declare function renderMarkdown(report: unknown, options?: AttributionOptions): string;
|
|
2681
|
+
declare function renderHtml(report: unknown, options?: AttributionOptions): string;
|
|
2682
|
+
declare function renderReport(report: unknown, format: 'md' | 'html' | 'json', options?: AttributionOptions): string;
|
|
2683
|
+
declare function canonicalJson(value: unknown): string;
|
|
2684
|
+
|
|
2685
|
+
export { AUDIT_URL, type AttributionOptions, VERSION, ValidationError, attributionFooter, buildUtmUrl, canonicalJson, escapeHtml, generator, invariant, renderHtml, renderJson, renderMarkdown, renderReport, round, schemas, validateDateTime, validateInput };
|