spec-controller 0.1.119 → 0.1.120

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.
@@ -0,0 +1,1098 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/RenderInput",
4
+ "definitions": {
5
+ "RenderInput": {
6
+ "type": "object",
7
+ "properties": {
8
+ "runProvenance": {
9
+ "$ref": "#/definitions/ProvenanceObject"
10
+ },
11
+ "summary": {
12
+ "type": "object",
13
+ "additionalProperties": false,
14
+ "properties": {
15
+ "runVerdict": {
16
+ "$ref": "#/definitions/RunVerdict"
17
+ },
18
+ "stepAccounting": {
19
+ "type": "object",
20
+ "additionalProperties": false,
21
+ "properties": {
22
+ "everyStepAccountedFor": {
23
+ "type": "boolean"
24
+ },
25
+ "stepsRead": {
26
+ "type": "number"
27
+ },
28
+ "candidates": {
29
+ "type": "number"
30
+ },
31
+ "runners": {
32
+ "type": "number"
33
+ },
34
+ "reconciler": {
35
+ "type": "number"
36
+ },
37
+ "excluded": {
38
+ "type": "number"
39
+ },
40
+ "plumbing": {
41
+ "type": "number"
42
+ },
43
+ "accountedFor": {
44
+ "type": "number"
45
+ }
46
+ },
47
+ "required": [
48
+ "accountedFor",
49
+ "candidates",
50
+ "everyStepAccountedFor",
51
+ "excluded",
52
+ "reconciler",
53
+ "runners",
54
+ "stepsRead"
55
+ ]
56
+ },
57
+ "claimReconciliations": {
58
+ "$ref": "#/definitions/ClaimReconciliationTotals"
59
+ },
60
+ "qualityCheckReconciliations": {
61
+ "$ref": "#/definitions/QualityCheckReconciliationTotals"
62
+ },
63
+ "pending": {
64
+ "type": "number"
65
+ },
66
+ "testVolume": {
67
+ "$ref": "#/definitions/TestVolumeTotals"
68
+ },
69
+ "rawByBehaviouralQualityCheck": {
70
+ "type": "object",
71
+ "properties": {
72
+ "unit": {
73
+ "type": "number"
74
+ },
75
+ "integration": {
76
+ "type": "number"
77
+ },
78
+ "e2e": {
79
+ "type": "number"
80
+ },
81
+ "performance": {
82
+ "type": "number"
83
+ }
84
+ },
85
+ "required": [
86
+ "unit",
87
+ "integration",
88
+ "e2e",
89
+ "performance"
90
+ ],
91
+ "additionalProperties": false
92
+ },
93
+ "fitnessFunctions": {
94
+ "$ref": "#/definitions/FitnessFunctionTotals"
95
+ },
96
+ "fitness": {
97
+ "$ref": "#/definitions/FitnessTally"
98
+ },
99
+ "behaviouralRunners": {
100
+ "type": "array",
101
+ "items": {
102
+ "$ref": "#/definitions/BehaviouralRunner"
103
+ }
104
+ },
105
+ "tiersWithoutRunner": {
106
+ "type": "array",
107
+ "items": {
108
+ "$ref": "#/definitions/TierWithoutRunner"
109
+ }
110
+ },
111
+ "runnerKeysNotATier": {
112
+ "type": "array",
113
+ "items": {
114
+ "type": "string"
115
+ }
116
+ },
117
+ "configurationOfWrongKind": {
118
+ "type": "array",
119
+ "items": {
120
+ "$ref": "#/definitions/WrongKindEntry"
121
+ }
122
+ },
123
+ "configurationKeysNotRead": {
124
+ "type": "array",
125
+ "items": {
126
+ "type": "string"
127
+ }
128
+ },
129
+ "excludedSteps": {
130
+ "type": "array",
131
+ "items": {
132
+ "type": "string"
133
+ }
134
+ },
135
+ "reconcilerSteps": {
136
+ "type": "array",
137
+ "items": {
138
+ "$ref": "#/definitions/ReconcilerStep"
139
+ }
140
+ },
141
+ "nonChecksMatchingNoStep": {
142
+ "type": "array",
143
+ "items": {
144
+ "type": "string"
145
+ }
146
+ },
147
+ "discoveryScope": {
148
+ "type": "array",
149
+ "items": {
150
+ "$ref": "#/definitions/JobDiscoveryScope"
151
+ }
152
+ }
153
+ },
154
+ "required": [
155
+ "claimReconciliations",
156
+ "fitness",
157
+ "pending",
158
+ "qualityCheckReconciliations",
159
+ "runVerdict"
160
+ ]
161
+ },
162
+ "ledger": {
163
+ "$ref": "#/definitions/Ledger"
164
+ },
165
+ "scenarioCodeErrors": {
166
+ "type": "array",
167
+ "items": {
168
+ "$ref": "#/definitions/ScenarioCodeError"
169
+ }
170
+ },
171
+ "scenarioCodePopulation": {
172
+ "$ref": "#/definitions/ScenarioCodePopulation"
173
+ },
174
+ "evidenceObligations": {
175
+ "$ref": "#/definitions/EvidenceObligationsSection"
176
+ },
177
+ "metadata": {
178
+ "$ref": "#/definitions/ReportMetadata"
179
+ }
180
+ },
181
+ "required": [
182
+ "runProvenance",
183
+ "summary",
184
+ "ledger"
185
+ ],
186
+ "additionalProperties": false
187
+ },
188
+ "ProvenanceObject": {
189
+ "type": "object",
190
+ "properties": {
191
+ "target": {
192
+ "type": "string"
193
+ },
194
+ "targetOrigin": {
195
+ "type": "string"
196
+ },
197
+ "sourceSha": {
198
+ "type": [
199
+ "string",
200
+ "null"
201
+ ]
202
+ },
203
+ "toolSha": {
204
+ "type": [
205
+ "string",
206
+ "null"
207
+ ]
208
+ },
209
+ "toolVersion": {
210
+ "type": "string"
211
+ },
212
+ "runTimestamp": {
213
+ "type": "string"
214
+ },
215
+ "inputs": {
216
+ "$ref": "#/definitions/RunInputs"
217
+ },
218
+ "corpus": {
219
+ "type": "string"
220
+ },
221
+ "strict": {
222
+ "type": "boolean"
223
+ }
224
+ },
225
+ "required": [
226
+ "target",
227
+ "sourceSha",
228
+ "toolSha",
229
+ "toolVersion",
230
+ "runTimestamp",
231
+ "inputs",
232
+ "corpus"
233
+ ],
234
+ "additionalProperties": false
235
+ },
236
+ "RunInputs": {
237
+ "type": "object",
238
+ "additionalProperties": {
239
+ "type": "string"
240
+ }
241
+ },
242
+ "RunVerdict": {
243
+ "type": "string",
244
+ "enum": [
245
+ "nothing-to-reconcile",
246
+ "unsound",
247
+ "scenario-code-errors",
248
+ "out-of-balance",
249
+ "pending",
250
+ "balanced"
251
+ ]
252
+ },
253
+ "ClaimReconciliationTotals": {
254
+ "type": "object",
255
+ "properties": {
256
+ "total": {
257
+ "type": "number"
258
+ },
259
+ "balanced": {
260
+ "type": "number"
261
+ },
262
+ "outOfBalance": {
263
+ "type": "number"
264
+ },
265
+ "phantomClaim": {
266
+ "type": "number"
267
+ },
268
+ "unnamedClaim": {
269
+ "type": "number"
270
+ }
271
+ },
272
+ "required": [
273
+ "total",
274
+ "balanced",
275
+ "outOfBalance",
276
+ "phantomClaim",
277
+ "unnamedClaim"
278
+ ],
279
+ "additionalProperties": false
280
+ },
281
+ "QualityCheckReconciliationTotals": {
282
+ "type": "object",
283
+ "properties": {
284
+ "total": {
285
+ "type": "number"
286
+ },
287
+ "byOutcome": {
288
+ "type": "object",
289
+ "properties": {
290
+ "satisfied": {
291
+ "type": "number"
292
+ },
293
+ "failing": {
294
+ "type": "number"
295
+ },
296
+ "watermelon": {
297
+ "type": "number"
298
+ },
299
+ "missing": {
300
+ "type": "number"
301
+ },
302
+ "cites-unknown-scenario": {
303
+ "type": "number"
304
+ },
305
+ "cites-no-scenario": {
306
+ "type": "number"
307
+ },
308
+ "broken": {
309
+ "type": "number"
310
+ },
311
+ "no-evidence-obligation": {
312
+ "type": "number"
313
+ },
314
+ "no-scn-code": {
315
+ "type": "number"
316
+ },
317
+ "duplicate-scn-code": {
318
+ "type": "number"
319
+ },
320
+ "both-missing": {
321
+ "type": "number"
322
+ }
323
+ },
324
+ "required": [
325
+ "satisfied",
326
+ "failing",
327
+ "watermelon",
328
+ "missing",
329
+ "cites-unknown-scenario",
330
+ "cites-no-scenario",
331
+ "broken",
332
+ "no-evidence-obligation",
333
+ "no-scn-code",
334
+ "duplicate-scn-code",
335
+ "both-missing"
336
+ ],
337
+ "additionalProperties": false
338
+ },
339
+ "outOfBalance": {
340
+ "type": "number"
341
+ },
342
+ "missingByQualityCheck": {
343
+ "type": "array",
344
+ "items": {
345
+ "$ref": "#/definitions/MissingByQualityCheck"
346
+ }
347
+ }
348
+ },
349
+ "required": [
350
+ "total",
351
+ "byOutcome",
352
+ "outOfBalance",
353
+ "missingByQualityCheck"
354
+ ],
355
+ "additionalProperties": false
356
+ },
357
+ "MissingByQualityCheck": {
358
+ "type": "object",
359
+ "properties": {
360
+ "subject": {
361
+ "type": "string"
362
+ },
363
+ "count": {
364
+ "type": "number"
365
+ }
366
+ },
367
+ "required": [
368
+ "subject",
369
+ "count"
370
+ ],
371
+ "additionalProperties": false
372
+ },
373
+ "TestVolumeTotals": {
374
+ "type": "object",
375
+ "properties": {
376
+ "totalEvidenceObservations": {
377
+ "type": "number"
378
+ },
379
+ "onScenario": {
380
+ "type": "number"
381
+ },
382
+ "onPhantomClaim": {
383
+ "type": "number"
384
+ },
385
+ "onUnnamedClaim": {
386
+ "type": "number"
387
+ }
388
+ },
389
+ "required": [
390
+ "totalEvidenceObservations",
391
+ "onScenario",
392
+ "onPhantomClaim",
393
+ "onUnnamedClaim"
394
+ ],
395
+ "additionalProperties": false
396
+ },
397
+ "FitnessFunctionTotals": {
398
+ "type": "object",
399
+ "properties": {
400
+ "runningFitnessFunctionCount": {
401
+ "type": "number"
402
+ },
403
+ "uncitedFitnessFunctionCount": {
404
+ "type": "number"
405
+ }
406
+ },
407
+ "required": [
408
+ "runningFitnessFunctionCount",
409
+ "uncitedFitnessFunctionCount"
410
+ ],
411
+ "additionalProperties": false
412
+ },
413
+ "FitnessTally": {
414
+ "type": "object",
415
+ "properties": {
416
+ "satisfied": {
417
+ "type": "number"
418
+ },
419
+ "total": {
420
+ "type": "number"
421
+ }
422
+ },
423
+ "required": [
424
+ "satisfied",
425
+ "total"
426
+ ],
427
+ "additionalProperties": false
428
+ },
429
+ "BehaviouralRunner": {
430
+ "type": "object",
431
+ "properties": {
432
+ "tier": {
433
+ "type": "string"
434
+ },
435
+ "runner": {
436
+ "type": "string"
437
+ },
438
+ "step": {
439
+ "type": "string"
440
+ }
441
+ },
442
+ "required": [
443
+ "tier",
444
+ "runner",
445
+ "step"
446
+ ],
447
+ "additionalProperties": false
448
+ },
449
+ "TierWithoutRunner": {
450
+ "type": "object",
451
+ "properties": {
452
+ "tier": {
453
+ "$ref": "#/definitions/BehaviouralQualityCheck"
454
+ },
455
+ "namesNone": {
456
+ "type": "boolean"
457
+ }
458
+ },
459
+ "required": [
460
+ "tier",
461
+ "namesNone"
462
+ ],
463
+ "additionalProperties": false
464
+ },
465
+ "BehaviouralQualityCheck": {
466
+ "type": "string",
467
+ "enum": [
468
+ "unit",
469
+ "integration",
470
+ "e2e",
471
+ "performance"
472
+ ]
473
+ },
474
+ "WrongKindEntry": {
475
+ "type": "object",
476
+ "properties": {
477
+ "entry": {
478
+ "type": "string"
479
+ },
480
+ "is": {
481
+ "$ref": "#/definitions/ConfigurationKind"
482
+ },
483
+ "reads": {
484
+ "$ref": "#/definitions/ConfigurationKind"
485
+ }
486
+ },
487
+ "required": [
488
+ "entry",
489
+ "is",
490
+ "reads"
491
+ ],
492
+ "additionalProperties": false
493
+ },
494
+ "ConfigurationKind": {
495
+ "type": "string",
496
+ "enum": [
497
+ "list",
498
+ "object",
499
+ "string-or-null",
500
+ "null",
501
+ "string",
502
+ "number",
503
+ "bigint",
504
+ "boolean",
505
+ "symbol",
506
+ "undefined",
507
+ "function"
508
+ ]
509
+ },
510
+ "ReconcilerStep": {
511
+ "type": "object",
512
+ "properties": {
513
+ "step": {
514
+ "type": "string"
515
+ },
516
+ "role": {
517
+ "type": "string",
518
+ "enum": [
519
+ "reconciles",
520
+ "records"
521
+ ]
522
+ }
523
+ },
524
+ "required": [
525
+ "step",
526
+ "role"
527
+ ],
528
+ "additionalProperties": false
529
+ },
530
+ "JobDiscoveryScope": {
531
+ "type": "object",
532
+ "properties": {
533
+ "source": {
534
+ "type": "string"
535
+ },
536
+ "job": {
537
+ "type": "string"
538
+ },
539
+ "steps": {
540
+ "type": "number"
541
+ },
542
+ "candidates": {
543
+ "type": "number"
544
+ }
545
+ },
546
+ "required": [
547
+ "source",
548
+ "job",
549
+ "steps",
550
+ "candidates"
551
+ ],
552
+ "additionalProperties": false
553
+ },
554
+ "Ledger": {
555
+ "type": "object",
556
+ "properties": {
557
+ "claimReconciliations": {
558
+ "type": "array",
559
+ "items": {
560
+ "$ref": "#/definitions/ClaimReconciliation"
561
+ }
562
+ }
563
+ },
564
+ "required": [
565
+ "claimReconciliations"
566
+ ],
567
+ "additionalProperties": false
568
+ },
569
+ "ClaimReconciliation": {
570
+ "type": "object",
571
+ "properties": {
572
+ "scnId": {
573
+ "type": "string"
574
+ },
575
+ "kind": {
576
+ "$ref": "#/definitions/ClaimKind"
577
+ },
578
+ "verdict": {
579
+ "$ref": "#/definitions/Verdict"
580
+ },
581
+ "evidenceObservations": {
582
+ "type": "array",
583
+ "items": {
584
+ "$ref": "#/definitions/EvidenceObservation"
585
+ }
586
+ },
587
+ "evidenceObligations": {
588
+ "type": "array",
589
+ "items": {
590
+ "$ref": "#/definitions/EvidenceObligation"
591
+ }
592
+ },
593
+ "qualityCheckReconciliations": {
594
+ "type": "array",
595
+ "items": {
596
+ "$ref": "#/definitions/QualityCheckReconciliation"
597
+ }
598
+ },
599
+ "reconcilingItems": {
600
+ "type": "array",
601
+ "items": {
602
+ "$ref": "#/definitions/QualityCheckReconciliation"
603
+ }
604
+ },
605
+ "pendingItems": {
606
+ "type": "array",
607
+ "items": {
608
+ "$ref": "#/definitions/PendingItem"
609
+ }
610
+ }
611
+ },
612
+ "required": [
613
+ "scnId",
614
+ "kind",
615
+ "verdict",
616
+ "evidenceObservations",
617
+ "evidenceObligations",
618
+ "qualityCheckReconciliations",
619
+ "reconcilingItems",
620
+ "pendingItems"
621
+ ],
622
+ "additionalProperties": false
623
+ },
624
+ "ClaimKind": {
625
+ "type": "string",
626
+ "enum": [
627
+ "scenario",
628
+ "phantom-claim",
629
+ "unnamed-claim"
630
+ ]
631
+ },
632
+ "Verdict": {
633
+ "type": "string",
634
+ "enum": [
635
+ "balanced",
636
+ "out-of-balance"
637
+ ]
638
+ },
639
+ "EvidenceObservation": {
640
+ "anyOf": [
641
+ {
642
+ "$ref": "#/definitions/BehaviouralEvidenceObservation"
643
+ },
644
+ {
645
+ "$ref": "#/definitions/FitnessEvidenceObservation"
646
+ }
647
+ ]
648
+ },
649
+ "BehaviouralEvidenceObservation": {
650
+ "type": "object",
651
+ "properties": {
652
+ "qualityCheck": {
653
+ "$ref": "#/definitions/BehaviouralQualityCheck"
654
+ },
655
+ "scnId": {
656
+ "type": [
657
+ "string",
658
+ "null"
659
+ ]
660
+ },
661
+ "status": {
662
+ "$ref": "#/definitions/EvidenceStatus"
663
+ },
664
+ "locator": {
665
+ "type": "string"
666
+ },
667
+ "broken": {
668
+ "type": "boolean",
669
+ "const": true
670
+ },
671
+ "message": {
672
+ "type": "string"
673
+ },
674
+ "notes": {
675
+ "type": "array",
676
+ "items": {
677
+ "$ref": "#/definitions/ObservationNote"
678
+ }
679
+ },
680
+ "testName": {
681
+ "type": "string"
682
+ }
683
+ },
684
+ "required": [
685
+ "qualityCheck",
686
+ "scnId",
687
+ "status"
688
+ ],
689
+ "additionalProperties": false
690
+ },
691
+ "EvidenceStatus": {
692
+ "type": "string",
693
+ "enum": [
694
+ "passed",
695
+ "failed"
696
+ ]
697
+ },
698
+ "ObservationNote": {
699
+ "anyOf": [
700
+ {
701
+ "type": "object",
702
+ "properties": {
703
+ "kind": {
704
+ "type": "string",
705
+ "const": "several-scn-codes"
706
+ },
707
+ "codes": {
708
+ "type": "array",
709
+ "items": {
710
+ "type": "string"
711
+ }
712
+ }
713
+ },
714
+ "required": [
715
+ "kind",
716
+ "codes"
717
+ ],
718
+ "additionalProperties": false
719
+ },
720
+ {
721
+ "type": "object",
722
+ "properties": {
723
+ "kind": {
724
+ "type": "string",
725
+ "const": "ambiguous-step"
726
+ },
727
+ "step": {
728
+ "type": "string"
729
+ }
730
+ },
731
+ "required": [
732
+ "kind"
733
+ ],
734
+ "additionalProperties": false
735
+ },
736
+ {
737
+ "type": "object",
738
+ "properties": {
739
+ "kind": {
740
+ "type": "string",
741
+ "const": "check-step-did-not-run"
742
+ },
743
+ "code": {
744
+ "type": "string"
745
+ },
746
+ "outcome": {
747
+ "type": "string"
748
+ }
749
+ },
750
+ "required": [
751
+ "kind",
752
+ "code"
753
+ ],
754
+ "additionalProperties": false
755
+ }
756
+ ]
757
+ },
758
+ "FitnessEvidenceObservation": {
759
+ "type": "object",
760
+ "properties": {
761
+ "qualityCheck": {
762
+ "type": "string",
763
+ "const": "fitness"
764
+ },
765
+ "fitnessFunction": {
766
+ "type": "string"
767
+ },
768
+ "scnId": {
769
+ "type": "string"
770
+ },
771
+ "exists": {
772
+ "type": "boolean"
773
+ },
774
+ "enforcedOverRealSource": {
775
+ "type": "boolean"
776
+ },
777
+ "status": {
778
+ "$ref": "#/definitions/EvidenceStatus"
779
+ },
780
+ "broken": {
781
+ "type": "boolean",
782
+ "const": true
783
+ },
784
+ "message": {
785
+ "type": "string"
786
+ },
787
+ "notes": {
788
+ "type": "array",
789
+ "items": {
790
+ "$ref": "#/definitions/ObservationNote"
791
+ }
792
+ },
793
+ "locator": {
794
+ "type": "string"
795
+ }
796
+ },
797
+ "required": [
798
+ "qualityCheck",
799
+ "fitnessFunction",
800
+ "exists",
801
+ "enforcedOverRealSource"
802
+ ],
803
+ "additionalProperties": false
804
+ },
805
+ "EvidenceObligation": {
806
+ "type": "object",
807
+ "properties": {
808
+ "qualityCheck": {
809
+ "$ref": "#/definitions/QualityCheck"
810
+ },
811
+ "pending": {
812
+ "type": "boolean"
813
+ }
814
+ },
815
+ "additionalProperties": false
816
+ },
817
+ "QualityCheck": {
818
+ "type": "string",
819
+ "enum": [
820
+ "fitness",
821
+ "unit",
822
+ "integration",
823
+ "e2e",
824
+ "performance"
825
+ ]
826
+ },
827
+ "QualityCheckReconciliation": {
828
+ "type": "object",
829
+ "additionalProperties": false,
830
+ "properties": {
831
+ "qualityCheck": {
832
+ "$ref": "#/definitions/QualityCheck"
833
+ },
834
+ "fitnessFunction": {
835
+ "type": "string"
836
+ },
837
+ "outcome": {
838
+ "$ref": "#/definitions/Outcome"
839
+ },
840
+ "evidenceObligation": {
841
+ "$ref": "#/definitions/EvidenceObligation"
842
+ },
843
+ "evidenceObservation": {
844
+ "$ref": "#/definitions/EvidenceObservation"
845
+ },
846
+ "locator": {
847
+ "type": "string"
848
+ },
849
+ "message": {
850
+ "type": "string"
851
+ },
852
+ "notes": {
853
+ "type": "array",
854
+ "items": {
855
+ "$ref": "#/definitions/ObservationNote"
856
+ }
857
+ }
858
+ },
859
+ "required": [
860
+ "outcome"
861
+ ]
862
+ },
863
+ "Outcome": {
864
+ "type": "string",
865
+ "enum": [
866
+ "satisfied",
867
+ "failing",
868
+ "watermelon",
869
+ "missing",
870
+ "cites-unknown-scenario",
871
+ "cites-no-scenario",
872
+ "broken",
873
+ "no-evidence-obligation",
874
+ "no-scn-code",
875
+ "duplicate-scn-code",
876
+ "both-missing"
877
+ ]
878
+ },
879
+ "PendingItem": {
880
+ "type": "object",
881
+ "properties": {
882
+ "qualityCheck": {
883
+ "$ref": "#/definitions/QualityCheck"
884
+ }
885
+ },
886
+ "additionalProperties": false
887
+ },
888
+ "ScenarioCodeError": {
889
+ "anyOf": [
890
+ {
891
+ "type": "object",
892
+ "properties": {
893
+ "kind": {
894
+ "type": "string",
895
+ "const": "duplicate-feature-code"
896
+ },
897
+ "featureCode": {
898
+ "type": "string"
899
+ },
900
+ "files": {
901
+ "type": "array",
902
+ "items": {
903
+ "type": "string"
904
+ }
905
+ }
906
+ },
907
+ "required": [
908
+ "kind",
909
+ "featureCode",
910
+ "files"
911
+ ],
912
+ "additionalProperties": false
913
+ },
914
+ {
915
+ "$ref": "#/definitions/ForeignScnCodeError"
916
+ },
917
+ {
918
+ "type": "object",
919
+ "properties": {
920
+ "kind": {
921
+ "type": "string",
922
+ "const": "no-feature-code"
923
+ },
924
+ "files": {
925
+ "type": "array",
926
+ "items": {
927
+ "type": "string"
928
+ }
929
+ }
930
+ },
931
+ "required": [
932
+ "kind",
933
+ "files"
934
+ ],
935
+ "additionalProperties": false
936
+ },
937
+ {
938
+ "type": "object",
939
+ "properties": {
940
+ "kind": {
941
+ "type": "string",
942
+ "const": "several-scn-codes"
943
+ },
944
+ "files": {
945
+ "type": "array",
946
+ "items": {
947
+ "type": "string"
948
+ }
949
+ },
950
+ "scenario": {
951
+ "type": "string"
952
+ },
953
+ "codes": {
954
+ "type": "array",
955
+ "items": {
956
+ "type": "string"
957
+ }
958
+ }
959
+ },
960
+ "required": [
961
+ "kind",
962
+ "files",
963
+ "scenario",
964
+ "codes"
965
+ ],
966
+ "additionalProperties": false
967
+ }
968
+ ]
969
+ },
970
+ "ForeignScnCodeError": {
971
+ "type": "object",
972
+ "properties": {
973
+ "kind": {
974
+ "type": "string",
975
+ "const": "foreign-scn-code"
976
+ },
977
+ "files": {
978
+ "type": "array",
979
+ "items": {
980
+ "type": "string"
981
+ }
982
+ },
983
+ "featureCode": {
984
+ "type": "string"
985
+ },
986
+ "scnId": {
987
+ "type": "string"
988
+ },
989
+ "namedFeatureCode": {
990
+ "type": "string"
991
+ },
992
+ "namedFeatureFiles": {
993
+ "type": "array",
994
+ "items": {
995
+ "type": "string"
996
+ }
997
+ }
998
+ },
999
+ "required": [
1000
+ "kind",
1001
+ "files",
1002
+ "featureCode",
1003
+ "scnId",
1004
+ "namedFeatureCode",
1005
+ "namedFeatureFiles"
1006
+ ],
1007
+ "additionalProperties": false
1008
+ },
1009
+ "ScenarioCodePopulation": {
1010
+ "type": "object",
1011
+ "properties": {
1012
+ "featureFiles": {
1013
+ "type": "number"
1014
+ },
1015
+ "featureCodes": {
1016
+ "type": "number"
1017
+ }
1018
+ },
1019
+ "required": [
1020
+ "featureFiles",
1021
+ "featureCodes"
1022
+ ],
1023
+ "additionalProperties": false
1024
+ },
1025
+ "EvidenceObligationsSection": {
1026
+ "type": "object",
1027
+ "properties": {
1028
+ "excludedOccurrences": {
1029
+ "type": "number"
1030
+ },
1031
+ "untaggedScenarios": {
1032
+ "type": "array",
1033
+ "items": {
1034
+ "$ref": "#/definitions/UntaggedScenario"
1035
+ }
1036
+ },
1037
+ "sharedScnCodes": {
1038
+ "type": "array",
1039
+ "items": {
1040
+ "$ref": "#/definitions/SharedScnCode"
1041
+ }
1042
+ }
1043
+ },
1044
+ "required": [
1045
+ "excludedOccurrences",
1046
+ "untaggedScenarios"
1047
+ ],
1048
+ "additionalProperties": false
1049
+ },
1050
+ "UntaggedScenario": {
1051
+ "type": "object",
1052
+ "properties": {
1053
+ "feature": {
1054
+ "type": "string"
1055
+ },
1056
+ "scenario": {
1057
+ "type": "string"
1058
+ }
1059
+ },
1060
+ "required": [
1061
+ "feature",
1062
+ "scenario"
1063
+ ],
1064
+ "additionalProperties": false
1065
+ },
1066
+ "SharedScnCode": {
1067
+ "type": "object",
1068
+ "properties": {
1069
+ "scnId": {
1070
+ "type": "string"
1071
+ },
1072
+ "scenarios": {
1073
+ "type": "array",
1074
+ "items": {
1075
+ "$ref": "#/definitions/UntaggedScenario"
1076
+ }
1077
+ }
1078
+ },
1079
+ "required": [
1080
+ "scnId",
1081
+ "scenarios"
1082
+ ],
1083
+ "additionalProperties": false
1084
+ },
1085
+ "ReportMetadata": {
1086
+ "type": "object",
1087
+ "properties": {
1088
+ "featureNames": {
1089
+ "type": "object",
1090
+ "additionalProperties": {
1091
+ "type": "string"
1092
+ }
1093
+ }
1094
+ },
1095
+ "additionalProperties": false
1096
+ }
1097
+ }
1098
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-controller",
3
- "version": "0.1.119",
3
+ "version": "0.1.120",
4
4
  "description": "Reconcile the behaviour your scenarios name against the evidence that actually ran — the deterministic `balance` CLI.",
5
5
  "keywords": [
6
6
  "reconciliation",
@@ -24,8 +24,9 @@
24
24
  "devDependencies": {
25
25
  "esbuild": "0.28.1",
26
26
  "fast-xml-parser": "^5.11.2",
27
+ "ts-json-schema-generator": "^2.9.0",
27
28
  "yaml": "^2.9.0",
28
- "@3f-consulting/spec-controller-core": "0.1.119"
29
+ "@3f-consulting/spec-controller-core": "0.1.120"
29
30
  },
30
31
  "publishConfig": {
31
32
  "access": "public"