@ixo/topic-protocol 0.6.0 → 0.8.0

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 (58) hide show
  1. package/README.md +6 -2
  2. package/dist/schemas/action-receipt.schema.json +105 -11
  3. package/dist/schemas/approval-decision.schema.json +30 -0
  4. package/dist/schemas/claim-record.schema.json +30 -0
  5. package/dist/schemas/decision-to-pay-template.schema.json +346 -0
  6. package/dist/schemas/delivery-decision.schema.json +28 -0
  7. package/dist/schemas/delivery-packet.schema.json +58 -0
  8. package/dist/schemas/evaluation-assertion.schema.json +37 -0
  9. package/dist/schemas/external-work-binding.schema.json +83 -0
  10. package/dist/schemas/external-work-state-map.schema.json +29 -0
  11. package/dist/schemas/payable-obligation.schema.json +312 -0
  12. package/dist/schemas/payment-terms.schema.json +287 -0
  13. package/dist/schemas/settlement-receipt.schema.json +53 -0
  14. package/dist/schemas/topic-action-request.schema.json +30 -0
  15. package/dist/schemas/topic-contract-state.schema.json +29 -3
  16. package/dist/schemas/topic-flow-binding.schema.json +28 -0
  17. package/dist/schemas/topic-kind-profile.schema.json +32 -2
  18. package/dist/schemas/topic-operation.schema.json +2 -2
  19. package/dist/schemas/topic-state.schema.json +14 -0
  20. package/dist/schemas/work-item-snapshot.schema.json +73 -0
  21. package/dist/src/action-runtime/types.d.ts +101 -0
  22. package/dist/src/action-runtime/types.js +12 -0
  23. package/dist/src/action-runtime/types.js.map +1 -0
  24. package/dist/src/contracts/schemas.d.ts +3611 -130
  25. package/dist/src/contracts/schemas.js +28 -0
  26. package/dist/src/contracts/schemas.js.map +1 -1
  27. package/dist/src/contracts/topic-contract.d.ts +8 -1
  28. package/dist/src/contracts/topic-contract.js.map +1 -1
  29. package/dist/src/contracts/topic-kind-profile.d.ts +29 -0
  30. package/dist/src/contracts/topic-kind-profile.js +31 -0
  31. package/dist/src/contracts/topic-kind-profile.js.map +1 -1
  32. package/dist/src/errors.d.ts +1 -1
  33. package/dist/src/errors.js.map +1 -1
  34. package/dist/src/index.d.ts +4 -1
  35. package/dist/src/index.js +4 -1
  36. package/dist/src/index.js.map +1 -1
  37. package/dist/src/projector/payload.d.ts +47 -0
  38. package/dist/src/projector/payload.js +140 -2
  39. package/dist/src/projector/payload.js.map +1 -1
  40. package/dist/src/projector/state.js +150 -0
  41. package/dist/src/projector/state.js.map +1 -1
  42. package/dist/src/projector/types.d.ts +15 -3
  43. package/dist/src/projector/types.js.map +1 -1
  44. package/dist/src/work-bridge/mapping.d.ts +2 -0
  45. package/dist/src/work-bridge/mapping.js +17 -0
  46. package/dist/src/work-bridge/mapping.js.map +1 -0
  47. package/dist/src/work-bridge/project.d.ts +7 -0
  48. package/dist/src/work-bridge/project.js +262 -0
  49. package/dist/src/work-bridge/project.js.map +1 -0
  50. package/dist/src/work-bridge/types.d.ts +232 -0
  51. package/dist/src/work-bridge/types.js +26 -0
  52. package/dist/src/work-bridge/types.js.map +1 -0
  53. package/package.json +4 -2
  54. package/templates/decision-to-pay/README.md +59 -0
  55. package/templates/decision-to-pay/milestone-payment-release.template.json +195 -0
  56. package/templates/decision-to-pay/outcome-payment-claim.template.json +198 -0
  57. package/templates/decision-to-pay/payment-on-delivery.template.json +198 -0
  58. package/templates/decision-to-pay/verified-work-payment.template.json +283 -0
@@ -1,12 +1,270 @@
1
1
  export declare const SCHEMA_REGISTRY: Readonly<{
2
2
  "action-receipt": {
3
+ $schema: string;
4
+ $id: string;
5
+ title: string;
6
+ type: string;
7
+ required: never[];
8
+ properties: {};
9
+ oneOf: {
10
+ $ref: string;
11
+ }[];
12
+ $defs: {
13
+ topicId: {
14
+ type: string;
15
+ pattern: string;
16
+ };
17
+ digest: {
18
+ type: string;
19
+ pattern: string;
20
+ };
21
+ reference: {
22
+ type: string;
23
+ required: string[];
24
+ properties: {
25
+ digest: {
26
+ $ref: string;
27
+ };
28
+ ref: {
29
+ type: string;
30
+ minLength: number;
31
+ };
32
+ summary: {
33
+ type: string;
34
+ maxProperties: number;
35
+ };
36
+ };
37
+ additionalProperties: boolean;
38
+ };
39
+ v1: {
40
+ type: string;
41
+ required: string[];
42
+ properties: {
43
+ receiptId: {
44
+ type: string;
45
+ minLength: number;
46
+ };
47
+ topicId: {
48
+ $ref: string;
49
+ };
50
+ action: {
51
+ type: string;
52
+ minLength: number;
53
+ };
54
+ actor: {
55
+ type: string;
56
+ minLength: number;
57
+ };
58
+ status: {
59
+ enum: string[];
60
+ };
61
+ idempotencyKey: {
62
+ type: string;
63
+ minLength: number;
64
+ };
65
+ createdAt: {
66
+ type: string;
67
+ format: string;
68
+ };
69
+ capability: {
70
+ type: string;
71
+ };
72
+ };
73
+ additionalProperties: boolean;
74
+ };
75
+ v2: {
76
+ type: string;
77
+ required: string[];
78
+ properties: {
79
+ version: {
80
+ const: number;
81
+ };
82
+ receiptId: {
83
+ type: string;
84
+ minLength: number;
85
+ };
86
+ sequence: {
87
+ type: string;
88
+ minimum: number;
89
+ };
90
+ requestId: {
91
+ type: string;
92
+ minLength: number;
93
+ };
94
+ topicId: {
95
+ $ref: string;
96
+ };
97
+ topicRevision: {
98
+ type: string;
99
+ minLength: number;
100
+ };
101
+ action: {
102
+ type: string;
103
+ required: string[];
104
+ properties: {
105
+ type: {
106
+ type: string;
107
+ pattern: string;
108
+ };
109
+ can: {
110
+ type: string;
111
+ minLength: number;
112
+ };
113
+ registryVersion: {
114
+ type: string;
115
+ minLength: number;
116
+ };
117
+ contractDigest: {
118
+ $ref: string;
119
+ };
120
+ };
121
+ additionalProperties: boolean;
122
+ };
123
+ runtime: {
124
+ type: string;
125
+ required: string[];
126
+ properties: {
127
+ provider: {
128
+ enum: string[];
129
+ };
130
+ bindingId: {
131
+ type: string;
132
+ minLength: number;
133
+ };
134
+ flowUri: {
135
+ type: string;
136
+ minLength: number;
137
+ };
138
+ sessionRunId: {
139
+ type: string;
140
+ minLength: number;
141
+ };
142
+ nodeId: {
143
+ type: string;
144
+ minLength: number;
145
+ };
146
+ executionId: {
147
+ type: string;
148
+ minLength: number;
149
+ };
150
+ };
151
+ additionalProperties: boolean;
152
+ };
153
+ actorDid: {
154
+ type: string;
155
+ pattern: string;
156
+ };
157
+ executorDid: {
158
+ type: string;
159
+ pattern: string;
160
+ };
161
+ status: {
162
+ enum: string[];
163
+ };
164
+ idempotencyKey: {
165
+ type: string;
166
+ minLength: number;
167
+ };
168
+ occurredAt: {
169
+ type: string;
170
+ format: string;
171
+ };
172
+ authorization: {
173
+ type: string;
174
+ required: string[];
175
+ properties: {
176
+ capability: {
177
+ type: string;
178
+ minLength: number;
179
+ };
180
+ invocation: {
181
+ type: string;
182
+ minLength: number;
183
+ };
184
+ confirmation: {
185
+ type: string;
186
+ minLength: number;
187
+ };
188
+ };
189
+ additionalProperties: boolean;
190
+ };
191
+ input: {
192
+ $ref: string;
193
+ };
194
+ output: {
195
+ $ref: string;
196
+ };
197
+ proof: {
198
+ type: string;
199
+ required: string[];
200
+ properties: {
201
+ kind: {
202
+ enum: string[];
203
+ };
204
+ digest: {
205
+ $ref: string;
206
+ };
207
+ refs: {
208
+ type: string;
209
+ uniqueItems: boolean;
210
+ maxItems: number;
211
+ items: {
212
+ type: string;
213
+ minLength: number;
214
+ };
215
+ };
216
+ };
217
+ additionalProperties: boolean;
218
+ };
219
+ evidenceRefs: {
220
+ type: string;
221
+ uniqueItems: boolean;
222
+ maxItems: number;
223
+ items: {
224
+ type: string;
225
+ minLength: number;
226
+ };
227
+ };
228
+ traceRef: {
229
+ type: string;
230
+ minLength: number;
231
+ };
232
+ error: {
233
+ type: string;
234
+ required: string[];
235
+ properties: {
236
+ code: {
237
+ type: string;
238
+ maxLength: number;
239
+ };
240
+ message: {
241
+ type: string;
242
+ maxLength: number;
243
+ };
244
+ };
245
+ additionalProperties: boolean;
246
+ };
247
+ issuerDid: {
248
+ type: string;
249
+ pattern: string;
250
+ };
251
+ signature: {
252
+ type: string;
253
+ minLength: number;
254
+ };
255
+ };
256
+ additionalProperties: boolean;
257
+ };
258
+ };
259
+ };
260
+ "agent-run": {
3
261
  $schema: string;
4
262
  $id: string;
5
263
  title: string;
6
264
  type: string;
7
265
  required: string[];
8
266
  properties: {
9
- receiptId: {
267
+ runId: {
10
268
  type: string;
11
269
  minLength: number;
12
270
  };
@@ -14,11 +272,11 @@ export declare const SCHEMA_REGISTRY: Readonly<{
14
272
  type: string;
15
273
  pattern: string;
16
274
  };
17
- action: {
275
+ agentId: {
18
276
  type: string;
19
277
  minLength: number;
20
278
  };
21
- actor: {
279
+ capsuleRevision: {
22
280
  type: string;
23
281
  minLength: number;
24
282
  };
@@ -26,56 +284,2678 @@ export declare const SCHEMA_REGISTRY: Readonly<{
26
284
  type: string;
27
285
  enum: string[];
28
286
  };
29
- idempotencyKey: {
287
+ startedAt: {
288
+ type: string;
289
+ format: string;
290
+ };
291
+ finishedAt: {
292
+ type: string;
293
+ format: string;
294
+ };
295
+ outputs: {
296
+ type: string;
297
+ items: {
298
+ type: string;
299
+ };
300
+ };
301
+ };
302
+ additionalProperties: boolean;
303
+ };
304
+ "approval-decision": {
305
+ $schema: string;
306
+ $id: string;
307
+ title: string;
308
+ type: string;
309
+ required: string[];
310
+ properties: {
311
+ version: {
312
+ const: number;
313
+ };
314
+ approvalId: {
315
+ $ref: string;
316
+ };
317
+ topicId: {
318
+ $ref: string;
319
+ };
320
+ deliveryPacketId: {
321
+ $ref: string;
322
+ };
323
+ deliveryPacketDigest: {
324
+ $ref: string;
325
+ };
326
+ evaluationIds: {
327
+ type: string;
328
+ minItems: number;
329
+ uniqueItems: boolean;
330
+ items: {
331
+ $ref: string;
332
+ };
333
+ };
334
+ decision: {
335
+ enum: string[];
336
+ };
337
+ reasons: {
338
+ type: string;
339
+ minItems: number;
340
+ items: {
341
+ type: string;
342
+ minLength: number;
343
+ maxLength: number;
344
+ };
345
+ };
346
+ policy: {
347
+ type: string;
348
+ required: string[];
349
+ properties: {
350
+ ref: {
351
+ type: string;
352
+ format: string;
353
+ };
354
+ version: {
355
+ type: string;
356
+ minLength: number;
357
+ };
358
+ digest: {
359
+ $ref: string;
360
+ };
361
+ };
362
+ additionalProperties: boolean;
363
+ };
364
+ decidedBy: {
365
+ type: string;
366
+ minItems: number;
367
+ uniqueItems: boolean;
368
+ items: {
369
+ type: string;
370
+ pattern: string;
371
+ };
372
+ };
373
+ decidedAt: {
374
+ type: string;
375
+ format: string;
376
+ };
377
+ capability: {
378
+ type: string;
379
+ minLength: number;
380
+ };
381
+ digest: {
382
+ $ref: string;
383
+ };
384
+ extensions: {
385
+ type: string;
386
+ };
387
+ };
388
+ $defs: {
389
+ uuidV7: {
390
+ type: string;
391
+ pattern: string;
392
+ };
393
+ topicId: {
394
+ type: string;
395
+ pattern: string;
396
+ };
397
+ digest: {
398
+ type: string;
399
+ pattern: string;
400
+ };
401
+ };
402
+ additionalProperties: boolean;
403
+ allOf: {
404
+ if: {
405
+ properties: {
406
+ decision: {
407
+ enum: string[];
408
+ };
409
+ };
410
+ required: string[];
411
+ };
412
+ then: {
413
+ properties: {
414
+ reasons: {
415
+ type: string;
416
+ minItems: number;
417
+ };
418
+ };
419
+ required: string[];
420
+ };
421
+ }[];
422
+ };
423
+ "claim-record": {
424
+ $schema: string;
425
+ $id: string;
426
+ title: string;
427
+ type: string;
428
+ required: string[];
429
+ properties: {
430
+ version: {
431
+ const: number;
432
+ };
433
+ claimId: {
434
+ type: string;
435
+ minLength: number;
436
+ maxLength: number;
437
+ };
438
+ topicId: {
439
+ $ref: string;
440
+ };
441
+ deliveryPacketId: {
442
+ $ref: string;
443
+ };
444
+ deliveryPacketDigest: {
445
+ $ref: string;
446
+ };
447
+ evaluationIds: {
448
+ type: string;
449
+ minItems: number;
450
+ uniqueItems: boolean;
451
+ items: {
452
+ $ref: string;
453
+ };
454
+ };
455
+ approvalId: {
456
+ $ref: string;
457
+ };
458
+ claimantDid: {
459
+ type: string;
460
+ pattern: string;
461
+ };
462
+ requested: {
463
+ type: string;
464
+ required: string[];
465
+ properties: {
466
+ amount: {
467
+ type: string;
468
+ pattern: string;
469
+ };
470
+ asset: {
471
+ type: string;
472
+ minLength: number;
473
+ maxLength: number;
474
+ };
475
+ recipient: {
476
+ type: string;
477
+ minLength: number;
478
+ maxLength: number;
479
+ };
480
+ };
481
+ additionalProperties: boolean;
482
+ };
483
+ status: {
484
+ enum: string[];
485
+ };
486
+ replayKey: {
487
+ type: string;
488
+ minLength: number;
489
+ maxLength: number;
490
+ };
491
+ source: {
492
+ type: string;
493
+ required: string[];
494
+ properties: {
495
+ provider: {
496
+ type: string;
497
+ pattern: string;
498
+ };
499
+ ref: {
500
+ type: string;
501
+ minLength: number;
502
+ };
503
+ };
504
+ additionalProperties: boolean;
505
+ };
506
+ recordedAt: {
507
+ type: string;
508
+ format: string;
509
+ };
510
+ digest: {
511
+ $ref: string;
512
+ };
513
+ extensions: {
514
+ type: string;
515
+ };
516
+ };
517
+ $defs: {
518
+ uuidV7: {
519
+ type: string;
520
+ pattern: string;
521
+ };
522
+ topicId: {
523
+ type: string;
524
+ pattern: string;
525
+ };
526
+ digest: {
527
+ type: string;
528
+ pattern: string;
529
+ };
530
+ };
531
+ additionalProperties: boolean;
532
+ };
533
+ "decision-to-pay-template": {
534
+ $schema: string;
535
+ $id: string;
536
+ title: string;
537
+ type: string;
538
+ required: string[];
539
+ properties: {
540
+ $schema: {
541
+ type: string;
542
+ minLength: number;
543
+ };
544
+ version: {
545
+ const: number;
546
+ };
547
+ id: {
548
+ type: string;
549
+ pattern: string;
550
+ };
551
+ templateVersion: {
552
+ type: string;
553
+ pattern: string;
554
+ };
555
+ label: {
556
+ type: string;
557
+ minLength: number;
558
+ maxLength: number;
559
+ };
560
+ description: {
561
+ type: string;
562
+ minLength: number;
563
+ maxLength: number;
564
+ };
565
+ maturity: {
566
+ enum: string[];
567
+ };
568
+ compatibility: {
569
+ $ref: string;
570
+ };
571
+ topic: {
572
+ $ref: string;
573
+ };
574
+ topology: {
575
+ $ref: string;
576
+ };
577
+ actors: {
578
+ type: string;
579
+ minItems: number;
580
+ items: {
581
+ $ref: string;
582
+ };
583
+ };
584
+ resources: {
585
+ type: string;
586
+ minItems: number;
587
+ items: {
588
+ $ref: string;
589
+ };
590
+ };
591
+ protocolContracts: {
592
+ type: string;
593
+ minItems: number;
594
+ items: {
595
+ $ref: string;
596
+ };
597
+ };
598
+ operations: {
599
+ type: string;
600
+ minItems: number;
601
+ uniqueItems: boolean;
602
+ items: {
603
+ $ref: string;
604
+ };
605
+ };
606
+ gates: {
607
+ type: string;
608
+ minItems: number;
609
+ items: {
610
+ $ref: string;
611
+ };
612
+ };
613
+ settlement: {
614
+ $ref: string;
615
+ };
616
+ privacy: {
617
+ $ref: string;
618
+ };
619
+ acceptanceCriteria: {
620
+ type: string;
621
+ minItems: number;
622
+ items: {
623
+ $ref: string;
624
+ };
625
+ };
626
+ extensions: {
627
+ type: string;
628
+ };
629
+ };
630
+ additionalProperties: boolean;
631
+ $defs: {
632
+ digest: {
633
+ type: string;
634
+ pattern: string;
635
+ };
636
+ did: {
637
+ type: string;
638
+ pattern: string;
639
+ };
640
+ jsonPointer: {
641
+ type: string;
642
+ pattern: string;
643
+ };
644
+ compatibility: {
645
+ type: string;
646
+ required: string[];
647
+ properties: {
648
+ protocolPackage: {
649
+ const: string;
650
+ };
651
+ protocolVersion: {
652
+ const: string;
653
+ };
654
+ sourceCommit: {
655
+ type: string;
656
+ pattern: string;
657
+ };
658
+ implementationStatus: {
659
+ enum: string[];
660
+ };
661
+ requiredExtensions: {
662
+ type: string;
663
+ uniqueItems: boolean;
664
+ items: {
665
+ type: string;
666
+ minLength: number;
667
+ };
668
+ };
669
+ constraints: {
670
+ type: string;
671
+ items: {
672
+ type: string;
673
+ minLength: number;
674
+ };
675
+ };
676
+ };
677
+ additionalProperties: boolean;
678
+ };
679
+ persistedKind: {
680
+ enum: string[];
681
+ };
682
+ recipe: {
683
+ enum: string[];
684
+ };
685
+ kindRef: {
686
+ oneOf: ({
687
+ type: string;
688
+ required: string[];
689
+ properties: {
690
+ source: {
691
+ const: string;
692
+ };
693
+ kind: {
694
+ $ref: string;
695
+ };
696
+ customId?: never;
697
+ label?: never;
698
+ baseKind?: never;
699
+ };
700
+ additionalProperties: boolean;
701
+ } | {
702
+ type: string;
703
+ required: string[];
704
+ properties: {
705
+ source: {
706
+ const: string;
707
+ };
708
+ customId: {
709
+ type: string;
710
+ pattern: string;
711
+ };
712
+ label: {
713
+ type: string;
714
+ minLength: number;
715
+ maxLength: number;
716
+ };
717
+ baseKind: {
718
+ $ref: string;
719
+ };
720
+ kind?: never;
721
+ };
722
+ additionalProperties: boolean;
723
+ })[];
724
+ };
725
+ kindProfile: {
726
+ type: string;
727
+ required: string[];
728
+ properties: {
729
+ id: {
730
+ type: string;
731
+ format: string;
732
+ };
733
+ version: {
734
+ type: string;
735
+ minLength: number;
736
+ };
737
+ schema: {
738
+ type: string;
739
+ format: string;
740
+ };
741
+ digest: {
742
+ $ref: string;
743
+ };
744
+ };
745
+ additionalProperties: boolean;
746
+ };
747
+ topic: {
748
+ type: string;
749
+ required: string[];
750
+ properties: {
751
+ primaryRole: {
752
+ enum: string[];
753
+ };
754
+ kindRef: {
755
+ $ref: string;
756
+ };
757
+ kindProfile: {
758
+ $ref: string;
759
+ };
760
+ recipe: {
761
+ $ref: string;
762
+ };
763
+ workingMode: {
764
+ enum: string[];
765
+ };
766
+ temporalMode: {
767
+ enum: string[];
768
+ };
769
+ acceptance: {
770
+ type: string;
771
+ required: string[];
772
+ properties: {
773
+ requiredTopicContractPaths: {
774
+ type: string;
775
+ uniqueItems: boolean;
776
+ items: {
777
+ $ref: string;
778
+ };
779
+ };
780
+ allowHonestDraft: {
781
+ const: boolean;
782
+ };
783
+ };
784
+ additionalProperties: boolean;
785
+ };
786
+ lifecyclePolicy: {
787
+ type: string;
788
+ required: string[];
789
+ properties: {
790
+ separateTopicContractOutcomeAxes: {
791
+ const: boolean;
792
+ };
793
+ resolveRule: {
794
+ type: string;
795
+ minLength: number;
796
+ };
797
+ waitingRule: {
798
+ type: string;
799
+ minLength: number;
800
+ };
801
+ };
802
+ additionalProperties: boolean;
803
+ };
804
+ };
805
+ additionalProperties: boolean;
806
+ };
807
+ topology: {
808
+ type: string;
809
+ required: string[];
810
+ properties: {
811
+ requiresParentTopic: {
812
+ type: string;
813
+ };
814
+ parentBaseKind: {
815
+ $ref: string;
816
+ };
817
+ relation: {
818
+ enum: string[];
819
+ };
820
+ onePayableUnitPerTopic: {
821
+ type: string;
822
+ };
823
+ };
824
+ additionalProperties: boolean;
825
+ };
826
+ actor: {
827
+ type: string;
828
+ required: string[];
829
+ properties: {
830
+ role: {
831
+ type: string;
832
+ pattern: string;
833
+ };
834
+ label: {
835
+ type: string;
836
+ minLength: number;
837
+ };
838
+ required: {
839
+ type: string;
840
+ };
841
+ identity: {
842
+ const: string;
843
+ };
844
+ capabilities: {
845
+ type: string;
846
+ uniqueItems: boolean;
847
+ items: {
848
+ type: string;
849
+ minLength: number;
850
+ };
851
+ };
852
+ constraints: {
853
+ type: string;
854
+ items: {
855
+ type: string;
856
+ minLength: number;
857
+ };
858
+ };
859
+ };
860
+ additionalProperties: boolean;
861
+ };
862
+ resource: {
863
+ type: string;
864
+ required: string[];
865
+ properties: {
866
+ role: {
867
+ type: string;
868
+ pattern: string;
869
+ };
870
+ type: {
871
+ type: string;
872
+ minLength: number;
873
+ };
874
+ required: {
875
+ type: string;
876
+ };
877
+ binding: {
878
+ enum: string[];
879
+ };
880
+ authority: {
881
+ enum: string[];
882
+ };
883
+ availability: {
884
+ enum: string[];
885
+ };
886
+ schemaRef: {
887
+ type: string;
888
+ format: string;
889
+ };
890
+ confidentiality: {
891
+ enum: string[];
892
+ };
893
+ notes: {
894
+ type: string;
895
+ minLength: number;
896
+ };
897
+ };
898
+ additionalProperties: boolean;
899
+ };
900
+ protocolContract: {
901
+ type: string;
902
+ required: string[];
903
+ properties: {
904
+ name: {
905
+ type: string;
906
+ pattern: string;
907
+ };
908
+ source: {
909
+ enum: string[];
910
+ };
911
+ schemaRef: {
912
+ type: string;
913
+ format: string;
914
+ };
915
+ required: {
916
+ type: string;
917
+ };
918
+ };
919
+ additionalProperties: boolean;
920
+ };
921
+ topicOperation: {
922
+ enum: string[];
923
+ };
924
+ gateCondition: {
925
+ type: string;
926
+ required: string[];
927
+ properties: {
928
+ contract: {
929
+ enum: string[];
930
+ };
931
+ path: {
932
+ $ref: string;
933
+ };
934
+ operator: {
935
+ enum: string[];
936
+ };
937
+ value: {};
938
+ };
939
+ additionalProperties: boolean;
940
+ };
941
+ gate: {
942
+ type: string;
943
+ required: string[];
944
+ properties: {
945
+ id: {
946
+ type: string;
947
+ pattern: string;
948
+ };
949
+ stage: {
950
+ enum: string[];
951
+ };
952
+ description: {
953
+ type: string;
954
+ minLength: number;
955
+ };
956
+ all: {
957
+ type: string;
958
+ minItems: number;
959
+ items: {
960
+ $ref: string;
961
+ };
962
+ };
963
+ onFailure: {
964
+ enum: string[];
965
+ };
966
+ };
967
+ additionalProperties: boolean;
968
+ };
969
+ settlement: {
970
+ type: string;
971
+ required: string[];
972
+ properties: {
973
+ movesFunds: {
974
+ const: boolean;
975
+ };
976
+ requiresExternalAdapter: {
977
+ const: boolean;
978
+ };
979
+ failClosed: {
980
+ const: boolean;
981
+ };
982
+ requiredAxes: {
983
+ type: string;
984
+ minItems: number;
985
+ uniqueItems: boolean;
986
+ items: {
987
+ enum: string[];
988
+ };
989
+ };
990
+ exactMatchFields: {
991
+ type: string;
992
+ minItems: number;
993
+ uniqueItems: boolean;
994
+ items: {
995
+ enum: string[];
996
+ };
997
+ };
998
+ terminalState: {
999
+ const: string;
1000
+ };
1001
+ };
1002
+ additionalProperties: boolean;
1003
+ };
1004
+ privacy: {
1005
+ type: string;
1006
+ required: string[];
1007
+ properties: {
1008
+ topicIsConfidentialityBoundary: {
1009
+ const: boolean;
1010
+ };
1011
+ topicCapabilityGrantsVfsAccess: {
1012
+ const: boolean;
1013
+ };
1014
+ sensitiveResourceStorage: {
1015
+ const: string;
1016
+ };
1017
+ minimumRoomVisibleFields: {
1018
+ type: string;
1019
+ uniqueItems: boolean;
1020
+ items: {
1021
+ type: string;
1022
+ minLength: number;
1023
+ };
1024
+ };
1025
+ };
1026
+ additionalProperties: boolean;
1027
+ };
1028
+ acceptanceCriterion: {
1029
+ type: string;
1030
+ required: string[];
1031
+ properties: {
1032
+ id: {
1033
+ type: string;
1034
+ pattern: string;
1035
+ };
1036
+ statement: {
1037
+ type: string;
1038
+ minLength: number;
1039
+ };
1040
+ verification: {
1041
+ type: string;
1042
+ minLength: number;
1043
+ };
1044
+ };
1045
+ additionalProperties: boolean;
1046
+ };
1047
+ };
1048
+ };
1049
+ "delivery-decision": {
1050
+ $schema: string;
1051
+ $id: string;
1052
+ title: string;
1053
+ type: string;
1054
+ required: string[];
1055
+ properties: {
1056
+ version: {
1057
+ const: number;
1058
+ };
1059
+ decisionId: {
1060
+ $ref: string;
1061
+ };
1062
+ topicId: {
1063
+ $ref: string;
1064
+ };
1065
+ deliveryPacketId: {
1066
+ $ref: string;
1067
+ };
1068
+ deliveryPacketDigest: {
1069
+ $ref: string;
1070
+ };
1071
+ decision: {
1072
+ enum: string[];
1073
+ };
1074
+ reasons: {
1075
+ type: string;
1076
+ minItems: number;
1077
+ items: {
1078
+ type: string;
1079
+ minLength: number;
1080
+ maxLength: number;
1081
+ };
1082
+ };
1083
+ decidedBy: {
1084
+ type: string;
1085
+ pattern: string;
1086
+ };
1087
+ decidedAt: {
1088
+ type: string;
1089
+ format: string;
1090
+ };
1091
+ capability: {
1092
+ type: string;
1093
+ minLength: number;
1094
+ };
1095
+ digest: {
1096
+ $ref: string;
1097
+ };
1098
+ extensions: {
1099
+ type: string;
1100
+ };
1101
+ };
1102
+ $defs: {
1103
+ uuidV7: {
1104
+ type: string;
1105
+ pattern: string;
1106
+ };
1107
+ topicId: {
1108
+ type: string;
1109
+ pattern: string;
1110
+ };
1111
+ digest: {
1112
+ type: string;
1113
+ pattern: string;
1114
+ };
1115
+ };
1116
+ additionalProperties: boolean;
1117
+ allOf: {
1118
+ if: {
1119
+ properties: {
1120
+ decision: {
1121
+ enum: string[];
1122
+ };
1123
+ };
1124
+ required: string[];
1125
+ };
1126
+ then: {
1127
+ properties: {
1128
+ reasons: {
1129
+ type: string;
1130
+ minItems: number;
1131
+ };
1132
+ };
1133
+ required: string[];
1134
+ };
1135
+ }[];
1136
+ };
1137
+ "delivery-packet": {
1138
+ $schema: string;
1139
+ $id: string;
1140
+ title: string;
1141
+ type: string;
1142
+ required: string[];
1143
+ properties: {
1144
+ version: {
1145
+ const: number;
1146
+ };
1147
+ deliveryPacketId: {
1148
+ $ref: string;
1149
+ };
1150
+ sequence: {
1151
+ type: string;
1152
+ minimum: number;
1153
+ };
1154
+ topicId: {
1155
+ $ref: string;
1156
+ };
1157
+ bindingId: {
1158
+ $ref: string;
1159
+ };
1160
+ supersedes: {
1161
+ $ref: string;
1162
+ };
1163
+ contract: {
1164
+ type: string;
1165
+ required: string[];
1166
+ properties: {
1167
+ revision: {
1168
+ type: string;
1169
+ minLength: number;
1170
+ };
1171
+ digest: {
1172
+ $ref: string;
1173
+ };
1174
+ status: {
1175
+ const: string;
1176
+ };
1177
+ };
1178
+ additionalProperties: boolean;
1179
+ };
1180
+ workItemSnapshot: {
1181
+ type: string;
1182
+ required: string[];
1183
+ properties: {
1184
+ snapshotId: {
1185
+ $ref: string;
1186
+ };
1187
+ ref: {
1188
+ type: string;
1189
+ format: string;
1190
+ };
1191
+ digest: {
1192
+ $ref: string;
1193
+ };
1194
+ };
1195
+ additionalProperties: boolean;
1196
+ };
1197
+ deliverables: {
1198
+ type: string;
1199
+ minItems: number;
1200
+ items: {
1201
+ $ref: string;
1202
+ };
1203
+ };
1204
+ evidence: {
1205
+ type: string;
1206
+ items: {
1207
+ $ref: string;
1208
+ };
1209
+ };
1210
+ traces: {
1211
+ type: string;
1212
+ items: {
1213
+ $ref: string;
1214
+ };
1215
+ };
1216
+ paymentTerms: {
1217
+ type: string;
1218
+ required: string[];
1219
+ properties: {
1220
+ ref: {
1221
+ type: string;
1222
+ format: string;
1223
+ };
1224
+ digest: {
1225
+ $ref: string;
1226
+ };
1227
+ };
1228
+ additionalProperties: boolean;
1229
+ };
1230
+ submittedBy: {
1231
+ type: string;
1232
+ pattern: string;
1233
+ };
1234
+ submittedAt: {
1235
+ type: string;
1236
+ format: string;
1237
+ };
1238
+ capability: {
1239
+ type: string;
1240
+ minLength: number;
1241
+ };
1242
+ status: {
1243
+ const: string;
1244
+ };
1245
+ digest: {
1246
+ $ref: string;
1247
+ };
1248
+ extensions: {
1249
+ type: string;
1250
+ };
1251
+ };
1252
+ $defs: {
1253
+ uuidV7: {
1254
+ type: string;
1255
+ pattern: string;
1256
+ };
1257
+ topicId: {
1258
+ type: string;
1259
+ pattern: string;
1260
+ };
1261
+ digest: {
1262
+ type: string;
1263
+ pattern: string;
1264
+ };
1265
+ artifact: {
1266
+ type: string;
1267
+ required: string[];
1268
+ properties: {
1269
+ type: {
1270
+ type: string;
1271
+ minLength: number;
1272
+ };
1273
+ uri: {
1274
+ type: string;
1275
+ format: string;
1276
+ };
1277
+ digest: {
1278
+ $ref: string;
1279
+ };
1280
+ label: {
1281
+ type: string;
1282
+ minLength: number;
1283
+ };
1284
+ mediaType: {
1285
+ type: string;
1286
+ minLength: number;
1287
+ };
1288
+ };
1289
+ additionalProperties: boolean;
1290
+ };
1291
+ evidence: {
1292
+ type: string;
1293
+ required: string[];
1294
+ properties: {
1295
+ type: {
1296
+ type: string;
1297
+ minLength: number;
1298
+ };
1299
+ uri: {
1300
+ type: string;
1301
+ format: string;
1302
+ };
1303
+ digest: {
1304
+ $ref: string;
1305
+ };
1306
+ provenanceClass: {
1307
+ enum: string[];
1308
+ };
1309
+ label: {
1310
+ type: string;
1311
+ minLength: number;
1312
+ };
1313
+ };
1314
+ additionalProperties: boolean;
1315
+ };
1316
+ };
1317
+ additionalProperties: boolean;
1318
+ };
1319
+ "evaluation-assertion": {
1320
+ $schema: string;
1321
+ $id: string;
1322
+ title: string;
1323
+ type: string;
1324
+ required: string[];
1325
+ properties: {
1326
+ version: {
1327
+ const: number;
1328
+ };
1329
+ evaluationId: {
1330
+ $ref: string;
1331
+ };
1332
+ topicId: {
1333
+ $ref: string;
1334
+ };
1335
+ deliveryPacketId: {
1336
+ $ref: string;
1337
+ };
1338
+ deliveryPacketDigest: {
1339
+ $ref: string;
1340
+ };
1341
+ rubric: {
1342
+ type: string;
1343
+ required: string[];
1344
+ properties: {
1345
+ id: {
1346
+ type: string;
1347
+ minLength: number;
1348
+ };
1349
+ version: {
1350
+ type: string;
1351
+ minLength: number;
1352
+ };
1353
+ ref: {
1354
+ type: string;
1355
+ format: string;
1356
+ };
1357
+ digest: {
1358
+ $ref: string;
1359
+ };
1360
+ governanceStatus: {
1361
+ const: string;
1362
+ };
1363
+ };
1364
+ additionalProperties: boolean;
1365
+ };
1366
+ evidenceDigests: {
1367
+ type: string;
1368
+ uniqueItems: boolean;
1369
+ items: {
1370
+ $ref: string;
1371
+ };
1372
+ };
1373
+ traceDigests: {
1374
+ type: string;
1375
+ uniqueItems: boolean;
1376
+ items: {
1377
+ $ref: string;
1378
+ };
1379
+ };
1380
+ outcome: {
1381
+ enum: string[];
1382
+ };
1383
+ confidence: {
1384
+ type: string;
1385
+ minimum: number;
1386
+ maximum: number;
1387
+ };
1388
+ result: {
1389
+ type: string;
1390
+ };
1391
+ evaluatorDid: {
1392
+ type: string;
1393
+ pattern: string;
1394
+ };
1395
+ evaluatedAt: {
1396
+ type: string;
1397
+ format: string;
1398
+ };
1399
+ capability: {
1400
+ type: string;
1401
+ minLength: number;
1402
+ };
1403
+ signature: {
1404
+ type: string;
1405
+ required: string[];
1406
+ properties: {
1407
+ type: {
1408
+ type: string;
1409
+ minLength: number;
1410
+ };
1411
+ verificationMethod: {
1412
+ type: string;
1413
+ format: string;
1414
+ };
1415
+ value: {
1416
+ type: string;
1417
+ minLength: number;
1418
+ };
1419
+ };
1420
+ additionalProperties: boolean;
1421
+ };
1422
+ digest: {
1423
+ $ref: string;
1424
+ };
1425
+ extensions: {
1426
+ type: string;
1427
+ };
1428
+ };
1429
+ $defs: {
1430
+ uuidV7: {
1431
+ type: string;
1432
+ pattern: string;
1433
+ };
1434
+ topicId: {
1435
+ type: string;
1436
+ pattern: string;
1437
+ };
1438
+ digest: {
1439
+ type: string;
1440
+ pattern: string;
1441
+ };
1442
+ };
1443
+ additionalProperties: boolean;
1444
+ };
1445
+ "external-session-binding": {
1446
+ $schema: string;
1447
+ $id: string;
1448
+ title: string;
1449
+ type: string;
1450
+ required: string[];
1451
+ properties: {
1452
+ bindingId: {
1453
+ type: string;
1454
+ minLength: number;
1455
+ };
1456
+ topicId: {
1457
+ type: string;
1458
+ pattern: string;
1459
+ };
1460
+ provider: {
1461
+ type: string;
1462
+ minLength: number;
1463
+ };
1464
+ sessionReference: {
1465
+ type: string;
1466
+ minLength: number;
1467
+ };
1468
+ actor: {
1469
+ type: string;
1470
+ minLength: number;
1471
+ };
1472
+ createdAt: {
1473
+ type: string;
1474
+ format: string;
1475
+ };
1476
+ policy: {
1477
+ type: string;
1478
+ required: string[];
1479
+ properties: {
1480
+ privateByDefault: {
1481
+ type: string;
1482
+ };
1483
+ };
1484
+ additionalProperties: boolean;
1485
+ };
1486
+ };
1487
+ additionalProperties: boolean;
1488
+ };
1489
+ "external-work-binding": {
1490
+ $schema: string;
1491
+ $id: string;
1492
+ title: string;
1493
+ type: string;
1494
+ required: string[];
1495
+ properties: {
1496
+ version: {
1497
+ const: number;
1498
+ };
1499
+ bindingId: {
1500
+ $ref: string;
1501
+ };
1502
+ topicId: {
1503
+ $ref: string;
1504
+ };
1505
+ role: {
1506
+ enum: string[];
1507
+ };
1508
+ createdFrom: {
1509
+ enum: string[];
1510
+ };
1511
+ external: {
1512
+ type: string;
1513
+ required: string[];
1514
+ properties: {
1515
+ provider: {
1516
+ type: string;
1517
+ pattern: string;
1518
+ };
1519
+ resourceType: {
1520
+ type: string;
1521
+ minLength: number;
1522
+ maxLength: number;
1523
+ };
1524
+ organizationId: {
1525
+ type: string;
1526
+ minLength: number;
1527
+ maxLength: number;
1528
+ };
1529
+ teamId: {
1530
+ type: string;
1531
+ minLength: number;
1532
+ maxLength: number;
1533
+ };
1534
+ resourceId: {
1535
+ type: string;
1536
+ minLength: number;
1537
+ maxLength: number;
1538
+ };
1539
+ identifier: {
1540
+ type: string;
1541
+ minLength: number;
1542
+ maxLength: number;
1543
+ };
1544
+ url: {
1545
+ type: string;
1546
+ format: string;
1547
+ };
1548
+ };
1549
+ additionalProperties: boolean;
1550
+ };
1551
+ syncPolicy: {
1552
+ type: string;
1553
+ required: string[];
1554
+ properties: {
1555
+ mode: {
1556
+ enum: string[];
1557
+ };
1558
+ direction: {
1559
+ enum: string[];
1560
+ };
1561
+ comments: {
1562
+ enum: string[];
1563
+ };
1564
+ files: {
1565
+ enum: string[];
1566
+ };
1567
+ delete: {
1568
+ const: string;
1569
+ };
1570
+ fieldPolicy: {
1571
+ type: string;
1572
+ required: string[];
1573
+ properties: {
1574
+ id: {
1575
+ type: string;
1576
+ format: string;
1577
+ };
1578
+ version: {
1579
+ type: string;
1580
+ minimum: number;
1581
+ };
1582
+ digest: {
1583
+ $ref: string;
1584
+ };
1585
+ };
1586
+ additionalProperties: boolean;
1587
+ };
1588
+ };
1589
+ additionalProperties: boolean;
1590
+ };
1591
+ workState: {
1592
+ enum: string[];
1593
+ };
1594
+ checkpoint: {
1595
+ type: string;
1596
+ required: string[];
1597
+ properties: {
1598
+ topicRevision: {
1599
+ type: string;
1600
+ minLength: number;
1601
+ };
1602
+ effectiveContractDigest: {
1603
+ $ref: string;
1604
+ };
1605
+ externalUpdatedAt: {
1606
+ type: string;
1607
+ format: string;
1608
+ };
1609
+ externalSnapshotDigest: {
1610
+ $ref: string;
1611
+ };
1612
+ lastEventId: {
1613
+ type: string;
1614
+ minLength: number;
1615
+ maxLength: number;
1616
+ };
1617
+ syncedAt: {
1618
+ type: string;
1619
+ format: string;
1620
+ };
1621
+ };
1622
+ additionalProperties: boolean;
1623
+ };
1624
+ identity: {
1625
+ type: string;
1626
+ required: string[];
1627
+ properties: {
1628
+ bridgeDid: {
1629
+ type: string;
1630
+ pattern: string;
1631
+ };
1632
+ externalAppActorId: {
1633
+ type: string;
1634
+ minLength: number;
1635
+ maxLength: number;
1636
+ };
1637
+ };
1638
+ additionalProperties: boolean;
1639
+ };
1640
+ health: {
1641
+ enum: string[];
1642
+ };
1643
+ createdBy: {
1644
+ type: string;
1645
+ minLength: number;
1646
+ };
1647
+ createdAt: {
1648
+ type: string;
1649
+ format: string;
1650
+ };
1651
+ extensions: {
1652
+ type: string;
1653
+ };
1654
+ };
1655
+ $defs: {
1656
+ uuidV7: {
1657
+ type: string;
1658
+ pattern: string;
1659
+ };
1660
+ topicId: {
1661
+ type: string;
1662
+ pattern: string;
1663
+ };
1664
+ digest: {
1665
+ type: string;
1666
+ pattern: string;
1667
+ };
1668
+ };
1669
+ additionalProperties: boolean;
1670
+ };
1671
+ "external-work-state-map": {
1672
+ $schema: string;
1673
+ $id: string;
1674
+ title: string;
1675
+ type: string;
1676
+ required: string[];
1677
+ properties: {
1678
+ version: {
1679
+ const: number;
1680
+ };
1681
+ profileId: {
1682
+ type: string;
1683
+ format: string;
1684
+ };
1685
+ provider: {
1686
+ type: string;
1687
+ pattern: string;
1688
+ };
1689
+ organizationId: {
1690
+ type: string;
1691
+ minLength: number;
1692
+ maxLength: number;
1693
+ };
1694
+ teamId: {
1695
+ type: string;
1696
+ minLength: number;
1697
+ maxLength: number;
1698
+ };
1699
+ mappings: {
1700
+ type: string;
1701
+ minItems: number;
1702
+ items: {
1703
+ type: string;
1704
+ required: string[];
1705
+ properties: {
1706
+ workflowStateId: {
1707
+ type: string;
1708
+ minLength: number;
1709
+ maxLength: number;
1710
+ };
1711
+ category: {
1712
+ enum: string[];
1713
+ };
1714
+ workState: {
1715
+ enum: string[];
1716
+ };
1717
+ };
1718
+ additionalProperties: boolean;
1719
+ };
1720
+ };
1721
+ };
1722
+ additionalProperties: boolean;
1723
+ };
1724
+ "job-card": {
1725
+ $schema: string;
1726
+ $id: string;
1727
+ title: string;
1728
+ type: string;
1729
+ required: string[];
1730
+ properties: {
1731
+ version: {
1732
+ const: number;
1733
+ };
1734
+ type: {
1735
+ const: string;
1736
+ };
1737
+ id: {
1738
+ type: string;
1739
+ pattern: string;
1740
+ };
1741
+ jobNumber: {
1742
+ type: string;
1743
+ minLength: number;
1744
+ maxLength: number;
1745
+ };
1746
+ phase: {
1747
+ type: string;
1748
+ enum: string[];
1749
+ };
1750
+ priority: {
1751
+ type: string;
1752
+ enum: string[];
1753
+ };
1754
+ instructions: {
1755
+ type: string;
1756
+ minLength: number;
1757
+ maxLength: number;
1758
+ };
1759
+ scheduled: {
1760
+ type: string;
1761
+ properties: {
1762
+ start: {
1763
+ $ref: string;
1764
+ };
1765
+ end: {
1766
+ $ref: string;
1767
+ };
1768
+ };
1769
+ additionalProperties: boolean;
1770
+ };
1771
+ site: {
1772
+ $ref: string;
1773
+ };
1774
+ asset: {
1775
+ $ref: string;
1776
+ };
1777
+ requestedBy: {
1778
+ type: string;
1779
+ minLength: number;
1780
+ maxLength: number;
1781
+ };
1782
+ assignedTo: {
1783
+ type: string;
1784
+ uniqueItems: boolean;
1785
+ maxItems: number;
1786
+ items: {
1787
+ type: string;
1788
+ minLength: number;
1789
+ maxLength: number;
1790
+ };
1791
+ };
1792
+ extensions: {
1793
+ type: string;
1794
+ };
1795
+ };
1796
+ additionalProperties: boolean;
1797
+ $defs: {
1798
+ resourceTarget: {
1799
+ type: string;
1800
+ required: string[];
1801
+ properties: {
1802
+ label: {
1803
+ type: string;
1804
+ minLength: number;
1805
+ maxLength: number;
1806
+ };
1807
+ id: {
1808
+ type: string;
1809
+ minLength: number;
1810
+ maxLength: number;
1811
+ };
1812
+ };
1813
+ additionalProperties: boolean;
1814
+ };
1815
+ };
1816
+ };
1817
+ "payable-obligation": {
1818
+ $schema: string;
1819
+ $id: string;
1820
+ title: string;
1821
+ description: string;
1822
+ type: string;
1823
+ required: string[];
1824
+ properties: {
1825
+ $schema: {
1826
+ type: string;
1827
+ minLength: number;
1828
+ };
1829
+ version: {
1830
+ const: number;
1831
+ };
1832
+ type: {
1833
+ const: string;
1834
+ };
1835
+ id: {
1836
+ type: string;
1837
+ pattern: string;
1838
+ };
1839
+ revision: {
1840
+ type: string;
1841
+ minLength: number;
1842
+ maxLength: number;
1843
+ };
1844
+ supersedes: {
1845
+ $ref: string;
1846
+ };
1847
+ status: {
1848
+ enum: string[];
1849
+ };
1850
+ topicId: {
1851
+ $ref: string;
1852
+ };
1853
+ basis: {
1854
+ enum: string[];
1855
+ };
1856
+ paymentTerms: {
1857
+ type: string;
1858
+ required: string[];
1859
+ properties: {
1860
+ id: {
1861
+ type: string;
1862
+ pattern: string;
1863
+ };
1864
+ revision: {
1865
+ type: string;
1866
+ minLength: number;
1867
+ };
1868
+ ref: {
1869
+ type: string;
1870
+ format: string;
1871
+ };
1872
+ digest: {
1873
+ $ref: string;
1874
+ };
1875
+ };
1876
+ additionalProperties: boolean;
1877
+ };
1878
+ payerDid: {
1879
+ $ref: string;
1880
+ };
1881
+ claimantDid: {
1882
+ $ref: string;
1883
+ };
1884
+ requested: {
1885
+ $ref: string;
1886
+ };
1887
+ sourceResources: {
1888
+ type: string;
1889
+ minItems: number;
1890
+ items: {
1891
+ $ref: string;
1892
+ };
1893
+ };
1894
+ evidence: {
1895
+ type: string;
1896
+ items: {
1897
+ $ref: string;
1898
+ };
1899
+ };
1900
+ axisProjection: {
1901
+ $ref: string;
1902
+ };
1903
+ recordRefs: {
1904
+ $ref: string;
1905
+ };
1906
+ reasons: {
1907
+ type: string;
1908
+ minItems: number;
1909
+ items: {
1910
+ type: string;
1911
+ minLength: number;
1912
+ maxLength: number;
1913
+ };
1914
+ };
1915
+ replayKey: {
1916
+ type: string;
1917
+ minLength: number;
1918
+ maxLength: number;
1919
+ };
1920
+ submittedBy: {
1921
+ $ref: string;
1922
+ };
1923
+ submittedAt: {
1924
+ type: string;
1925
+ format: string;
1926
+ };
1927
+ projectionAuthority: {
1928
+ const: string;
1929
+ };
1930
+ extensions: {
1931
+ type: string;
1932
+ };
1933
+ };
1934
+ additionalProperties: boolean;
1935
+ allOf: ({
1936
+ if: {
1937
+ properties: {
1938
+ status: {
1939
+ const: string;
1940
+ };
1941
+ axisProjection?: never;
1942
+ };
1943
+ required: string[];
1944
+ };
1945
+ then: {
1946
+ properties: {
1947
+ submittedBy: {
1948
+ $ref: string;
1949
+ };
1950
+ submittedAt: {
1951
+ type: string;
1952
+ format: string;
1953
+ };
1954
+ recordRefs?: never;
1955
+ axisProjection?: never;
1956
+ };
1957
+ required: string[];
1958
+ };
1959
+ } | {
1960
+ if: {
1961
+ properties: {
1962
+ axisProjection: {
1963
+ type: string;
1964
+ properties: {
1965
+ delivery: {
1966
+ enum: string[];
1967
+ };
1968
+ evaluation?: never;
1969
+ approval?: never;
1970
+ claim?: never;
1971
+ settlement?: never;
1972
+ };
1973
+ required: string[];
1974
+ };
1975
+ status?: never;
1976
+ };
1977
+ required?: never;
1978
+ };
1979
+ then: {
1980
+ properties: {
1981
+ recordRefs: {
1982
+ type: string;
1983
+ required: string[];
1984
+ properties: {
1985
+ deliveryPacket: {
1986
+ $ref: string;
1987
+ };
1988
+ deliveryDecision?: never;
1989
+ evaluations?: never;
1990
+ approval?: never;
1991
+ claim?: never;
1992
+ settlements?: never;
1993
+ };
1994
+ };
1995
+ submittedBy?: never;
1996
+ submittedAt?: never;
1997
+ axisProjection?: never;
1998
+ };
1999
+ required?: never;
2000
+ };
2001
+ } | {
2002
+ if: {
2003
+ properties: {
2004
+ axisProjection: {
2005
+ type: string;
2006
+ properties: {
2007
+ delivery: {
2008
+ enum: string[];
2009
+ };
2010
+ evaluation?: never;
2011
+ approval?: never;
2012
+ claim?: never;
2013
+ settlement?: never;
2014
+ };
2015
+ required: string[];
2016
+ };
2017
+ status?: never;
2018
+ };
2019
+ required?: never;
2020
+ };
2021
+ then: {
2022
+ properties: {
2023
+ recordRefs: {
2024
+ type: string;
2025
+ required: string[];
2026
+ properties: {
2027
+ deliveryDecision: {
2028
+ $ref: string;
2029
+ };
2030
+ deliveryPacket?: never;
2031
+ evaluations?: never;
2032
+ approval?: never;
2033
+ claim?: never;
2034
+ settlements?: never;
2035
+ };
2036
+ };
2037
+ submittedBy?: never;
2038
+ submittedAt?: never;
2039
+ axisProjection?: never;
2040
+ };
2041
+ required?: never;
2042
+ };
2043
+ } | {
2044
+ if: {
2045
+ properties: {
2046
+ axisProjection: {
2047
+ type: string;
2048
+ properties: {
2049
+ evaluation: {
2050
+ enum: string[];
2051
+ };
2052
+ delivery?: never;
2053
+ approval?: never;
2054
+ claim?: never;
2055
+ settlement?: never;
2056
+ };
2057
+ required: string[];
2058
+ };
2059
+ status?: never;
2060
+ };
2061
+ required?: never;
2062
+ };
2063
+ then: {
2064
+ properties: {
2065
+ recordRefs: {
2066
+ type: string;
2067
+ required: string[];
2068
+ properties: {
2069
+ evaluations: {
2070
+ type: string;
2071
+ minItems: number;
2072
+ items: {
2073
+ $ref: string;
2074
+ };
2075
+ };
2076
+ deliveryPacket?: never;
2077
+ deliveryDecision?: never;
2078
+ approval?: never;
2079
+ claim?: never;
2080
+ settlements?: never;
2081
+ };
2082
+ };
2083
+ submittedBy?: never;
2084
+ submittedAt?: never;
2085
+ axisProjection?: never;
2086
+ };
2087
+ required?: never;
2088
+ };
2089
+ } | {
2090
+ if: {
2091
+ properties: {
2092
+ axisProjection: {
2093
+ type: string;
2094
+ properties: {
2095
+ approval: {
2096
+ enum: string[];
2097
+ };
2098
+ delivery?: never;
2099
+ evaluation?: never;
2100
+ claim?: never;
2101
+ settlement?: never;
2102
+ };
2103
+ required: string[];
2104
+ };
2105
+ status?: never;
2106
+ };
2107
+ required?: never;
2108
+ };
2109
+ then: {
2110
+ properties: {
2111
+ recordRefs: {
2112
+ type: string;
2113
+ required: string[];
2114
+ properties: {
2115
+ approval: {
2116
+ $ref: string;
2117
+ };
2118
+ deliveryPacket?: never;
2119
+ deliveryDecision?: never;
2120
+ evaluations?: never;
2121
+ claim?: never;
2122
+ settlements?: never;
2123
+ };
2124
+ };
2125
+ submittedBy?: never;
2126
+ submittedAt?: never;
2127
+ axisProjection?: never;
2128
+ };
2129
+ required?: never;
2130
+ };
2131
+ } | {
2132
+ if: {
2133
+ properties: {
2134
+ axisProjection: {
2135
+ type: string;
2136
+ properties: {
2137
+ claim: {
2138
+ enum: string[];
2139
+ };
2140
+ delivery?: never;
2141
+ evaluation?: never;
2142
+ approval?: never;
2143
+ settlement?: never;
2144
+ };
2145
+ required: string[];
2146
+ };
2147
+ status?: never;
2148
+ };
2149
+ required?: never;
2150
+ };
2151
+ then: {
2152
+ properties: {
2153
+ recordRefs: {
2154
+ type: string;
2155
+ required: string[];
2156
+ properties: {
2157
+ claim: {
2158
+ $ref: string;
2159
+ };
2160
+ deliveryPacket?: never;
2161
+ deliveryDecision?: never;
2162
+ evaluations?: never;
2163
+ approval?: never;
2164
+ settlements?: never;
2165
+ };
2166
+ };
2167
+ submittedBy?: never;
2168
+ submittedAt?: never;
2169
+ axisProjection?: never;
2170
+ };
2171
+ required?: never;
2172
+ };
2173
+ } | {
2174
+ if: {
2175
+ properties: {
2176
+ axisProjection: {
2177
+ type: string;
2178
+ properties: {
2179
+ settlement: {
2180
+ enum: string[];
2181
+ };
2182
+ delivery?: never;
2183
+ evaluation?: never;
2184
+ approval?: never;
2185
+ claim?: never;
2186
+ };
2187
+ required: string[];
2188
+ };
2189
+ status?: never;
2190
+ };
2191
+ required?: never;
2192
+ };
2193
+ then: {
2194
+ properties: {
2195
+ recordRefs: {
2196
+ type: string;
2197
+ required: string[];
2198
+ properties: {
2199
+ settlements: {
2200
+ type: string;
2201
+ minItems: number;
2202
+ items: {
2203
+ $ref: string;
2204
+ };
2205
+ };
2206
+ deliveryPacket?: never;
2207
+ deliveryDecision?: never;
2208
+ evaluations?: never;
2209
+ approval?: never;
2210
+ claim?: never;
2211
+ };
2212
+ };
2213
+ submittedBy?: never;
2214
+ submittedAt?: never;
2215
+ axisProjection?: never;
2216
+ };
2217
+ required?: never;
2218
+ };
2219
+ } | {
2220
+ if: {
2221
+ properties: {
2222
+ axisProjection: {
2223
+ type: string;
2224
+ properties: {
2225
+ settlement: {
2226
+ enum: string[];
2227
+ };
2228
+ delivery?: never;
2229
+ evaluation?: never;
2230
+ approval?: never;
2231
+ claim?: never;
2232
+ };
2233
+ required: string[];
2234
+ };
2235
+ status?: never;
2236
+ };
2237
+ required?: never;
2238
+ };
2239
+ then: {
2240
+ properties: {
2241
+ axisProjection: {
2242
+ type: string;
2243
+ properties: {
2244
+ delivery: {
2245
+ const: string;
2246
+ };
2247
+ evaluation: {
2248
+ const: string;
2249
+ };
2250
+ approval: {
2251
+ const: string;
2252
+ };
2253
+ claim: {
2254
+ const: string;
2255
+ };
2256
+ };
2257
+ };
2258
+ recordRefs: {
2259
+ type: string;
2260
+ properties: {
2261
+ deliveryPacket: {
2262
+ $ref: string;
2263
+ };
2264
+ deliveryDecision: {
2265
+ $ref: string;
2266
+ };
2267
+ evaluations: {
2268
+ type: string;
2269
+ minItems: number;
2270
+ items: {
2271
+ $ref: string;
2272
+ };
2273
+ };
2274
+ approval: {
2275
+ $ref: string;
2276
+ };
2277
+ claim: {
2278
+ $ref: string;
2279
+ };
2280
+ settlements: {
2281
+ type: string;
2282
+ minItems: number;
2283
+ items: {
2284
+ $ref: string;
2285
+ };
2286
+ };
2287
+ };
2288
+ required: string[];
2289
+ };
2290
+ submittedBy?: never;
2291
+ submittedAt?: never;
2292
+ };
2293
+ required?: never;
2294
+ };
2295
+ })[];
2296
+ $defs: {
2297
+ did: {
2298
+ type: string;
2299
+ pattern: string;
2300
+ };
2301
+ topicId: {
2302
+ type: string;
2303
+ pattern: string;
2304
+ };
2305
+ digest: {
2306
+ type: string;
2307
+ pattern: string;
2308
+ };
2309
+ decimal: {
2310
+ type: string;
2311
+ pattern: string;
2312
+ };
2313
+ requested: {
2314
+ type: string;
2315
+ required: string[];
2316
+ properties: {
2317
+ amount: {
2318
+ $ref: string;
2319
+ };
2320
+ asset: {
2321
+ type: string;
2322
+ minLength: number;
2323
+ maxLength: number;
2324
+ };
2325
+ recipient: {
2326
+ type: string;
2327
+ minLength: number;
2328
+ maxLength: number;
2329
+ };
2330
+ };
2331
+ additionalProperties: boolean;
2332
+ };
2333
+ resourceDigestRef: {
2334
+ type: string;
2335
+ required: string[];
2336
+ properties: {
2337
+ type: {
2338
+ type: string;
2339
+ minLength: number;
2340
+ };
2341
+ ref: {
2342
+ type: string;
2343
+ format: string;
2344
+ };
2345
+ digest: {
2346
+ $ref: string;
2347
+ };
2348
+ };
2349
+ additionalProperties: boolean;
2350
+ };
2351
+ evidence: {
2352
+ type: string;
2353
+ required: string[];
2354
+ properties: {
2355
+ type: {
2356
+ type: string;
2357
+ minLength: number;
2358
+ };
2359
+ uri: {
2360
+ type: string;
2361
+ format: string;
2362
+ };
2363
+ digest: {
2364
+ $ref: string;
2365
+ };
2366
+ provenanceClass: {
2367
+ enum: string[];
2368
+ };
2369
+ label: {
2370
+ type: string;
2371
+ minLength: number;
2372
+ };
2373
+ };
2374
+ additionalProperties: boolean;
2375
+ };
2376
+ axisProjection: {
2377
+ type: string;
2378
+ required: string[];
2379
+ properties: {
2380
+ delivery: {
2381
+ enum: string[];
2382
+ };
2383
+ evaluation: {
2384
+ enum: string[];
2385
+ };
2386
+ approval: {
2387
+ enum: string[];
2388
+ };
2389
+ claim: {
2390
+ enum: string[];
2391
+ };
2392
+ settlement: {
2393
+ enum: string[];
2394
+ };
2395
+ };
2396
+ additionalProperties: boolean;
2397
+ };
2398
+ protocolRecordRef: {
2399
+ type: string;
2400
+ required: string[];
2401
+ properties: {
2402
+ id: {
2403
+ type: string;
2404
+ minLength: number;
2405
+ maxLength: number;
2406
+ };
2407
+ digest: {
2408
+ $ref: string;
2409
+ };
2410
+ };
2411
+ additionalProperties: boolean;
2412
+ };
2413
+ recordRefs: {
2414
+ type: string;
2415
+ properties: {
2416
+ deliveryPacket: {
2417
+ $ref: string;
2418
+ };
2419
+ deliveryDecision: {
2420
+ $ref: string;
2421
+ };
2422
+ evaluations: {
2423
+ type: string;
2424
+ uniqueItems: boolean;
2425
+ items: {
2426
+ $ref: string;
2427
+ };
2428
+ };
2429
+ approval: {
2430
+ $ref: string;
2431
+ };
2432
+ claim: {
2433
+ $ref: string;
2434
+ };
2435
+ settlements: {
2436
+ type: string;
2437
+ uniqueItems: boolean;
2438
+ items: {
2439
+ $ref: string;
2440
+ };
2441
+ };
2442
+ };
2443
+ additionalProperties: boolean;
2444
+ };
2445
+ };
2446
+ };
2447
+ "payment-terms": {
2448
+ $schema: string;
2449
+ $id: string;
2450
+ title: string;
2451
+ type: string;
2452
+ required: string[];
2453
+ properties: {
2454
+ $schema: {
2455
+ type: string;
2456
+ minLength: number;
2457
+ };
2458
+ version: {
2459
+ const: number;
2460
+ };
2461
+ type: {
2462
+ const: string;
2463
+ };
2464
+ id: {
2465
+ type: string;
2466
+ pattern: string;
2467
+ };
2468
+ revision: {
2469
+ type: string;
2470
+ minLength: number;
2471
+ maxLength: number;
2472
+ };
2473
+ status: {
2474
+ enum: string[];
2475
+ };
2476
+ payer: {
2477
+ $ref: string;
2478
+ };
2479
+ payee: {
2480
+ $ref: string;
2481
+ };
2482
+ asset: {
2483
+ $ref: string;
2484
+ };
2485
+ calculation: {
2486
+ oneOf: {
2487
+ $ref: string;
2488
+ }[];
2489
+ };
2490
+ paymentCondition: {
2491
+ $ref: string;
2492
+ };
2493
+ timing: {
2494
+ $ref: string;
2495
+ };
2496
+ partialPayments: {
2497
+ $ref: string;
2498
+ };
2499
+ approvalPolicy: {
2500
+ $ref: string;
2501
+ };
2502
+ settlementPolicy: {
2503
+ $ref: string;
2504
+ };
2505
+ disputePolicy: {
2506
+ $ref: string;
2507
+ };
2508
+ capabilityRequirements: {
2509
+ type: string;
2510
+ minItems: number;
2511
+ items: {
2512
+ $ref: string;
2513
+ };
2514
+ };
2515
+ authoredBy: {
2516
+ $ref: string;
2517
+ };
2518
+ authoredAt: {
2519
+ type: string;
2520
+ format: string;
2521
+ };
2522
+ extensions: {
2523
+ type: string;
2524
+ };
2525
+ };
2526
+ additionalProperties: boolean;
2527
+ allOf: {
2528
+ if: {
2529
+ type: string;
2530
+ properties: {
2531
+ calculation: {
2532
+ type: string;
2533
+ properties: {
2534
+ model: {
2535
+ const: string;
2536
+ };
2537
+ };
2538
+ required: string[];
2539
+ };
2540
+ };
2541
+ required: string[];
2542
+ };
2543
+ then: {
2544
+ properties: {
2545
+ paymentCondition: {
2546
+ type: string;
2547
+ properties: {
2548
+ type: {
2549
+ const: string;
2550
+ };
2551
+ supportedEvaluationsRequired: {
2552
+ type: string;
2553
+ minimum: number;
2554
+ };
2555
+ };
2556
+ };
2557
+ };
2558
+ };
2559
+ }[];
2560
+ $defs: {
2561
+ did: {
2562
+ type: string;
2563
+ pattern: string;
2564
+ };
2565
+ digest: {
2566
+ type: string;
2567
+ pattern: string;
2568
+ };
2569
+ decimal: {
2570
+ type: string;
2571
+ pattern: string;
2572
+ };
2573
+ policyRef: {
2574
+ type: string;
2575
+ required: string[];
2576
+ properties: {
2577
+ ref: {
2578
+ type: string;
2579
+ format: string;
2580
+ };
2581
+ version: {
2582
+ type: string;
2583
+ minLength: number;
2584
+ };
2585
+ digest: {
2586
+ $ref: string;
2587
+ };
2588
+ };
2589
+ additionalProperties: boolean;
2590
+ };
2591
+ payer: {
2592
+ type: string;
2593
+ required: string[];
2594
+ properties: {
2595
+ did: {
2596
+ $ref: string;
2597
+ };
2598
+ label: {
2599
+ type: string;
2600
+ minLength: number;
2601
+ maxLength: number;
2602
+ };
2603
+ };
2604
+ additionalProperties: boolean;
2605
+ };
2606
+ payee: {
2607
+ type: string;
2608
+ required: string[];
2609
+ properties: {
2610
+ did: {
2611
+ $ref: string;
2612
+ };
2613
+ recipient: {
2614
+ type: string;
2615
+ minLength: number;
2616
+ maxLength: number;
2617
+ };
2618
+ label: {
2619
+ type: string;
2620
+ minLength: number;
2621
+ maxLength: number;
2622
+ };
2623
+ };
2624
+ additionalProperties: boolean;
2625
+ };
2626
+ asset: {
2627
+ type: string;
2628
+ required: string[];
2629
+ properties: {
2630
+ id: {
2631
+ type: string;
2632
+ minLength: number;
2633
+ maxLength: number;
2634
+ };
2635
+ decimals: {
2636
+ type: string;
2637
+ minimum: number;
2638
+ maximum: number;
2639
+ };
2640
+ };
2641
+ additionalProperties: boolean;
2642
+ };
2643
+ fixedCalculation: {
2644
+ type: string;
2645
+ required: string[];
2646
+ properties: {
2647
+ model: {
2648
+ const: string;
2649
+ };
2650
+ amount: {
2651
+ $ref: string;
2652
+ };
2653
+ };
2654
+ additionalProperties: boolean;
2655
+ };
2656
+ formulaCalculation: {
2657
+ type: string;
2658
+ required: string[];
2659
+ properties: {
2660
+ model: {
2661
+ const: string;
2662
+ };
2663
+ formula: {
2664
+ $ref: string;
2665
+ };
2666
+ maximumAmount: {
2667
+ $ref: string;
2668
+ };
2669
+ requiredInputTypes: {
2670
+ type: string;
2671
+ minItems: number;
2672
+ uniqueItems: boolean;
2673
+ items: {
2674
+ type: string;
2675
+ minLength: number;
2676
+ };
2677
+ };
2678
+ };
2679
+ additionalProperties: boolean;
2680
+ };
2681
+ milestoneCalculation: {
2682
+ type: string;
2683
+ required: string[];
2684
+ properties: {
2685
+ model: {
2686
+ const: string;
2687
+ };
2688
+ milestoneId: {
2689
+ type: string;
2690
+ minLength: number;
2691
+ maxLength: number;
2692
+ };
2693
+ amount: {
2694
+ $ref: string;
2695
+ };
2696
+ };
2697
+ additionalProperties: boolean;
2698
+ };
2699
+ outcomeCalculation: {
2700
+ type: string;
2701
+ required: string[];
2702
+ properties: {
2703
+ model: {
2704
+ const: string;
2705
+ };
2706
+ rubric: {
2707
+ $ref: string;
2708
+ };
2709
+ amountRule: {
2710
+ $ref: string;
2711
+ };
2712
+ maximumAmount: {
2713
+ $ref: string;
2714
+ };
2715
+ };
2716
+ additionalProperties: boolean;
2717
+ };
2718
+ paymentCondition: {
2719
+ type: string;
2720
+ required: string[];
2721
+ properties: {
2722
+ type: {
2723
+ enum: string[];
2724
+ };
2725
+ requiredEvidenceTypes: {
2726
+ type: string;
2727
+ uniqueItems: boolean;
2728
+ items: {
2729
+ type: string;
2730
+ minLength: number;
2731
+ };
2732
+ };
2733
+ deliveryDecisionRequired: {
2734
+ type: string;
2735
+ };
2736
+ supportedEvaluationsRequired: {
2737
+ type: string;
2738
+ minimum: number;
2739
+ maximum: number;
2740
+ };
2741
+ };
2742
+ additionalProperties: boolean;
2743
+ };
2744
+ timing: {
2745
+ type: string;
2746
+ required: string[];
2747
+ properties: {
2748
+ trigger: {
2749
+ enum: string[];
2750
+ };
2751
+ dueWithin: {
2752
+ type: string;
2753
+ pattern: string;
2754
+ };
2755
+ dueAt: {
2756
+ type: string;
2757
+ format: string;
2758
+ };
2759
+ timezone: {
2760
+ type: string;
2761
+ minLength: number;
2762
+ };
2763
+ };
2764
+ additionalProperties: boolean;
2765
+ allOf: ({
2766
+ if: {
2767
+ type: string;
2768
+ properties: {
2769
+ trigger: {
2770
+ const: string;
2771
+ };
2772
+ };
2773
+ required: string[];
2774
+ };
2775
+ then: {
2776
+ properties: {
2777
+ dueWithin: {
2778
+ type: string;
2779
+ pattern: string;
2780
+ };
2781
+ dueAt?: never;
2782
+ timezone?: never;
2783
+ };
2784
+ required: string[];
2785
+ };
2786
+ } | {
2787
+ if: {
2788
+ type: string;
2789
+ properties: {
2790
+ trigger: {
2791
+ const: string;
2792
+ };
2793
+ };
2794
+ required: string[];
2795
+ };
2796
+ then: {
2797
+ properties: {
2798
+ dueAt: {
2799
+ type: string;
2800
+ format: string;
2801
+ };
2802
+ timezone: {
2803
+ type: string;
2804
+ minLength: number;
2805
+ };
2806
+ dueWithin?: never;
2807
+ };
2808
+ required: string[];
2809
+ };
2810
+ })[];
2811
+ };
2812
+ partialPayments: {
2813
+ type: string;
2814
+ required: string[];
2815
+ properties: {
2816
+ allowed: {
2817
+ type: string;
2818
+ };
2819
+ minimumAmount: {
2820
+ $ref: string;
2821
+ };
2822
+ maximumInstallments: {
2823
+ type: string;
2824
+ minimum: number;
2825
+ maximum: number;
2826
+ };
2827
+ };
2828
+ additionalProperties: boolean;
2829
+ };
2830
+ approvalPolicy: {
2831
+ type: string;
2832
+ required: string[];
2833
+ properties: {
2834
+ policy: {
2835
+ $ref: string;
2836
+ };
2837
+ authorityDids: {
2838
+ type: string;
2839
+ minItems: number;
2840
+ uniqueItems: boolean;
2841
+ items: {
2842
+ $ref: string;
2843
+ };
2844
+ };
2845
+ requiredApprovals: {
2846
+ type: string;
2847
+ minimum: number;
2848
+ maximum: number;
2849
+ };
2850
+ humanConfirmationRequired: {
2851
+ type: string;
2852
+ };
2853
+ };
2854
+ additionalProperties: boolean;
2855
+ };
2856
+ settlementPolicy: {
30
2857
  type: string;
31
- minLength: number;
2858
+ required: string[];
2859
+ properties: {
2860
+ allowedPaymentRails: {
2861
+ type: string;
2862
+ minItems: number;
2863
+ uniqueItems: boolean;
2864
+ items: {
2865
+ type: string;
2866
+ minLength: number;
2867
+ maxLength: number;
2868
+ };
2869
+ };
2870
+ fundingCheckRequired: {
2871
+ type: string;
2872
+ };
2873
+ identityCheckRequired: {
2874
+ type: string;
2875
+ };
2876
+ kycCheckRequired: {
2877
+ type: string;
2878
+ };
2879
+ sanctionsCheckRequired: {
2880
+ type: string;
2881
+ };
2882
+ humanConfirmationRequired: {
2883
+ type: string;
2884
+ };
2885
+ humanConfirmationThreshold: {
2886
+ $ref: string;
2887
+ };
2888
+ };
2889
+ additionalProperties: boolean;
32
2890
  };
33
- createdAt: {
2891
+ disputePolicy: {
34
2892
  type: string;
35
- format: string;
2893
+ required: string[];
2894
+ properties: {
2895
+ window: {
2896
+ type: string;
2897
+ pattern: string;
2898
+ };
2899
+ authorityDids: {
2900
+ type: string;
2901
+ minItems: number;
2902
+ uniqueItems: boolean;
2903
+ items: {
2904
+ $ref: string;
2905
+ };
2906
+ };
2907
+ allowedRemedies: {
2908
+ type: string;
2909
+ minItems: number;
2910
+ uniqueItems: boolean;
2911
+ items: {
2912
+ enum: string[];
2913
+ };
2914
+ };
2915
+ };
2916
+ additionalProperties: boolean;
36
2917
  };
37
- capability: {
2918
+ capabilityRequirement: {
38
2919
  type: string;
2920
+ required: string[];
2921
+ properties: {
2922
+ action: {
2923
+ enum: string[];
2924
+ };
2925
+ ability: {
2926
+ type: string;
2927
+ minLength: number;
2928
+ };
2929
+ resource: {
2930
+ type: string;
2931
+ minLength: number;
2932
+ };
2933
+ };
2934
+ additionalProperties: boolean;
39
2935
  };
40
2936
  };
41
- additionalProperties: boolean;
42
2937
  };
43
- "agent-run": {
2938
+ "room-policy": {
44
2939
  $schema: string;
45
2940
  $id: string;
46
2941
  title: string;
47
2942
  type: string;
48
2943
  required: string[];
49
2944
  properties: {
50
- runId: {
51
- type: string;
52
- minLength: number;
53
- };
54
- topicId: {
55
- type: string;
56
- pattern: string;
57
- };
58
- agentId: {
59
- type: string;
60
- minLength: number;
61
- };
62
- capsuleRevision: {
63
- type: string;
64
- minLength: number;
2945
+ version: {
2946
+ const: number;
65
2947
  };
66
- status: {
2948
+ mode: {
67
2949
  type: string;
68
2950
  enum: string[];
69
2951
  };
70
- startedAt: {
2952
+ generalEnabled: {
71
2953
  type: string;
72
- format: string;
73
2954
  };
74
- finishedAt: {
2955
+ allowTopicsInDirectRooms: {
75
2956
  type: string;
76
- format: string;
77
2957
  };
78
- outputs: {
2958
+ authorisedRoles: {
79
2959
  type: string;
80
2960
  items: {
81
2961
  type: string;
@@ -84,171 +2964,175 @@ export declare const SCHEMA_REGISTRY: Readonly<{
84
2964
  };
85
2965
  additionalProperties: boolean;
86
2966
  };
87
- "external-session-binding": {
2967
+ "settlement-receipt": {
88
2968
  $schema: string;
89
2969
  $id: string;
90
2970
  title: string;
91
2971
  type: string;
92
2972
  required: string[];
93
2973
  properties: {
94
- bindingId: {
95
- type: string;
96
- minLength: number;
2974
+ version: {
2975
+ const: number;
2976
+ };
2977
+ settlementId: {
2978
+ $ref: string;
97
2979
  };
98
2980
  topicId: {
99
- type: string;
100
- pattern: string;
2981
+ $ref: string;
101
2982
  };
102
- provider: {
2983
+ claimId: {
103
2984
  type: string;
104
2985
  minLength: number;
2986
+ maxLength: number;
105
2987
  };
106
- sessionReference: {
107
- type: string;
108
- minLength: number;
2988
+ deliveryPacketId: {
2989
+ $ref: string;
109
2990
  };
110
- actor: {
111
- type: string;
112
- minLength: number;
2991
+ deliveryPacketDigest: {
2992
+ $ref: string;
113
2993
  };
114
- createdAt: {
2994
+ evaluationIds: {
115
2995
  type: string;
116
- format: string;
2996
+ minItems: number;
2997
+ uniqueItems: boolean;
2998
+ items: {
2999
+ $ref: string;
3000
+ };
3001
+ };
3002
+ approvalId: {
3003
+ $ref: string;
117
3004
  };
118
3005
  policy: {
119
3006
  type: string;
120
3007
  required: string[];
121
3008
  properties: {
122
- privateByDefault: {
3009
+ ref: {
123
3010
  type: string;
3011
+ format: string;
3012
+ };
3013
+ digest: {
3014
+ $ref: string;
124
3015
  };
125
3016
  };
126
3017
  additionalProperties: boolean;
127
3018
  };
128
- };
129
- additionalProperties: boolean;
130
- };
131
- "job-card": {
132
- $schema: string;
133
- $id: string;
134
- title: string;
135
- type: string;
136
- required: string[];
137
- properties: {
138
- version: {
139
- const: number;
140
- };
141
- type: {
142
- const: string;
3019
+ idempotencyKey: {
3020
+ type: string;
3021
+ minLength: number;
3022
+ maxLength: number;
143
3023
  };
144
- id: {
3024
+ amount: {
145
3025
  type: string;
146
3026
  pattern: string;
147
3027
  };
148
- jobNumber: {
3028
+ asset: {
149
3029
  type: string;
150
3030
  minLength: number;
151
3031
  maxLength: number;
152
3032
  };
153
- phase: {
3033
+ recipient: {
154
3034
  type: string;
155
- enum: string[];
3035
+ minLength: number;
3036
+ maxLength: number;
156
3037
  };
157
- priority: {
3038
+ paymentRail: {
158
3039
  type: string;
159
- enum: string[];
3040
+ minLength: number;
3041
+ maxLength: number;
160
3042
  };
161
- instructions: {
3043
+ transactionReference: {
162
3044
  type: string;
163
3045
  minLength: number;
164
3046
  maxLength: number;
165
3047
  };
166
- scheduled: {
3048
+ state: {
3049
+ enum: string[];
3050
+ };
3051
+ finality: {
167
3052
  type: string;
3053
+ required: string[];
168
3054
  properties: {
169
- start: {
170
- $ref: string;
3055
+ state: {
3056
+ enum: string[];
171
3057
  };
172
- end: {
173
- $ref: string;
3058
+ confirmations: {
3059
+ type: string;
3060
+ minimum: number;
3061
+ };
3062
+ confirmedAt: {
3063
+ type: string;
3064
+ format: string;
174
3065
  };
175
3066
  };
176
3067
  additionalProperties: boolean;
177
3068
  };
178
- site: {
179
- $ref: string;
3069
+ signerDid: {
3070
+ type: string;
3071
+ pattern: string;
180
3072
  };
181
- asset: {
182
- $ref: string;
3073
+ recordedAt: {
3074
+ type: string;
3075
+ format: string;
183
3076
  };
184
- requestedBy: {
3077
+ capability: {
185
3078
  type: string;
186
3079
  minLength: number;
187
- maxLength: number;
188
3080
  };
189
- assignedTo: {
190
- type: string;
191
- uniqueItems: boolean;
192
- maxItems: number;
193
- items: {
194
- type: string;
195
- minLength: number;
196
- maxLength: number;
197
- };
3081
+ digest: {
3082
+ $ref: string;
198
3083
  };
199
3084
  extensions: {
200
3085
  type: string;
201
3086
  };
202
3087
  };
203
- additionalProperties: boolean;
204
3088
  $defs: {
205
- resourceTarget: {
3089
+ uuidV7: {
206
3090
  type: string;
207
- required: string[];
208
- properties: {
209
- label: {
210
- type: string;
211
- minLength: number;
212
- maxLength: number;
213
- };
214
- id: {
215
- type: string;
216
- minLength: number;
217
- maxLength: number;
218
- };
219
- };
220
- additionalProperties: boolean;
221
- };
222
- };
223
- };
224
- "room-policy": {
225
- $schema: string;
226
- $id: string;
227
- title: string;
228
- type: string;
229
- required: string[];
230
- properties: {
231
- version: {
232
- const: number;
3091
+ pattern: string;
233
3092
  };
234
- mode: {
3093
+ topicId: {
235
3094
  type: string;
236
- enum: string[];
3095
+ pattern: string;
237
3096
  };
238
- generalEnabled: {
3097
+ digest: {
239
3098
  type: string;
3099
+ pattern: string;
240
3100
  };
241
- allowTopicsInDirectRooms: {
242
- type: string;
3101
+ };
3102
+ additionalProperties: boolean;
3103
+ allOf: {
3104
+ if: {
3105
+ properties: {
3106
+ state: {
3107
+ const: string;
3108
+ };
3109
+ };
3110
+ required: string[];
243
3111
  };
244
- authorisedRoles: {
245
- type: string;
246
- items: {
247
- type: string;
3112
+ then: {
3113
+ required: string[];
3114
+ properties: {
3115
+ transactionReference: {
3116
+ type: string;
3117
+ minLength: number;
3118
+ maxLength: number;
3119
+ };
3120
+ finality: {
3121
+ type: string;
3122
+ properties: {
3123
+ state: {
3124
+ const: string;
3125
+ };
3126
+ confirmedAt: {
3127
+ type: string;
3128
+ format: string;
3129
+ };
3130
+ };
3131
+ required: string[];
3132
+ };
248
3133
  };
249
3134
  };
250
- };
251
- additionalProperties: boolean;
3135
+ }[];
252
3136
  };
253
3137
  "topic-capsule": {
254
3138
  $schema: string;
@@ -320,6 +3204,84 @@ export declare const SCHEMA_REGISTRY: Readonly<{
320
3204
  };
321
3205
  additionalProperties: boolean;
322
3206
  };
3207
+ "topic-action-request": {
3208
+ $schema: string;
3209
+ $id: string;
3210
+ title: string;
3211
+ type: string;
3212
+ required: string[];
3213
+ properties: {
3214
+ version: {
3215
+ const: number;
3216
+ };
3217
+ requestId: {
3218
+ type: string;
3219
+ minLength: number;
3220
+ };
3221
+ topicId: {
3222
+ type: string;
3223
+ pattern: string;
3224
+ };
3225
+ topicRevision: {
3226
+ type: string;
3227
+ minLength: number;
3228
+ };
3229
+ actionType: {
3230
+ type: string;
3231
+ pattern: string;
3232
+ };
3233
+ actionContractDigest: {
3234
+ $ref: string;
3235
+ };
3236
+ executor: {
3237
+ enum: string[];
3238
+ };
3239
+ inputs: {
3240
+ type: string;
3241
+ required: string[];
3242
+ properties: {
3243
+ digest: {
3244
+ $ref: string;
3245
+ };
3246
+ ref: {
3247
+ type: string;
3248
+ minLength: number;
3249
+ };
3250
+ };
3251
+ additionalProperties: boolean;
3252
+ };
3253
+ requestedBy: {
3254
+ type: string;
3255
+ pattern: string;
3256
+ };
3257
+ requestedAt: {
3258
+ type: string;
3259
+ format: string;
3260
+ };
3261
+ idempotencyKey: {
3262
+ type: string;
3263
+ minLength: number;
3264
+ };
3265
+ confirmation: {
3266
+ enum: string[];
3267
+ };
3268
+ flowBindingId: {
3269
+ type: string;
3270
+ minLength: number;
3271
+ };
3272
+ capability: {
3273
+ type: string;
3274
+ minLength: number;
3275
+ };
3276
+ };
3277
+ additionalProperties: boolean;
3278
+ $defs: {
3279
+ digest: {
3280
+ type: string;
3281
+ pattern: string;
3282
+ };
3283
+ };
3284
+ };
323
3285
  "topic-contract-state": {
324
3286
  $schema: string;
325
3287
  $id: string;
@@ -969,6 +3931,30 @@ export declare const SCHEMA_REGISTRY: Readonly<{
969
3931
  type: string;
970
3932
  minimum: number;
971
3933
  };
3934
+ actions: {
3935
+ type: string;
3936
+ maxItems: number;
3937
+ items: {
3938
+ type: string;
3939
+ required: string[];
3940
+ properties: {
3941
+ request: {
3942
+ $ref: string;
3943
+ };
3944
+ latestReceipt: {
3945
+ $ref: string;
3946
+ };
3947
+ status: {
3948
+ enum: string[];
3949
+ };
3950
+ operationId: {
3951
+ type: string;
3952
+ minLength: number;
3953
+ };
3954
+ };
3955
+ additionalProperties: boolean;
3956
+ };
3957
+ };
972
3958
  };
973
3959
  additionalProperties: boolean;
974
3960
  };
@@ -1034,6 +4020,37 @@ export declare const SCHEMA_REGISTRY: Readonly<{
1034
4020
  type: string;
1035
4021
  minLength: number;
1036
4022
  };
4023
+ target: {
4024
+ oneOf: ({
4025
+ type: string;
4026
+ required: string[];
4027
+ properties: {
4028
+ kind: {
4029
+ const: string;
4030
+ };
4031
+ actionType: {
4032
+ type: string;
4033
+ pattern: string;
4034
+ };
4035
+ bindingId?: never;
4036
+ };
4037
+ additionalProperties: boolean;
4038
+ } | {
4039
+ type: string;
4040
+ required: string[];
4041
+ properties: {
4042
+ kind: {
4043
+ const: string;
4044
+ };
4045
+ bindingId: {
4046
+ type: string;
4047
+ minLength: number;
4048
+ };
4049
+ actionType?: never;
4050
+ };
4051
+ additionalProperties: boolean;
4052
+ })[];
4053
+ };
1037
4054
  recurrence: {
1038
4055
  $ref: string;
1039
4056
  };
@@ -1047,6 +4064,19 @@ export declare const SCHEMA_REGISTRY: Readonly<{
1047
4064
  };
1048
4065
  };
1049
4066
  additionalProperties: boolean;
4067
+ anyOf: ({
4068
+ properties: {
4069
+ actionId: boolean;
4070
+ target?: never;
4071
+ };
4072
+ required: string[];
4073
+ } | {
4074
+ properties: {
4075
+ target: boolean;
4076
+ actionId?: never;
4077
+ };
4078
+ required: string[];
4079
+ })[];
1050
4080
  };
1051
4081
  bindings: {
1052
4082
  type: string;
@@ -1064,6 +4094,13 @@ export declare const SCHEMA_REGISTRY: Readonly<{
1064
4094
  $ref: string;
1065
4095
  };
1066
4096
  };
4097
+ flows: {
4098
+ type: string;
4099
+ maxItems: number;
4100
+ items: {
4101
+ $ref: string;
4102
+ };
4103
+ };
1067
4104
  context: {
1068
4105
  type: string;
1069
4106
  maxItems: number;
@@ -1137,6 +4174,87 @@ export declare const SCHEMA_REGISTRY: Readonly<{
1137
4174
  };
1138
4175
  additionalProperties: boolean;
1139
4176
  };
4177
+ "topic-flow-binding": {
4178
+ $schema: string;
4179
+ $id: string;
4180
+ title: string;
4181
+ type: string;
4182
+ required: string[];
4183
+ properties: {
4184
+ version: {
4185
+ const: number;
4186
+ };
4187
+ bindingId: {
4188
+ type: string;
4189
+ minLength: number;
4190
+ };
4191
+ topicId: {
4192
+ type: string;
4193
+ pattern: string;
4194
+ };
4195
+ flowUri: {
4196
+ type: string;
4197
+ pattern: string;
4198
+ };
4199
+ flowRevision: {
4200
+ type: string;
4201
+ minLength: number;
4202
+ };
4203
+ flowDigest: {
4204
+ $ref: string;
4205
+ };
4206
+ role: {
4207
+ enum: string[];
4208
+ };
4209
+ actionManifestDigest: {
4210
+ $ref: string;
4211
+ };
4212
+ controllerDid: {
4213
+ type: string;
4214
+ pattern: string;
4215
+ };
4216
+ startPolicy: {
4217
+ enum: string[];
4218
+ };
4219
+ triggerPolicy: {
4220
+ type: string;
4221
+ };
4222
+ receiptPolicy: {
4223
+ enum: string[];
4224
+ };
4225
+ status: {
4226
+ enum: string[];
4227
+ };
4228
+ capability: {
4229
+ type: string;
4230
+ minLength: number;
4231
+ };
4232
+ capabilityReferences: {
4233
+ type: string;
4234
+ minItems: number;
4235
+ items: {
4236
+ type: string;
4237
+ minLength: number;
4238
+ };
4239
+ uniqueItems: boolean;
4240
+ };
4241
+ createdBy: {
4242
+ type: string;
4243
+ pattern: string;
4244
+ };
4245
+ createdAt: {
4246
+ type: string;
4247
+ format: string;
4248
+ };
4249
+ };
4250
+ additionalProperties: boolean;
4251
+ $defs: {
4252
+ digest: {
4253
+ type: string;
4254
+ pattern: string;
4255
+ };
4256
+ };
4257
+ };
1140
4258
  "topic-index-entry": {
1141
4259
  $schema: string;
1142
4260
  $id: string;
@@ -1308,7 +4426,7 @@ export declare const SCHEMA_REGISTRY: Readonly<{
1308
4426
  required: string[];
1309
4427
  properties: {
1310
4428
  version: {
1311
- const: number;
4429
+ enum: number[];
1312
4430
  };
1313
4431
  id: {
1314
4432
  type: string;
@@ -1436,8 +4554,65 @@ export declare const SCHEMA_REGISTRY: Readonly<{
1436
4554
  maxLength: number;
1437
4555
  };
1438
4556
  };
4557
+ actionManifest: {
4558
+ type: string;
4559
+ required: string[];
4560
+ properties: {
4561
+ version: {
4562
+ type: string;
4563
+ minLength: number;
4564
+ maxLength: number;
4565
+ };
4566
+ digest: {
4567
+ type: string;
4568
+ pattern: string;
4569
+ };
4570
+ };
4571
+ additionalProperties: boolean;
4572
+ };
4573
+ actions: {
4574
+ type: string;
4575
+ uniqueItems: boolean;
4576
+ maxItems: number;
4577
+ items: {
4578
+ type: string;
4579
+ required: string[];
4580
+ properties: {
4581
+ type: {
4582
+ type: string;
4583
+ pattern: string;
4584
+ };
4585
+ role: {
4586
+ enum: string[];
4587
+ };
4588
+ label: {
4589
+ type: string;
4590
+ minLength: number;
4591
+ maxLength: number;
4592
+ };
4593
+ };
4594
+ additionalProperties: boolean;
4595
+ };
4596
+ };
1439
4597
  };
1440
4598
  additionalProperties: boolean;
4599
+ allOf: {
4600
+ if: {
4601
+ properties: {
4602
+ version: {
4603
+ const: number;
4604
+ };
4605
+ };
4606
+ required: string[];
4607
+ };
4608
+ then: {
4609
+ properties: {
4610
+ actionManifest: boolean;
4611
+ actions: boolean;
4612
+ };
4613
+ required: string[];
4614
+ };
4615
+ }[];
1441
4616
  };
1442
4617
  "topic-message": {
1443
4618
  $schema: string;
@@ -1932,6 +5107,73 @@ export declare const SCHEMA_REGISTRY: Readonly<{
1932
5107
  })[];
1933
5108
  };
1934
5109
  };
5110
+ workBridge: {
5111
+ type: string;
5112
+ required: string[];
5113
+ properties: {
5114
+ bindings: {
5115
+ type: string;
5116
+ items: {
5117
+ type: string;
5118
+ required: string[];
5119
+ properties: {
5120
+ bindingId: {
5121
+ type: string;
5122
+ };
5123
+ topicId: {
5124
+ type: string;
5125
+ };
5126
+ workState: {
5127
+ type: string;
5128
+ };
5129
+ health: {
5130
+ type: string;
5131
+ };
5132
+ lastOperationId: {
5133
+ type: string;
5134
+ };
5135
+ };
5136
+ };
5137
+ };
5138
+ deliveryPackets: {
5139
+ type: string;
5140
+ items: {
5141
+ $ref: string;
5142
+ };
5143
+ };
5144
+ deliveryDecisions: {
5145
+ type: string;
5146
+ items: {
5147
+ $ref: string;
5148
+ };
5149
+ };
5150
+ evaluations: {
5151
+ type: string;
5152
+ items: {
5153
+ $ref: string;
5154
+ };
5155
+ };
5156
+ approvals: {
5157
+ type: string;
5158
+ items: {
5159
+ $ref: string;
5160
+ };
5161
+ };
5162
+ claims: {
5163
+ type: string;
5164
+ items: {
5165
+ $ref: string;
5166
+ };
5167
+ };
5168
+ settlements: {
5169
+ type: string;
5170
+ items: {
5171
+ $ref: string;
5172
+ };
5173
+ };
5174
+ };
5175
+ additionalProperties: boolean;
5176
+ };
1935
5177
  basedOnEvents: {
1936
5178
  type: string;
1937
5179
  items: {
@@ -2068,6 +5310,245 @@ export declare const SCHEMA_REGISTRY: Readonly<{
2068
5310
  };
2069
5311
  additionalProperties: boolean;
2070
5312
  };
5313
+ "work-item-snapshot": {
5314
+ $schema: string;
5315
+ $id: string;
5316
+ title: string;
5317
+ type: string;
5318
+ required: string[];
5319
+ properties: {
5320
+ version: {
5321
+ const: number;
5322
+ };
5323
+ snapshotId: {
5324
+ $ref: string;
5325
+ };
5326
+ bindingId: {
5327
+ $ref: string;
5328
+ };
5329
+ topicId: {
5330
+ $ref: string;
5331
+ };
5332
+ source: {
5333
+ type: string;
5334
+ required: string[];
5335
+ properties: {
5336
+ provider: {
5337
+ type: string;
5338
+ pattern: string;
5339
+ };
5340
+ organizationId: {
5341
+ type: string;
5342
+ minLength: number;
5343
+ };
5344
+ teamId: {
5345
+ type: string;
5346
+ minLength: number;
5347
+ };
5348
+ resourceId: {
5349
+ type: string;
5350
+ minLength: number;
5351
+ };
5352
+ identifier: {
5353
+ type: string;
5354
+ minLength: number;
5355
+ };
5356
+ url: {
5357
+ type: string;
5358
+ format: string;
5359
+ };
5360
+ };
5361
+ additionalProperties: boolean;
5362
+ };
5363
+ title: {
5364
+ type: string;
5365
+ minLength: number;
5366
+ maxLength: number;
5367
+ };
5368
+ descriptionMarkdown: {
5369
+ type: string;
5370
+ maxLength: number;
5371
+ };
5372
+ workflowState: {
5373
+ type: string;
5374
+ required: string[];
5375
+ properties: {
5376
+ id: {
5377
+ type: string;
5378
+ minLength: number;
5379
+ };
5380
+ name: {
5381
+ type: string;
5382
+ minLength: number;
5383
+ };
5384
+ category: {
5385
+ enum: string[];
5386
+ };
5387
+ mappedWorkState: {
5388
+ enum: string[];
5389
+ };
5390
+ mappingProfileId: {
5391
+ type: string;
5392
+ format: string;
5393
+ };
5394
+ mappingVersion: {
5395
+ type: string;
5396
+ minimum: number;
5397
+ };
5398
+ };
5399
+ additionalProperties: boolean;
5400
+ };
5401
+ assignee: {
5402
+ $ref: string;
5403
+ };
5404
+ delegate: {
5405
+ $ref: string;
5406
+ };
5407
+ planning: {
5408
+ type: string;
5409
+ required: string[];
5410
+ properties: {
5411
+ priority: {
5412
+ type: string;
5413
+ minimum: number;
5414
+ };
5415
+ estimate: {
5416
+ type: string;
5417
+ minimum: number;
5418
+ };
5419
+ projectId: {
5420
+ type: string;
5421
+ minLength: number;
5422
+ };
5423
+ cycleId: {
5424
+ type: string;
5425
+ minLength: number;
5426
+ };
5427
+ dueDate: {
5428
+ type: string;
5429
+ format: string;
5430
+ };
5431
+ labels: {
5432
+ type: string;
5433
+ uniqueItems: boolean;
5434
+ items: {
5435
+ type: string;
5436
+ minLength: number;
5437
+ };
5438
+ };
5439
+ };
5440
+ additionalProperties: boolean;
5441
+ };
5442
+ relations: {
5443
+ type: string;
5444
+ items: {
5445
+ type: string;
5446
+ required: string[];
5447
+ properties: {
5448
+ type: {
5449
+ type: string;
5450
+ minLength: number;
5451
+ };
5452
+ resourceId: {
5453
+ type: string;
5454
+ minLength: number;
5455
+ };
5456
+ url: {
5457
+ type: string;
5458
+ format: string;
5459
+ };
5460
+ };
5461
+ additionalProperties: boolean;
5462
+ };
5463
+ };
5464
+ attachments: {
5465
+ type: string;
5466
+ items: {
5467
+ $ref: string;
5468
+ };
5469
+ };
5470
+ promotedComments: {
5471
+ type: string;
5472
+ items: {
5473
+ $ref: string;
5474
+ };
5475
+ };
5476
+ sourceCreatedAt: {
5477
+ type: string;
5478
+ format: string;
5479
+ };
5480
+ sourceUpdatedAt: {
5481
+ type: string;
5482
+ format: string;
5483
+ };
5484
+ retrievedAt: {
5485
+ type: string;
5486
+ format: string;
5487
+ };
5488
+ sourceEventId: {
5489
+ type: string;
5490
+ minLength: number;
5491
+ };
5492
+ digest: {
5493
+ $ref: string;
5494
+ };
5495
+ extensions: {
5496
+ type: string;
5497
+ };
5498
+ };
5499
+ $defs: {
5500
+ uuidV7: {
5501
+ type: string;
5502
+ pattern: string;
5503
+ };
5504
+ topicId: {
5505
+ type: string;
5506
+ pattern: string;
5507
+ };
5508
+ digest: {
5509
+ type: string;
5510
+ pattern: string;
5511
+ };
5512
+ externalActor: {
5513
+ type: string;
5514
+ required: string[];
5515
+ properties: {
5516
+ id: {
5517
+ type: string;
5518
+ minLength: number;
5519
+ };
5520
+ displayName: {
5521
+ type: string;
5522
+ minLength: number;
5523
+ };
5524
+ did: {
5525
+ type: string;
5526
+ pattern: string;
5527
+ };
5528
+ };
5529
+ additionalProperties: boolean;
5530
+ };
5531
+ sourceReference: {
5532
+ type: string;
5533
+ required: string[];
5534
+ properties: {
5535
+ id: {
5536
+ type: string;
5537
+ minLength: number;
5538
+ };
5539
+ url: {
5540
+ type: string;
5541
+ format: string;
5542
+ };
5543
+ digest: {
5544
+ $ref: string;
5545
+ };
5546
+ };
5547
+ additionalProperties: boolean;
5548
+ };
5549
+ };
5550
+ additionalProperties: boolean;
5551
+ };
2071
5552
  }>;
2072
5553
  export type ContractName = keyof typeof SCHEMA_REGISTRY;
2073
- export declare const CONTRACT_NAMES: readonly ("action-receipt" | "agent-run" | "external-session-binding" | "job-card" | "room-policy" | "topic-capsule" | "topic-contract-state" | "topic-file-attachment" | "topic-index-entry" | "topic-index" | "topic-kind-profile" | "topic-message" | "topic-operation" | "topic-preferences" | "topic-record" | "topic-record-message" | "topic-relation" | "topic-root" | "topic-state" | "topic-source-message")[];
5554
+ export declare const CONTRACT_NAMES: readonly ("topic-contract-state" | "payment-terms" | "payable-obligation" | "external-work-binding" | "delivery-packet" | "delivery-decision" | "evaluation-assertion" | "approval-decision" | "claim-record" | "settlement-receipt" | "action-receipt" | "agent-run" | "decision-to-pay-template" | "external-session-binding" | "external-work-state-map" | "job-card" | "room-policy" | "topic-capsule" | "topic-action-request" | "topic-file-attachment" | "topic-flow-binding" | "topic-index-entry" | "topic-index" | "topic-kind-profile" | "topic-message" | "topic-operation" | "topic-preferences" | "topic-record" | "topic-record-message" | "topic-relation" | "topic-root" | "topic-state" | "topic-source-message" | "work-item-snapshot")[];