value-stream 0.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. value_stream/__init__.py +1 -0
  2. value_stream/app/SPEC.md +79 -0
  3. value_stream/app/__init__.py +1 -0
  4. value_stream/app/__main__.py +28 -0
  5. value_stream/app/contracts.py +18 -0
  6. value_stream/app/coordinator.py +359 -0
  7. value_stream/app/errors.py +17 -0
  8. value_stream/app/exports.py +142 -0
  9. value_stream/app/gateway.py +130 -0
  10. value_stream/app/generation.py +269 -0
  11. value_stream/app/insights.py +75 -0
  12. value_stream/app/metrics.py +132 -0
  13. value_stream/app/openapi.json +3699 -0
  14. value_stream/app/schemas.py +288 -0
  15. value_stream/app/server.py +298 -0
  16. value_stream/app/settings.py +46 -0
  17. value_stream/app/storage.py +651 -0
  18. value_stream/client/__init__.py +3 -0
  19. value_stream/client/simulation_runner.py +83 -0
  20. value_stream/client/views/__init__.py +4 -0
  21. value_stream/client/views/metadata_viewer.py +235 -0
  22. value_stream/client/views/result_viewer.py +76 -0
  23. value_stream/client/views/viewer.py +8 -0
  24. value_stream/client/web/__init__.py +10 -0
  25. value_stream/client/web/client.py +115 -0
  26. value_stream/client/web/errors.py +29 -0
  27. value_stream/client/web/local_service.py +92 -0
  28. value_stream/factory/__init__.py +5 -0
  29. value_stream/factory/developer_factory.py +33 -0
  30. value_stream/factory/factory.py +43 -0
  31. value_stream/factory/task_factory.py +64 -0
  32. value_stream/factory/task_generator.py +102 -0
  33. value_stream/policy/__init__.py +3 -0
  34. value_stream/policy/simulation_policy.py +20 -0
  35. value_stream/resources/__init__.py +23 -0
  36. value_stream/resources/developer.py +53 -0
  37. value_stream/resources/qa_tester.py +51 -0
  38. value_stream/resources/resource.py +162 -0
  39. value_stream/resources/resource_metadata.py +24 -0
  40. value_stream/resources/resource_policy.py +13 -0
  41. value_stream/resources/resource_pool.py +39 -0
  42. value_stream/resources/resource_tracker.py +160 -0
  43. value_stream/resources/toolchain.py +43 -0
  44. value_stream/service/SPEC.md +46 -0
  45. value_stream/service/__init__.py +1 -0
  46. value_stream/service/app.py +218 -0
  47. value_stream/service/codec.py +237 -0
  48. value_stream/service/job_store.py +322 -0
  49. value_stream/service/openapi.json +1283 -0
  50. value_stream/service/scheduler.py +234 -0
  51. value_stream/service/schemas.py +248 -0
  52. value_stream/service/settings.py +37 -0
  53. value_stream/service/worker.py +82 -0
  54. value_stream/simulation/__init__.py +16 -0
  55. value_stream/simulation/default_simulation_policy.py +68 -0
  56. value_stream/simulation/model.py +30 -0
  57. value_stream/simulation/model_factory.py +54 -0
  58. value_stream/simulation/simulation.py +144 -0
  59. value_stream/simulation/simulation_metadata.py +12 -0
  60. value_stream/simulation/simulation_result.py +20 -0
  61. value_stream/task/__init__.py +23 -0
  62. value_stream/task/epoch.py +21 -0
  63. value_stream/task/event_status.py +8 -0
  64. value_stream/task/task.py +260 -0
  65. value_stream/task/task_event.py +97 -0
  66. value_stream/task/task_history.py +208 -0
  67. value_stream/task/task_router.py +70 -0
  68. value_stream/task/task_state.py +7 -0
  69. value_stream/task/task_type.py +8 -0
  70. value_stream/workflow/__init__.py +18 -0
  71. value_stream/workflow/assignment_strategy.py +10 -0
  72. value_stream/workflow/pool_manager.py +136 -0
  73. value_stream/workflow/resource_operator.py +204 -0
  74. value_stream/workflow/sdlc_workflow.py +99 -0
  75. value_stream/workflow/support_workflow.py +23 -0
  76. value_stream/workflow/task_store.py +125 -0
  77. value_stream/workflow/workflow_policy.py +12 -0
  78. value_stream-0.1.1.dist-info/METADATA +288 -0
  79. value_stream-0.1.1.dist-info/RECORD +81 -0
  80. value_stream-0.1.1.dist-info/WHEEL +4 -0
  81. value_stream-0.1.1.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,3699 @@
1
+ {
2
+ "components": {
3
+ "schemas": {
4
+ "AppConfig": {
5
+ "additionalProperties": false,
6
+ "description": "Stores application runtime configuration.",
7
+ "properties": {
8
+ "engine_version": {
9
+ "default": "value-stream-app-1",
10
+ "title": "Engine Version",
11
+ "type": "string"
12
+ },
13
+ "error": {
14
+ "anyOf": [
15
+ {
16
+ "$ref": "#/components/schemas/ErrorEnvelope"
17
+ },
18
+ {
19
+ "type": "null"
20
+ }
21
+ ]
22
+ },
23
+ "generator_version": {
24
+ "default": "1",
25
+ "title": "Generator Version",
26
+ "type": "string"
27
+ },
28
+ "limits": {
29
+ "additionalProperties": {
30
+ "anyOf": [
31
+ {
32
+ "type": "integer"
33
+ },
34
+ {
35
+ "type": "number"
36
+ }
37
+ ]
38
+ },
39
+ "title": "Limits",
40
+ "type": "object"
41
+ },
42
+ "ready": {
43
+ "title": "Ready",
44
+ "type": "boolean"
45
+ }
46
+ },
47
+ "required": [
48
+ "limits",
49
+ "ready",
50
+ "error",
51
+ "generator_version",
52
+ "engine_version"
53
+ ],
54
+ "title": "AppConfig",
55
+ "type": "object"
56
+ },
57
+ "Backlog": {
58
+ "additionalProperties": false,
59
+ "description": "Stores backlog counts for a simulation stage.",
60
+ "properties": {
61
+ "label": {
62
+ "title": "Label",
63
+ "type": "string"
64
+ },
65
+ "reduced": {
66
+ "default": false,
67
+ "title": "Reduced",
68
+ "type": "boolean"
69
+ },
70
+ "stage": {
71
+ "title": "Stage",
72
+ "type": "string"
73
+ },
74
+ "time": {
75
+ "items": {
76
+ "type": "number"
77
+ },
78
+ "title": "Time",
79
+ "type": "array"
80
+ },
81
+ "waiting": {
82
+ "items": {
83
+ "type": "integer"
84
+ },
85
+ "title": "Waiting",
86
+ "type": "array"
87
+ }
88
+ },
89
+ "required": [
90
+ "stage",
91
+ "label",
92
+ "time",
93
+ "waiting",
94
+ "reduced"
95
+ ],
96
+ "title": "Backlog",
97
+ "type": "object"
98
+ },
99
+ "ComparisonMutation": {
100
+ "additionalProperties": false,
101
+ "description": "Describes a change to a comparison workspace.",
102
+ "properties": {
103
+ "action": {
104
+ "enum": [
105
+ "pin",
106
+ "unpin",
107
+ "baseline",
108
+ "delete"
109
+ ],
110
+ "title": "Action",
111
+ "type": "string"
112
+ }
113
+ },
114
+ "required": [
115
+ "action"
116
+ ],
117
+ "title": "ComparisonMutation",
118
+ "type": "object"
119
+ },
120
+ "ConcreteScenario": {
121
+ "additionalProperties": false,
122
+ "description": "Stores one fully expanded simulation scenario.",
123
+ "properties": {
124
+ "definition_id": {
125
+ "format": "uuid",
126
+ "title": "Definition Id",
127
+ "type": "string"
128
+ },
129
+ "execution_seed": {
130
+ "title": "Execution Seed",
131
+ "type": "integer"
132
+ },
133
+ "id": {
134
+ "format": "uuid",
135
+ "title": "Id",
136
+ "type": "string"
137
+ },
138
+ "model": {
139
+ "$ref": "#/components/schemas/ModelInput"
140
+ },
141
+ "name": {
142
+ "title": "Name",
143
+ "type": "string"
144
+ },
145
+ "revision": {
146
+ "title": "Revision",
147
+ "type": "integer"
148
+ },
149
+ "settings": {
150
+ "$ref": "#/components/schemas/ModelSettings-Output"
151
+ },
152
+ "team_seed": {
153
+ "title": "Team Seed",
154
+ "type": "integer"
155
+ }
156
+ },
157
+ "required": [
158
+ "id",
159
+ "definition_id",
160
+ "revision",
161
+ "name",
162
+ "settings",
163
+ "team_seed",
164
+ "execution_seed",
165
+ "model"
166
+ ],
167
+ "title": "ConcreteScenario",
168
+ "type": "object"
169
+ },
170
+ "ConstantValue-Input": {
171
+ "additionalProperties": false,
172
+ "description": "Defines a fixed value for a model setting.",
173
+ "properties": {
174
+ "kind": {
175
+ "const": "constant",
176
+ "default": "constant",
177
+ "title": "Kind",
178
+ "type": "string"
179
+ },
180
+ "value": {
181
+ "default": 1,
182
+ "minimum": 0.0,
183
+ "title": "Value",
184
+ "type": "number"
185
+ }
186
+ },
187
+ "title": "ConstantValue",
188
+ "type": "object"
189
+ },
190
+ "ConstantValue-Output": {
191
+ "additionalProperties": false,
192
+ "description": "Defines a fixed value for a model setting.",
193
+ "properties": {
194
+ "kind": {
195
+ "const": "constant",
196
+ "default": "constant",
197
+ "title": "Kind",
198
+ "type": "string"
199
+ },
200
+ "value": {
201
+ "default": 1,
202
+ "minimum": 0.0,
203
+ "title": "Value",
204
+ "type": "number"
205
+ }
206
+ },
207
+ "required": [
208
+ "kind",
209
+ "value"
210
+ ],
211
+ "title": "ConstantValue",
212
+ "type": "object"
213
+ },
214
+ "DeveloperInput": {
215
+ "additionalProperties": false,
216
+ "description": "Defines developer configuration accepted by the service.",
217
+ "properties": {
218
+ "efficiency": {
219
+ "default": 1,
220
+ "exclusiveMinimum": 0.0,
221
+ "title": "Efficiency",
222
+ "type": "number"
223
+ },
224
+ "name": {
225
+ "default": "",
226
+ "title": "Name",
227
+ "type": "string"
228
+ }
229
+ },
230
+ "title": "DeveloperInput",
231
+ "type": "object"
232
+ },
233
+ "EditorRequest": {
234
+ "additionalProperties": false,
235
+ "description": "Carries editor changes submitted by a client.",
236
+ "properties": {
237
+ "definitions": {
238
+ "items": {
239
+ "$ref": "#/components/schemas/ScenarioDefinition-Input"
240
+ },
241
+ "maxItems": 100,
242
+ "minItems": 1,
243
+ "title": "Definitions",
244
+ "type": "array"
245
+ },
246
+ "expected_revision": {
247
+ "minimum": 0.0,
248
+ "title": "Expected Revision",
249
+ "type": "integer"
250
+ },
251
+ "task_spec": {
252
+ "$ref": "#/components/schemas/TaskSetSpec-Input"
253
+ }
254
+ },
255
+ "required": [
256
+ "expected_revision",
257
+ "task_spec",
258
+ "definitions"
259
+ ],
260
+ "title": "EditorRequest",
261
+ "type": "object"
262
+ },
263
+ "ErrorEnvelope": {
264
+ "additionalProperties": false,
265
+ "description": "Wraps a service error response.",
266
+ "properties": {
267
+ "code": {
268
+ "title": "Code",
269
+ "type": "string"
270
+ },
271
+ "details": {
272
+ "anyOf": [
273
+ {
274
+ "additionalProperties": true,
275
+ "type": "object"
276
+ },
277
+ {
278
+ "type": "null"
279
+ }
280
+ ],
281
+ "title": "Details"
282
+ },
283
+ "message": {
284
+ "title": "Message",
285
+ "type": "string"
286
+ }
287
+ },
288
+ "required": [
289
+ "code",
290
+ "message"
291
+ ],
292
+ "title": "ErrorEnvelope",
293
+ "type": "object"
294
+ },
295
+ "HealthResponse": {
296
+ "additionalProperties": false,
297
+ "description": "Reports the service health state.",
298
+ "properties": {
299
+ "status": {
300
+ "const": "ok",
301
+ "default": "ok",
302
+ "title": "Status",
303
+ "type": "string"
304
+ }
305
+ },
306
+ "title": "HealthResponse",
307
+ "type": "object"
308
+ },
309
+ "ModelInput": {
310
+ "additionalProperties": false,
311
+ "description": "Defines a simulation model accepted by the service.",
312
+ "properties": {
313
+ "deployment_cadence": {
314
+ "minimum": 0.0,
315
+ "title": "Deployment Cadence",
316
+ "type": "integer"
317
+ },
318
+ "developer_team": {
319
+ "items": {
320
+ "$ref": "#/components/schemas/DeveloperInput"
321
+ },
322
+ "minItems": 1,
323
+ "title": "Developer Team",
324
+ "type": "array"
325
+ },
326
+ "qa_testers": {
327
+ "anyOf": [
328
+ {
329
+ "$ref": "#/components/schemas/QAPoolInput"
330
+ },
331
+ {
332
+ "$ref": "#/components/schemas/QAListInput"
333
+ }
334
+ ],
335
+ "title": "Qa Testers"
336
+ },
337
+ "support_interval": {
338
+ "anyOf": [
339
+ {
340
+ "exclusiveMinimum": 0.0,
341
+ "type": "number"
342
+ },
343
+ {
344
+ "type": "null"
345
+ }
346
+ ],
347
+ "title": "Support Interval"
348
+ },
349
+ "support_task_story_points": {
350
+ "default": 1,
351
+ "minimum": 0.0,
352
+ "title": "Support Task Story Points",
353
+ "type": "number"
354
+ },
355
+ "toolchain_pool": {
356
+ "anyOf": [
357
+ {
358
+ "$ref": "#/components/schemas/ToolchainPoolInput"
359
+ },
360
+ {
361
+ "$ref": "#/components/schemas/ToolchainListInput"
362
+ }
363
+ ],
364
+ "title": "Toolchain Pool"
365
+ }
366
+ },
367
+ "required": [
368
+ "developer_team",
369
+ "deployment_cadence",
370
+ "qa_testers",
371
+ "toolchain_pool"
372
+ ],
373
+ "title": "ModelInput",
374
+ "type": "object"
375
+ },
376
+ "ModelSettings-Input": {
377
+ "additionalProperties": false,
378
+ "description": "Defines resource and workflow settings for a simulation model.",
379
+ "properties": {
380
+ "deployment_cadence": {
381
+ "default": 5,
382
+ "minimum": 0.0,
383
+ "title": "Deployment Cadence",
384
+ "type": "integer"
385
+ },
386
+ "deployment_duration": {
387
+ "default": 0.25,
388
+ "minimum": 0.0,
389
+ "title": "Deployment Duration",
390
+ "type": "number"
391
+ },
392
+ "deployment_failure_rate": {
393
+ "default": 0.1,
394
+ "maximum": 1.0,
395
+ "minimum": 0.0,
396
+ "title": "Deployment Failure Rate",
397
+ "type": "number"
398
+ },
399
+ "distribution": {
400
+ "default": "linear",
401
+ "enum": [
402
+ "linear",
403
+ "normal"
404
+ ],
405
+ "title": "Distribution",
406
+ "type": "string"
407
+ },
408
+ "efficiency_max": {
409
+ "default": 1.5,
410
+ "exclusiveMinimum": 0.0,
411
+ "title": "Efficiency Max",
412
+ "type": "number"
413
+ },
414
+ "efficiency_min": {
415
+ "default": 0.5,
416
+ "exclusiveMinimum": 0.0,
417
+ "title": "Efficiency Min",
418
+ "type": "number"
419
+ },
420
+ "qa_failure_cost": {
421
+ "default": 0.25,
422
+ "maximum": 1.0,
423
+ "minimum": 0.0,
424
+ "title": "Qa Failure Cost",
425
+ "type": "number"
426
+ },
427
+ "qa_failure_rate": {
428
+ "default": 0.15,
429
+ "maximum": 1.0,
430
+ "minimum": 0.0,
431
+ "title": "Qa Failure Rate",
432
+ "type": "number"
433
+ },
434
+ "qa_size": {
435
+ "default": 5,
436
+ "exclusiveMinimum": 0.0,
437
+ "title": "Qa Size",
438
+ "type": "integer"
439
+ },
440
+ "qa_time_cost": {
441
+ "default": 0.1,
442
+ "minimum": 0.0,
443
+ "title": "Qa Time Cost",
444
+ "type": "number"
445
+ },
446
+ "support_interval": {
447
+ "anyOf": [
448
+ {
449
+ "exclusiveMinimum": 0.0,
450
+ "type": "number"
451
+ },
452
+ {
453
+ "type": "null"
454
+ }
455
+ ],
456
+ "default": 5,
457
+ "title": "Support Interval"
458
+ },
459
+ "support_task_story_points": {
460
+ "default": 2,
461
+ "minimum": 0.0,
462
+ "title": "Support Task Story Points",
463
+ "type": "number"
464
+ },
465
+ "team_size": {
466
+ "default": 4,
467
+ "exclusiveMinimum": 0.0,
468
+ "title": "Team Size",
469
+ "type": "integer"
470
+ },
471
+ "toolchain_size": {
472
+ "default": 20,
473
+ "exclusiveMinimum": 0.0,
474
+ "title": "Toolchain Size",
475
+ "type": "integer"
476
+ }
477
+ },
478
+ "title": "ModelSettings",
479
+ "type": "object"
480
+ },
481
+ "ModelSettings-Output": {
482
+ "additionalProperties": false,
483
+ "description": "Defines resource and workflow settings for a simulation model.",
484
+ "properties": {
485
+ "deployment_cadence": {
486
+ "default": 5,
487
+ "minimum": 0.0,
488
+ "title": "Deployment Cadence",
489
+ "type": "integer"
490
+ },
491
+ "deployment_duration": {
492
+ "default": 0.25,
493
+ "minimum": 0.0,
494
+ "title": "Deployment Duration",
495
+ "type": "number"
496
+ },
497
+ "deployment_failure_rate": {
498
+ "default": 0.1,
499
+ "maximum": 1.0,
500
+ "minimum": 0.0,
501
+ "title": "Deployment Failure Rate",
502
+ "type": "number"
503
+ },
504
+ "distribution": {
505
+ "default": "linear",
506
+ "enum": [
507
+ "linear",
508
+ "normal"
509
+ ],
510
+ "title": "Distribution",
511
+ "type": "string"
512
+ },
513
+ "efficiency_max": {
514
+ "default": 1.5,
515
+ "exclusiveMinimum": 0.0,
516
+ "title": "Efficiency Max",
517
+ "type": "number"
518
+ },
519
+ "efficiency_min": {
520
+ "default": 0.5,
521
+ "exclusiveMinimum": 0.0,
522
+ "title": "Efficiency Min",
523
+ "type": "number"
524
+ },
525
+ "qa_failure_cost": {
526
+ "default": 0.25,
527
+ "maximum": 1.0,
528
+ "minimum": 0.0,
529
+ "title": "Qa Failure Cost",
530
+ "type": "number"
531
+ },
532
+ "qa_failure_rate": {
533
+ "default": 0.15,
534
+ "maximum": 1.0,
535
+ "minimum": 0.0,
536
+ "title": "Qa Failure Rate",
537
+ "type": "number"
538
+ },
539
+ "qa_size": {
540
+ "default": 5,
541
+ "exclusiveMinimum": 0.0,
542
+ "title": "Qa Size",
543
+ "type": "integer"
544
+ },
545
+ "qa_time_cost": {
546
+ "default": 0.1,
547
+ "minimum": 0.0,
548
+ "title": "Qa Time Cost",
549
+ "type": "number"
550
+ },
551
+ "support_interval": {
552
+ "anyOf": [
553
+ {
554
+ "exclusiveMinimum": 0.0,
555
+ "type": "number"
556
+ },
557
+ {
558
+ "type": "null"
559
+ }
560
+ ],
561
+ "default": 5,
562
+ "title": "Support Interval"
563
+ },
564
+ "support_task_story_points": {
565
+ "default": 2,
566
+ "minimum": 0.0,
567
+ "title": "Support Task Story Points",
568
+ "type": "number"
569
+ },
570
+ "team_size": {
571
+ "default": 4,
572
+ "exclusiveMinimum": 0.0,
573
+ "title": "Team Size",
574
+ "type": "integer"
575
+ },
576
+ "toolchain_size": {
577
+ "default": 20,
578
+ "exclusiveMinimum": 0.0,
579
+ "title": "Toolchain Size",
580
+ "type": "integer"
581
+ }
582
+ },
583
+ "required": [
584
+ "team_size",
585
+ "efficiency_min",
586
+ "efficiency_max",
587
+ "distribution",
588
+ "deployment_cadence",
589
+ "qa_size",
590
+ "qa_time_cost",
591
+ "qa_failure_rate",
592
+ "qa_failure_cost",
593
+ "toolchain_size",
594
+ "deployment_duration",
595
+ "deployment_failure_rate",
596
+ "support_interval",
597
+ "support_task_story_points"
598
+ ],
599
+ "title": "ModelSettings",
600
+ "type": "object"
601
+ },
602
+ "Observation": {
603
+ "additionalProperties": false,
604
+ "description": "Stores a derived observation about simulation results.",
605
+ "properties": {
606
+ "evidence": {
607
+ "title": "Evidence",
608
+ "type": "string"
609
+ },
610
+ "message": {
611
+ "title": "Message",
612
+ "type": "string"
613
+ },
614
+ "property": {
615
+ "anyOf": [
616
+ {
617
+ "type": "string"
618
+ },
619
+ {
620
+ "type": "null"
621
+ }
622
+ ],
623
+ "title": "Property"
624
+ },
625
+ "rule": {
626
+ "title": "Rule",
627
+ "type": "string"
628
+ },
629
+ "value": {
630
+ "anyOf": [
631
+ {
632
+ "type": "number"
633
+ },
634
+ {
635
+ "type": "string"
636
+ },
637
+ {
638
+ "type": "null"
639
+ }
640
+ ],
641
+ "title": "Value"
642
+ }
643
+ },
644
+ "required": [
645
+ "rule",
646
+ "message",
647
+ "evidence",
648
+ "property",
649
+ "value"
650
+ ],
651
+ "title": "Observation",
652
+ "type": "object"
653
+ },
654
+ "OutcomeSummary": {
655
+ "additionalProperties": false,
656
+ "description": "Summarizes the result of one simulated outcome.",
657
+ "properties": {
658
+ "cached": {
659
+ "default": false,
660
+ "title": "Cached",
661
+ "type": "boolean"
662
+ },
663
+ "completion_time": {
664
+ "anyOf": [
665
+ {
666
+ "type": "number"
667
+ },
668
+ {
669
+ "type": "null"
670
+ }
671
+ ],
672
+ "title": "Completion Time"
673
+ },
674
+ "cursor": {
675
+ "default": 0,
676
+ "title": "Cursor",
677
+ "type": "integer"
678
+ },
679
+ "delivered_value": {
680
+ "anyOf": [
681
+ {
682
+ "type": "number"
683
+ },
684
+ {
685
+ "type": "null"
686
+ }
687
+ ],
688
+ "title": "Delivered Value"
689
+ },
690
+ "error": {
691
+ "anyOf": [
692
+ {
693
+ "$ref": "#/components/schemas/ErrorEnvelope"
694
+ },
695
+ {
696
+ "type": "null"
697
+ }
698
+ ]
699
+ },
700
+ "loss_percent": {
701
+ "anyOf": [
702
+ {
703
+ "type": "number"
704
+ },
705
+ {
706
+ "type": "null"
707
+ }
708
+ ],
709
+ "title": "Loss Percent"
710
+ },
711
+ "scenario": {
712
+ "$ref": "#/components/schemas/ConcreteScenario"
713
+ },
714
+ "status": {
715
+ "$ref": "#/components/schemas/Status",
716
+ "default": "queued"
717
+ }
718
+ },
719
+ "required": [
720
+ "scenario",
721
+ "status",
722
+ "cursor",
723
+ "cached",
724
+ "loss_percent",
725
+ "completion_time",
726
+ "delivered_value",
727
+ "error"
728
+ ],
729
+ "title": "OutcomeSummary",
730
+ "type": "object"
731
+ },
732
+ "PlotData": {
733
+ "additionalProperties": false,
734
+ "description": "Stores chart labels and series values.",
735
+ "properties": {
736
+ "activity": {
737
+ "items": {
738
+ "$ref": "#/components/schemas/ResourceActivity"
739
+ },
740
+ "title": "Activity",
741
+ "type": "array"
742
+ },
743
+ "backlog": {
744
+ "items": {
745
+ "$ref": "#/components/schemas/Backlog"
746
+ },
747
+ "title": "Backlog",
748
+ "type": "array"
749
+ },
750
+ "loss_percent": {
751
+ "anyOf": [
752
+ {
753
+ "type": "number"
754
+ },
755
+ {
756
+ "type": "null"
757
+ }
758
+ ],
759
+ "title": "Loss Percent"
760
+ },
761
+ "stages": {
762
+ "items": {
763
+ "$ref": "#/components/schemas/StageLoss"
764
+ },
765
+ "title": "Stages",
766
+ "type": "array"
767
+ }
768
+ },
769
+ "required": [
770
+ "loss_percent",
771
+ "stages",
772
+ "activity",
773
+ "backlog"
774
+ ],
775
+ "title": "PlotData",
776
+ "type": "object"
777
+ },
778
+ "Preview": {
779
+ "additionalProperties": false,
780
+ "description": "Stores the result of validating an editor request.",
781
+ "properties": {
782
+ "count": {
783
+ "title": "Count",
784
+ "type": "integer"
785
+ },
786
+ "digest": {
787
+ "title": "Digest",
788
+ "type": "string"
789
+ },
790
+ "scenarios": {
791
+ "items": {
792
+ "$ref": "#/components/schemas/ConcreteScenario"
793
+ },
794
+ "title": "Scenarios",
795
+ "type": "array"
796
+ },
797
+ "task_set_id": {
798
+ "format": "uuid",
799
+ "title": "Task Set Id",
800
+ "type": "string"
801
+ },
802
+ "workspace_revision": {
803
+ "title": "Workspace Revision",
804
+ "type": "integer"
805
+ }
806
+ },
807
+ "required": [
808
+ "digest",
809
+ "task_set_id",
810
+ "workspace_revision",
811
+ "scenarios",
812
+ "count"
813
+ ],
814
+ "title": "Preview",
815
+ "type": "object"
816
+ },
817
+ "QAInput": {
818
+ "additionalProperties": false,
819
+ "description": "Defines QA tester configuration accepted by the service.",
820
+ "properties": {
821
+ "failure_cost": {
822
+ "default": 0,
823
+ "maximum": 1.0,
824
+ "minimum": 0.0,
825
+ "title": "Failure Cost",
826
+ "type": "number"
827
+ },
828
+ "failure_rate": {
829
+ "default": 0,
830
+ "maximum": 1.0,
831
+ "minimum": 0.0,
832
+ "title": "Failure Rate",
833
+ "type": "number"
834
+ },
835
+ "time_cost": {
836
+ "default": 0.1,
837
+ "minimum": 0.0,
838
+ "title": "Time Cost",
839
+ "type": "number"
840
+ }
841
+ },
842
+ "title": "QAInput",
843
+ "type": "object"
844
+ },
845
+ "QAListInput": {
846
+ "additionalProperties": false,
847
+ "description": "Defines a list of QA tester configurations.",
848
+ "properties": {
849
+ "kind": {
850
+ "const": "list",
851
+ "default": "list",
852
+ "title": "Kind",
853
+ "type": "string"
854
+ },
855
+ "resources": {
856
+ "items": {
857
+ "$ref": "#/components/schemas/QAInput"
858
+ },
859
+ "minItems": 1,
860
+ "title": "Resources",
861
+ "type": "array"
862
+ }
863
+ },
864
+ "required": [
865
+ "resources"
866
+ ],
867
+ "title": "QAListInput",
868
+ "type": "object"
869
+ },
870
+ "QAPoolInput": {
871
+ "additionalProperties": false,
872
+ "description": "Defines a pool of QA testers.",
873
+ "properties": {
874
+ "failure_cost": {
875
+ "default": 0,
876
+ "maximum": 1.0,
877
+ "minimum": 0.0,
878
+ "title": "Failure Cost",
879
+ "type": "number"
880
+ },
881
+ "failure_rate": {
882
+ "default": 0,
883
+ "maximum": 1.0,
884
+ "minimum": 0.0,
885
+ "title": "Failure Rate",
886
+ "type": "number"
887
+ },
888
+ "kind": {
889
+ "const": "pool",
890
+ "default": "pool",
891
+ "title": "Kind",
892
+ "type": "string"
893
+ },
894
+ "limit": {
895
+ "exclusiveMinimum": 0.0,
896
+ "title": "Limit",
897
+ "type": "integer"
898
+ },
899
+ "time_cost": {
900
+ "default": 0.1,
901
+ "minimum": 0.0,
902
+ "title": "Time Cost",
903
+ "type": "number"
904
+ }
905
+ },
906
+ "required": [
907
+ "limit"
908
+ ],
909
+ "title": "QAPoolInput",
910
+ "type": "object"
911
+ },
912
+ "ResourceActivity": {
913
+ "additionalProperties": false,
914
+ "description": "Summarizes activity for one simulation resource.",
915
+ "properties": {
916
+ "durations": {
917
+ "additionalProperties": {
918
+ "type": "number"
919
+ },
920
+ "title": "Durations",
921
+ "type": "object"
922
+ },
923
+ "label": {
924
+ "title": "Label",
925
+ "type": "string"
926
+ },
927
+ "shares": {
928
+ "additionalProperties": {
929
+ "anyOf": [
930
+ {
931
+ "type": "number"
932
+ },
933
+ {
934
+ "type": "null"
935
+ }
936
+ ]
937
+ },
938
+ "title": "Shares",
939
+ "type": "object"
940
+ },
941
+ "stage": {
942
+ "title": "Stage",
943
+ "type": "string"
944
+ }
945
+ },
946
+ "required": [
947
+ "stage",
948
+ "label",
949
+ "durations",
950
+ "shares"
951
+ ],
952
+ "title": "ResourceActivity",
953
+ "type": "object"
954
+ },
955
+ "ResultView": {
956
+ "additionalProperties": false,
957
+ "description": "Collects metrics and observations for a result view.",
958
+ "properties": {
959
+ "metrics": {
960
+ "$ref": "#/components/schemas/PlotData"
961
+ },
962
+ "observations": {
963
+ "items": {
964
+ "$ref": "#/components/schemas/Observation"
965
+ },
966
+ "title": "Observations",
967
+ "type": "array"
968
+ },
969
+ "scenario_id": {
970
+ "format": "uuid",
971
+ "title": "Scenario Id",
972
+ "type": "string"
973
+ }
974
+ },
975
+ "required": [
976
+ "scenario_id",
977
+ "metrics",
978
+ "observations"
979
+ ],
980
+ "title": "ResultView",
981
+ "type": "object"
982
+ },
983
+ "RunRequest": {
984
+ "additionalProperties": false,
985
+ "description": "Describes a simulation run requested by a client.",
986
+ "properties": {
987
+ "definition_id": {
988
+ "anyOf": [
989
+ {
990
+ "format": "uuid",
991
+ "type": "string"
992
+ },
993
+ {
994
+ "type": "null"
995
+ }
996
+ ],
997
+ "title": "Definition Id"
998
+ },
999
+ "family_value": {
1000
+ "anyOf": [
1001
+ {
1002
+ "type": "number"
1003
+ },
1004
+ {
1005
+ "type": "string"
1006
+ },
1007
+ {
1008
+ "type": "null"
1009
+ }
1010
+ ],
1011
+ "title": "Family Value"
1012
+ },
1013
+ "intent": {
1014
+ "default": "manual",
1015
+ "enum": [
1016
+ "manual",
1017
+ "interactive"
1018
+ ],
1019
+ "title": "Intent",
1020
+ "type": "string"
1021
+ },
1022
+ "name": {
1023
+ "default": "Baseline",
1024
+ "maxLength": 120,
1025
+ "minLength": 1,
1026
+ "title": "Name",
1027
+ "type": "string"
1028
+ },
1029
+ "preview_digest": {
1030
+ "title": "Preview Digest",
1031
+ "type": "string"
1032
+ },
1033
+ "property": {
1034
+ "anyOf": [
1035
+ {
1036
+ "type": "string"
1037
+ },
1038
+ {
1039
+ "type": "null"
1040
+ }
1041
+ ],
1042
+ "title": "Property"
1043
+ },
1044
+ "request_id": {
1045
+ "format": "uuid",
1046
+ "title": "Request Id",
1047
+ "type": "string"
1048
+ },
1049
+ "source_run_id": {
1050
+ "anyOf": [
1051
+ {
1052
+ "format": "uuid",
1053
+ "type": "string"
1054
+ },
1055
+ {
1056
+ "type": "null"
1057
+ }
1058
+ ],
1059
+ "title": "Source Run Id"
1060
+ },
1061
+ "value": {
1062
+ "anyOf": [
1063
+ {
1064
+ "type": "number"
1065
+ },
1066
+ {
1067
+ "type": "string"
1068
+ },
1069
+ {
1070
+ "type": "null"
1071
+ }
1072
+ ],
1073
+ "title": "Value"
1074
+ }
1075
+ },
1076
+ "required": [
1077
+ "request_id",
1078
+ "preview_digest"
1079
+ ],
1080
+ "title": "RunRequest",
1081
+ "type": "object"
1082
+ },
1083
+ "RunStatus": {
1084
+ "additionalProperties": false,
1085
+ "description": "Tracks the state and outcomes of a simulation run.",
1086
+ "properties": {
1087
+ "cancel_requested": {
1088
+ "default": false,
1089
+ "title": "Cancel Requested",
1090
+ "type": "boolean"
1091
+ },
1092
+ "error": {
1093
+ "anyOf": [
1094
+ {
1095
+ "$ref": "#/components/schemas/ErrorEnvelope"
1096
+ },
1097
+ {
1098
+ "type": "null"
1099
+ }
1100
+ ]
1101
+ },
1102
+ "id": {
1103
+ "format": "uuid",
1104
+ "title": "Id",
1105
+ "type": "string"
1106
+ },
1107
+ "intent": {
1108
+ "title": "Intent",
1109
+ "type": "string"
1110
+ },
1111
+ "job_id": {
1112
+ "anyOf": [
1113
+ {
1114
+ "format": "uuid",
1115
+ "type": "string"
1116
+ },
1117
+ {
1118
+ "type": "null"
1119
+ }
1120
+ ],
1121
+ "title": "Job Id"
1122
+ },
1123
+ "last_cursor": {
1124
+ "default": 0,
1125
+ "title": "Last Cursor",
1126
+ "type": "integer"
1127
+ },
1128
+ "name": {
1129
+ "title": "Name",
1130
+ "type": "string"
1131
+ },
1132
+ "outcomes": {
1133
+ "items": {
1134
+ "$ref": "#/components/schemas/OutcomeSummary"
1135
+ },
1136
+ "title": "Outcomes",
1137
+ "type": "array"
1138
+ },
1139
+ "pinned": {
1140
+ "default": false,
1141
+ "title": "Pinned",
1142
+ "type": "boolean"
1143
+ },
1144
+ "retry_paused": {
1145
+ "default": false,
1146
+ "title": "Retry Paused",
1147
+ "type": "boolean"
1148
+ },
1149
+ "state": {
1150
+ "enum": [
1151
+ "submitting",
1152
+ "queued",
1153
+ "running",
1154
+ "reconnecting",
1155
+ "cancelling",
1156
+ "completed",
1157
+ "completed_with_errors",
1158
+ "cancelled",
1159
+ "failed"
1160
+ ],
1161
+ "title": "State",
1162
+ "type": "string"
1163
+ },
1164
+ "superseded": {
1165
+ "default": false,
1166
+ "title": "Superseded",
1167
+ "type": "boolean"
1168
+ },
1169
+ "task_set_id": {
1170
+ "format": "uuid",
1171
+ "title": "Task Set Id",
1172
+ "type": "string"
1173
+ }
1174
+ },
1175
+ "required": [
1176
+ "id",
1177
+ "name",
1178
+ "task_set_id",
1179
+ "state",
1180
+ "intent",
1181
+ "job_id",
1182
+ "outcomes",
1183
+ "last_cursor",
1184
+ "error",
1185
+ "pinned",
1186
+ "superseded",
1187
+ "cancel_requested",
1188
+ "retry_paused"
1189
+ ],
1190
+ "title": "RunStatus",
1191
+ "type": "object"
1192
+ },
1193
+ "ScenarioDefinition-Input": {
1194
+ "additionalProperties": false,
1195
+ "description": "Defines a simulation scenario and its parameter values.",
1196
+ "properties": {
1197
+ "execution_seed": {
1198
+ "default": 456,
1199
+ "maximum": 9007199254740991.0,
1200
+ "minimum": 0.0,
1201
+ "title": "Execution Seed",
1202
+ "type": "integer"
1203
+ },
1204
+ "id": {
1205
+ "format": "uuid",
1206
+ "title": "Id",
1207
+ "type": "string"
1208
+ },
1209
+ "name": {
1210
+ "default": "Delivery model",
1211
+ "maxLength": 120,
1212
+ "minLength": 1,
1213
+ "title": "Name",
1214
+ "type": "string"
1215
+ },
1216
+ "revision": {
1217
+ "default": 1,
1218
+ "exclusiveMinimum": 0.0,
1219
+ "title": "Revision",
1220
+ "type": "integer"
1221
+ },
1222
+ "settings": {
1223
+ "$ref": "#/components/schemas/ModelSettings-Input"
1224
+ },
1225
+ "sweeps": {
1226
+ "additionalProperties": {
1227
+ "anyOf": [
1228
+ {
1229
+ "items": {
1230
+ "anyOf": [
1231
+ {
1232
+ "type": "number"
1233
+ },
1234
+ {
1235
+ "type": "string"
1236
+ },
1237
+ {
1238
+ "type": "null"
1239
+ }
1240
+ ]
1241
+ },
1242
+ "type": "array"
1243
+ },
1244
+ {
1245
+ "$ref": "#/components/schemas/SweepRange"
1246
+ }
1247
+ ]
1248
+ },
1249
+ "title": "Sweeps",
1250
+ "type": "object"
1251
+ },
1252
+ "team_seed": {
1253
+ "default": 123,
1254
+ "maximum": 9007199254740991.0,
1255
+ "minimum": 0.0,
1256
+ "title": "Team Seed",
1257
+ "type": "integer"
1258
+ }
1259
+ },
1260
+ "title": "ScenarioDefinition",
1261
+ "type": "object"
1262
+ },
1263
+ "ScenarioDefinition-Output": {
1264
+ "additionalProperties": false,
1265
+ "description": "Defines a simulation scenario and its parameter values.",
1266
+ "properties": {
1267
+ "execution_seed": {
1268
+ "default": 456,
1269
+ "maximum": 9007199254740991.0,
1270
+ "minimum": 0.0,
1271
+ "title": "Execution Seed",
1272
+ "type": "integer"
1273
+ },
1274
+ "id": {
1275
+ "format": "uuid",
1276
+ "title": "Id",
1277
+ "type": "string"
1278
+ },
1279
+ "name": {
1280
+ "default": "Delivery model",
1281
+ "maxLength": 120,
1282
+ "minLength": 1,
1283
+ "title": "Name",
1284
+ "type": "string"
1285
+ },
1286
+ "revision": {
1287
+ "default": 1,
1288
+ "exclusiveMinimum": 0.0,
1289
+ "title": "Revision",
1290
+ "type": "integer"
1291
+ },
1292
+ "settings": {
1293
+ "$ref": "#/components/schemas/ModelSettings-Output"
1294
+ },
1295
+ "sweeps": {
1296
+ "additionalProperties": {
1297
+ "anyOf": [
1298
+ {
1299
+ "items": {
1300
+ "anyOf": [
1301
+ {
1302
+ "type": "number"
1303
+ },
1304
+ {
1305
+ "type": "string"
1306
+ },
1307
+ {
1308
+ "type": "null"
1309
+ }
1310
+ ]
1311
+ },
1312
+ "type": "array"
1313
+ },
1314
+ {
1315
+ "$ref": "#/components/schemas/SweepRange"
1316
+ }
1317
+ ]
1318
+ },
1319
+ "title": "Sweeps",
1320
+ "type": "object"
1321
+ },
1322
+ "team_seed": {
1323
+ "default": 123,
1324
+ "maximum": 9007199254740991.0,
1325
+ "minimum": 0.0,
1326
+ "title": "Team Seed",
1327
+ "type": "integer"
1328
+ }
1329
+ },
1330
+ "required": [
1331
+ "id",
1332
+ "name",
1333
+ "revision",
1334
+ "settings",
1335
+ "sweeps",
1336
+ "team_seed",
1337
+ "execution_seed"
1338
+ ],
1339
+ "title": "ScenarioDefinition",
1340
+ "type": "object"
1341
+ },
1342
+ "StageLoss": {
1343
+ "additionalProperties": false,
1344
+ "description": "Stores value lost during one workflow stage.",
1345
+ "properties": {
1346
+ "label": {
1347
+ "title": "Label",
1348
+ "type": "string"
1349
+ },
1350
+ "loss_percent": {
1351
+ "title": "Loss Percent",
1352
+ "type": "number"
1353
+ },
1354
+ "stage": {
1355
+ "title": "Stage",
1356
+ "type": "string"
1357
+ },
1358
+ "visits": {
1359
+ "title": "Visits",
1360
+ "type": "integer"
1361
+ }
1362
+ },
1363
+ "required": [
1364
+ "stage",
1365
+ "label",
1366
+ "loss_percent",
1367
+ "visits"
1368
+ ],
1369
+ "title": "StageLoss",
1370
+ "type": "object"
1371
+ },
1372
+ "Status": {
1373
+ "description": "Enumerates the possible job states.",
1374
+ "enum": [
1375
+ "queued",
1376
+ "running",
1377
+ "succeeded",
1378
+ "failed",
1379
+ "cancelled"
1380
+ ],
1381
+ "title": "Status",
1382
+ "type": "string"
1383
+ },
1384
+ "SweepRange": {
1385
+ "additionalProperties": false,
1386
+ "description": "Defines a numeric range of values to sweep.",
1387
+ "properties": {
1388
+ "end": {
1389
+ "title": "End",
1390
+ "type": "number"
1391
+ },
1392
+ "start": {
1393
+ "title": "Start",
1394
+ "type": "number"
1395
+ },
1396
+ "step": {
1397
+ "exclusiveMinimum": 0.0,
1398
+ "title": "Step",
1399
+ "type": "number"
1400
+ }
1401
+ },
1402
+ "required": [
1403
+ "start",
1404
+ "end",
1405
+ "step"
1406
+ ],
1407
+ "title": "SweepRange",
1408
+ "type": "object"
1409
+ },
1410
+ "TaskInput": {
1411
+ "additionalProperties": false,
1412
+ "description": "Defines task data accepted by the simulation service.",
1413
+ "properties": {
1414
+ "creation_sim_t": {
1415
+ "default": 0,
1416
+ "minimum": 0.0,
1417
+ "title": "Creation Sim T",
1418
+ "type": "number"
1419
+ },
1420
+ "depreciation_rate": {
1421
+ "default": 0.005,
1422
+ "maximum": 1.0,
1423
+ "minimum": 0.0,
1424
+ "title": "Depreciation Rate",
1425
+ "type": "number"
1426
+ },
1427
+ "initial_value": {
1428
+ "minimum": 0.0,
1429
+ "title": "Initial Value",
1430
+ "type": "number"
1431
+ },
1432
+ "is_rework": {
1433
+ "default": false,
1434
+ "title": "Is Rework",
1435
+ "type": "boolean"
1436
+ },
1437
+ "story_points": {
1438
+ "minimum": 0.0,
1439
+ "title": "Story Points",
1440
+ "type": "number"
1441
+ },
1442
+ "task_name": {
1443
+ "anyOf": [
1444
+ {
1445
+ "type": "string"
1446
+ },
1447
+ {
1448
+ "type": "null"
1449
+ }
1450
+ ],
1451
+ "title": "Task Name"
1452
+ },
1453
+ "task_type": {
1454
+ "default": "development",
1455
+ "enum": [
1456
+ "development",
1457
+ "support"
1458
+ ],
1459
+ "title": "Task Type",
1460
+ "type": "string"
1461
+ }
1462
+ },
1463
+ "required": [
1464
+ "initial_value",
1465
+ "story_points"
1466
+ ],
1467
+ "title": "TaskInput",
1468
+ "type": "object"
1469
+ },
1470
+ "TaskSet": {
1471
+ "additionalProperties": false,
1472
+ "description": "Stores task-generation settings for a workspace.",
1473
+ "properties": {
1474
+ "content_hash": {
1475
+ "title": "Content Hash",
1476
+ "type": "string"
1477
+ },
1478
+ "generator_version": {
1479
+ "default": "1",
1480
+ "title": "Generator Version",
1481
+ "type": "string"
1482
+ },
1483
+ "id": {
1484
+ "format": "uuid",
1485
+ "title": "Id",
1486
+ "type": "string"
1487
+ },
1488
+ "revision": {
1489
+ "default": 1,
1490
+ "title": "Revision",
1491
+ "type": "integer"
1492
+ },
1493
+ "spec": {
1494
+ "$ref": "#/components/schemas/TaskSetSpec-Output"
1495
+ },
1496
+ "tasks": {
1497
+ "items": {
1498
+ "$ref": "#/components/schemas/TaskInput"
1499
+ },
1500
+ "title": "Tasks",
1501
+ "type": "array"
1502
+ }
1503
+ },
1504
+ "required": [
1505
+ "id",
1506
+ "revision",
1507
+ "spec",
1508
+ "content_hash",
1509
+ "tasks",
1510
+ "generator_version"
1511
+ ],
1512
+ "title": "TaskSet",
1513
+ "type": "object"
1514
+ },
1515
+ "TaskSetSpec-Input": {
1516
+ "additionalProperties": false,
1517
+ "description": "Describes a task set used to build a simulation.",
1518
+ "properties": {
1519
+ "count": {
1520
+ "default": 500,
1521
+ "exclusiveMinimum": 0.0,
1522
+ "title": "Count",
1523
+ "type": "integer"
1524
+ },
1525
+ "depreciation_rate": {
1526
+ "default": 0.02,
1527
+ "maximum": 1.0,
1528
+ "minimum": 0.0,
1529
+ "title": "Depreciation Rate",
1530
+ "type": "number"
1531
+ },
1532
+ "initial_value": {
1533
+ "discriminator": {
1534
+ "mapping": {
1535
+ "constant": "#/components/schemas/ConstantValue-Input",
1536
+ "uniform": "#/components/schemas/UniformValue-Input"
1537
+ },
1538
+ "propertyName": "kind"
1539
+ },
1540
+ "oneOf": [
1541
+ {
1542
+ "$ref": "#/components/schemas/ConstantValue-Input"
1543
+ },
1544
+ {
1545
+ "$ref": "#/components/schemas/UniformValue-Input"
1546
+ }
1547
+ ],
1548
+ "title": "Initial Value"
1549
+ },
1550
+ "name": {
1551
+ "default": "Task set",
1552
+ "maxLength": 120,
1553
+ "minLength": 1,
1554
+ "title": "Name",
1555
+ "type": "string"
1556
+ },
1557
+ "seed": {
1558
+ "default": 42,
1559
+ "maximum": 9007199254740991.0,
1560
+ "minimum": 0.0,
1561
+ "title": "Seed",
1562
+ "type": "integer"
1563
+ },
1564
+ "story_points": {
1565
+ "discriminator": {
1566
+ "mapping": {
1567
+ "constant": "#/components/schemas/ConstantValue-Input",
1568
+ "uniform": "#/components/schemas/UniformValue-Input"
1569
+ },
1570
+ "propertyName": "kind"
1571
+ },
1572
+ "oneOf": [
1573
+ {
1574
+ "$ref": "#/components/schemas/ConstantValue-Input"
1575
+ },
1576
+ {
1577
+ "$ref": "#/components/schemas/UniformValue-Input"
1578
+ }
1579
+ ],
1580
+ "title": "Story Points"
1581
+ }
1582
+ },
1583
+ "title": "TaskSetSpec",
1584
+ "type": "object"
1585
+ },
1586
+ "TaskSetSpec-Output": {
1587
+ "additionalProperties": false,
1588
+ "description": "Describes a task set used to build a simulation.",
1589
+ "properties": {
1590
+ "count": {
1591
+ "default": 500,
1592
+ "exclusiveMinimum": 0.0,
1593
+ "title": "Count",
1594
+ "type": "integer"
1595
+ },
1596
+ "depreciation_rate": {
1597
+ "default": 0.02,
1598
+ "maximum": 1.0,
1599
+ "minimum": 0.0,
1600
+ "title": "Depreciation Rate",
1601
+ "type": "number"
1602
+ },
1603
+ "initial_value": {
1604
+ "discriminator": {
1605
+ "mapping": {
1606
+ "constant": "#/components/schemas/ConstantValue-Output",
1607
+ "uniform": "#/components/schemas/UniformValue-Output"
1608
+ },
1609
+ "propertyName": "kind"
1610
+ },
1611
+ "oneOf": [
1612
+ {
1613
+ "$ref": "#/components/schemas/ConstantValue-Output"
1614
+ },
1615
+ {
1616
+ "$ref": "#/components/schemas/UniformValue-Output"
1617
+ }
1618
+ ],
1619
+ "title": "Initial Value"
1620
+ },
1621
+ "name": {
1622
+ "default": "Task set",
1623
+ "maxLength": 120,
1624
+ "minLength": 1,
1625
+ "title": "Name",
1626
+ "type": "string"
1627
+ },
1628
+ "seed": {
1629
+ "default": 42,
1630
+ "maximum": 9007199254740991.0,
1631
+ "minimum": 0.0,
1632
+ "title": "Seed",
1633
+ "type": "integer"
1634
+ },
1635
+ "story_points": {
1636
+ "discriminator": {
1637
+ "mapping": {
1638
+ "constant": "#/components/schemas/ConstantValue-Output",
1639
+ "uniform": "#/components/schemas/UniformValue-Output"
1640
+ },
1641
+ "propertyName": "kind"
1642
+ },
1643
+ "oneOf": [
1644
+ {
1645
+ "$ref": "#/components/schemas/ConstantValue-Output"
1646
+ },
1647
+ {
1648
+ "$ref": "#/components/schemas/UniformValue-Output"
1649
+ }
1650
+ ],
1651
+ "title": "Story Points"
1652
+ }
1653
+ },
1654
+ "required": [
1655
+ "name",
1656
+ "count",
1657
+ "story_points",
1658
+ "initial_value",
1659
+ "depreciation_rate",
1660
+ "seed"
1661
+ ],
1662
+ "title": "TaskSetSpec",
1663
+ "type": "object"
1664
+ },
1665
+ "ToolchainInput": {
1666
+ "additionalProperties": false,
1667
+ "description": "Defines toolchain configuration accepted by the service.",
1668
+ "properties": {
1669
+ "deployment_duration": {
1670
+ "minimum": 0.0,
1671
+ "title": "Deployment Duration",
1672
+ "type": "number"
1673
+ },
1674
+ "failure_rate": {
1675
+ "default": 0,
1676
+ "maximum": 1.0,
1677
+ "minimum": 0.0,
1678
+ "title": "Failure Rate",
1679
+ "type": "number"
1680
+ }
1681
+ },
1682
+ "required": [
1683
+ "deployment_duration"
1684
+ ],
1685
+ "title": "ToolchainInput",
1686
+ "type": "object"
1687
+ },
1688
+ "ToolchainListInput": {
1689
+ "additionalProperties": false,
1690
+ "description": "Defines a list of toolchain configurations.",
1691
+ "properties": {
1692
+ "kind": {
1693
+ "const": "list",
1694
+ "default": "list",
1695
+ "title": "Kind",
1696
+ "type": "string"
1697
+ },
1698
+ "resources": {
1699
+ "items": {
1700
+ "$ref": "#/components/schemas/ToolchainInput"
1701
+ },
1702
+ "minItems": 1,
1703
+ "title": "Resources",
1704
+ "type": "array"
1705
+ }
1706
+ },
1707
+ "required": [
1708
+ "resources"
1709
+ ],
1710
+ "title": "ToolchainListInput",
1711
+ "type": "object"
1712
+ },
1713
+ "ToolchainPoolInput": {
1714
+ "additionalProperties": false,
1715
+ "description": "Defines a pool of toolchains.",
1716
+ "properties": {
1717
+ "deployment_duration": {
1718
+ "minimum": 0.0,
1719
+ "title": "Deployment Duration",
1720
+ "type": "number"
1721
+ },
1722
+ "failure_rate": {
1723
+ "default": 0,
1724
+ "maximum": 1.0,
1725
+ "minimum": 0.0,
1726
+ "title": "Failure Rate",
1727
+ "type": "number"
1728
+ },
1729
+ "kind": {
1730
+ "const": "pool",
1731
+ "default": "pool",
1732
+ "title": "Kind",
1733
+ "type": "string"
1734
+ },
1735
+ "limit": {
1736
+ "exclusiveMinimum": 0.0,
1737
+ "title": "Limit",
1738
+ "type": "integer"
1739
+ }
1740
+ },
1741
+ "required": [
1742
+ "deployment_duration",
1743
+ "limit"
1744
+ ],
1745
+ "title": "ToolchainPoolInput",
1746
+ "type": "object"
1747
+ },
1748
+ "UniformValue-Input": {
1749
+ "additionalProperties": false,
1750
+ "description": "Defines a uniformly sampled value for a model setting.",
1751
+ "properties": {
1752
+ "kind": {
1753
+ "const": "uniform",
1754
+ "default": "uniform",
1755
+ "title": "Kind",
1756
+ "type": "string"
1757
+ },
1758
+ "maximum": {
1759
+ "minimum": 0.0,
1760
+ "title": "Maximum",
1761
+ "type": "number"
1762
+ },
1763
+ "minimum": {
1764
+ "minimum": 0.0,
1765
+ "title": "Minimum",
1766
+ "type": "number"
1767
+ }
1768
+ },
1769
+ "required": [
1770
+ "minimum",
1771
+ "maximum"
1772
+ ],
1773
+ "title": "UniformValue",
1774
+ "type": "object"
1775
+ },
1776
+ "UniformValue-Output": {
1777
+ "additionalProperties": false,
1778
+ "description": "Defines a uniformly sampled value for a model setting.",
1779
+ "properties": {
1780
+ "kind": {
1781
+ "const": "uniform",
1782
+ "default": "uniform",
1783
+ "title": "Kind",
1784
+ "type": "string"
1785
+ },
1786
+ "maximum": {
1787
+ "minimum": 0.0,
1788
+ "title": "Maximum",
1789
+ "type": "number"
1790
+ },
1791
+ "minimum": {
1792
+ "minimum": 0.0,
1793
+ "title": "Minimum",
1794
+ "type": "number"
1795
+ }
1796
+ },
1797
+ "required": [
1798
+ "kind",
1799
+ "minimum",
1800
+ "maximum"
1801
+ ],
1802
+ "title": "UniformValue",
1803
+ "type": "object"
1804
+ },
1805
+ "Workspace": {
1806
+ "additionalProperties": false,
1807
+ "description": "Stores editable simulation inputs and run history.",
1808
+ "properties": {
1809
+ "baseline_id": {
1810
+ "anyOf": [
1811
+ {
1812
+ "format": "uuid",
1813
+ "type": "string"
1814
+ },
1815
+ {
1816
+ "type": "null"
1817
+ }
1818
+ ],
1819
+ "title": "Baseline Id"
1820
+ },
1821
+ "current_task_set": {
1822
+ "anyOf": [
1823
+ {
1824
+ "format": "uuid",
1825
+ "type": "string"
1826
+ },
1827
+ {
1828
+ "type": "null"
1829
+ }
1830
+ ],
1831
+ "title": "Current Task Set"
1832
+ },
1833
+ "definitions": {
1834
+ "items": {
1835
+ "$ref": "#/components/schemas/ScenarioDefinition-Output"
1836
+ },
1837
+ "title": "Definitions",
1838
+ "type": "array"
1839
+ },
1840
+ "id": {
1841
+ "format": "uuid",
1842
+ "title": "Id",
1843
+ "type": "string"
1844
+ },
1845
+ "latest_id": {
1846
+ "anyOf": [
1847
+ {
1848
+ "format": "uuid",
1849
+ "type": "string"
1850
+ },
1851
+ {
1852
+ "type": "null"
1853
+ }
1854
+ ],
1855
+ "title": "Latest Id"
1856
+ },
1857
+ "revision": {
1858
+ "default": 0,
1859
+ "title": "Revision",
1860
+ "type": "integer"
1861
+ },
1862
+ "runs": {
1863
+ "items": {
1864
+ "$ref": "#/components/schemas/RunStatus"
1865
+ },
1866
+ "title": "Runs",
1867
+ "type": "array"
1868
+ },
1869
+ "task_sets": {
1870
+ "items": {
1871
+ "$ref": "#/components/schemas/TaskSet"
1872
+ },
1873
+ "title": "Task Sets",
1874
+ "type": "array"
1875
+ },
1876
+ "task_spec": {
1877
+ "$ref": "#/components/schemas/TaskSetSpec-Output"
1878
+ }
1879
+ },
1880
+ "required": [
1881
+ "id",
1882
+ "revision",
1883
+ "task_spec",
1884
+ "definitions",
1885
+ "task_sets",
1886
+ "current_task_set",
1887
+ "baseline_id",
1888
+ "latest_id",
1889
+ "runs"
1890
+ ],
1891
+ "title": "Workspace",
1892
+ "type": "object"
1893
+ }
1894
+ }
1895
+ },
1896
+ "info": {
1897
+ "title": "Value Stream Application",
1898
+ "version": "1.0.0"
1899
+ },
1900
+ "openapi": "3.1.0",
1901
+ "paths": {
1902
+ "/api/v1/config": {
1903
+ "get": {
1904
+ "operationId": "config_api_v1_config_get",
1905
+ "responses": {
1906
+ "200": {
1907
+ "content": {
1908
+ "application/json": {
1909
+ "schema": {
1910
+ "$ref": "#/components/schemas/AppConfig"
1911
+ }
1912
+ }
1913
+ },
1914
+ "description": "Successful Response"
1915
+ }
1916
+ },
1917
+ "summary": "Config"
1918
+ }
1919
+ },
1920
+ "/api/v1/workspaces": {
1921
+ "post": {
1922
+ "operationId": "create_workspace_api_v1_workspaces_post",
1923
+ "responses": {
1924
+ "201": {
1925
+ "content": {
1926
+ "application/json": {
1927
+ "schema": {
1928
+ "$ref": "#/components/schemas/Workspace"
1929
+ }
1930
+ }
1931
+ },
1932
+ "description": "Successful Response"
1933
+ },
1934
+ "404": {
1935
+ "content": {
1936
+ "application/json": {
1937
+ "schema": {
1938
+ "$ref": "#/components/schemas/ErrorEnvelope"
1939
+ }
1940
+ }
1941
+ },
1942
+ "description": "Not Found"
1943
+ },
1944
+ "409": {
1945
+ "content": {
1946
+ "application/json": {
1947
+ "schema": {
1948
+ "$ref": "#/components/schemas/ErrorEnvelope"
1949
+ }
1950
+ }
1951
+ },
1952
+ "description": "Conflict"
1953
+ },
1954
+ "413": {
1955
+ "content": {
1956
+ "application/json": {
1957
+ "schema": {
1958
+ "$ref": "#/components/schemas/ErrorEnvelope"
1959
+ }
1960
+ }
1961
+ },
1962
+ "description": "Request Entity Too Large"
1963
+ },
1964
+ "422": {
1965
+ "content": {
1966
+ "application/json": {
1967
+ "schema": {
1968
+ "$ref": "#/components/schemas/ErrorEnvelope"
1969
+ }
1970
+ }
1971
+ },
1972
+ "description": "Unprocessable Entity"
1973
+ },
1974
+ "429": {
1975
+ "content": {
1976
+ "application/json": {
1977
+ "schema": {
1978
+ "$ref": "#/components/schemas/ErrorEnvelope"
1979
+ }
1980
+ }
1981
+ },
1982
+ "description": "Too Many Requests"
1983
+ },
1984
+ "500": {
1985
+ "content": {
1986
+ "application/json": {
1987
+ "schema": {
1988
+ "$ref": "#/components/schemas/ErrorEnvelope"
1989
+ }
1990
+ }
1991
+ },
1992
+ "description": "Internal Server Error"
1993
+ },
1994
+ "502": {
1995
+ "content": {
1996
+ "application/json": {
1997
+ "schema": {
1998
+ "$ref": "#/components/schemas/ErrorEnvelope"
1999
+ }
2000
+ }
2001
+ },
2002
+ "description": "Bad Gateway"
2003
+ },
2004
+ "503": {
2005
+ "content": {
2006
+ "application/json": {
2007
+ "schema": {
2008
+ "$ref": "#/components/schemas/ErrorEnvelope"
2009
+ }
2010
+ }
2011
+ },
2012
+ "description": "Service Unavailable"
2013
+ }
2014
+ },
2015
+ "summary": "Create Workspace"
2016
+ }
2017
+ },
2018
+ "/api/v1/workspaces/{workspace_id}": {
2019
+ "delete": {
2020
+ "operationId": "delete_workspace_api_v1_workspaces__workspace_id__delete",
2021
+ "parameters": [
2022
+ {
2023
+ "in": "path",
2024
+ "name": "workspace_id",
2025
+ "required": true,
2026
+ "schema": {
2027
+ "format": "uuid",
2028
+ "title": "Workspace Id",
2029
+ "type": "string"
2030
+ }
2031
+ }
2032
+ ],
2033
+ "responses": {
2034
+ "204": {
2035
+ "description": "Successful Response"
2036
+ },
2037
+ "404": {
2038
+ "content": {
2039
+ "application/json": {
2040
+ "schema": {
2041
+ "$ref": "#/components/schemas/ErrorEnvelope"
2042
+ }
2043
+ }
2044
+ },
2045
+ "description": "Not Found"
2046
+ },
2047
+ "409": {
2048
+ "content": {
2049
+ "application/json": {
2050
+ "schema": {
2051
+ "$ref": "#/components/schemas/ErrorEnvelope"
2052
+ }
2053
+ }
2054
+ },
2055
+ "description": "Conflict"
2056
+ },
2057
+ "413": {
2058
+ "content": {
2059
+ "application/json": {
2060
+ "schema": {
2061
+ "$ref": "#/components/schemas/ErrorEnvelope"
2062
+ }
2063
+ }
2064
+ },
2065
+ "description": "Request Entity Too Large"
2066
+ },
2067
+ "422": {
2068
+ "content": {
2069
+ "application/json": {
2070
+ "schema": {
2071
+ "$ref": "#/components/schemas/ErrorEnvelope"
2072
+ }
2073
+ }
2074
+ },
2075
+ "description": "Unprocessable Entity"
2076
+ },
2077
+ "429": {
2078
+ "content": {
2079
+ "application/json": {
2080
+ "schema": {
2081
+ "$ref": "#/components/schemas/ErrorEnvelope"
2082
+ }
2083
+ }
2084
+ },
2085
+ "description": "Too Many Requests"
2086
+ },
2087
+ "500": {
2088
+ "content": {
2089
+ "application/json": {
2090
+ "schema": {
2091
+ "$ref": "#/components/schemas/ErrorEnvelope"
2092
+ }
2093
+ }
2094
+ },
2095
+ "description": "Internal Server Error"
2096
+ },
2097
+ "502": {
2098
+ "content": {
2099
+ "application/json": {
2100
+ "schema": {
2101
+ "$ref": "#/components/schemas/ErrorEnvelope"
2102
+ }
2103
+ }
2104
+ },
2105
+ "description": "Bad Gateway"
2106
+ },
2107
+ "503": {
2108
+ "content": {
2109
+ "application/json": {
2110
+ "schema": {
2111
+ "$ref": "#/components/schemas/ErrorEnvelope"
2112
+ }
2113
+ }
2114
+ },
2115
+ "description": "Service Unavailable"
2116
+ }
2117
+ },
2118
+ "summary": "Delete Workspace"
2119
+ },
2120
+ "get": {
2121
+ "operationId": "workspace_api_v1_workspaces__workspace_id__get",
2122
+ "parameters": [
2123
+ {
2124
+ "in": "path",
2125
+ "name": "workspace_id",
2126
+ "required": true,
2127
+ "schema": {
2128
+ "format": "uuid",
2129
+ "title": "Workspace Id",
2130
+ "type": "string"
2131
+ }
2132
+ }
2133
+ ],
2134
+ "responses": {
2135
+ "200": {
2136
+ "content": {
2137
+ "application/json": {
2138
+ "schema": {
2139
+ "$ref": "#/components/schemas/Workspace"
2140
+ }
2141
+ }
2142
+ },
2143
+ "description": "Successful Response"
2144
+ },
2145
+ "404": {
2146
+ "content": {
2147
+ "application/json": {
2148
+ "schema": {
2149
+ "$ref": "#/components/schemas/ErrorEnvelope"
2150
+ }
2151
+ }
2152
+ },
2153
+ "description": "Not Found"
2154
+ },
2155
+ "409": {
2156
+ "content": {
2157
+ "application/json": {
2158
+ "schema": {
2159
+ "$ref": "#/components/schemas/ErrorEnvelope"
2160
+ }
2161
+ }
2162
+ },
2163
+ "description": "Conflict"
2164
+ },
2165
+ "413": {
2166
+ "content": {
2167
+ "application/json": {
2168
+ "schema": {
2169
+ "$ref": "#/components/schemas/ErrorEnvelope"
2170
+ }
2171
+ }
2172
+ },
2173
+ "description": "Request Entity Too Large"
2174
+ },
2175
+ "422": {
2176
+ "content": {
2177
+ "application/json": {
2178
+ "schema": {
2179
+ "$ref": "#/components/schemas/ErrorEnvelope"
2180
+ }
2181
+ }
2182
+ },
2183
+ "description": "Unprocessable Entity"
2184
+ },
2185
+ "429": {
2186
+ "content": {
2187
+ "application/json": {
2188
+ "schema": {
2189
+ "$ref": "#/components/schemas/ErrorEnvelope"
2190
+ }
2191
+ }
2192
+ },
2193
+ "description": "Too Many Requests"
2194
+ },
2195
+ "500": {
2196
+ "content": {
2197
+ "application/json": {
2198
+ "schema": {
2199
+ "$ref": "#/components/schemas/ErrorEnvelope"
2200
+ }
2201
+ }
2202
+ },
2203
+ "description": "Internal Server Error"
2204
+ },
2205
+ "502": {
2206
+ "content": {
2207
+ "application/json": {
2208
+ "schema": {
2209
+ "$ref": "#/components/schemas/ErrorEnvelope"
2210
+ }
2211
+ }
2212
+ },
2213
+ "description": "Bad Gateway"
2214
+ },
2215
+ "503": {
2216
+ "content": {
2217
+ "application/json": {
2218
+ "schema": {
2219
+ "$ref": "#/components/schemas/ErrorEnvelope"
2220
+ }
2221
+ }
2222
+ },
2223
+ "description": "Service Unavailable"
2224
+ }
2225
+ },
2226
+ "summary": "Workspace"
2227
+ }
2228
+ },
2229
+ "/api/v1/workspaces/{workspace_id}/editor": {
2230
+ "put": {
2231
+ "operationId": "save_editor_api_v1_workspaces__workspace_id__editor_put",
2232
+ "parameters": [
2233
+ {
2234
+ "in": "path",
2235
+ "name": "workspace_id",
2236
+ "required": true,
2237
+ "schema": {
2238
+ "format": "uuid",
2239
+ "title": "Workspace Id",
2240
+ "type": "string"
2241
+ }
2242
+ }
2243
+ ],
2244
+ "requestBody": {
2245
+ "content": {
2246
+ "application/json": {
2247
+ "schema": {
2248
+ "$ref": "#/components/schemas/EditorRequest"
2249
+ }
2250
+ }
2251
+ },
2252
+ "required": true
2253
+ },
2254
+ "responses": {
2255
+ "200": {
2256
+ "content": {
2257
+ "application/json": {
2258
+ "schema": {
2259
+ "$ref": "#/components/schemas/Preview"
2260
+ }
2261
+ }
2262
+ },
2263
+ "description": "Successful Response"
2264
+ },
2265
+ "404": {
2266
+ "content": {
2267
+ "application/json": {
2268
+ "schema": {
2269
+ "$ref": "#/components/schemas/ErrorEnvelope"
2270
+ }
2271
+ }
2272
+ },
2273
+ "description": "Not Found"
2274
+ },
2275
+ "409": {
2276
+ "content": {
2277
+ "application/json": {
2278
+ "schema": {
2279
+ "$ref": "#/components/schemas/ErrorEnvelope"
2280
+ }
2281
+ }
2282
+ },
2283
+ "description": "Conflict"
2284
+ },
2285
+ "413": {
2286
+ "content": {
2287
+ "application/json": {
2288
+ "schema": {
2289
+ "$ref": "#/components/schemas/ErrorEnvelope"
2290
+ }
2291
+ }
2292
+ },
2293
+ "description": "Request Entity Too Large"
2294
+ },
2295
+ "422": {
2296
+ "content": {
2297
+ "application/json": {
2298
+ "schema": {
2299
+ "$ref": "#/components/schemas/ErrorEnvelope"
2300
+ }
2301
+ }
2302
+ },
2303
+ "description": "Unprocessable Entity"
2304
+ },
2305
+ "429": {
2306
+ "content": {
2307
+ "application/json": {
2308
+ "schema": {
2309
+ "$ref": "#/components/schemas/ErrorEnvelope"
2310
+ }
2311
+ }
2312
+ },
2313
+ "description": "Too Many Requests"
2314
+ },
2315
+ "500": {
2316
+ "content": {
2317
+ "application/json": {
2318
+ "schema": {
2319
+ "$ref": "#/components/schemas/ErrorEnvelope"
2320
+ }
2321
+ }
2322
+ },
2323
+ "description": "Internal Server Error"
2324
+ },
2325
+ "502": {
2326
+ "content": {
2327
+ "application/json": {
2328
+ "schema": {
2329
+ "$ref": "#/components/schemas/ErrorEnvelope"
2330
+ }
2331
+ }
2332
+ },
2333
+ "description": "Bad Gateway"
2334
+ },
2335
+ "503": {
2336
+ "content": {
2337
+ "application/json": {
2338
+ "schema": {
2339
+ "$ref": "#/components/schemas/ErrorEnvelope"
2340
+ }
2341
+ }
2342
+ },
2343
+ "description": "Service Unavailable"
2344
+ }
2345
+ },
2346
+ "summary": "Save Editor"
2347
+ }
2348
+ },
2349
+ "/api/v1/workspaces/{workspace_id}/preview": {
2350
+ "post": {
2351
+ "operationId": "preview_api_v1_workspaces__workspace_id__preview_post",
2352
+ "parameters": [
2353
+ {
2354
+ "in": "path",
2355
+ "name": "workspace_id",
2356
+ "required": true,
2357
+ "schema": {
2358
+ "format": "uuid",
2359
+ "title": "Workspace Id",
2360
+ "type": "string"
2361
+ }
2362
+ }
2363
+ ],
2364
+ "responses": {
2365
+ "200": {
2366
+ "content": {
2367
+ "application/json": {
2368
+ "schema": {
2369
+ "$ref": "#/components/schemas/Preview"
2370
+ }
2371
+ }
2372
+ },
2373
+ "description": "Successful Response"
2374
+ },
2375
+ "404": {
2376
+ "content": {
2377
+ "application/json": {
2378
+ "schema": {
2379
+ "$ref": "#/components/schemas/ErrorEnvelope"
2380
+ }
2381
+ }
2382
+ },
2383
+ "description": "Not Found"
2384
+ },
2385
+ "409": {
2386
+ "content": {
2387
+ "application/json": {
2388
+ "schema": {
2389
+ "$ref": "#/components/schemas/ErrorEnvelope"
2390
+ }
2391
+ }
2392
+ },
2393
+ "description": "Conflict"
2394
+ },
2395
+ "413": {
2396
+ "content": {
2397
+ "application/json": {
2398
+ "schema": {
2399
+ "$ref": "#/components/schemas/ErrorEnvelope"
2400
+ }
2401
+ }
2402
+ },
2403
+ "description": "Request Entity Too Large"
2404
+ },
2405
+ "422": {
2406
+ "content": {
2407
+ "application/json": {
2408
+ "schema": {
2409
+ "$ref": "#/components/schemas/ErrorEnvelope"
2410
+ }
2411
+ }
2412
+ },
2413
+ "description": "Unprocessable Entity"
2414
+ },
2415
+ "429": {
2416
+ "content": {
2417
+ "application/json": {
2418
+ "schema": {
2419
+ "$ref": "#/components/schemas/ErrorEnvelope"
2420
+ }
2421
+ }
2422
+ },
2423
+ "description": "Too Many Requests"
2424
+ },
2425
+ "500": {
2426
+ "content": {
2427
+ "application/json": {
2428
+ "schema": {
2429
+ "$ref": "#/components/schemas/ErrorEnvelope"
2430
+ }
2431
+ }
2432
+ },
2433
+ "description": "Internal Server Error"
2434
+ },
2435
+ "502": {
2436
+ "content": {
2437
+ "application/json": {
2438
+ "schema": {
2439
+ "$ref": "#/components/schemas/ErrorEnvelope"
2440
+ }
2441
+ }
2442
+ },
2443
+ "description": "Bad Gateway"
2444
+ },
2445
+ "503": {
2446
+ "content": {
2447
+ "application/json": {
2448
+ "schema": {
2449
+ "$ref": "#/components/schemas/ErrorEnvelope"
2450
+ }
2451
+ }
2452
+ },
2453
+ "description": "Service Unavailable"
2454
+ }
2455
+ },
2456
+ "summary": "Preview"
2457
+ }
2458
+ },
2459
+ "/api/v1/workspaces/{workspace_id}/runs": {
2460
+ "post": {
2461
+ "operationId": "start_run_api_v1_workspaces__workspace_id__runs_post",
2462
+ "parameters": [
2463
+ {
2464
+ "in": "path",
2465
+ "name": "workspace_id",
2466
+ "required": true,
2467
+ "schema": {
2468
+ "format": "uuid",
2469
+ "title": "Workspace Id",
2470
+ "type": "string"
2471
+ }
2472
+ }
2473
+ ],
2474
+ "requestBody": {
2475
+ "content": {
2476
+ "application/json": {
2477
+ "schema": {
2478
+ "$ref": "#/components/schemas/RunRequest"
2479
+ }
2480
+ }
2481
+ },
2482
+ "required": true
2483
+ },
2484
+ "responses": {
2485
+ "202": {
2486
+ "content": {
2487
+ "application/json": {
2488
+ "schema": {
2489
+ "$ref": "#/components/schemas/RunStatus"
2490
+ }
2491
+ }
2492
+ },
2493
+ "description": "Successful Response"
2494
+ },
2495
+ "404": {
2496
+ "content": {
2497
+ "application/json": {
2498
+ "schema": {
2499
+ "$ref": "#/components/schemas/ErrorEnvelope"
2500
+ }
2501
+ }
2502
+ },
2503
+ "description": "Not Found"
2504
+ },
2505
+ "409": {
2506
+ "content": {
2507
+ "application/json": {
2508
+ "schema": {
2509
+ "$ref": "#/components/schemas/ErrorEnvelope"
2510
+ }
2511
+ }
2512
+ },
2513
+ "description": "Conflict"
2514
+ },
2515
+ "413": {
2516
+ "content": {
2517
+ "application/json": {
2518
+ "schema": {
2519
+ "$ref": "#/components/schemas/ErrorEnvelope"
2520
+ }
2521
+ }
2522
+ },
2523
+ "description": "Request Entity Too Large"
2524
+ },
2525
+ "422": {
2526
+ "content": {
2527
+ "application/json": {
2528
+ "schema": {
2529
+ "$ref": "#/components/schemas/ErrorEnvelope"
2530
+ }
2531
+ }
2532
+ },
2533
+ "description": "Unprocessable Entity"
2534
+ },
2535
+ "429": {
2536
+ "content": {
2537
+ "application/json": {
2538
+ "schema": {
2539
+ "$ref": "#/components/schemas/ErrorEnvelope"
2540
+ }
2541
+ }
2542
+ },
2543
+ "description": "Too Many Requests"
2544
+ },
2545
+ "500": {
2546
+ "content": {
2547
+ "application/json": {
2548
+ "schema": {
2549
+ "$ref": "#/components/schemas/ErrorEnvelope"
2550
+ }
2551
+ }
2552
+ },
2553
+ "description": "Internal Server Error"
2554
+ },
2555
+ "502": {
2556
+ "content": {
2557
+ "application/json": {
2558
+ "schema": {
2559
+ "$ref": "#/components/schemas/ErrorEnvelope"
2560
+ }
2561
+ }
2562
+ },
2563
+ "description": "Bad Gateway"
2564
+ },
2565
+ "503": {
2566
+ "content": {
2567
+ "application/json": {
2568
+ "schema": {
2569
+ "$ref": "#/components/schemas/ErrorEnvelope"
2570
+ }
2571
+ }
2572
+ },
2573
+ "description": "Service Unavailable"
2574
+ }
2575
+ },
2576
+ "summary": "Start Run"
2577
+ }
2578
+ },
2579
+ "/api/v1/workspaces/{workspace_id}/runs/{run_id}": {
2580
+ "delete": {
2581
+ "operationId": "cancel_api_v1_workspaces__workspace_id__runs__run_id__delete",
2582
+ "parameters": [
2583
+ {
2584
+ "in": "path",
2585
+ "name": "workspace_id",
2586
+ "required": true,
2587
+ "schema": {
2588
+ "format": "uuid",
2589
+ "title": "Workspace Id",
2590
+ "type": "string"
2591
+ }
2592
+ },
2593
+ {
2594
+ "in": "path",
2595
+ "name": "run_id",
2596
+ "required": true,
2597
+ "schema": {
2598
+ "format": "uuid",
2599
+ "title": "Run Id",
2600
+ "type": "string"
2601
+ }
2602
+ }
2603
+ ],
2604
+ "responses": {
2605
+ "202": {
2606
+ "content": {
2607
+ "application/json": {
2608
+ "schema": {
2609
+ "$ref": "#/components/schemas/RunStatus"
2610
+ }
2611
+ }
2612
+ },
2613
+ "description": "Successful Response"
2614
+ },
2615
+ "404": {
2616
+ "content": {
2617
+ "application/json": {
2618
+ "schema": {
2619
+ "$ref": "#/components/schemas/ErrorEnvelope"
2620
+ }
2621
+ }
2622
+ },
2623
+ "description": "Not Found"
2624
+ },
2625
+ "409": {
2626
+ "content": {
2627
+ "application/json": {
2628
+ "schema": {
2629
+ "$ref": "#/components/schemas/ErrorEnvelope"
2630
+ }
2631
+ }
2632
+ },
2633
+ "description": "Conflict"
2634
+ },
2635
+ "413": {
2636
+ "content": {
2637
+ "application/json": {
2638
+ "schema": {
2639
+ "$ref": "#/components/schemas/ErrorEnvelope"
2640
+ }
2641
+ }
2642
+ },
2643
+ "description": "Request Entity Too Large"
2644
+ },
2645
+ "422": {
2646
+ "content": {
2647
+ "application/json": {
2648
+ "schema": {
2649
+ "$ref": "#/components/schemas/ErrorEnvelope"
2650
+ }
2651
+ }
2652
+ },
2653
+ "description": "Unprocessable Entity"
2654
+ },
2655
+ "429": {
2656
+ "content": {
2657
+ "application/json": {
2658
+ "schema": {
2659
+ "$ref": "#/components/schemas/ErrorEnvelope"
2660
+ }
2661
+ }
2662
+ },
2663
+ "description": "Too Many Requests"
2664
+ },
2665
+ "500": {
2666
+ "content": {
2667
+ "application/json": {
2668
+ "schema": {
2669
+ "$ref": "#/components/schemas/ErrorEnvelope"
2670
+ }
2671
+ }
2672
+ },
2673
+ "description": "Internal Server Error"
2674
+ },
2675
+ "502": {
2676
+ "content": {
2677
+ "application/json": {
2678
+ "schema": {
2679
+ "$ref": "#/components/schemas/ErrorEnvelope"
2680
+ }
2681
+ }
2682
+ },
2683
+ "description": "Bad Gateway"
2684
+ },
2685
+ "503": {
2686
+ "content": {
2687
+ "application/json": {
2688
+ "schema": {
2689
+ "$ref": "#/components/schemas/ErrorEnvelope"
2690
+ }
2691
+ }
2692
+ },
2693
+ "description": "Service Unavailable"
2694
+ }
2695
+ },
2696
+ "summary": "Cancel"
2697
+ },
2698
+ "get": {
2699
+ "operationId": "run_api_v1_workspaces__workspace_id__runs__run_id__get",
2700
+ "parameters": [
2701
+ {
2702
+ "in": "path",
2703
+ "name": "workspace_id",
2704
+ "required": true,
2705
+ "schema": {
2706
+ "format": "uuid",
2707
+ "title": "Workspace Id",
2708
+ "type": "string"
2709
+ }
2710
+ },
2711
+ {
2712
+ "in": "path",
2713
+ "name": "run_id",
2714
+ "required": true,
2715
+ "schema": {
2716
+ "format": "uuid",
2717
+ "title": "Run Id",
2718
+ "type": "string"
2719
+ }
2720
+ }
2721
+ ],
2722
+ "responses": {
2723
+ "200": {
2724
+ "content": {
2725
+ "application/json": {
2726
+ "schema": {
2727
+ "$ref": "#/components/schemas/RunStatus"
2728
+ }
2729
+ }
2730
+ },
2731
+ "description": "Successful Response"
2732
+ },
2733
+ "404": {
2734
+ "content": {
2735
+ "application/json": {
2736
+ "schema": {
2737
+ "$ref": "#/components/schemas/ErrorEnvelope"
2738
+ }
2739
+ }
2740
+ },
2741
+ "description": "Not Found"
2742
+ },
2743
+ "409": {
2744
+ "content": {
2745
+ "application/json": {
2746
+ "schema": {
2747
+ "$ref": "#/components/schemas/ErrorEnvelope"
2748
+ }
2749
+ }
2750
+ },
2751
+ "description": "Conflict"
2752
+ },
2753
+ "413": {
2754
+ "content": {
2755
+ "application/json": {
2756
+ "schema": {
2757
+ "$ref": "#/components/schemas/ErrorEnvelope"
2758
+ }
2759
+ }
2760
+ },
2761
+ "description": "Request Entity Too Large"
2762
+ },
2763
+ "422": {
2764
+ "content": {
2765
+ "application/json": {
2766
+ "schema": {
2767
+ "$ref": "#/components/schemas/ErrorEnvelope"
2768
+ }
2769
+ }
2770
+ },
2771
+ "description": "Unprocessable Entity"
2772
+ },
2773
+ "429": {
2774
+ "content": {
2775
+ "application/json": {
2776
+ "schema": {
2777
+ "$ref": "#/components/schemas/ErrorEnvelope"
2778
+ }
2779
+ }
2780
+ },
2781
+ "description": "Too Many Requests"
2782
+ },
2783
+ "500": {
2784
+ "content": {
2785
+ "application/json": {
2786
+ "schema": {
2787
+ "$ref": "#/components/schemas/ErrorEnvelope"
2788
+ }
2789
+ }
2790
+ },
2791
+ "description": "Internal Server Error"
2792
+ },
2793
+ "502": {
2794
+ "content": {
2795
+ "application/json": {
2796
+ "schema": {
2797
+ "$ref": "#/components/schemas/ErrorEnvelope"
2798
+ }
2799
+ }
2800
+ },
2801
+ "description": "Bad Gateway"
2802
+ },
2803
+ "503": {
2804
+ "content": {
2805
+ "application/json": {
2806
+ "schema": {
2807
+ "$ref": "#/components/schemas/ErrorEnvelope"
2808
+ }
2809
+ }
2810
+ },
2811
+ "description": "Service Unavailable"
2812
+ }
2813
+ },
2814
+ "summary": "Run"
2815
+ }
2816
+ },
2817
+ "/api/v1/workspaces/{workspace_id}/runs/{run_id}/comparison": {
2818
+ "post": {
2819
+ "operationId": "comparison_api_v1_workspaces__workspace_id__runs__run_id__comparison_post",
2820
+ "parameters": [
2821
+ {
2822
+ "in": "path",
2823
+ "name": "workspace_id",
2824
+ "required": true,
2825
+ "schema": {
2826
+ "format": "uuid",
2827
+ "title": "Workspace Id",
2828
+ "type": "string"
2829
+ }
2830
+ },
2831
+ {
2832
+ "in": "path",
2833
+ "name": "run_id",
2834
+ "required": true,
2835
+ "schema": {
2836
+ "format": "uuid",
2837
+ "title": "Run Id",
2838
+ "type": "string"
2839
+ }
2840
+ }
2841
+ ],
2842
+ "requestBody": {
2843
+ "content": {
2844
+ "application/json": {
2845
+ "schema": {
2846
+ "$ref": "#/components/schemas/ComparisonMutation"
2847
+ }
2848
+ }
2849
+ },
2850
+ "required": true
2851
+ },
2852
+ "responses": {
2853
+ "200": {
2854
+ "content": {
2855
+ "application/json": {
2856
+ "schema": {
2857
+ "$ref": "#/components/schemas/Workspace"
2858
+ }
2859
+ }
2860
+ },
2861
+ "description": "Successful Response"
2862
+ },
2863
+ "404": {
2864
+ "content": {
2865
+ "application/json": {
2866
+ "schema": {
2867
+ "$ref": "#/components/schemas/ErrorEnvelope"
2868
+ }
2869
+ }
2870
+ },
2871
+ "description": "Not Found"
2872
+ },
2873
+ "409": {
2874
+ "content": {
2875
+ "application/json": {
2876
+ "schema": {
2877
+ "$ref": "#/components/schemas/ErrorEnvelope"
2878
+ }
2879
+ }
2880
+ },
2881
+ "description": "Conflict"
2882
+ },
2883
+ "413": {
2884
+ "content": {
2885
+ "application/json": {
2886
+ "schema": {
2887
+ "$ref": "#/components/schemas/ErrorEnvelope"
2888
+ }
2889
+ }
2890
+ },
2891
+ "description": "Request Entity Too Large"
2892
+ },
2893
+ "422": {
2894
+ "content": {
2895
+ "application/json": {
2896
+ "schema": {
2897
+ "$ref": "#/components/schemas/ErrorEnvelope"
2898
+ }
2899
+ }
2900
+ },
2901
+ "description": "Unprocessable Entity"
2902
+ },
2903
+ "429": {
2904
+ "content": {
2905
+ "application/json": {
2906
+ "schema": {
2907
+ "$ref": "#/components/schemas/ErrorEnvelope"
2908
+ }
2909
+ }
2910
+ },
2911
+ "description": "Too Many Requests"
2912
+ },
2913
+ "500": {
2914
+ "content": {
2915
+ "application/json": {
2916
+ "schema": {
2917
+ "$ref": "#/components/schemas/ErrorEnvelope"
2918
+ }
2919
+ }
2920
+ },
2921
+ "description": "Internal Server Error"
2922
+ },
2923
+ "502": {
2924
+ "content": {
2925
+ "application/json": {
2926
+ "schema": {
2927
+ "$ref": "#/components/schemas/ErrorEnvelope"
2928
+ }
2929
+ }
2930
+ },
2931
+ "description": "Bad Gateway"
2932
+ },
2933
+ "503": {
2934
+ "content": {
2935
+ "application/json": {
2936
+ "schema": {
2937
+ "$ref": "#/components/schemas/ErrorEnvelope"
2938
+ }
2939
+ }
2940
+ },
2941
+ "description": "Service Unavailable"
2942
+ }
2943
+ },
2944
+ "summary": "Comparison"
2945
+ }
2946
+ },
2947
+ "/api/v1/workspaces/{workspace_id}/runs/{run_id}/exports/{kind}": {
2948
+ "get": {
2949
+ "operationId": "export_api_v1_workspaces__workspace_id__runs__run_id__exports__kind__get",
2950
+ "parameters": [
2951
+ {
2952
+ "in": "path",
2953
+ "name": "workspace_id",
2954
+ "required": true,
2955
+ "schema": {
2956
+ "format": "uuid",
2957
+ "title": "Workspace Id",
2958
+ "type": "string"
2959
+ }
2960
+ },
2961
+ {
2962
+ "in": "path",
2963
+ "name": "run_id",
2964
+ "required": true,
2965
+ "schema": {
2966
+ "format": "uuid",
2967
+ "title": "Run Id",
2968
+ "type": "string"
2969
+ }
2970
+ },
2971
+ {
2972
+ "in": "path",
2973
+ "name": "kind",
2974
+ "required": true,
2975
+ "schema": {
2976
+ "title": "Kind",
2977
+ "type": "string"
2978
+ }
2979
+ }
2980
+ ],
2981
+ "responses": {
2982
+ "200": {
2983
+ "content": {
2984
+ "application/json": {
2985
+ "schema": {}
2986
+ },
2987
+ "text/csv": {}
2988
+ },
2989
+ "description": "Successful Response"
2990
+ },
2991
+ "404": {
2992
+ "content": {
2993
+ "application/json": {
2994
+ "schema": {
2995
+ "$ref": "#/components/schemas/ErrorEnvelope"
2996
+ }
2997
+ }
2998
+ },
2999
+ "description": "Not Found"
3000
+ },
3001
+ "409": {
3002
+ "content": {
3003
+ "application/json": {
3004
+ "schema": {
3005
+ "$ref": "#/components/schemas/ErrorEnvelope"
3006
+ }
3007
+ }
3008
+ },
3009
+ "description": "Conflict"
3010
+ },
3011
+ "413": {
3012
+ "content": {
3013
+ "application/json": {
3014
+ "schema": {
3015
+ "$ref": "#/components/schemas/ErrorEnvelope"
3016
+ }
3017
+ }
3018
+ },
3019
+ "description": "Request Entity Too Large"
3020
+ },
3021
+ "422": {
3022
+ "content": {
3023
+ "application/json": {
3024
+ "schema": {
3025
+ "$ref": "#/components/schemas/ErrorEnvelope"
3026
+ }
3027
+ }
3028
+ },
3029
+ "description": "Unprocessable Entity"
3030
+ },
3031
+ "429": {
3032
+ "content": {
3033
+ "application/json": {
3034
+ "schema": {
3035
+ "$ref": "#/components/schemas/ErrorEnvelope"
3036
+ }
3037
+ }
3038
+ },
3039
+ "description": "Too Many Requests"
3040
+ },
3041
+ "500": {
3042
+ "content": {
3043
+ "application/json": {
3044
+ "schema": {
3045
+ "$ref": "#/components/schemas/ErrorEnvelope"
3046
+ }
3047
+ }
3048
+ },
3049
+ "description": "Internal Server Error"
3050
+ },
3051
+ "502": {
3052
+ "content": {
3053
+ "application/json": {
3054
+ "schema": {
3055
+ "$ref": "#/components/schemas/ErrorEnvelope"
3056
+ }
3057
+ }
3058
+ },
3059
+ "description": "Bad Gateway"
3060
+ },
3061
+ "503": {
3062
+ "content": {
3063
+ "application/json": {
3064
+ "schema": {
3065
+ "$ref": "#/components/schemas/ErrorEnvelope"
3066
+ }
3067
+ }
3068
+ },
3069
+ "description": "Service Unavailable"
3070
+ }
3071
+ },
3072
+ "summary": "Export"
3073
+ }
3074
+ },
3075
+ "/api/v1/workspaces/{workspace_id}/runs/{run_id}/outcomes": {
3076
+ "get": {
3077
+ "operationId": "outcomes_api_v1_workspaces__workspace_id__runs__run_id__outcomes_get",
3078
+ "parameters": [
3079
+ {
3080
+ "in": "path",
3081
+ "name": "workspace_id",
3082
+ "required": true,
3083
+ "schema": {
3084
+ "format": "uuid",
3085
+ "title": "Workspace Id",
3086
+ "type": "string"
3087
+ }
3088
+ },
3089
+ {
3090
+ "in": "path",
3091
+ "name": "run_id",
3092
+ "required": true,
3093
+ "schema": {
3094
+ "format": "uuid",
3095
+ "title": "Run Id",
3096
+ "type": "string"
3097
+ }
3098
+ },
3099
+ {
3100
+ "in": "query",
3101
+ "name": "after",
3102
+ "required": false,
3103
+ "schema": {
3104
+ "default": 0,
3105
+ "minimum": 0,
3106
+ "title": "After",
3107
+ "type": "integer"
3108
+ }
3109
+ }
3110
+ ],
3111
+ "responses": {
3112
+ "200": {
3113
+ "content": {
3114
+ "application/json": {
3115
+ "schema": {
3116
+ "items": {
3117
+ "$ref": "#/components/schemas/OutcomeSummary"
3118
+ },
3119
+ "title": "Response Outcomes Api V1 Workspaces Workspace Id Runs Run Id Outcomes Get",
3120
+ "type": "array"
3121
+ }
3122
+ }
3123
+ },
3124
+ "description": "Successful Response"
3125
+ },
3126
+ "404": {
3127
+ "content": {
3128
+ "application/json": {
3129
+ "schema": {
3130
+ "$ref": "#/components/schemas/ErrorEnvelope"
3131
+ }
3132
+ }
3133
+ },
3134
+ "description": "Not Found"
3135
+ },
3136
+ "409": {
3137
+ "content": {
3138
+ "application/json": {
3139
+ "schema": {
3140
+ "$ref": "#/components/schemas/ErrorEnvelope"
3141
+ }
3142
+ }
3143
+ },
3144
+ "description": "Conflict"
3145
+ },
3146
+ "413": {
3147
+ "content": {
3148
+ "application/json": {
3149
+ "schema": {
3150
+ "$ref": "#/components/schemas/ErrorEnvelope"
3151
+ }
3152
+ }
3153
+ },
3154
+ "description": "Request Entity Too Large"
3155
+ },
3156
+ "422": {
3157
+ "content": {
3158
+ "application/json": {
3159
+ "schema": {
3160
+ "$ref": "#/components/schemas/ErrorEnvelope"
3161
+ }
3162
+ }
3163
+ },
3164
+ "description": "Unprocessable Entity"
3165
+ },
3166
+ "429": {
3167
+ "content": {
3168
+ "application/json": {
3169
+ "schema": {
3170
+ "$ref": "#/components/schemas/ErrorEnvelope"
3171
+ }
3172
+ }
3173
+ },
3174
+ "description": "Too Many Requests"
3175
+ },
3176
+ "500": {
3177
+ "content": {
3178
+ "application/json": {
3179
+ "schema": {
3180
+ "$ref": "#/components/schemas/ErrorEnvelope"
3181
+ }
3182
+ }
3183
+ },
3184
+ "description": "Internal Server Error"
3185
+ },
3186
+ "502": {
3187
+ "content": {
3188
+ "application/json": {
3189
+ "schema": {
3190
+ "$ref": "#/components/schemas/ErrorEnvelope"
3191
+ }
3192
+ }
3193
+ },
3194
+ "description": "Bad Gateway"
3195
+ },
3196
+ "503": {
3197
+ "content": {
3198
+ "application/json": {
3199
+ "schema": {
3200
+ "$ref": "#/components/schemas/ErrorEnvelope"
3201
+ }
3202
+ }
3203
+ },
3204
+ "description": "Service Unavailable"
3205
+ }
3206
+ },
3207
+ "summary": "Outcomes"
3208
+ }
3209
+ },
3210
+ "/api/v1/workspaces/{workspace_id}/runs/{run_id}/results/{scenario_id}": {
3211
+ "get": {
3212
+ "operationId": "result_api_v1_workspaces__workspace_id__runs__run_id__results__scenario_id__get",
3213
+ "parameters": [
3214
+ {
3215
+ "in": "path",
3216
+ "name": "workspace_id",
3217
+ "required": true,
3218
+ "schema": {
3219
+ "format": "uuid",
3220
+ "title": "Workspace Id",
3221
+ "type": "string"
3222
+ }
3223
+ },
3224
+ {
3225
+ "in": "path",
3226
+ "name": "run_id",
3227
+ "required": true,
3228
+ "schema": {
3229
+ "format": "uuid",
3230
+ "title": "Run Id",
3231
+ "type": "string"
3232
+ }
3233
+ },
3234
+ {
3235
+ "in": "path",
3236
+ "name": "scenario_id",
3237
+ "required": true,
3238
+ "schema": {
3239
+ "format": "uuid",
3240
+ "title": "Scenario Id",
3241
+ "type": "string"
3242
+ }
3243
+ }
3244
+ ],
3245
+ "responses": {
3246
+ "200": {
3247
+ "content": {
3248
+ "application/json": {
3249
+ "schema": {
3250
+ "$ref": "#/components/schemas/ResultView"
3251
+ }
3252
+ }
3253
+ },
3254
+ "description": "Successful Response"
3255
+ },
3256
+ "404": {
3257
+ "content": {
3258
+ "application/json": {
3259
+ "schema": {
3260
+ "$ref": "#/components/schemas/ErrorEnvelope"
3261
+ }
3262
+ }
3263
+ },
3264
+ "description": "Not Found"
3265
+ },
3266
+ "409": {
3267
+ "content": {
3268
+ "application/json": {
3269
+ "schema": {
3270
+ "$ref": "#/components/schemas/ErrorEnvelope"
3271
+ }
3272
+ }
3273
+ },
3274
+ "description": "Conflict"
3275
+ },
3276
+ "413": {
3277
+ "content": {
3278
+ "application/json": {
3279
+ "schema": {
3280
+ "$ref": "#/components/schemas/ErrorEnvelope"
3281
+ }
3282
+ }
3283
+ },
3284
+ "description": "Request Entity Too Large"
3285
+ },
3286
+ "422": {
3287
+ "content": {
3288
+ "application/json": {
3289
+ "schema": {
3290
+ "$ref": "#/components/schemas/ErrorEnvelope"
3291
+ }
3292
+ }
3293
+ },
3294
+ "description": "Unprocessable Entity"
3295
+ },
3296
+ "429": {
3297
+ "content": {
3298
+ "application/json": {
3299
+ "schema": {
3300
+ "$ref": "#/components/schemas/ErrorEnvelope"
3301
+ }
3302
+ }
3303
+ },
3304
+ "description": "Too Many Requests"
3305
+ },
3306
+ "500": {
3307
+ "content": {
3308
+ "application/json": {
3309
+ "schema": {
3310
+ "$ref": "#/components/schemas/ErrorEnvelope"
3311
+ }
3312
+ }
3313
+ },
3314
+ "description": "Internal Server Error"
3315
+ },
3316
+ "502": {
3317
+ "content": {
3318
+ "application/json": {
3319
+ "schema": {
3320
+ "$ref": "#/components/schemas/ErrorEnvelope"
3321
+ }
3322
+ }
3323
+ },
3324
+ "description": "Bad Gateway"
3325
+ },
3326
+ "503": {
3327
+ "content": {
3328
+ "application/json": {
3329
+ "schema": {
3330
+ "$ref": "#/components/schemas/ErrorEnvelope"
3331
+ }
3332
+ }
3333
+ },
3334
+ "description": "Service Unavailable"
3335
+ }
3336
+ },
3337
+ "summary": "Result"
3338
+ }
3339
+ },
3340
+ "/api/v1/workspaces/{workspace_id}/runs/{run_id}/resume": {
3341
+ "post": {
3342
+ "operationId": "resume_api_v1_workspaces__workspace_id__runs__run_id__resume_post",
3343
+ "parameters": [
3344
+ {
3345
+ "in": "path",
3346
+ "name": "workspace_id",
3347
+ "required": true,
3348
+ "schema": {
3349
+ "format": "uuid",
3350
+ "title": "Workspace Id",
3351
+ "type": "string"
3352
+ }
3353
+ },
3354
+ {
3355
+ "in": "path",
3356
+ "name": "run_id",
3357
+ "required": true,
3358
+ "schema": {
3359
+ "format": "uuid",
3360
+ "title": "Run Id",
3361
+ "type": "string"
3362
+ }
3363
+ }
3364
+ ],
3365
+ "responses": {
3366
+ "200": {
3367
+ "content": {
3368
+ "application/json": {
3369
+ "schema": {
3370
+ "$ref": "#/components/schemas/RunStatus"
3371
+ }
3372
+ }
3373
+ },
3374
+ "description": "Successful Response"
3375
+ },
3376
+ "404": {
3377
+ "content": {
3378
+ "application/json": {
3379
+ "schema": {
3380
+ "$ref": "#/components/schemas/ErrorEnvelope"
3381
+ }
3382
+ }
3383
+ },
3384
+ "description": "Not Found"
3385
+ },
3386
+ "409": {
3387
+ "content": {
3388
+ "application/json": {
3389
+ "schema": {
3390
+ "$ref": "#/components/schemas/ErrorEnvelope"
3391
+ }
3392
+ }
3393
+ },
3394
+ "description": "Conflict"
3395
+ },
3396
+ "413": {
3397
+ "content": {
3398
+ "application/json": {
3399
+ "schema": {
3400
+ "$ref": "#/components/schemas/ErrorEnvelope"
3401
+ }
3402
+ }
3403
+ },
3404
+ "description": "Request Entity Too Large"
3405
+ },
3406
+ "422": {
3407
+ "content": {
3408
+ "application/json": {
3409
+ "schema": {
3410
+ "$ref": "#/components/schemas/ErrorEnvelope"
3411
+ }
3412
+ }
3413
+ },
3414
+ "description": "Unprocessable Entity"
3415
+ },
3416
+ "429": {
3417
+ "content": {
3418
+ "application/json": {
3419
+ "schema": {
3420
+ "$ref": "#/components/schemas/ErrorEnvelope"
3421
+ }
3422
+ }
3423
+ },
3424
+ "description": "Too Many Requests"
3425
+ },
3426
+ "500": {
3427
+ "content": {
3428
+ "application/json": {
3429
+ "schema": {
3430
+ "$ref": "#/components/schemas/ErrorEnvelope"
3431
+ }
3432
+ }
3433
+ },
3434
+ "description": "Internal Server Error"
3435
+ },
3436
+ "502": {
3437
+ "content": {
3438
+ "application/json": {
3439
+ "schema": {
3440
+ "$ref": "#/components/schemas/ErrorEnvelope"
3441
+ }
3442
+ }
3443
+ },
3444
+ "description": "Bad Gateway"
3445
+ },
3446
+ "503": {
3447
+ "content": {
3448
+ "application/json": {
3449
+ "schema": {
3450
+ "$ref": "#/components/schemas/ErrorEnvelope"
3451
+ }
3452
+ }
3453
+ },
3454
+ "description": "Service Unavailable"
3455
+ }
3456
+ },
3457
+ "summary": "Resume"
3458
+ }
3459
+ },
3460
+ "/api/v1/workspaces/{workspace_id}/task-sets/{task_set_id}": {
3461
+ "delete": {
3462
+ "operationId": "delete_task_set_api_v1_workspaces__workspace_id__task_sets__task_set_id__delete",
3463
+ "parameters": [
3464
+ {
3465
+ "in": "path",
3466
+ "name": "workspace_id",
3467
+ "required": true,
3468
+ "schema": {
3469
+ "format": "uuid",
3470
+ "title": "Workspace Id",
3471
+ "type": "string"
3472
+ }
3473
+ },
3474
+ {
3475
+ "in": "path",
3476
+ "name": "task_set_id",
3477
+ "required": true,
3478
+ "schema": {
3479
+ "format": "uuid",
3480
+ "title": "Task Set Id",
3481
+ "type": "string"
3482
+ }
3483
+ },
3484
+ {
3485
+ "in": "query",
3486
+ "name": "expected_revision",
3487
+ "required": true,
3488
+ "schema": {
3489
+ "title": "Expected Revision",
3490
+ "type": "integer"
3491
+ }
3492
+ }
3493
+ ],
3494
+ "responses": {
3495
+ "204": {
3496
+ "description": "Successful Response"
3497
+ },
3498
+ "404": {
3499
+ "content": {
3500
+ "application/json": {
3501
+ "schema": {
3502
+ "$ref": "#/components/schemas/ErrorEnvelope"
3503
+ }
3504
+ }
3505
+ },
3506
+ "description": "Not Found"
3507
+ },
3508
+ "409": {
3509
+ "content": {
3510
+ "application/json": {
3511
+ "schema": {
3512
+ "$ref": "#/components/schemas/ErrorEnvelope"
3513
+ }
3514
+ }
3515
+ },
3516
+ "description": "Conflict"
3517
+ },
3518
+ "413": {
3519
+ "content": {
3520
+ "application/json": {
3521
+ "schema": {
3522
+ "$ref": "#/components/schemas/ErrorEnvelope"
3523
+ }
3524
+ }
3525
+ },
3526
+ "description": "Request Entity Too Large"
3527
+ },
3528
+ "422": {
3529
+ "content": {
3530
+ "application/json": {
3531
+ "schema": {
3532
+ "$ref": "#/components/schemas/ErrorEnvelope"
3533
+ }
3534
+ }
3535
+ },
3536
+ "description": "Unprocessable Entity"
3537
+ },
3538
+ "429": {
3539
+ "content": {
3540
+ "application/json": {
3541
+ "schema": {
3542
+ "$ref": "#/components/schemas/ErrorEnvelope"
3543
+ }
3544
+ }
3545
+ },
3546
+ "description": "Too Many Requests"
3547
+ },
3548
+ "500": {
3549
+ "content": {
3550
+ "application/json": {
3551
+ "schema": {
3552
+ "$ref": "#/components/schemas/ErrorEnvelope"
3553
+ }
3554
+ }
3555
+ },
3556
+ "description": "Internal Server Error"
3557
+ },
3558
+ "502": {
3559
+ "content": {
3560
+ "application/json": {
3561
+ "schema": {
3562
+ "$ref": "#/components/schemas/ErrorEnvelope"
3563
+ }
3564
+ }
3565
+ },
3566
+ "description": "Bad Gateway"
3567
+ },
3568
+ "503": {
3569
+ "content": {
3570
+ "application/json": {
3571
+ "schema": {
3572
+ "$ref": "#/components/schemas/ErrorEnvelope"
3573
+ }
3574
+ }
3575
+ },
3576
+ "description": "Service Unavailable"
3577
+ }
3578
+ },
3579
+ "summary": "Delete Task Set"
3580
+ }
3581
+ },
3582
+ "/health": {
3583
+ "get": {
3584
+ "operationId": "health_health_get",
3585
+ "responses": {
3586
+ "200": {
3587
+ "content": {
3588
+ "application/json": {
3589
+ "schema": {
3590
+ "$ref": "#/components/schemas/HealthResponse"
3591
+ }
3592
+ }
3593
+ },
3594
+ "description": "Successful Response"
3595
+ }
3596
+ },
3597
+ "summary": "Health"
3598
+ }
3599
+ },
3600
+ "/ready": {
3601
+ "get": {
3602
+ "operationId": "ready_ready_get",
3603
+ "responses": {
3604
+ "200": {
3605
+ "content": {
3606
+ "application/json": {
3607
+ "schema": {
3608
+ "$ref": "#/components/schemas/HealthResponse"
3609
+ }
3610
+ }
3611
+ },
3612
+ "description": "Successful Response"
3613
+ },
3614
+ "404": {
3615
+ "content": {
3616
+ "application/json": {
3617
+ "schema": {
3618
+ "$ref": "#/components/schemas/ErrorEnvelope"
3619
+ }
3620
+ }
3621
+ },
3622
+ "description": "Not Found"
3623
+ },
3624
+ "409": {
3625
+ "content": {
3626
+ "application/json": {
3627
+ "schema": {
3628
+ "$ref": "#/components/schemas/ErrorEnvelope"
3629
+ }
3630
+ }
3631
+ },
3632
+ "description": "Conflict"
3633
+ },
3634
+ "413": {
3635
+ "content": {
3636
+ "application/json": {
3637
+ "schema": {
3638
+ "$ref": "#/components/schemas/ErrorEnvelope"
3639
+ }
3640
+ }
3641
+ },
3642
+ "description": "Request Entity Too Large"
3643
+ },
3644
+ "422": {
3645
+ "content": {
3646
+ "application/json": {
3647
+ "schema": {
3648
+ "$ref": "#/components/schemas/ErrorEnvelope"
3649
+ }
3650
+ }
3651
+ },
3652
+ "description": "Unprocessable Entity"
3653
+ },
3654
+ "429": {
3655
+ "content": {
3656
+ "application/json": {
3657
+ "schema": {
3658
+ "$ref": "#/components/schemas/ErrorEnvelope"
3659
+ }
3660
+ }
3661
+ },
3662
+ "description": "Too Many Requests"
3663
+ },
3664
+ "500": {
3665
+ "content": {
3666
+ "application/json": {
3667
+ "schema": {
3668
+ "$ref": "#/components/schemas/ErrorEnvelope"
3669
+ }
3670
+ }
3671
+ },
3672
+ "description": "Internal Server Error"
3673
+ },
3674
+ "502": {
3675
+ "content": {
3676
+ "application/json": {
3677
+ "schema": {
3678
+ "$ref": "#/components/schemas/ErrorEnvelope"
3679
+ }
3680
+ }
3681
+ },
3682
+ "description": "Bad Gateway"
3683
+ },
3684
+ "503": {
3685
+ "content": {
3686
+ "application/json": {
3687
+ "schema": {
3688
+ "$ref": "#/components/schemas/ErrorEnvelope"
3689
+ }
3690
+ }
3691
+ },
3692
+ "description": "Service Unavailable"
3693
+ }
3694
+ },
3695
+ "summary": "Ready"
3696
+ }
3697
+ }
3698
+ }
3699
+ }