@hyperscale0/adl 1.0.0-beta.6 → 1.0.0-beta.8

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.
@@ -32,7 +32,6 @@
32
32
  "enum": [
33
33
  "none",
34
34
  "rest",
35
- "batch_reconcile",
36
35
  "sync_clearance"
37
36
  ]
38
37
  },
@@ -112,469 +111,667 @@
112
111
  "additionalProperties": {
113
112
  "$ref": "#/$defs/webhookTransitionPlan"
114
113
  }
115
- },
116
- "profile": {
117
- "type": "object",
118
- "additionalProperties": false,
119
- "required": [
120
- "auth",
121
- "executedReadBack",
122
- "financialAddressProvisioning",
123
- "idempotencySpine",
124
- "kind",
125
- "lifecycleVocabulary",
126
- "limitFacts",
127
- "notificationMechanisms",
128
- "statementFormats",
129
- "windows",
130
- "wireCodec"
131
- ],
132
- "properties": {
133
- "kind": {
134
- "const": "partner_bank"
135
- },
136
- "wireCodec": {
137
- "type": "string",
138
- "enum": [
139
- "rest_json",
140
- "iso20022_xml",
141
- "swift_mt"
142
- ]
143
- },
144
- "auth": {
114
+ }
115
+ },
116
+ "$defs": {
117
+ "objectField": {
118
+ "oneOf": [
119
+ {
145
120
  "type": "object",
146
- "additionalProperties": false,
147
- "required": [
148
- "envelope",
149
- "signing"
150
- ],
151
121
  "properties": {
152
- "envelope": {
122
+ "name": {
153
123
  "type": "string",
154
- "enum": [
155
- "oauth2_client_credentials",
156
- "oauth2_password",
157
- "bearer_out_of_band",
158
- "mutual_tls",
159
- "signed_file"
160
- ]
124
+ "maxLength": 80,
125
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
126
+ },
127
+ "optional": {
128
+ "type": "boolean",
129
+ "const": true
161
130
  },
162
- "signing": {
131
+ "description": {
163
132
  "type": "string",
164
- "enum": [
165
- "jws",
166
- "detached_signature",
167
- "signed_file"
168
- ]
133
+ "minLength": 1,
134
+ "maxLength": 2048
135
+ },
136
+ "sensitive": {
137
+ "type": "boolean",
138
+ "const": true
139
+ },
140
+ "type": {
141
+ "type": "string",
142
+ "const": "money"
143
+ },
144
+ "value": {
145
+ "type": "string",
146
+ "pattern": "^(0|[1-9][0-9]{0,17})$"
147
+ },
148
+ "minimum": {
149
+ "type": "string",
150
+ "pattern": "^(0|[1-9][0-9]{0,17})$"
151
+ },
152
+ "maximum": {
153
+ "type": "string",
154
+ "pattern": "^(0|[1-9][0-9]{0,17})$"
169
155
  }
170
- }
171
- },
172
- "charges": {
173
- "type": "object",
174
- "additionalProperties": false,
156
+ },
175
157
  "required": [
176
- "posting",
177
- "vat"
158
+ "name",
159
+ "type"
178
160
  ],
161
+ "additionalProperties": false
162
+ },
163
+ {
164
+ "type": "object",
179
165
  "properties": {
180
- "narratives": {
166
+ "name": {
167
+ "type": "string",
168
+ "maxLength": 80,
169
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
170
+ },
171
+ "optional": {
172
+ "type": "boolean",
173
+ "const": true
174
+ },
175
+ "description": {
176
+ "type": "string",
177
+ "minLength": 1,
178
+ "maxLength": 2048
179
+ },
180
+ "sensitive": {
181
+ "type": "boolean",
182
+ "const": true
183
+ },
184
+ "type": {
185
+ "type": "string",
186
+ "const": "ref"
187
+ },
188
+ "targetKind": {
189
+ "type": "string",
190
+ "enum": [
191
+ "instrument",
192
+ "object"
193
+ ]
194
+ },
195
+ "targetFamily": {
181
196
  "type": "object",
182
- "additionalProperties": false,
197
+ "properties": {
198
+ "module": {
199
+ "type": "string",
200
+ "maxLength": 80,
201
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
202
+ },
203
+ "exportPath": {
204
+ "type": "string",
205
+ "maxLength": 240,
206
+ "pattern": "^[a-z][a-zA-Z0-9_]*(?:\\.[a-z][a-zA-Z0-9_]*)*$"
207
+ },
208
+ "revision": {
209
+ "type": "integer",
210
+ "exclusiveMinimum": 0,
211
+ "maximum": 9007199254740991
212
+ }
213
+ },
183
214
  "required": [
184
- "charge",
185
- "vat"
215
+ "module",
216
+ "exportPath",
217
+ "revision"
186
218
  ],
187
- "properties": {
188
- "charge": {
189
- "type": "array",
190
- "items": {
191
- "type": "string",
192
- "pattern": "\\S"
193
- }
219
+ "additionalProperties": false
220
+ },
221
+ "target": {
222
+ "anyOf": [
223
+ {
224
+ "type": "string",
225
+ "maxLength": 80,
226
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
194
227
  },
195
- "vat": {
228
+ {
229
+ "minItems": 1,
230
+ "maxItems": 16,
196
231
  "type": "array",
197
232
  "items": {
198
233
  "type": "string",
199
- "pattern": "\\S"
234
+ "maxLength": 80,
235
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
200
236
  }
201
237
  }
202
- }
238
+ ]
239
+ }
240
+ },
241
+ "required": [
242
+ "name",
243
+ "type",
244
+ "targetKind",
245
+ "target"
246
+ ],
247
+ "additionalProperties": false
248
+ },
249
+ {
250
+ "type": "object",
251
+ "properties": {
252
+ "name": {
253
+ "type": "string",
254
+ "maxLength": 80,
255
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
256
+ },
257
+ "optional": {
258
+ "type": "boolean",
259
+ "const": true
203
260
  },
204
- "posting": {
261
+ "description": {
205
262
  "type": "string",
206
- "enum": [
207
- "post_hoc",
208
- "at_instruction"
209
- ]
263
+ "minLength": 1,
264
+ "maxLength": 2048
265
+ },
266
+ "sensitive": {
267
+ "type": "boolean",
268
+ "const": true
210
269
  },
211
- "vat": {
270
+ "type": {
212
271
  "type": "string",
213
- "enum": [
214
- "separate_line",
215
- "included_in_charge"
216
- ]
272
+ "const": "date"
273
+ },
274
+ "value": {
275
+ "type": "string",
276
+ "format": "date-time",
277
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
217
278
  }
218
- }
219
- },
220
- "executedReadBack": {
221
- "type": "object",
222
- "additionalProperties": false,
279
+ },
223
280
  "required": [
224
- "fxRate",
225
- "railSubstitution"
281
+ "name",
282
+ "type"
226
283
  ],
284
+ "additionalProperties": false
285
+ },
286
+ {
287
+ "type": "object",
227
288
  "properties": {
228
- "fxRate": {
289
+ "name": {
229
290
  "type": "string",
230
- "enum": [
231
- "final_status_only"
232
- ]
291
+ "maxLength": 80,
292
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
293
+ },
294
+ "optional": {
295
+ "type": "boolean",
296
+ "const": true
233
297
  },
234
- "railSubstitution": {
298
+ "description": {
235
299
  "type": "string",
236
- "enum": [
237
- "ips_to_sarie",
238
- "none"
239
- ]
300
+ "minLength": 1,
301
+ "maxLength": 2048
302
+ },
303
+ "sensitive": {
304
+ "type": "boolean",
305
+ "const": true
306
+ },
307
+ "type": {
308
+ "type": "string",
309
+ "const": "duration"
310
+ },
311
+ "value": {
312
+ "type": "integer",
313
+ "exclusiveMinimum": 0,
314
+ "maximum": 9007199254740991
240
315
  }
241
- }
316
+ },
317
+ "required": [
318
+ "name",
319
+ "type"
320
+ ],
321
+ "additionalProperties": false
242
322
  },
243
- "idempotencySpine": {
323
+ {
244
324
  "type": "object",
245
- "additionalProperties": false,
325
+ "properties": {
326
+ "name": {
327
+ "type": "string",
328
+ "maxLength": 80,
329
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
330
+ },
331
+ "optional": {
332
+ "type": "boolean",
333
+ "const": true
334
+ },
335
+ "description": {
336
+ "type": "string",
337
+ "minLength": 1,
338
+ "maxLength": 2048
339
+ },
340
+ "sensitive": {
341
+ "type": "boolean",
342
+ "const": true
343
+ },
344
+ "type": {
345
+ "type": "string",
346
+ "const": "text"
347
+ },
348
+ "value": {
349
+ "type": "string",
350
+ "minLength": 1,
351
+ "maxLength": 2048
352
+ },
353
+ "minLength": {
354
+ "type": "integer",
355
+ "exclusiveMinimum": 0,
356
+ "maximum": 2048
357
+ },
358
+ "maxLength": {
359
+ "type": "integer",
360
+ "exclusiveMinimum": 0,
361
+ "maximum": 2048
362
+ },
363
+ "pattern": {
364
+ "type": "string",
365
+ "pattern": "^\\^\\[[A-Za-z0-9-]+\\]\\{[1-9][0-9]{0,3}\\}\\$$"
366
+ }
367
+ },
246
368
  "required": [
247
- "dedupeKeys",
248
- "endToEndId",
249
- "instructionId",
250
- "paymentReference"
369
+ "name",
370
+ "type"
251
371
  ],
372
+ "additionalProperties": false
373
+ },
374
+ {
375
+ "type": "object",
252
376
  "properties": {
253
- "dedupeKeys": {
254
- "type": "array",
255
- "items": {
256
- "type": "string",
257
- "enum": [
258
- "client",
259
- "instructionId",
260
- "endToEndId",
261
- "paymentReference"
262
- ]
263
- },
264
- "minItems": 1,
265
- "uniqueItems": true
377
+ "name": {
378
+ "type": "string",
379
+ "maxLength": 80,
380
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
266
381
  },
267
- "endToEndId": {
268
- "$ref": "#/$defs/referenceLimit"
382
+ "optional": {
383
+ "type": "boolean",
384
+ "const": true
269
385
  },
270
- "instructionId": {
271
- "$ref": "#/$defs/referenceLimit"
386
+ "description": {
387
+ "type": "string",
388
+ "minLength": 1,
389
+ "maxLength": 2048
390
+ },
391
+ "sensitive": {
392
+ "type": "boolean",
393
+ "const": true
272
394
  },
273
- "paymentReference": {
274
- "$ref": "#/$defs/referenceLimit"
395
+ "type": {
396
+ "type": "string",
397
+ "const": "integer"
398
+ },
399
+ "value": {
400
+ "type": "integer",
401
+ "minimum": -9007199254740991,
402
+ "maximum": 9007199254740991
403
+ },
404
+ "minimum": {
405
+ "type": "integer",
406
+ "minimum": -9007199254740991,
407
+ "maximum": 9007199254740991
408
+ },
409
+ "maximum": {
410
+ "type": "integer",
411
+ "minimum": -9007199254740991,
412
+ "maximum": 9007199254740991
275
413
  }
276
- }
414
+ },
415
+ "required": [
416
+ "name",
417
+ "type"
418
+ ],
419
+ "additionalProperties": false
277
420
  },
278
- "lifecycleVocabulary": {
421
+ {
279
422
  "type": "object",
280
- "minProperties": 1,
281
- "additionalProperties": {
282
- "type": "string",
283
- "enum": [
284
- "received",
285
- "accepted",
286
- "processed",
287
- "failed",
288
- "returned",
289
- "duplicate_original_succeeded",
290
- "duplicate_original_rejected",
291
- "duplicate_suspected_rejected"
292
- ]
293
- }
423
+ "properties": {
424
+ "name": {
425
+ "type": "string",
426
+ "maxLength": 80,
427
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
428
+ },
429
+ "optional": {
430
+ "type": "boolean",
431
+ "const": true
432
+ },
433
+ "description": {
434
+ "type": "string",
435
+ "minLength": 1,
436
+ "maxLength": 2048
437
+ },
438
+ "sensitive": {
439
+ "type": "boolean",
440
+ "const": true
441
+ },
442
+ "type": {
443
+ "type": "string",
444
+ "const": "percent"
445
+ },
446
+ "value": {
447
+ "type": "integer",
448
+ "minimum": 0,
449
+ "maximum": 10000
450
+ }
451
+ },
452
+ "required": [
453
+ "name",
454
+ "type"
455
+ ],
456
+ "additionalProperties": false
294
457
  },
295
- "limitFacts": {
458
+ {
296
459
  "type": "object",
297
- "additionalProperties": false,
460
+ "properties": {
461
+ "name": {
462
+ "type": "string",
463
+ "maxLength": 80,
464
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
465
+ },
466
+ "optional": {
467
+ "type": "boolean",
468
+ "const": true
469
+ },
470
+ "description": {
471
+ "type": "string",
472
+ "minLength": 1,
473
+ "maxLength": 2048
474
+ },
475
+ "sensitive": {
476
+ "type": "boolean",
477
+ "const": true
478
+ },
479
+ "type": {
480
+ "type": "string",
481
+ "const": "boolean"
482
+ },
483
+ "value": {
484
+ "type": "boolean"
485
+ }
486
+ },
298
487
  "required": [
299
- "access",
300
- "dimensions"
488
+ "name",
489
+ "type"
301
490
  ],
491
+ "additionalProperties": false
492
+ },
493
+ {
494
+ "type": "object",
302
495
  "properties": {
303
- "access": {
496
+ "name": {
304
497
  "type": "string",
305
- "enum": [
306
- "read_only"
307
- ]
498
+ "maxLength": 80,
499
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
500
+ },
501
+ "optional": {
502
+ "type": "boolean",
503
+ "const": true
504
+ },
505
+ "description": {
506
+ "type": "string",
507
+ "minLength": 1,
508
+ "maxLength": 2048
509
+ },
510
+ "sensitive": {
511
+ "type": "boolean",
512
+ "const": true
513
+ },
514
+ "type": {
515
+ "type": "string",
516
+ "const": "enum"
308
517
  },
309
- "dimensions": {
518
+ "values": {
519
+ "minItems": 1,
520
+ "maxItems": 64,
310
521
  "type": "array",
311
522
  "items": {
312
523
  "type": "string",
313
- "enum": [
314
- "daily",
315
- "per_transaction",
316
- "foreign_exchange"
317
- ]
318
- },
319
- "uniqueItems": true
524
+ "maxLength": 80,
525
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
526
+ }
527
+ },
528
+ "value": {
529
+ "type": "string",
530
+ "maxLength": 80,
531
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
320
532
  }
321
- }
322
- },
323
- "notificationMechanisms": {
324
- "type": "array",
325
- "items": {
326
- "type": "string",
327
- "enum": [
328
- "poll",
329
- "webhook"
330
- ]
331
- },
332
- "uniqueItems": true,
333
- "contains": {
334
- "const": "poll"
335
- }
336
- },
337
- "statementDebitReference": {
338
- "type": "string",
339
- "enum": [
340
- "bank_reference",
341
- "customer_reference"
342
- ]
343
- },
344
- "statementFormats": {
345
- "type": "array",
346
- "items": {
347
- "type": "string",
348
- "enum": [
349
- "mt940",
350
- "mt942",
351
- "camt_052",
352
- "camt_053",
353
- "obie_json"
354
- ]
355
533
  },
356
- "uniqueItems": true
357
- },
358
- "financialAddressProvisioning": {
359
- "type": "object",
360
- "additionalProperties": false,
361
534
  "required": [
362
- "mechanism",
363
- "pricing",
364
- "quota"
535
+ "name",
536
+ "type",
537
+ "values"
365
538
  ],
539
+ "additionalProperties": false
540
+ },
541
+ {
542
+ "type": "object",
366
543
  "properties": {
367
- "mechanism": {
544
+ "name": {
368
545
  "type": "string",
369
- "enum": [
370
- "api",
371
- "scheme_file"
372
- ]
546
+ "maxLength": 80,
547
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
548
+ },
549
+ "optional": {
550
+ "type": "boolean",
551
+ "const": true
373
552
  },
374
- "pricing": {
553
+ "description": {
554
+ "type": "string",
555
+ "minLength": 1,
556
+ "maxLength": 2048
557
+ },
558
+ "sensitive": {
559
+ "type": "boolean",
560
+ "const": true
561
+ },
562
+ "type": {
563
+ "type": "string",
564
+ "const": "list"
565
+ },
566
+ "item": {
375
567
  "type": "string",
376
568
  "enum": [
377
- "none",
378
- "per_address"
569
+ "money",
570
+ "date",
571
+ "text",
572
+ "integer",
573
+ "ref"
379
574
  ]
380
575
  },
381
- "quota": {
576
+ "targetKind": {
382
577
  "type": "string",
383
578
  "enum": [
384
- "none",
385
- "provider_enforced"
579
+ "instrument",
580
+ "object"
386
581
  ]
387
- }
388
- }
389
- },
390
- "windows": {
391
- "type": "object",
392
- "additionalProperties": false,
393
- "required": [
394
- "paymentCutoff",
395
- "statements",
396
- "valueDateMaxDaysAhead"
397
- ],
398
- "properties": {
399
- "paymentCutoff": {
582
+ },
583
+ "targetFamily": {
400
584
  "type": "object",
401
- "additionalProperties": false,
402
- "required": [
403
- "afterCutoffValueDate",
404
- "beforeCutoffValueDate",
405
- "time",
406
- "timeZone"
407
- ],
408
585
  "properties": {
409
- "afterCutoffValueDate": {
410
- "$ref": "#/$defs/valueDateOffset"
411
- },
412
- "beforeCutoffValueDate": {
413
- "$ref": "#/$defs/valueDateOffset"
414
- },
415
- "time": {
586
+ "module": {
416
587
  "type": "string",
417
- "pattern": "^\\d{2}:\\d{2}$"
588
+ "maxLength": 80,
589
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
418
590
  },
419
- "timeZone": {
591
+ "exportPath": {
420
592
  "type": "string",
421
- "pattern": "\\S"
422
- }
423
- }
424
- },
425
- "statements": {
426
- "type": "object",
427
- "additionalProperties": false,
428
- "properties": {
429
- "mt940": {
430
- "type": "object",
431
- "additionalProperties": false,
432
- "required": [
433
- "availability"
434
- ],
435
- "properties": {
436
- "availability": {
437
- "type": "string",
438
- "enum": [
439
- "T-1",
440
- "today_only"
441
- ]
442
- },
443
- "lookbackDays": {
444
- "type": "integer",
445
- "minimum": 1
446
- },
447
- "statementDaysPerRequest": {
448
- "type": "integer",
449
- "minimum": 1
450
- }
451
- }
452
- },
453
- "mt942": {
454
- "type": "object",
455
- "additionalProperties": false,
456
- "required": [
457
- "availability"
458
- ],
459
- "properties": {
460
- "availability": {
461
- "type": "string",
462
- "enum": [
463
- "T-1",
464
- "today_only"
465
- ]
466
- },
467
- "lookbackDays": {
468
- "type": "integer",
469
- "minimum": 1
470
- },
471
- "statementDaysPerRequest": {
472
- "type": "integer",
473
- "minimum": 1
474
- }
475
- }
476
- },
477
- "camt_052": {
478
- "type": "object",
479
- "additionalProperties": false,
480
- "required": [
481
- "availability"
482
- ],
483
- "properties": {
484
- "availability": {
485
- "type": "string",
486
- "enum": [
487
- "T-1",
488
- "today_only"
489
- ]
490
- },
491
- "lookbackDays": {
492
- "type": "integer",
493
- "minimum": 1
494
- },
495
- "statementDaysPerRequest": {
496
- "type": "integer",
497
- "minimum": 1
498
- }
499
- }
500
- },
501
- "camt_053": {
502
- "type": "object",
503
- "additionalProperties": false,
504
- "required": [
505
- "availability"
506
- ],
507
- "properties": {
508
- "availability": {
509
- "type": "string",
510
- "enum": [
511
- "T-1",
512
- "today_only"
513
- ]
514
- },
515
- "lookbackDays": {
516
- "type": "integer",
517
- "minimum": 1
518
- },
519
- "statementDaysPerRequest": {
520
- "type": "integer",
521
- "minimum": 1
522
- }
523
- }
593
+ "maxLength": 240,
594
+ "pattern": "^[a-z][a-zA-Z0-9_]*(?:\\.[a-z][a-zA-Z0-9_]*)*$"
524
595
  },
525
- "obie_json": {
526
- "type": "object",
527
- "additionalProperties": false,
528
- "required": [
529
- "availability"
530
- ],
531
- "properties": {
532
- "availability": {
533
- "type": "string",
534
- "enum": [
535
- "T-1",
536
- "today_only"
537
- ]
538
- },
539
- "lookbackDays": {
540
- "type": "integer",
541
- "minimum": 1
542
- },
543
- "statementDaysPerRequest": {
544
- "type": "integer",
545
- "minimum": 1
546
- }
547
- }
596
+ "revision": {
597
+ "type": "integer",
598
+ "exclusiveMinimum": 0,
599
+ "maximum": 9007199254740991
548
600
  }
549
- }
601
+ },
602
+ "required": [
603
+ "module",
604
+ "exportPath",
605
+ "revision"
606
+ ],
607
+ "additionalProperties": false
608
+ },
609
+ "target": {
610
+ "type": "string",
611
+ "maxLength": 80,
612
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
550
613
  },
551
- "valueDateMaxDaysAhead": {
614
+ "maxItems": {
552
615
  "type": "integer",
553
- "minimum": 1
616
+ "minimum": 1,
617
+ "maximum": 366
554
618
  }
555
- }
619
+ },
620
+ "required": [
621
+ "name",
622
+ "type",
623
+ "item",
624
+ "maxItems"
625
+ ],
626
+ "additionalProperties": false
556
627
  }
557
- }
558
- }
559
- },
560
- "$defs": {
561
- "referenceLimit": {
628
+ ]
629
+ },
630
+ "BoundaryInstruction": {
631
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
632
+ "readOnly": true,
562
633
  "type": "object",
563
- "additionalProperties": false,
634
+ "properties": {
635
+ "id": {
636
+ "type": "string",
637
+ "minLength": 1,
638
+ "maxLength": 240
639
+ },
640
+ "environment": {
641
+ "type": "string",
642
+ "enum": [
643
+ "sandbox",
644
+ "live"
645
+ ]
646
+ },
647
+ "tenantId": {
648
+ "type": "string",
649
+ "minLength": 1,
650
+ "maxLength": 240
651
+ },
652
+ "productId": {
653
+ "type": "string",
654
+ "minLength": 1,
655
+ "maxLength": 240
656
+ },
657
+ "productBuildId": {
658
+ "type": "string",
659
+ "minLength": 1,
660
+ "maxLength": 240
661
+ },
662
+ "buildDigest": {
663
+ "type": "string",
664
+ "minLength": 1,
665
+ "maxLength": 240
666
+ },
667
+ "target": {
668
+ "readOnly": true,
669
+ "type": "object",
670
+ "properties": {
671
+ "kind": {
672
+ "type": "string",
673
+ "minLength": 1,
674
+ "maxLength": 240
675
+ },
676
+ "attachment": {
677
+ "type": "string",
678
+ "minLength": 1,
679
+ "maxLength": 240
680
+ },
681
+ "instanceId": {
682
+ "type": "string",
683
+ "minLength": 1,
684
+ "maxLength": 240
685
+ }
686
+ },
687
+ "required": [
688
+ "kind",
689
+ "attachment",
690
+ "instanceId"
691
+ ],
692
+ "additionalProperties": false
693
+ },
694
+ "sourceAccountId": {
695
+ "type": "string",
696
+ "minLength": 1,
697
+ "maxLength": 240
698
+ },
699
+ "destinationAccountId": {
700
+ "type": "string",
701
+ "minLength": 1,
702
+ "maxLength": 240
703
+ },
704
+ "amount": {
705
+ "type": "string",
706
+ "pattern": "^[1-9][0-9]{0,17}$"
707
+ },
708
+ "currency": {
709
+ "type": "string",
710
+ "pattern": "^[A-Z]{3}$"
711
+ },
712
+ "adapter": {
713
+ "type": "string",
714
+ "pattern": "^[a-z][a-z0-9_.-]{0,79}$"
715
+ }
716
+ },
564
717
  "required": [
565
- "maxLength"
718
+ "id",
719
+ "environment",
720
+ "tenantId",
721
+ "productId",
722
+ "productBuildId",
723
+ "buildDigest",
724
+ "target",
725
+ "sourceAccountId",
726
+ "destinationAccountId",
727
+ "amount",
728
+ "currency",
729
+ "adapter"
566
730
  ],
731
+ "additionalProperties": false
732
+ },
733
+ "BoundaryObservation": {
734
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
735
+ "readOnly": true,
736
+ "type": "object",
567
737
  "properties": {
568
- "maxLength": {
569
- "type": "integer",
570
- "minimum": 1
738
+ "adapter": {
739
+ "type": "string",
740
+ "pattern": "^[a-z][a-z0-9_.-]{0,79}$"
741
+ },
742
+ "externalReference": {
743
+ "type": "string",
744
+ "minLength": 1,
745
+ "maxLength": 240
746
+ },
747
+ "instructionId": {
748
+ "type": "string",
749
+ "minLength": 1,
750
+ "maxLength": 240
751
+ },
752
+ "outcome": {
753
+ "type": "string",
754
+ "enum": [
755
+ "acknowledged",
756
+ "unknown",
757
+ "confirmed",
758
+ "rejected"
759
+ ]
760
+ },
761
+ "observedAt": {
762
+ "type": "string",
763
+ "format": "date-time",
764
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
571
765
  }
572
- }
573
- },
574
- "valueDateOffset": {
575
- "type": "string",
576
- "description": "Banking days after the instruction date.",
577
- "pattern": "^D\\+(0|[1-9]\\d*)$"
766
+ },
767
+ "required": [
768
+ "adapter",
769
+ "externalReference",
770
+ "instructionId",
771
+ "outcome",
772
+ "observedAt"
773
+ ],
774
+ "additionalProperties": false
578
775
  },
579
776
  "operationBinding": {
580
777
  "type": "object",
@@ -622,65 +819,25 @@
622
819
  "type": "string",
623
820
  "pattern": "\\S"
624
821
  },
625
- "statusEnquiry": {
626
- "$ref": "#/$defs/statusEnquiry"
627
- }
628
- }
629
- },
630
- "statusEnquiry": {
631
- "type": "object",
632
- "additionalProperties": false,
633
- "required": [
634
- "keys",
635
- "pathTemplate"
636
- ],
637
- "properties": {
638
- "keys": {
639
- "type": "string",
640
- "enum": [
641
- "instruction_id",
642
- "provider_reference"
643
- ]
644
- },
645
- "pathTemplate": {
646
- "type": "string",
647
- "pattern": "\\S"
648
- }
649
- },
650
- "allOf": [
651
- {
652
- "if": {
653
- "properties": {
654
- "keys": {
655
- "const": "instruction_id"
656
- }
657
- }
658
- },
659
- "then": {
660
- "properties": {
661
- "pathTemplate": {
662
- "pattern": "\\{instructionId\\}"
663
- }
664
- }
665
- }
666
- },
667
- {
668
- "if": {
669
- "properties": {
670
- "keys": {
671
- "const": "provider_reference"
672
- }
673
- }
674
- },
675
- "then": {
676
- "properties": {
677
- "pathTemplate": {
678
- "pattern": "\\{providerReference\\}"
822
+ "subjectRequirements": {
823
+ "type": "array",
824
+ "maxItems": 128,
825
+ "items": {
826
+ "allOf": [
827
+ {
828
+ "$ref": "#/$defs/objectField"
829
+ },
830
+ {
831
+ "not": {
832
+ "required": [
833
+ "optional"
834
+ ]
835
+ }
679
836
  }
680
- }
837
+ ]
681
838
  }
682
839
  }
683
- ]
840
+ }
684
841
  },
685
842
  "webhookTransitionPlan": {
686
843
  "type": "object",