umf-codegen 0.10.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ {"files":{"actions.package.json":"5a787363df77b93d22a785fb3bec711e2bf1ecd25e17e2155c2ce6e80ac4e181","binding.package.json":"f3326533dcf3d2227955bae2261ab005eaf8692e289c7461f2015fd40565a78f","core.constraints.json":"180497da09a76cbbef5332d234258936668e06f7152f119d4be7aeebfa6b39cc","core.domain-policy.json":"4d742505e483d23f7ef60cc904b45aa44db73473c71a98e01a919f289c414a9c","core.package-schema.json":"fca24a871abf83e89837bf881bc5251b1a71ab98411fa5055af12e1bdd00fda5","core.reference-schema.json":"4a9908810531cced6208289f89dfcbc2e9406c303834a2749591cbe823ca3f65","core.schema.json":"f5f7f090e6a4618803c3e0fdbb0be20ad62ae092c99f0d7e0f15a6733d67aabf","saga.package.json":"4f42d73efe15041807f74031e12013c6df843d12556105a7aff357a0956a8940","stable-binding.package.json":"0550ae86d0cf07f9e61fb78bbb3a2eeb370838681a1483b1088409ddaeb0631e","tables.package.json":"beeb8749216b20d98211700c0a81cdd210b1eaea4060f7ae81b8a91f061da18d"},"profile":"umf.codegen-resources/1"}
@@ -0,0 +1,616 @@
1
+ {
2
+ "id": "umf.actions.saga",
3
+ "version": "0.1.0",
4
+ "coreVersion": "0.10.0",
5
+ "description": "Sequential saga declarations; host execution requires independent qualification.",
6
+ "schema": {
7
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
8
+ "$id": "urn:umf:actions:saga:0.1.0",
9
+ "title": "Proposed UMF saga 0.1.0 declarations",
10
+ "type": "object",
11
+ "properties": {
12
+ "sagas": {
13
+ "type": "array",
14
+ "items": {
15
+ "$ref": "#/$defs/definition"
16
+ },
17
+ "minItems": 0,
18
+ "maxItems": 64
19
+ }
20
+ },
21
+ "required": [
22
+ "sagas"
23
+ ],
24
+ "additionalProperties": true,
25
+ "$defs": {
26
+ "identity": {
27
+ "type": "object",
28
+ "properties": {
29
+ "module": {
30
+ "type": "string",
31
+ "minLength": 1,
32
+ "maxLength": 256
33
+ },
34
+ "saga": {
35
+ "type": "string",
36
+ "minLength": 1,
37
+ "maxLength": 256
38
+ }
39
+ },
40
+ "required": [
41
+ "module",
42
+ "saga"
43
+ ],
44
+ "additionalProperties": false
45
+ },
46
+ "actionRef": {
47
+ "type": "object",
48
+ "properties": {
49
+ "module": {
50
+ "type": "string",
51
+ "minLength": 1,
52
+ "maxLength": 256
53
+ },
54
+ "action": {
55
+ "type": "string",
56
+ "minLength": 1,
57
+ "maxLength": 256
58
+ }
59
+ },
60
+ "required": [
61
+ "module",
62
+ "action"
63
+ ],
64
+ "additionalProperties": true
65
+ },
66
+ "source": {
67
+ "oneOf": [
68
+ {
69
+ "type": "object",
70
+ "properties": {
71
+ "input": {
72
+ "type": "string",
73
+ "minLength": 1,
74
+ "maxLength": 256
75
+ }
76
+ },
77
+ "required": [
78
+ "input"
79
+ ],
80
+ "additionalProperties": true,
81
+ "not": {
82
+ "required": [
83
+ "step"
84
+ ]
85
+ }
86
+ },
87
+ {
88
+ "type": "object",
89
+ "properties": {
90
+ "step": {
91
+ "type": "string",
92
+ "minLength": 1,
93
+ "maxLength": 256
94
+ },
95
+ "output": {
96
+ "type": "string",
97
+ "minLength": 1,
98
+ "maxLength": 256
99
+ }
100
+ },
101
+ "required": [
102
+ "step",
103
+ "output"
104
+ ],
105
+ "additionalProperties": true,
106
+ "not": {
107
+ "required": [
108
+ "input"
109
+ ]
110
+ }
111
+ }
112
+ ]
113
+ },
114
+ "mapping": {
115
+ "type": "object",
116
+ "properties": {
117
+ "parameter": {
118
+ "type": "string",
119
+ "minLength": 1,
120
+ "maxLength": 256
121
+ },
122
+ "from": {
123
+ "$ref": "#/$defs/source"
124
+ }
125
+ },
126
+ "required": [
127
+ "parameter",
128
+ "from"
129
+ ],
130
+ "additionalProperties": true
131
+ },
132
+ "compensation": {
133
+ "oneOf": [
134
+ {
135
+ "type": "object",
136
+ "properties": {
137
+ "kind": {
138
+ "const": "action"
139
+ },
140
+ "action": {
141
+ "$ref": "#/$defs/actionRef"
142
+ },
143
+ "binding": {
144
+ "type": "string",
145
+ "minLength": 1,
146
+ "maxLength": 256
147
+ },
148
+ "inputs": {
149
+ "type": "array",
150
+ "items": {
151
+ "$ref": "#/$defs/mapping"
152
+ },
153
+ "minItems": 0,
154
+ "maxItems": 32
155
+ }
156
+ },
157
+ "required": [
158
+ "kind",
159
+ "action",
160
+ "binding",
161
+ "inputs"
162
+ ],
163
+ "additionalProperties": true
164
+ },
165
+ {
166
+ "type": "object",
167
+ "properties": {
168
+ "kind": {
169
+ "const": "unnecessary"
170
+ },
171
+ "profile": {
172
+ "$ref": "urn:umf:actions:0.1.0#/$defs/profile"
173
+ }
174
+ },
175
+ "required": [
176
+ "kind",
177
+ "profile"
178
+ ],
179
+ "additionalProperties": true
180
+ },
181
+ {
182
+ "type": "object",
183
+ "properties": {
184
+ "kind": {
185
+ "const": "irreversible"
186
+ },
187
+ "reason": {
188
+ "type": "string",
189
+ "minLength": 1,
190
+ "maxLength": 256
191
+ }
192
+ },
193
+ "required": [
194
+ "kind",
195
+ "reason"
196
+ ],
197
+ "additionalProperties": true
198
+ },
199
+ {
200
+ "type": "object",
201
+ "properties": {
202
+ "kind": {
203
+ "type": "string",
204
+ "minLength": 1,
205
+ "not": {
206
+ "enum": [
207
+ "action",
208
+ "unnecessary",
209
+ "irreversible"
210
+ ]
211
+ }
212
+ }
213
+ },
214
+ "required": [
215
+ "kind"
216
+ ],
217
+ "additionalProperties": true
218
+ }
219
+ ]
220
+ },
221
+ "step": {
222
+ "type": "object",
223
+ "properties": {
224
+ "id": {
225
+ "type": "string",
226
+ "minLength": 1,
227
+ "maxLength": 256
228
+ },
229
+ "action": {
230
+ "$ref": "#/$defs/actionRef"
231
+ },
232
+ "binding": {
233
+ "type": "string",
234
+ "minLength": 1,
235
+ "maxLength": 256
236
+ },
237
+ "inputs": {
238
+ "type": "array",
239
+ "items": {
240
+ "$ref": "#/$defs/mapping"
241
+ },
242
+ "minItems": 0,
243
+ "maxItems": 32
244
+ },
245
+ "compensation": {
246
+ "$ref": "#/$defs/compensation"
247
+ }
248
+ },
249
+ "required": [
250
+ "id",
251
+ "action",
252
+ "binding",
253
+ "inputs",
254
+ "compensation"
255
+ ],
256
+ "additionalProperties": true
257
+ },
258
+ "definition": {
259
+ "type": "object",
260
+ "properties": {
261
+ "id": {
262
+ "type": "string",
263
+ "minLength": 1,
264
+ "maxLength": 256
265
+ },
266
+ "name": {
267
+ "type": "string",
268
+ "minLength": 1,
269
+ "maxLength": 256
270
+ },
271
+ "description": {
272
+ "type": "string",
273
+ "maxLength": 4096
274
+ },
275
+ "profile": {
276
+ "$ref": "urn:umf:actions:0.1.0#/$defs/profile"
277
+ },
278
+ "parameters": {
279
+ "type": "array",
280
+ "items": {
281
+ "$ref": "urn:umf:actions:0.1.0#/$defs/parameter"
282
+ },
283
+ "minItems": 0,
284
+ "maxItems": 32
285
+ },
286
+ "outputs": {
287
+ "type": "array",
288
+ "items": {
289
+ "$ref": "urn:umf:actions:0.1.0#/$defs/parameter"
290
+ },
291
+ "minItems": 0,
292
+ "maxItems": 32
293
+ },
294
+ "outputBindings": {
295
+ "type": "array",
296
+ "items": {
297
+ "$ref": "#/$defs/mapping"
298
+ },
299
+ "minItems": 0,
300
+ "maxItems": 32
301
+ },
302
+ "steps": {
303
+ "type": "array",
304
+ "items": {
305
+ "$ref": "#/$defs/step"
306
+ },
307
+ "minItems": 1,
308
+ "maxItems": 32
309
+ }
310
+ },
311
+ "required": [
312
+ "id",
313
+ "name",
314
+ "description",
315
+ "profile",
316
+ "parameters",
317
+ "outputs",
318
+ "outputBindings",
319
+ "steps"
320
+ ],
321
+ "additionalProperties": true
322
+ },
323
+ "capabilities": {
324
+ "type": "object",
325
+ "properties": {
326
+ "id": {
327
+ "type": "string",
328
+ "minLength": 1,
329
+ "maxLength": 256
330
+ },
331
+ "version": {
332
+ "type": "string",
333
+ "minLength": 1,
334
+ "maxLength": 256
335
+ },
336
+ "coreVersion": {
337
+ "const": "0.10.0"
338
+ },
339
+ "sagaVersion": {
340
+ "const": "0.1.0"
341
+ },
342
+ "coordination": {
343
+ "enum": [
344
+ "supported",
345
+ "unsupported",
346
+ "unknown"
347
+ ]
348
+ },
349
+ "claims": {
350
+ "type": "array",
351
+ "items": {
352
+ "type": "object",
353
+ "properties": {
354
+ "obligation": {
355
+ "type": "string",
356
+ "minLength": 1,
357
+ "maxLength": 256
358
+ },
359
+ "status": {
360
+ "enum": [
361
+ "supported",
362
+ "unsupported",
363
+ "unknown"
364
+ ]
365
+ },
366
+ "evidence": {
367
+ "type": "array",
368
+ "items": {
369
+ "type": "string",
370
+ "minLength": 1,
371
+ "maxLength": 256
372
+ },
373
+ "minItems": 0,
374
+ "maxItems": 32
375
+ }
376
+ },
377
+ "required": [
378
+ "obligation",
379
+ "status",
380
+ "evidence"
381
+ ],
382
+ "additionalProperties": true
383
+ },
384
+ "minItems": 0,
385
+ "maxItems": 4096
386
+ },
387
+ "source": {
388
+ "type": "object"
389
+ },
390
+ "identity": {
391
+ "$ref": "#/$defs/identity"
392
+ }
393
+ },
394
+ "required": [
395
+ "id",
396
+ "version",
397
+ "coreVersion",
398
+ "sagaVersion",
399
+ "coordination",
400
+ "claims",
401
+ "source",
402
+ "identity"
403
+ ],
404
+ "additionalProperties": false
405
+ },
406
+ "diagnostic": {
407
+ "type": "object",
408
+ "properties": {
409
+ "code": {
410
+ "type": "string",
411
+ "minLength": 1,
412
+ "maxLength": 256
413
+ },
414
+ "path": {
415
+ "type": "string",
416
+ "maxLength": 4096
417
+ },
418
+ "severity": {
419
+ "enum": [
420
+ "error",
421
+ "warning"
422
+ ]
423
+ },
424
+ "message": {
425
+ "type": "string",
426
+ "minLength": 1,
427
+ "maxLength": 4096
428
+ }
429
+ },
430
+ "required": [
431
+ "code",
432
+ "path",
433
+ "severity",
434
+ "message"
435
+ ],
436
+ "additionalProperties": false
437
+ },
438
+ "obligation": {
439
+ "type": "object",
440
+ "properties": {
441
+ "id": {
442
+ "type": "string",
443
+ "minLength": 1,
444
+ "maxLength": 256
445
+ },
446
+ "path": {
447
+ "type": "string",
448
+ "maxLength": 4096
449
+ },
450
+ "kind": {
451
+ "enum": [
452
+ "model",
453
+ "binding",
454
+ "action",
455
+ "coordination",
456
+ "recovery",
457
+ "unknown"
458
+ ]
459
+ },
460
+ "status": {
461
+ "enum": [
462
+ "checked",
463
+ "unchecked"
464
+ ]
465
+ }
466
+ },
467
+ "required": [
468
+ "id",
469
+ "path",
470
+ "kind",
471
+ "status"
472
+ ],
473
+ "additionalProperties": false
474
+ },
475
+ "assessment": {
476
+ "type": "object",
477
+ "properties": {
478
+ "valid": {
479
+ "type": "boolean"
480
+ },
481
+ "complete": {
482
+ "type": "boolean"
483
+ },
484
+ "declarationCompatible": {
485
+ "type": "boolean"
486
+ },
487
+ "executionVerified": {
488
+ "const": false
489
+ },
490
+ "coordination": {
491
+ "enum": [
492
+ "supported",
493
+ "unsupported",
494
+ "unknown"
495
+ ]
496
+ },
497
+ "outcomes": {
498
+ "type": "array",
499
+ "items": {
500
+ "type": "object",
501
+ "properties": {
502
+ "obligation": {
503
+ "type": "string",
504
+ "minLength": 1,
505
+ "maxLength": 256
506
+ },
507
+ "status": {
508
+ "enum": [
509
+ "supported",
510
+ "unsupported",
511
+ "unknown"
512
+ ]
513
+ },
514
+ "evidence": {
515
+ "type": "array",
516
+ "items": {
517
+ "type": "string",
518
+ "minLength": 1,
519
+ "maxLength": 256
520
+ },
521
+ "minItems": 0,
522
+ "maxItems": 32
523
+ }
524
+ },
525
+ "required": [
526
+ "obligation",
527
+ "status",
528
+ "evidence"
529
+ ],
530
+ "additionalProperties": false
531
+ },
532
+ "minItems": 0,
533
+ "maxItems": 4096
534
+ },
535
+ "diagnostics": {
536
+ "type": "array",
537
+ "items": {
538
+ "$ref": "#/$defs/diagnostic"
539
+ },
540
+ "minItems": 0,
541
+ "maxItems": 4096
542
+ }
543
+ },
544
+ "required": [
545
+ "valid",
546
+ "complete",
547
+ "declarationCompatible",
548
+ "executionVerified",
549
+ "coordination",
550
+ "outcomes",
551
+ "diagnostics"
552
+ ],
553
+ "additionalProperties": false
554
+ },
555
+ "inspection": {
556
+ "type": "object",
557
+ "properties": {
558
+ "source": {
559
+ "type": "object"
560
+ },
561
+ "validation": {
562
+ "type": "object"
563
+ },
564
+ "entries": {
565
+ "type": "array",
566
+ "maxItems": 4096,
567
+ "items": {
568
+ "type": "object",
569
+ "properties": {
570
+ "module": {
571
+ "type": "string",
572
+ "minLength": 1
573
+ },
574
+ "path": {
575
+ "type": "string"
576
+ },
577
+ "definition": {
578
+ "$ref": "#/$defs/definition"
579
+ },
580
+ "obligations": {
581
+ "type": "array",
582
+ "maxItems": 4096,
583
+ "items": {
584
+ "$ref": "#/$defs/obligation"
585
+ }
586
+ }
587
+ },
588
+ "required": [
589
+ "module",
590
+ "path",
591
+ "definition",
592
+ "obligations"
593
+ ],
594
+ "additionalProperties": false
595
+ }
596
+ }
597
+ },
598
+ "required": [
599
+ "source",
600
+ "validation",
601
+ "entries"
602
+ ],
603
+ "additionalProperties": false
604
+ }
605
+ }
606
+ },
607
+ "semantics": "CONTRACT-908; portable analysis only; registration grants no execution authority.",
608
+ "scopes": [
609
+ "module"
610
+ ],
611
+ "capabilities": {
612
+ "validation": "semantic",
613
+ "directions": [],
614
+ "evidence": []
615
+ }
616
+ }