spec-controller 0.1.121 → 0.1.123

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.
@@ -8,6 +8,12 @@
8
8
  "runProvenance": {
9
9
  "$ref": "#/definitions/ProvenanceObject"
10
10
  },
11
+ "errors": {
12
+ "$ref": "#/definitions/ErrorsSection"
13
+ },
14
+ "scenarioCodes": {
15
+ "$ref": "#/definitions/ScenarioCodesSection"
16
+ },
11
17
  "summary": {
12
18
  "type": "object",
13
19
  "additionalProperties": false,
@@ -108,24 +114,6 @@
108
114
  "$ref": "#/definitions/TierWithoutRunner"
109
115
  }
110
116
  },
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
117
  "excludedSteps": {
130
118
  "type": "array",
131
119
  "items": {
@@ -138,12 +126,6 @@
138
126
  "$ref": "#/definitions/ReconcilerStep"
139
127
  }
140
128
  },
141
- "nonChecksMatchingNoStep": {
142
- "type": "array",
143
- "items": {
144
- "type": "string"
145
- }
146
- },
147
129
  "discoveryScope": {
148
130
  "type": "array",
149
131
  "items": {
@@ -162,18 +144,6 @@
162
144
  "ledger": {
163
145
  "$ref": "#/definitions/Ledger"
164
146
  },
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
147
  "metadata": {
178
148
  "$ref": "#/definitions/ReportMetadata"
179
149
  }
@@ -239,135 +209,396 @@
239
209
  "type": "string"
240
210
  }
241
211
  },
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": {
212
+ "ErrorsSection": {
254
213
  "type": "object",
255
214
  "properties": {
256
- "total": {
257
- "type": "number"
258
- },
259
- "balanced": {
260
- "type": "number"
261
- },
262
- "outOfBalance": {
263
- "type": "number"
264
- },
265
- "phantomClaim": {
266
- "type": "number"
215
+ "scenarioCodes": {
216
+ "type": "array",
217
+ "items": {
218
+ "$ref": "#/definitions/ScenarioCodeError"
219
+ }
267
220
  },
268
- "unnamedClaim": {
269
- "type": "number"
221
+ "configuration": {
222
+ "type": "object",
223
+ "properties": {
224
+ "keysNotRead": {
225
+ "type": "array",
226
+ "items": {
227
+ "type": "string"
228
+ }
229
+ },
230
+ "ofWrongKind": {
231
+ "type": "array",
232
+ "items": {
233
+ "$ref": "#/definitions/WrongKindEntry"
234
+ }
235
+ },
236
+ "runnerKeysNotATier": {
237
+ "type": "array",
238
+ "items": {
239
+ "type": "string"
240
+ }
241
+ },
242
+ "nonChecksMatchingNoStep": {
243
+ "type": "array",
244
+ "items": {
245
+ "type": "string"
246
+ }
247
+ }
248
+ },
249
+ "additionalProperties": false
270
250
  }
271
251
  },
272
- "required": [
273
- "total",
274
- "balanced",
275
- "outOfBalance",
276
- "phantomClaim",
277
- "unnamedClaim"
278
- ],
279
252
  "additionalProperties": false
280
253
  },
281
- "QualityCheckReconciliationTotals": {
282
- "type": "object",
283
- "properties": {
284
- "total": {
285
- "type": "number"
286
- },
287
- "byOutcome": {
254
+ "ScenarioCodeError": {
255
+ "anyOf": [
256
+ {
288
257
  "type": "object",
289
258
  "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"
259
+ "kind": {
260
+ "type": "string",
261
+ "const": "duplicate-feature-code"
304
262
  },
305
- "cites-no-scenario": {
306
- "type": "number"
263
+ "featureCode": {
264
+ "type": "string"
307
265
  },
308
- "broken": {
309
- "type": "number"
266
+ "files": {
267
+ "type": "array",
268
+ "items": {
269
+ "type": "string"
270
+ }
271
+ }
272
+ },
273
+ "required": [
274
+ "kind",
275
+ "featureCode",
276
+ "files"
277
+ ],
278
+ "additionalProperties": false
279
+ },
280
+ {
281
+ "$ref": "#/definitions/ForeignScnCodeError"
282
+ },
283
+ {
284
+ "type": "object",
285
+ "properties": {
286
+ "kind": {
287
+ "type": "string",
288
+ "const": "no-feature-code"
310
289
  },
311
- "no-evidence-obligation": {
312
- "type": "number"
290
+ "files": {
291
+ "type": "array",
292
+ "items": {
293
+ "type": "string"
294
+ }
295
+ }
296
+ },
297
+ "required": [
298
+ "kind",
299
+ "files"
300
+ ],
301
+ "additionalProperties": false
302
+ },
303
+ {
304
+ "type": "object",
305
+ "properties": {
306
+ "kind": {
307
+ "type": "string",
308
+ "const": "several-scn-codes"
313
309
  },
314
- "no-scn-code": {
315
- "type": "number"
310
+ "files": {
311
+ "type": "array",
312
+ "items": {
313
+ "type": "string"
314
+ }
316
315
  },
317
- "duplicate-scn-code": {
318
- "type": "number"
316
+ "scenario": {
317
+ "type": "string"
319
318
  },
320
- "both-missing": {
321
- "type": "number"
319
+ "codes": {
320
+ "type": "array",
321
+ "items": {
322
+ "type": "string"
323
+ }
322
324
  }
323
325
  },
324
326
  "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"
327
+ "kind",
328
+ "files",
329
+ "scenario",
330
+ "codes"
336
331
  ],
337
332
  "additionalProperties": false
333
+ }
334
+ ]
335
+ },
336
+ "ForeignScnCodeError": {
337
+ "type": "object",
338
+ "properties": {
339
+ "kind": {
340
+ "type": "string",
341
+ "const": "foreign-scn-code"
338
342
  },
339
- "outOfBalance": {
340
- "type": "number"
343
+ "files": {
344
+ "type": "array",
345
+ "items": {
346
+ "type": "string"
347
+ }
341
348
  },
342
- "missingByQualityCheck": {
349
+ "featureCode": {
350
+ "type": "string"
351
+ },
352
+ "scnId": {
353
+ "type": "string"
354
+ },
355
+ "namedFeatureCode": {
356
+ "type": "string"
357
+ },
358
+ "namedFeatureFiles": {
343
359
  "type": "array",
344
360
  "items": {
345
- "$ref": "#/definitions/MissingByQualityCheck"
361
+ "type": "string"
346
362
  }
347
363
  }
348
364
  },
349
365
  "required": [
350
- "total",
351
- "byOutcome",
352
- "outOfBalance",
353
- "missingByQualityCheck"
366
+ "kind",
367
+ "files",
368
+ "featureCode",
369
+ "scnId",
370
+ "namedFeatureCode",
371
+ "namedFeatureFiles"
354
372
  ],
355
373
  "additionalProperties": false
356
374
  },
357
- "MissingByQualityCheck": {
375
+ "WrongKindEntry": {
358
376
  "type": "object",
359
377
  "properties": {
360
- "subject": {
378
+ "entry": {
361
379
  "type": "string"
362
380
  },
363
- "count": {
364
- "type": "number"
381
+ "is": {
382
+ "$ref": "#/definitions/ConfigurationKind"
383
+ },
384
+ "reads": {
385
+ "$ref": "#/definitions/ConfigurationKind"
365
386
  }
366
387
  },
367
388
  "required": [
368
- "subject",
369
- "count"
370
- ],
389
+ "entry",
390
+ "is",
391
+ "reads"
392
+ ],
393
+ "additionalProperties": false
394
+ },
395
+ "ConfigurationKind": {
396
+ "type": "string",
397
+ "enum": [
398
+ "list",
399
+ "object",
400
+ "string-or-null",
401
+ "null",
402
+ "string",
403
+ "number",
404
+ "bigint",
405
+ "boolean",
406
+ "symbol",
407
+ "undefined",
408
+ "function"
409
+ ]
410
+ },
411
+ "ScenarioCodesSection": {
412
+ "type": "object",
413
+ "properties": {
414
+ "featureFiles": {
415
+ "type": "number"
416
+ },
417
+ "featureCodes": {
418
+ "type": "number"
419
+ },
420
+ "excludedOccurrences": {
421
+ "type": "number"
422
+ },
423
+ "untaggedScenarios": {
424
+ "type": "array",
425
+ "items": {
426
+ "$ref": "#/definitions/UntaggedScenario"
427
+ }
428
+ },
429
+ "sharedScnCodes": {
430
+ "type": "array",
431
+ "items": {
432
+ "$ref": "#/definitions/SharedScnCode"
433
+ }
434
+ }
435
+ },
436
+ "additionalProperties": false
437
+ },
438
+ "UntaggedScenario": {
439
+ "type": "object",
440
+ "properties": {
441
+ "feature": {
442
+ "type": "string"
443
+ },
444
+ "scenario": {
445
+ "type": "string"
446
+ }
447
+ },
448
+ "required": [
449
+ "feature",
450
+ "scenario"
451
+ ],
452
+ "additionalProperties": false
453
+ },
454
+ "SharedScnCode": {
455
+ "type": "object",
456
+ "properties": {
457
+ "scnId": {
458
+ "type": "string"
459
+ },
460
+ "scenarios": {
461
+ "type": "array",
462
+ "items": {
463
+ "$ref": "#/definitions/UntaggedScenario"
464
+ }
465
+ }
466
+ },
467
+ "required": [
468
+ "scnId",
469
+ "scenarios"
470
+ ],
471
+ "additionalProperties": false
472
+ },
473
+ "RunVerdict": {
474
+ "type": "string",
475
+ "enum": [
476
+ "nothing-to-reconcile",
477
+ "unsound",
478
+ "scenario-code-errors",
479
+ "out-of-balance",
480
+ "pending",
481
+ "balanced"
482
+ ]
483
+ },
484
+ "ClaimReconciliationTotals": {
485
+ "type": "object",
486
+ "properties": {
487
+ "total": {
488
+ "type": "number"
489
+ },
490
+ "balanced": {
491
+ "type": "number"
492
+ },
493
+ "outOfBalance": {
494
+ "type": "number"
495
+ },
496
+ "phantomClaim": {
497
+ "type": "number"
498
+ },
499
+ "unnamedClaim": {
500
+ "type": "number"
501
+ }
502
+ },
503
+ "required": [
504
+ "total",
505
+ "balanced",
506
+ "outOfBalance",
507
+ "phantomClaim",
508
+ "unnamedClaim"
509
+ ],
510
+ "additionalProperties": false
511
+ },
512
+ "QualityCheckReconciliationTotals": {
513
+ "type": "object",
514
+ "properties": {
515
+ "total": {
516
+ "type": "number"
517
+ },
518
+ "byOutcome": {
519
+ "type": "object",
520
+ "properties": {
521
+ "satisfied": {
522
+ "type": "number"
523
+ },
524
+ "failing": {
525
+ "type": "number"
526
+ },
527
+ "watermelon": {
528
+ "type": "number"
529
+ },
530
+ "missing": {
531
+ "type": "number"
532
+ },
533
+ "cites-unknown-scenario": {
534
+ "type": "number"
535
+ },
536
+ "cites-no-scenario": {
537
+ "type": "number"
538
+ },
539
+ "broken": {
540
+ "type": "number"
541
+ },
542
+ "no-evidence-obligation": {
543
+ "type": "number"
544
+ },
545
+ "no-scn-code": {
546
+ "type": "number"
547
+ },
548
+ "duplicate-scn-code": {
549
+ "type": "number"
550
+ },
551
+ "both-missing": {
552
+ "type": "number"
553
+ }
554
+ },
555
+ "required": [
556
+ "satisfied",
557
+ "failing",
558
+ "watermelon",
559
+ "missing",
560
+ "cites-unknown-scenario",
561
+ "cites-no-scenario",
562
+ "broken",
563
+ "no-evidence-obligation",
564
+ "no-scn-code",
565
+ "duplicate-scn-code",
566
+ "both-missing"
567
+ ],
568
+ "additionalProperties": false
569
+ },
570
+ "outOfBalance": {
571
+ "type": "number"
572
+ },
573
+ "missingByQualityCheck": {
574
+ "type": "array",
575
+ "items": {
576
+ "$ref": "#/definitions/MissingByQualityCheck"
577
+ }
578
+ }
579
+ },
580
+ "required": [
581
+ "total",
582
+ "byOutcome",
583
+ "outOfBalance",
584
+ "missingByQualityCheck"
585
+ ],
586
+ "additionalProperties": false
587
+ },
588
+ "MissingByQualityCheck": {
589
+ "type": "object",
590
+ "properties": {
591
+ "subject": {
592
+ "type": "string"
593
+ },
594
+ "count": {
595
+ "type": "number"
596
+ }
597
+ },
598
+ "required": [
599
+ "subject",
600
+ "count"
601
+ ],
371
602
  "additionalProperties": false
372
603
  },
373
604
  "TestVolumeTotals": {
@@ -471,42 +702,6 @@
471
702
  "performance"
472
703
  ]
473
704
  },
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
705
  "ReconcilerStep": {
511
706
  "type": "object",
512
707
  "properties": {
@@ -569,7 +764,7 @@
569
764
  "ClaimReconciliation": {
570
765
  "type": "object",
571
766
  "properties": {
572
- "scnId": {
767
+ "claim": {
573
768
  "type": "string"
574
769
  },
575
770
  "kind": {
@@ -578,45 +773,24 @@
578
773
  "verdict": {
579
774
  "$ref": "#/definitions/Verdict"
580
775
  },
581
- "evidenceObservations": {
776
+ "qualityCheckReconciliations": {
582
777
  "type": "array",
583
778
  "items": {
584
- "$ref": "#/definitions/EvidenceObservation"
779
+ "$ref": "#/definitions/QualityCheckReconciliation"
585
780
  }
586
781
  },
587
- "evidenceObligations": {
782
+ "pendingItems": {
588
783
  "type": "array",
589
784
  "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"
785
+ "$ref": "#/definitions/PendingItem"
609
786
  }
610
787
  }
611
788
  },
612
789
  "required": [
613
- "scnId",
790
+ "claim",
614
791
  "kind",
615
792
  "verdict",
616
- "evidenceObservations",
617
- "evidenceObligations",
618
793
  "qualityCheckReconciliations",
619
- "reconcilingItems",
620
794
  "pendingItems"
621
795
  ],
622
796
  "additionalProperties": false
@@ -636,268 +810,186 @@
636
810
  "out-of-balance"
637
811
  ]
638
812
  },
639
- "EvidenceObservation": {
640
- "anyOf": [
641
- {
642
- "$ref": "#/definitions/BehaviouralEvidenceObservation"
643
- },
644
- {
645
- "$ref": "#/definitions/FitnessEvidenceObservation"
646
- }
647
- ]
648
- },
649
- "BehaviouralEvidenceObservation": {
813
+ "QualityCheckReconciliation": {
650
814
  "type": "object",
815
+ "additionalProperties": false,
651
816
  "properties": {
652
817
  "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"
818
+ "$ref": "#/definitions/QualityCheck"
666
819
  },
667
- "broken": {
668
- "type": "boolean",
669
- "const": true
820
+ "outcome": {
821
+ "$ref": "#/definitions/Outcome"
670
822
  },
671
- "message": {
672
- "type": "string"
823
+ "evidenceObligation": {
824
+ "$ref": "#/definitions/EvidenceObligation"
673
825
  },
674
- "notes": {
826
+ "evidenceObservations": {
675
827
  "type": "array",
676
828
  "items": {
677
- "$ref": "#/definitions/ObservationNote"
829
+ "$ref": "#/definitions/ReconciledEvidenceObservation"
678
830
  }
679
831
  },
680
- "testName": {
681
- "type": "string"
832
+ "scenario": {
833
+ "$ref": "#/definitions/ScenarioName"
682
834
  }
683
- },
684
- "required": [
685
- "qualityCheck",
686
- "scnId",
687
- "status"
688
- ],
689
- "additionalProperties": false
835
+ }
690
836
  },
691
- "EvidenceStatus": {
837
+ "QualityCheck": {
692
838
  "type": "string",
693
839
  "enum": [
694
- "passed",
695
- "failed"
840
+ "fitness",
841
+ "unit",
842
+ "integration",
843
+ "e2e",
844
+ "performance"
696
845
  ]
697
846
  },
698
- "ObservationNote": {
847
+ "Outcome": {
848
+ "type": "string",
849
+ "enum": [
850
+ "satisfied",
851
+ "failing",
852
+ "watermelon",
853
+ "missing",
854
+ "cites-unknown-scenario",
855
+ "cites-no-scenario",
856
+ "broken",
857
+ "no-evidence-obligation",
858
+ "no-scn-code",
859
+ "duplicate-scn-code",
860
+ "both-missing"
861
+ ]
862
+ },
863
+ "EvidenceObligation": {
864
+ "type": "object",
865
+ "properties": {
866
+ "qualityCheck": {
867
+ "$ref": "#/definitions/QualityCheck"
868
+ },
869
+ "pending": {
870
+ "type": "boolean"
871
+ }
872
+ },
873
+ "additionalProperties": false
874
+ },
875
+ "ReconciledEvidenceObservation": {
699
876
  "anyOf": [
700
877
  {
701
878
  "type": "object",
879
+ "additionalProperties": false,
702
880
  "properties": {
703
- "kind": {
704
- "type": "string",
705
- "const": "several-scn-codes"
881
+ "outcome": {
882
+ "$ref": "#/definitions/Outcome"
706
883
  },
707
- "codes": {
884
+ "qualityCheck": {
885
+ "$ref": "#/definitions/BehaviouralQualityCheck"
886
+ },
887
+ "scnId": {
888
+ "type": [
889
+ "string",
890
+ "null"
891
+ ]
892
+ },
893
+ "status": {
894
+ "$ref": "#/definitions/EvidenceStatus"
895
+ },
896
+ "locator": {
897
+ "type": "string"
898
+ },
899
+ "broken": {
900
+ "type": "boolean",
901
+ "const": true
902
+ },
903
+ "message": {
904
+ "type": "string"
905
+ },
906
+ "notes": {
708
907
  "type": "array",
709
908
  "items": {
710
- "type": "string"
909
+ "$ref": "#/definitions/ObservationNote"
711
910
  }
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
911
  },
727
- "step": {
912
+ "testName": {
728
913
  "type": "string"
729
914
  }
730
915
  },
731
916
  "required": [
732
- "kind"
733
- ],
734
- "additionalProperties": false
917
+ "outcome",
918
+ "qualityCheck",
919
+ "scnId",
920
+ "status"
921
+ ]
735
922
  },
736
923
  {
737
924
  "type": "object",
925
+ "additionalProperties": false,
738
926
  "properties": {
739
- "kind": {
927
+ "outcome": {
928
+ "$ref": "#/definitions/Outcome"
929
+ },
930
+ "qualityCheck": {
740
931
  "type": "string",
741
- "const": "check-step-did-not-run"
932
+ "const": "fitness"
742
933
  },
743
- "code": {
934
+ "fitnessFunction": {
744
935
  "type": "string"
745
936
  },
746
- "outcome": {
937
+ "scnId": {
938
+ "type": "string"
939
+ },
940
+ "exists": {
941
+ "type": "boolean"
942
+ },
943
+ "enforcedOverRealSource": {
944
+ "type": "boolean"
945
+ },
946
+ "status": {
947
+ "$ref": "#/definitions/EvidenceStatus"
948
+ },
949
+ "broken": {
950
+ "type": "boolean",
951
+ "const": true
952
+ },
953
+ "message": {
954
+ "type": "string"
955
+ },
956
+ "notes": {
957
+ "type": "array",
958
+ "items": {
959
+ "$ref": "#/definitions/ObservationNote"
960
+ }
961
+ },
962
+ "locator": {
747
963
  "type": "string"
748
964
  }
749
965
  },
750
966
  "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
- }
967
+ "enforcedOverRealSource",
968
+ "exists",
969
+ "fitnessFunction",
970
+ "outcome",
971
+ "qualityCheck"
972
+ ]
857
973
  }
858
- },
859
- "required": [
860
- "outcome"
861
974
  ]
862
975
  },
863
- "Outcome": {
976
+ "EvidenceStatus": {
864
977
  "type": "string",
865
978
  "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"
979
+ "passed",
980
+ "failed"
877
981
  ]
878
982
  },
879
- "PendingItem": {
880
- "type": "object",
881
- "properties": {
882
- "qualityCheck": {
883
- "$ref": "#/definitions/QualityCheck"
884
- }
885
- },
886
- "additionalProperties": false
887
- },
888
- "ScenarioCodeError": {
983
+ "ObservationNote": {
889
984
  "anyOf": [
890
985
  {
891
986
  "type": "object",
892
987
  "properties": {
893
988
  "kind": {
894
989
  "type": "string",
895
- "const": "duplicate-feature-code"
896
- },
897
- "featureCode": {
898
- "type": "string"
990
+ "const": "several-scn-codes"
899
991
  },
900
- "files": {
992
+ "codes": {
901
993
  "type": "array",
902
994
  "items": {
903
995
  "type": "string"
@@ -906,31 +998,24 @@
906
998
  },
907
999
  "required": [
908
1000
  "kind",
909
- "featureCode",
910
- "files"
1001
+ "codes"
911
1002
  ],
912
1003
  "additionalProperties": false
913
1004
  },
914
- {
915
- "$ref": "#/definitions/ForeignScnCodeError"
916
- },
917
1005
  {
918
1006
  "type": "object",
919
1007
  "properties": {
920
1008
  "kind": {
921
1009
  "type": "string",
922
- "const": "no-feature-code"
1010
+ "const": "shared-scn-code"
923
1011
  },
924
- "files": {
925
- "type": "array",
926
- "items": {
927
- "type": "string"
928
- }
1012
+ "code": {
1013
+ "type": "string"
929
1014
  }
930
1015
  },
931
1016
  "required": [
932
1017
  "kind",
933
- "files"
1018
+ "code"
934
1019
  ],
935
1020
  "additionalProperties": false
936
1021
  },
@@ -939,147 +1024,63 @@
939
1024
  "properties": {
940
1025
  "kind": {
941
1026
  "type": "string",
942
- "const": "several-scn-codes"
1027
+ "const": "ambiguous-step"
943
1028
  },
944
- "files": {
945
- "type": "array",
946
- "items": {
947
- "type": "string"
948
- }
1029
+ "step": {
1030
+ "type": "string"
1031
+ }
1032
+ },
1033
+ "required": [
1034
+ "kind"
1035
+ ],
1036
+ "additionalProperties": false
1037
+ },
1038
+ {
1039
+ "type": "object",
1040
+ "properties": {
1041
+ "kind": {
1042
+ "type": "string",
1043
+ "const": "check-step-did-not-run"
949
1044
  },
950
- "scenario": {
1045
+ "code": {
951
1046
  "type": "string"
952
1047
  },
953
- "codes": {
954
- "type": "array",
955
- "items": {
956
- "type": "string"
957
- }
1048
+ "outcome": {
1049
+ "type": "string"
958
1050
  }
959
1051
  },
960
1052
  "required": [
961
1053
  "kind",
962
- "files",
963
- "scenario",
964
- "codes"
1054
+ "code"
965
1055
  ],
966
1056
  "additionalProperties": false
967
1057
  }
968
1058
  ]
969
1059
  },
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": {
1060
+ "ScenarioName": {
1051
1061
  "type": "object",
1052
1062
  "properties": {
1053
1063
  "feature": {
1054
1064
  "type": "string"
1055
1065
  },
1056
- "scenario": {
1066
+ "title": {
1057
1067
  "type": "string"
1058
1068
  }
1059
1069
  },
1060
1070
  "required": [
1061
1071
  "feature",
1062
- "scenario"
1072
+ "title"
1063
1073
  ],
1064
- "additionalProperties": false
1074
+ "additionalProperties": false,
1075
+ "description": "The scenario a duplicate-scn-code reconciliation reconciles, by its feature file and title."
1065
1076
  },
1066
- "SharedScnCode": {
1077
+ "PendingItem": {
1067
1078
  "type": "object",
1068
1079
  "properties": {
1069
- "scnId": {
1070
- "type": "string"
1071
- },
1072
- "scenarios": {
1073
- "type": "array",
1074
- "items": {
1075
- "$ref": "#/definitions/UntaggedScenario"
1076
- }
1080
+ "qualityCheck": {
1081
+ "$ref": "#/definitions/QualityCheck"
1077
1082
  }
1078
1083
  },
1079
- "required": [
1080
- "scnId",
1081
- "scenarios"
1082
- ],
1083
1084
  "additionalProperties": false
1084
1085
  },
1085
1086
  "ReportMetadata": {