@toolproof-npm/schema 0.1.49 → 0.1.51

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.
@@ -28,10 +28,16 @@ export type WorkStep =
28
28
  * via the `definition` "Execution".
29
29
  */
30
30
  export type Execution =
31
- {
31
+ RoleBindingsWrapper & {
32
32
  identity: ExecutionIdentity;
33
33
  jobRef: JobIdentity;
34
- } & RoleBindingsWrapper;
34
+ };
35
+ /**
36
+ * This interface was referenced by `GenesisJson`'s JSON-Schema
37
+ * via the `definition` "ResourceIdentity".
38
+ */
39
+ export type ResourceIdentity =
40
+ `RESOURCE-${string}`;
35
41
  /**
36
42
  * This interface was referenced by `GenesisJson`'s JSON-Schema
37
43
  * via the `definition` "ExecutionIdentity".
@@ -44,12 +50,6 @@ export type ExecutionIdentity =
44
50
  */
45
51
  export type JobIdentity =
46
52
  `JOB-${string}`;
47
- /**
48
- * This interface was referenced by `GenesisJson`'s JSON-Schema
49
- * via the `definition` "ResourceIdentity".
50
- */
51
- export type ResourceIdentity =
52
- `RESOURCE-${string}`;
53
53
  /**
54
54
  * This interface was referenced by `GenesisJson`'s JSON-Schema
55
55
  * via the `definition` "WorkStepIdentity".
@@ -135,11 +135,7 @@ export type IdentitySchema =
135
135
  * via the `definition` "Job".
136
136
  */
137
137
  export type Job =
138
- {
139
- identity: JobIdentity;
140
- implementationUri: string;
141
- } & Documented &
142
- RolesWrapper;
138
+ Documented & RolesWrapper;
143
139
  /**
144
140
  * This interface was referenced by `GenesisJson`'s JSON-Schema
145
141
  * via the `definition` "ResourceRoleValue".
@@ -222,23 +218,12 @@ export type ResourceMetaBase =
222
218
  kind: "materialized";
223
219
  } & Timestamp &
224
220
  Path;
225
- /**
226
- * This interface was referenced by `GenesisJson`'s JSON-Schema
227
- * via the `definition` "ResourceBase".
228
- */
229
- export type ResourceBase =
230
- {
231
- identity: ResourceIdentity;
232
- resourceTypeRef: ResourceTypeIdentity;
233
- };
234
221
  /**
235
222
  * This interface was referenced by `GenesisJson`'s JSON-Schema
236
223
  * via the `definition` "ResourceFormat".
237
224
  */
238
225
  export type ResourceFormat =
239
- {
240
- identity: ResourceFormatIdentity;
241
- } & Documented;
226
+ Documented;
242
227
  /**
243
228
  * This interface was referenced by `GenesisJson`'s JSON-Schema
244
229
  * via the `definition` "ResourceFormatIdentity".
@@ -290,10 +275,7 @@ export type ResourcePotentialOutput =
290
275
  * via the `definition` "ResourceType".
291
276
  */
292
277
  export type ResourceType =
293
- {
294
- identity: ResourceTypeIdentity;
295
- resourceFormatRef: ResourceFormatIdentity;
296
- } & Documented &
278
+ Documented &
297
279
  ExtractionSchemaWrapper & {
298
280
  };
299
281
  /**
@@ -301,25 +283,13 @@ export type ResourceType =
301
283
  * via the `definition` "StatefulStrategy".
302
284
  */
303
285
  export type StatefulStrategy =
304
- {
305
- identity: StatefulStrategyIdentity;
306
- statelessStrategy: StatelessStrategy;
307
- } & StrategyStateWrapper;
286
+ StrategyStateWrapper;
308
287
  /**
309
288
  * This interface was referenced by `GenesisJson`'s JSON-Schema
310
289
  * via the `definition` "StatefulStrategyIdentity".
311
290
  */
312
291
  export type StatefulStrategyIdentity =
313
292
  `STATEFUL_STRATEGY-${string}`;
314
- /**
315
- * This interface was referenced by `GenesisJson`'s JSON-Schema
316
- * via the `definition` "StatelessStrategy".
317
- */
318
- export type StatelessStrategy =
319
- {
320
- identity: StatelessStrategyIdentity;
321
- steps: Step[];
322
- };
323
293
  /**
324
294
  * This interface was referenced by `GenesisJson`'s JSON-Schema
325
295
  * via the `definition` "StatelessStrategyIdentity".
@@ -483,6 +453,14 @@ export interface MeritSchemaRef {
483
453
  export interface Path {
484
454
  path: string;
485
455
  }
456
+ /**
457
+ * This interface was referenced by `GenesisJson`'s JSON-Schema
458
+ * via the `definition` "ResourceBase".
459
+ */
460
+ export interface ResourceBase {
461
+ identity: ResourceIdentity;
462
+ resourceTypeRef: ResourceTypeIdentity;
463
+ }
486
464
  /**
487
465
  * This interface was referenced by `GenesisJson`'s JSON-Schema
488
466
  * via the `definition` "ResourceKind".
@@ -516,68 +494,138 @@ export interface StrategyStateWrapper {
516
494
  * via the `definition` "StrategyState".
517
495
  */
518
496
  export type StrategyState = Record<ExecutionIdentity, Record<ResourceRoleIdentity, ResourceMissing | ResourcePotentialInput | ResourcePotentialOutput | Resource>>;
497
+ /**
498
+ * This interface was referenced by `GenesisJson`'s JSON-Schema
499
+ * via the `definition` "StatelessStrategy".
500
+ */
501
+ export interface StatelessStrategy {
502
+ identity: StatelessStrategyIdentity;
503
+ steps: Step[];
504
+ }
519
505
 
520
506
  export type Normalized =
521
- {
522
- identity: JobIdentity;
523
- implementationUri: string;
524
- } & Documented &
525
- RolesWrapper;
526
- export type JobIdentity =
527
- `JOB-${string}`;
507
+ Documented &
508
+ RolesWrapper & {
509
+ identity: JobIdentity;
510
+ implementationUri: string;
511
+ };
512
+ /**
513
+ * This interface was referenced by `undefined`'s JSON-Schema
514
+ * via the `definition` "Documented".
515
+ */
528
516
  export type Documented =
529
517
  Named & Described;
518
+ /**
519
+ * This interface was referenced by `undefined`'s JSON-Schema
520
+ * via the `definition` "ResourceRoleValue".
521
+ */
530
522
  export type ResourceRoleValue =
531
523
  {
532
524
  resourceTypeRef: ResourceTypeIdentity;
533
525
  } & Documented;
526
+ /**
527
+ * This interface was referenced by `undefined`'s JSON-Schema
528
+ * via the `definition` "ResourceTypeIdentity".
529
+ */
534
530
  export type ResourceTypeIdentity =
535
531
  `TYPE-${string}`;
532
+ /**
533
+ * This interface was referenced by `undefined`'s JSON-Schema
534
+ * via the `definition` "JobIdentity".
535
+ */
536
+ export type JobIdentity =
537
+ `JOB-${string}`;
538
+ /**
539
+ * This interface was referenced by `undefined`'s JSON-Schema
540
+ * via the `definition` "ResourceRoleIdentity".
541
+ */
542
+ export type ResourceRoleIdentity =
543
+ `ROLE-${string}`;
536
544
 
545
+ /**
546
+ * This interface was referenced by `undefined`'s JSON-Schema
547
+ * via the `definition` "Named".
548
+ */
537
549
  export interface Named {
538
550
  name: string;
539
551
  }
552
+ /**
553
+ * This interface was referenced by `undefined`'s JSON-Schema
554
+ * via the `definition` "Described".
555
+ */
540
556
  export interface Described {
541
557
  description: string;
542
558
  }
559
+ /**
560
+ * This interface was referenced by `undefined`'s JSON-Schema
561
+ * via the `definition` "RolesWrapper".
562
+ */
543
563
  export interface RolesWrapper {
544
564
  roles: Roles;
545
565
  }
566
+ /**
567
+ * This interface was referenced by `undefined`'s JSON-Schema
568
+ * via the `definition` "Roles".
569
+ */
546
570
  export interface Roles {
547
571
  inputMap: RoleMap;
548
572
  outputMap: RoleMap;
549
573
  }
574
+ /**
575
+ * This interface was referenced by `undefined`'s JSON-Schema
576
+ * via the `definition` "RoleMap".
577
+ */
550
578
  export type RoleMap = Record<ResourceRoleIdentity, ResourceRoleValue>;
551
579
 
552
580
  export type Normalized =
553
- {
581
+ Documented & {
554
582
  identity: ResourceFormatIdentity;
555
- } & Documented;
556
- export type ResourceFormatIdentity =
557
- `FORMAT-${string}`;
583
+ };
584
+ /**
585
+ * This interface was referenced by `undefined`'s JSON-Schema
586
+ * via the `definition` "Documented".
587
+ */
558
588
  export type Documented =
559
589
  Named & Described;
590
+ /**
591
+ * This interface was referenced by `undefined`'s JSON-Schema
592
+ * via the `definition` "ResourceFormatIdentity".
593
+ */
594
+ export type ResourceFormatIdentity =
595
+ `FORMAT-${string}`;
560
596
 
597
+ /**
598
+ * This interface was referenced by `undefined`'s JSON-Schema
599
+ * via the `definition` "Named".
600
+ */
561
601
  export interface Named {
562
602
  name: string;
563
603
  }
604
+ /**
605
+ * This interface was referenced by `undefined`'s JSON-Schema
606
+ * via the `definition` "Described".
607
+ */
564
608
  export interface Described {
565
609
  description: string;
566
610
  }
567
611
 
568
612
  export type Normalized =
569
- {
570
- identity: ResourceTypeIdentity;
571
- resourceFormatRef: ResourceFormatIdentity;
572
- } & Documented &
613
+ Documented &
573
614
  ExtractionSchemaWrapper & {
615
+ } & {
616
+ identity: ResourceTypeIdentity;
617
+ resourceFormatRef: ResourceFormatIdentity;
574
618
  };
575
- export type ResourceTypeIdentity =
576
- `TYPE-${string}`;
577
- export type ResourceFormatIdentity =
578
- `FORMAT-${string}`;
619
+ /**
620
+ * This interface was referenced by `undefined`'s JSON-Schema
621
+ * via the `definition` "Documented".
622
+ */
579
623
  export type Documented =
580
624
  Named & Described;
625
+ /**
626
+ * This interface was referenced by `undefined`'s JSON-Schema
627
+ * via the `definition` "ExtractionSchema".
628
+ */
581
629
  export type ExtractionSchema =
582
630
  {
583
631
  } & {
@@ -591,111 +639,208 @@ export type ExtractionSchema =
591
639
  unevaluatedProperties?: false;
592
640
  $anchor: string;
593
641
  };
642
+ /**
643
+ * This interface was referenced by `undefined`'s JSON-Schema
644
+ * via the `definition` "ResourceTypeIdentity".
645
+ */
646
+ export type ResourceTypeIdentity =
647
+ `TYPE-${string}`;
648
+ /**
649
+ * This interface was referenced by `undefined`'s JSON-Schema
650
+ * via the `definition` "ResourceFormatIdentity".
651
+ */
652
+ export type ResourceFormatIdentity =
653
+ `FORMAT-${string}`;
654
+ /**
655
+ * This interface was referenced by `undefined`'s JSON-Schema definition
656
+ * via the `patternProperty` "^[A-Za-z][A-Za-z0-9._-]*Identity$".
657
+ *
658
+ * This interface was referenced by `undefined`'s JSON-Schema
659
+ * via the `definition` "IdentitySchema".
660
+ */
661
+ export type IdentitySchema =
662
+ {
663
+ } & {
664
+ $schema?: "https://json-schema.org/draft/2020-12/schema";
665
+ type: "string" | "number" | "integer" | "boolean";
666
+ $anchor?: string;
667
+ $comment?: string;
668
+ /**
669
+ * @minItems 1
670
+ */
671
+ enum?: [unknown, ...unknown[]];
672
+ format?: string;
673
+ maxLength?: number;
674
+ minLength?: number;
675
+ pattern?: string;
676
+ };
677
+ /**
678
+ * This interface was referenced by `undefined`'s JSON-Schema definition
679
+ * via the `patternProperty` "^[A-Za-z][A-Za-z0-9._-]*Merit$".
680
+ *
681
+ * This interface was referenced by `undefined`'s JSON-Schema
682
+ * via the `definition` "MeritSchema".
683
+ */
684
+ export type MeritSchema =
685
+ {
686
+ } & {
687
+ $schema?: "https://json-schema.org/draft/2020-12/schema";
688
+ type?: "number" | "integer";
689
+ $anchor?: string;
690
+ $comment?: string;
691
+ /**
692
+ * @minItems 1
693
+ */
694
+ enum?: [number, ...number[]];
695
+ exclusiveMaximum?: number;
696
+ exclusiveMinimum?: number;
697
+ maximum?: number;
698
+ minimum?: number;
699
+ multipleOf?: number;
700
+ } & MeritSchema1;
701
+ export type MeritSchema1 =
702
+ | {
703
+ type: "number" | "integer";
704
+ }
705
+ | {
706
+ /**
707
+ * @minItems 1
708
+ */
709
+ enum: [number, ...number[]];
710
+ };
594
711
 
712
+ /**
713
+ * This interface was referenced by `undefined`'s JSON-Schema
714
+ * via the `definition` "Named".
715
+ */
595
716
  export interface Named {
596
717
  name: string;
597
718
  }
719
+ /**
720
+ * This interface was referenced by `undefined`'s JSON-Schema
721
+ * via the `definition` "Described".
722
+ */
598
723
  export interface Described {
599
724
  description: string;
600
725
  }
726
+ /**
727
+ * This interface was referenced by `undefined`'s JSON-Schema
728
+ * via the `definition` "ExtractionSchemaWrapper".
729
+ */
601
730
  export interface ExtractionSchemaWrapper {
602
731
  extractionSchema: ExtractionSchema;
603
732
  }
733
+ /**
734
+ * This interface was referenced by `undefined`'s JSON-Schema
735
+ * via the `definition` "IdentityProp".
736
+ */
737
+ export interface IdentityProp {
738
+ $defs: Record<string, unknown>;
739
+ properties: {
740
+ identity: IdentitySchemaRef;
741
+ };
742
+ required: string[];
743
+ additionalProperties?: unknown;
744
+ }
745
+ /**
746
+ * This interface was referenced by `undefined`'s JSON-Schema
747
+ * via the `definition` "IdentitySchemaRef".
748
+ */
749
+ export interface IdentitySchemaRef {
750
+ $ref: string;
751
+ }
752
+ /**
753
+ * This interface was referenced by `undefined`'s JSON-Schema
754
+ * via the `definition` "MeritProp".
755
+ */
756
+ export interface MeritProp {
757
+ $defs: Record<string, unknown>;
758
+ properties: {
759
+ merit: MeritSchemaRef;
760
+ };
761
+ required: string[];
762
+ additionalProperties?: unknown;
763
+ }
764
+ /**
765
+ * This interface was referenced by `undefined`'s JSON-Schema
766
+ * via the `definition` "MeritSchemaRef".
767
+ */
768
+ export interface MeritSchemaRef {
769
+ $ref: string;
770
+ }
604
771
 
605
772
  export type Normalized =
606
- {
773
+ StrategyStateWrapper & {
607
774
  identity: StatefulStrategyIdentity;
608
775
  statelessStrategy: StatelessStrategy;
609
- } & StrategyStateWrapper;
610
- export type StatefulStrategyIdentity =
611
- `STATEFUL_STRATEGY-${string}`;
612
- export type StatelessStrategy =
613
- {
614
- identity: StatelessStrategyIdentity;
615
- steps: Step[];
616
776
  };
617
- export type StatelessStrategyIdentity =
618
- `STATELESS_STRATEGY-${string}`;
619
- export type Step =
620
- WorkStep | BranchStep | WhileStep | ForStep;
621
- export type WorkStep =
622
- StepKind & {
623
- execution: Execution;
624
- identity: WorkStepIdentity;
625
- kind: "work";
777
+ /**
778
+ * This interface was referenced by `undefined`'s JSON-Schema
779
+ * via the `definition` "ResourceMissing".
780
+ */
781
+ export type ResourceMissing =
782
+ ResourceBase &
783
+ ResourceKind & {
784
+ kind: "missing";
626
785
  };
627
- export type Execution =
628
- {
629
- identity: ExecutionIdentity;
630
- jobRef: JobIdentity;
631
- } & RoleBindingsWrapper;
632
- export type ExecutionIdentity =
633
- `EXECUTION-${string}`;
634
- export type JobIdentity =
635
- `JOB-${string}`;
786
+ /**
787
+ * This interface was referenced by `undefined`'s JSON-Schema
788
+ * via the `definition` "ResourceIdentity".
789
+ */
636
790
  export type ResourceIdentity =
637
791
  `RESOURCE-${string}`;
638
- export type WorkStepIdentity =
639
- `WORKSTEP-${string}`;
640
- export type BranchStep =
641
- StepKind & {
642
- /**
643
- * @minItems 1
644
- */
645
- cases: [Conditional, ...Conditional[]];
646
- identity: BranchStepIdentity;
647
- kind: "branch";
648
- };
649
- export type BranchStepIdentity =
650
- `BRANCHSTEP-${string}`;
651
- export type WhileStep =
652
- StepKind & {
653
- case: Conditional;
654
- identity: WhileStepIdentity;
655
- kind: "while";
656
- };
657
- export type WhileStepIdentity =
658
- `WHILESTEP-${string}`;
659
- export type ForStep =
660
- StepKind & {
661
- case: Conditional;
662
- identity: ForStepIdentity;
663
- kind: "for";
664
- };
665
- export type ForStepIdentity =
666
- `FORSTEP-${string}`;
667
- export type ResourceMissing =
668
- ResourceBase &
669
- ResourceKind & {
670
- kind: "missing";
671
- };
672
- export type ResourceBase =
673
- {
674
- identity: ResourceIdentity;
675
- resourceTypeRef: ResourceTypeIdentity;
676
- };
792
+ /**
793
+ * This interface was referenced by `undefined`'s JSON-Schema
794
+ * via the `definition` "ResourceTypeIdentity".
795
+ */
677
796
  export type ResourceTypeIdentity =
678
797
  `TYPE-${string}`;
798
+ /**
799
+ * This interface was referenced by `undefined`'s JSON-Schema
800
+ * via the `definition` "ResourcePotentialInput".
801
+ */
679
802
  export type ResourcePotentialInput =
680
803
  ResourceBase &
681
804
  CreationContextWrapper &
682
805
  ResourceKind & {
683
806
  kind: "potential-input";
684
807
  };
808
+ /**
809
+ * This interface was referenced by `undefined`'s JSON-Schema
810
+ * via the `definition` "ExecutionIdentity".
811
+ */
812
+ export type ExecutionIdentity =
813
+ `EXECUTION-${string}`;
814
+ /**
815
+ * This interface was referenced by `undefined`'s JSON-Schema
816
+ * via the `definition` "ResourceRoleIdentity".
817
+ */
685
818
  export type ResourceRoleIdentity =
686
819
  `ROLE-${string}`;
820
+ /**
821
+ * This interface was referenced by `undefined`'s JSON-Schema
822
+ * via the `definition` "ResourcePotentialOutput".
823
+ */
687
824
  export type ResourcePotentialOutput =
688
825
  ResourceBase &
689
826
  CreationContextWrapper &
690
827
  ResourceKind & {
691
828
  kind: "potential-output";
692
829
  };
830
+ /**
831
+ * This interface was referenced by `undefined`'s JSON-Schema
832
+ * via the `definition` "Resource".
833
+ */
693
834
  export type Resource =
694
835
  ResourceMetaBase & {
695
836
  extractedData: {
696
837
  [k: string]: JsonData;
697
838
  };
698
839
  };
840
+ /**
841
+ * This interface was referenced by `undefined`'s JSON-Schema
842
+ * via the `definition` "ResourceMetaBase".
843
+ */
699
844
  export type ResourceMetaBase =
700
845
  ResourceBase &
701
846
  CreationContextWrapper &
@@ -703,6 +848,10 @@ export type ResourceMetaBase =
703
848
  kind: "materialized";
704
849
  } & Timestamp &
705
850
  Path;
851
+ /**
852
+ * This interface was referenced by `undefined`'s JSON-Schema
853
+ * via the `definition` "JsonData".
854
+ */
706
855
  export type JsonData =
707
856
  | null
708
857
  | boolean
@@ -712,71 +861,269 @@ export type JsonData =
712
861
  | {
713
862
  [k: string]: JsonData;
714
863
  };
864
+ /**
865
+ * This interface was referenced by `undefined`'s JSON-Schema
866
+ * via the `definition` "StatefulStrategyIdentity".
867
+ */
868
+ export type StatefulStrategyIdentity =
869
+ `STATEFUL_STRATEGY-${string}`;
870
+ /**
871
+ * This interface was referenced by `undefined`'s JSON-Schema
872
+ * via the `definition` "StatelessStrategyIdentity".
873
+ */
874
+ export type StatelessStrategyIdentity =
875
+ `STATELESS_STRATEGY-${string}`;
876
+ /**
877
+ * This interface was referenced by `undefined`'s JSON-Schema
878
+ * via the `definition` "Step".
879
+ */
880
+ export type Step =
881
+ WorkStep | BranchStep | WhileStep | ForStep;
882
+ /**
883
+ * This interface was referenced by `undefined`'s JSON-Schema
884
+ * via the `definition` "WorkStep".
885
+ */
886
+ export type WorkStep =
887
+ StepKind & {
888
+ execution: Execution;
889
+ identity: WorkStepIdentity;
890
+ kind: "work";
891
+ };
892
+ /**
893
+ * This interface was referenced by `undefined`'s JSON-Schema
894
+ * via the `definition` "Execution".
895
+ */
896
+ export type Execution =
897
+ RoleBindingsWrapper & {
898
+ identity: ExecutionIdentity;
899
+ jobRef: JobIdentity;
900
+ };
901
+ /**
902
+ * This interface was referenced by `undefined`'s JSON-Schema
903
+ * via the `definition` "JobIdentity".
904
+ */
905
+ export type JobIdentity =
906
+ `JOB-${string}`;
907
+ /**
908
+ * This interface was referenced by `undefined`'s JSON-Schema
909
+ * via the `definition` "WorkStepIdentity".
910
+ */
911
+ export type WorkStepIdentity =
912
+ `WORKSTEP-${string}`;
913
+ /**
914
+ * This interface was referenced by `undefined`'s JSON-Schema
915
+ * via the `definition` "BranchStep".
916
+ */
917
+ export type BranchStep =
918
+ StepKind & {
919
+ /**
920
+ * @minItems 1
921
+ */
922
+ cases: [Conditional, ...Conditional[]];
923
+ identity: BranchStepIdentity;
924
+ kind: "branch";
925
+ };
926
+ /**
927
+ * This interface was referenced by `undefined`'s JSON-Schema
928
+ * via the `definition` "BranchStepIdentity".
929
+ */
930
+ export type BranchStepIdentity =
931
+ `BRANCHSTEP-${string}`;
932
+ /**
933
+ * This interface was referenced by `undefined`'s JSON-Schema
934
+ * via the `definition` "WhileStep".
935
+ */
936
+ export type WhileStep =
937
+ StepKind & {
938
+ case: Conditional;
939
+ identity: WhileStepIdentity;
940
+ kind: "while";
941
+ };
942
+ /**
943
+ * This interface was referenced by `undefined`'s JSON-Schema
944
+ * via the `definition` "WhileStepIdentity".
945
+ */
946
+ export type WhileStepIdentity =
947
+ `WHILESTEP-${string}`;
948
+ /**
949
+ * This interface was referenced by `undefined`'s JSON-Schema
950
+ * via the `definition` "ForStep".
951
+ */
952
+ export type ForStep =
953
+ StepKind & {
954
+ case: Conditional;
955
+ identity: ForStepIdentity;
956
+ kind: "for";
957
+ };
958
+ /**
959
+ * This interface was referenced by `undefined`'s JSON-Schema
960
+ * via the `definition` "ForStepIdentity".
961
+ */
962
+ export type ForStepIdentity =
963
+ `FORSTEP-${string}`;
715
964
 
716
- export interface StepKind {
717
- kind: "work" | "branch" | "while" | "for";
718
- }
719
- export interface RoleBindingsWrapper {
720
- roleBindings: RoleBindings;
721
- }
722
- export interface RoleBindings {
723
- inputBindingMap: RoleBindingMap;
724
- outputBindingMap: RoleBindingMap;
725
- }
726
- export type RoleBindingMap = Record<ResourceRoleIdentity, ResourceIdentity>;
727
- export interface Conditional {
728
- what: WorkStep;
729
- when: WorkStep;
730
- }
965
+ /**
966
+ * This interface was referenced by `undefined`'s JSON-Schema
967
+ * via the `definition` "StrategyStateWrapper".
968
+ */
731
969
  export interface StrategyStateWrapper {
732
970
  strategyState: StrategyState;
733
971
  }
972
+ /**
973
+ * This interface was referenced by `undefined`'s JSON-Schema
974
+ * via the `definition` "StrategyState".
975
+ */
734
976
  export type StrategyState = Record<ExecutionIdentity, Record<ResourceRoleIdentity, ResourceMissing | ResourcePotentialInput | ResourcePotentialOutput | Resource>>;
977
+ /**
978
+ * This interface was referenced by `undefined`'s JSON-Schema
979
+ * via the `definition` "ResourceBase".
980
+ */
981
+ export interface ResourceBase {
982
+ identity: ResourceIdentity;
983
+ resourceTypeRef: ResourceTypeIdentity;
984
+ }
985
+ /**
986
+ * This interface was referenced by `undefined`'s JSON-Schema
987
+ * via the `definition` "ResourceKind".
988
+ */
735
989
  export interface ResourceKind {
736
990
  kind: "missing" | "potential-input" | "potential-output" | "materialized";
737
991
  }
992
+ /**
993
+ * This interface was referenced by `undefined`'s JSON-Schema
994
+ * via the `definition` "CreationContextWrapper".
995
+ */
738
996
  export interface CreationContextWrapper {
739
997
  creationContext: CreationContext;
740
998
  }
999
+ /**
1000
+ * This interface was referenced by `undefined`'s JSON-Schema
1001
+ * via the `definition` "CreationContext".
1002
+ */
741
1003
  export interface CreationContext {
742
1004
  executionRef: ExecutionIdentity;
743
1005
  resourceRoleRef: ResourceRoleIdentity;
744
1006
  }
1007
+ /**
1008
+ * This interface was referenced by `undefined`'s JSON-Schema
1009
+ * via the `definition` "Timestamp".
1010
+ */
745
1011
  export interface Timestamp {
746
1012
  timestamp: string;
747
1013
  }
1014
+ /**
1015
+ * This interface was referenced by `undefined`'s JSON-Schema
1016
+ * via the `definition` "Path".
1017
+ */
748
1018
  export interface Path {
749
1019
  path: string;
750
1020
  }
751
-
752
- export type Normalized =
753
- {
1021
+ /**
1022
+ * This interface was referenced by `undefined`'s JSON-Schema
1023
+ * via the `definition` "StatelessStrategy".
1024
+ */
1025
+ export interface StatelessStrategy {
754
1026
  identity: StatelessStrategyIdentity;
755
1027
  steps: Step[];
756
- };
1028
+ }
1029
+ /**
1030
+ * This interface was referenced by `undefined`'s JSON-Schema
1031
+ * via the `definition` "StepKind".
1032
+ */
1033
+ export interface StepKind {
1034
+ kind: "work" | "branch" | "while" | "for";
1035
+ }
1036
+ export interface RoleBindingsWrapper {
1037
+ roleBindings: RoleBindings;
1038
+ }
1039
+ /**
1040
+ * This interface was referenced by `undefined`'s JSON-Schema
1041
+ * via the `definition` "RoleBindings".
1042
+ */
1043
+ export interface RoleBindings {
1044
+ inputBindingMap: RoleBindingMap;
1045
+ outputBindingMap: RoleBindingMap;
1046
+ }
1047
+ /**
1048
+ * This interface was referenced by `undefined`'s JSON-Schema
1049
+ * via the `definition` "RoleBindingMap".
1050
+ */
1051
+ export type RoleBindingMap = Record<ResourceRoleIdentity, ResourceIdentity>;
1052
+ /**
1053
+ * This interface was referenced by `undefined`'s JSON-Schema
1054
+ * via the `definition` "Conditional".
1055
+ */
1056
+ export interface Conditional {
1057
+ what: WorkStep;
1058
+ when: WorkStep;
1059
+ }
1060
+ /**
1061
+ * This interface was referenced by `undefined`'s JSON-Schema
1062
+ * via the `definition` "RoleBindingsWrapper".
1063
+ */
1064
+ export interface RoleBindingsWrapper1 {
1065
+ roleBindings: RoleBindings;
1066
+ }
1067
+
1068
+ /**
1069
+ * This interface was referenced by `Normalized`'s JSON-Schema
1070
+ * via the `definition` "StatelessStrategyIdentity".
1071
+ */
757
1072
  export type StatelessStrategyIdentity =
758
1073
  `STATELESS_STRATEGY-${string}`;
1074
+ /**
1075
+ * This interface was referenced by `Normalized`'s JSON-Schema
1076
+ * via the `definition` "Step".
1077
+ */
759
1078
  export type Step =
760
1079
  WorkStep | BranchStep | WhileStep | ForStep;
1080
+ /**
1081
+ * This interface was referenced by `Normalized`'s JSON-Schema
1082
+ * via the `definition` "WorkStep".
1083
+ */
761
1084
  export type WorkStep =
762
1085
  StepKind & {
763
1086
  execution: Execution;
764
1087
  identity: WorkStepIdentity;
765
1088
  kind: "work";
766
1089
  };
1090
+ /**
1091
+ * This interface was referenced by `Normalized`'s JSON-Schema
1092
+ * via the `definition` "Execution".
1093
+ */
767
1094
  export type Execution =
768
- {
1095
+ RoleBindingsWrapper & {
769
1096
  identity: ExecutionIdentity;
770
1097
  jobRef: JobIdentity;
771
- } & RoleBindingsWrapper;
1098
+ };
1099
+ /**
1100
+ * This interface was referenced by `Normalized`'s JSON-Schema
1101
+ * via the `definition` "ResourceIdentity".
1102
+ */
1103
+ export type ResourceIdentity =
1104
+ `RESOURCE-${string}`;
1105
+ /**
1106
+ * This interface was referenced by `Normalized`'s JSON-Schema
1107
+ * via the `definition` "ExecutionIdentity".
1108
+ */
772
1109
  export type ExecutionIdentity =
773
1110
  `EXECUTION-${string}`;
1111
+ /**
1112
+ * This interface was referenced by `Normalized`'s JSON-Schema
1113
+ * via the `definition` "JobIdentity".
1114
+ */
774
1115
  export type JobIdentity =
775
1116
  `JOB-${string}`;
776
- export type ResourceIdentity =
777
- `RESOURCE-${string}`;
1117
+ /**
1118
+ * This interface was referenced by `Normalized`'s JSON-Schema
1119
+ * via the `definition` "WorkStepIdentity".
1120
+ */
778
1121
  export type WorkStepIdentity =
779
1122
  `WORKSTEP-${string}`;
1123
+ /**
1124
+ * This interface was referenced by `Normalized`'s JSON-Schema
1125
+ * via the `definition` "BranchStep".
1126
+ */
780
1127
  export type BranchStep =
781
1128
  StepKind & {
782
1129
  /**
@@ -786,38 +1133,91 @@ export type BranchStep =
786
1133
  identity: BranchStepIdentity;
787
1134
  kind: "branch";
788
1135
  };
1136
+ /**
1137
+ * This interface was referenced by `Normalized`'s JSON-Schema
1138
+ * via the `definition` "BranchStepIdentity".
1139
+ */
789
1140
  export type BranchStepIdentity =
790
1141
  `BRANCHSTEP-${string}`;
1142
+ /**
1143
+ * This interface was referenced by `Normalized`'s JSON-Schema
1144
+ * via the `definition` "WhileStep".
1145
+ */
791
1146
  export type WhileStep =
792
1147
  StepKind & {
793
1148
  case: Conditional;
794
1149
  identity: WhileStepIdentity;
795
1150
  kind: "while";
796
1151
  };
1152
+ /**
1153
+ * This interface was referenced by `Normalized`'s JSON-Schema
1154
+ * via the `definition` "WhileStepIdentity".
1155
+ */
797
1156
  export type WhileStepIdentity =
798
1157
  `WHILESTEP-${string}`;
1158
+ /**
1159
+ * This interface was referenced by `Normalized`'s JSON-Schema
1160
+ * via the `definition` "ForStep".
1161
+ */
799
1162
  export type ForStep =
800
1163
  StepKind & {
801
1164
  case: Conditional;
802
1165
  identity: ForStepIdentity;
803
1166
  kind: "for";
804
1167
  };
1168
+ /**
1169
+ * This interface was referenced by `Normalized`'s JSON-Schema
1170
+ * via the `definition` "ForStepIdentity".
1171
+ */
805
1172
  export type ForStepIdentity =
806
1173
  `FORSTEP-${string}`;
1174
+ /**
1175
+ * This interface was referenced by `Normalized`'s JSON-Schema
1176
+ * via the `definition` "ResourceRoleIdentity".
1177
+ */
1178
+ export type ResourceRoleIdentity =
1179
+ `ROLE-${string}`;
807
1180
 
1181
+ export interface Normalized {
1182
+ identity: StatelessStrategyIdentity;
1183
+ steps: Step[];
1184
+ }
1185
+ /**
1186
+ * This interface was referenced by `Normalized`'s JSON-Schema
1187
+ * via the `definition` "StepKind".
1188
+ */
808
1189
  export interface StepKind {
809
1190
  kind: "work" | "branch" | "while" | "for";
810
1191
  }
811
1192
  export interface RoleBindingsWrapper {
812
1193
  roleBindings: RoleBindings;
813
1194
  }
1195
+ /**
1196
+ * This interface was referenced by `Normalized`'s JSON-Schema
1197
+ * via the `definition` "RoleBindings".
1198
+ */
814
1199
  export interface RoleBindings {
815
1200
  inputBindingMap: RoleBindingMap;
816
1201
  outputBindingMap: RoleBindingMap;
817
1202
  }
1203
+ /**
1204
+ * This interface was referenced by `Normalized`'s JSON-Schema
1205
+ * via the `definition` "RoleBindingMap".
1206
+ */
818
1207
  export type RoleBindingMap = Record<ResourceRoleIdentity, ResourceIdentity>;
1208
+ /**
1209
+ * This interface was referenced by `Normalized`'s JSON-Schema
1210
+ * via the `definition` "Conditional".
1211
+ */
819
1212
  export interface Conditional {
820
1213
  what: WorkStep;
821
1214
  when: WorkStep;
822
1215
  }
1216
+ /**
1217
+ * This interface was referenced by `Normalized`'s JSON-Schema
1218
+ * via the `definition` "RoleBindingsWrapper".
1219
+ */
1220
+ export interface RoleBindingsWrapper1 {
1221
+ roleBindings: RoleBindings;
1222
+ }
823
1223