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

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,575 @@
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
+ "type": {
137
+ "type": "string",
138
+ "const": "money"
139
+ },
140
+ "value": {
141
+ "type": "string",
142
+ "pattern": "^(0|[1-9][0-9]{0,17})$"
143
+ },
144
+ "minimum": {
145
+ "type": "string",
146
+ "pattern": "^(0|[1-9][0-9]{0,17})$"
147
+ },
148
+ "maximum": {
149
+ "type": "string",
150
+ "pattern": "^(0|[1-9][0-9]{0,17})$"
169
151
  }
170
- }
171
- },
172
- "charges": {
173
- "type": "object",
174
- "additionalProperties": false,
152
+ },
175
153
  "required": [
176
- "posting",
177
- "vat"
154
+ "name",
155
+ "type"
178
156
  ],
157
+ "additionalProperties": false
158
+ },
159
+ {
160
+ "type": "object",
179
161
  "properties": {
180
- "narratives": {
181
- "type": "object",
182
- "additionalProperties": false,
183
- "required": [
184
- "charge",
185
- "vat"
186
- ],
187
- "properties": {
188
- "charge": {
189
- "type": "array",
190
- "items": {
191
- "type": "string",
192
- "pattern": "\\S"
193
- }
162
+ "name": {
163
+ "type": "string",
164
+ "maxLength": 80,
165
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
166
+ },
167
+ "optional": {
168
+ "type": "boolean",
169
+ "const": true
170
+ },
171
+ "description": {
172
+ "type": "string",
173
+ "minLength": 1,
174
+ "maxLength": 2048
175
+ },
176
+ "type": {
177
+ "type": "string",
178
+ "const": "ref"
179
+ },
180
+ "targetKind": {
181
+ "type": "string",
182
+ "enum": [
183
+ "instrument",
184
+ "object"
185
+ ]
186
+ },
187
+ "target": {
188
+ "anyOf": [
189
+ {
190
+ "type": "string",
191
+ "maxLength": 80,
192
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
194
193
  },
195
- "vat": {
194
+ {
195
+ "minItems": 1,
196
+ "maxItems": 16,
196
197
  "type": "array",
197
198
  "items": {
198
199
  "type": "string",
199
- "pattern": "\\S"
200
+ "maxLength": 80,
201
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
200
202
  }
201
203
  }
202
- }
204
+ ]
205
+ }
206
+ },
207
+ "required": [
208
+ "name",
209
+ "type",
210
+ "targetKind",
211
+ "target"
212
+ ],
213
+ "additionalProperties": false
214
+ },
215
+ {
216
+ "type": "object",
217
+ "properties": {
218
+ "name": {
219
+ "type": "string",
220
+ "maxLength": 80,
221
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
203
222
  },
204
- "posting": {
223
+ "optional": {
224
+ "type": "boolean",
225
+ "const": true
226
+ },
227
+ "description": {
205
228
  "type": "string",
206
- "enum": [
207
- "post_hoc",
208
- "at_instruction"
209
- ]
229
+ "minLength": 1,
230
+ "maxLength": 2048
210
231
  },
211
- "vat": {
232
+ "type": {
212
233
  "type": "string",
213
- "enum": [
214
- "separate_line",
215
- "included_in_charge"
216
- ]
234
+ "const": "date"
235
+ },
236
+ "value": {
237
+ "type": "string",
238
+ "format": "date-time",
239
+ "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
240
  }
218
- }
219
- },
220
- "executedReadBack": {
221
- "type": "object",
222
- "additionalProperties": false,
241
+ },
223
242
  "required": [
224
- "fxRate",
225
- "railSubstitution"
243
+ "name",
244
+ "type"
226
245
  ],
246
+ "additionalProperties": false
247
+ },
248
+ {
249
+ "type": "object",
227
250
  "properties": {
228
- "fxRate": {
251
+ "name": {
229
252
  "type": "string",
230
- "enum": [
231
- "final_status_only"
232
- ]
253
+ "maxLength": 80,
254
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
233
255
  },
234
- "railSubstitution": {
256
+ "optional": {
257
+ "type": "boolean",
258
+ "const": true
259
+ },
260
+ "description": {
235
261
  "type": "string",
236
- "enum": [
237
- "ips_to_sarie",
238
- "none"
239
- ]
262
+ "minLength": 1,
263
+ "maxLength": 2048
264
+ },
265
+ "type": {
266
+ "type": "string",
267
+ "const": "duration"
268
+ },
269
+ "value": {
270
+ "type": "integer",
271
+ "exclusiveMinimum": 0,
272
+ "maximum": 9007199254740991
240
273
  }
241
- }
274
+ },
275
+ "required": [
276
+ "name",
277
+ "type"
278
+ ],
279
+ "additionalProperties": false
242
280
  },
243
- "idempotencySpine": {
281
+ {
244
282
  "type": "object",
245
- "additionalProperties": false,
283
+ "properties": {
284
+ "name": {
285
+ "type": "string",
286
+ "maxLength": 80,
287
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
288
+ },
289
+ "optional": {
290
+ "type": "boolean",
291
+ "const": true
292
+ },
293
+ "description": {
294
+ "type": "string",
295
+ "minLength": 1,
296
+ "maxLength": 2048
297
+ },
298
+ "type": {
299
+ "type": "string",
300
+ "const": "text"
301
+ },
302
+ "value": {
303
+ "type": "string",
304
+ "minLength": 1,
305
+ "maxLength": 2048
306
+ },
307
+ "minLength": {
308
+ "type": "integer",
309
+ "exclusiveMinimum": 0,
310
+ "maximum": 2048
311
+ },
312
+ "maxLength": {
313
+ "type": "integer",
314
+ "exclusiveMinimum": 0,
315
+ "maximum": 2048
316
+ },
317
+ "pattern": {
318
+ "type": "string",
319
+ "pattern": "^\\^\\[[A-Za-z0-9-]+\\]\\{[1-9][0-9]{0,3}\\}\\$$"
320
+ }
321
+ },
246
322
  "required": [
247
- "dedupeKeys",
248
- "endToEndId",
249
- "instructionId",
250
- "paymentReference"
323
+ "name",
324
+ "type"
251
325
  ],
326
+ "additionalProperties": false
327
+ },
328
+ {
329
+ "type": "object",
252
330
  "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
331
+ "name": {
332
+ "type": "string",
333
+ "maxLength": 80,
334
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
266
335
  },
267
- "endToEndId": {
268
- "$ref": "#/$defs/referenceLimit"
336
+ "optional": {
337
+ "type": "boolean",
338
+ "const": true
269
339
  },
270
- "instructionId": {
271
- "$ref": "#/$defs/referenceLimit"
340
+ "description": {
341
+ "type": "string",
342
+ "minLength": 1,
343
+ "maxLength": 2048
344
+ },
345
+ "type": {
346
+ "type": "string",
347
+ "const": "integer"
272
348
  },
273
- "paymentReference": {
274
- "$ref": "#/$defs/referenceLimit"
349
+ "value": {
350
+ "type": "integer",
351
+ "minimum": -9007199254740991,
352
+ "maximum": 9007199254740991
353
+ },
354
+ "minimum": {
355
+ "type": "integer",
356
+ "minimum": -9007199254740991,
357
+ "maximum": 9007199254740991
358
+ },
359
+ "maximum": {
360
+ "type": "integer",
361
+ "minimum": -9007199254740991,
362
+ "maximum": 9007199254740991
275
363
  }
276
- }
364
+ },
365
+ "required": [
366
+ "name",
367
+ "type"
368
+ ],
369
+ "additionalProperties": false
277
370
  },
278
- "lifecycleVocabulary": {
371
+ {
279
372
  "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
- }
373
+ "properties": {
374
+ "name": {
375
+ "type": "string",
376
+ "maxLength": 80,
377
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
378
+ },
379
+ "optional": {
380
+ "type": "boolean",
381
+ "const": true
382
+ },
383
+ "description": {
384
+ "type": "string",
385
+ "minLength": 1,
386
+ "maxLength": 2048
387
+ },
388
+ "type": {
389
+ "type": "string",
390
+ "const": "percent"
391
+ },
392
+ "value": {
393
+ "type": "integer",
394
+ "minimum": 0,
395
+ "maximum": 10000
396
+ }
397
+ },
398
+ "required": [
399
+ "name",
400
+ "type"
401
+ ],
402
+ "additionalProperties": false
294
403
  },
295
- "limitFacts": {
404
+ {
296
405
  "type": "object",
297
- "additionalProperties": false,
406
+ "properties": {
407
+ "name": {
408
+ "type": "string",
409
+ "maxLength": 80,
410
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
411
+ },
412
+ "optional": {
413
+ "type": "boolean",
414
+ "const": true
415
+ },
416
+ "description": {
417
+ "type": "string",
418
+ "minLength": 1,
419
+ "maxLength": 2048
420
+ },
421
+ "type": {
422
+ "type": "string",
423
+ "const": "boolean"
424
+ },
425
+ "value": {
426
+ "type": "boolean"
427
+ }
428
+ },
298
429
  "required": [
299
- "access",
300
- "dimensions"
430
+ "name",
431
+ "type"
301
432
  ],
433
+ "additionalProperties": false
434
+ },
435
+ {
436
+ "type": "object",
302
437
  "properties": {
303
- "access": {
438
+ "name": {
304
439
  "type": "string",
305
- "enum": [
306
- "read_only"
307
- ]
440
+ "maxLength": 80,
441
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
442
+ },
443
+ "optional": {
444
+ "type": "boolean",
445
+ "const": true
308
446
  },
309
- "dimensions": {
447
+ "description": {
448
+ "type": "string",
449
+ "minLength": 1,
450
+ "maxLength": 2048
451
+ },
452
+ "type": {
453
+ "type": "string",
454
+ "const": "enum"
455
+ },
456
+ "values": {
457
+ "minItems": 1,
458
+ "maxItems": 64,
310
459
  "type": "array",
311
460
  "items": {
312
461
  "type": "string",
313
- "enum": [
314
- "daily",
315
- "per_transaction",
316
- "foreign_exchange"
317
- ]
318
- },
319
- "uniqueItems": true
462
+ "maxLength": 80,
463
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
464
+ }
465
+ },
466
+ "value": {
467
+ "type": "string",
468
+ "maxLength": 80,
469
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
320
470
  }
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
471
  },
356
- "uniqueItems": true
357
- },
358
- "financialAddressProvisioning": {
359
- "type": "object",
360
- "additionalProperties": false,
361
472
  "required": [
362
- "mechanism",
363
- "pricing",
364
- "quota"
473
+ "name",
474
+ "type",
475
+ "values"
365
476
  ],
477
+ "additionalProperties": false
478
+ },
479
+ {
480
+ "type": "object",
366
481
  "properties": {
367
- "mechanism": {
482
+ "name": {
368
483
  "type": "string",
369
- "enum": [
370
- "api",
371
- "scheme_file"
372
- ]
484
+ "maxLength": 80,
485
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
486
+ },
487
+ "optional": {
488
+ "type": "boolean",
489
+ "const": true
490
+ },
491
+ "description": {
492
+ "type": "string",
493
+ "minLength": 1,
494
+ "maxLength": 2048
495
+ },
496
+ "type": {
497
+ "type": "string",
498
+ "const": "list"
373
499
  },
374
- "pricing": {
500
+ "item": {
375
501
  "type": "string",
376
502
  "enum": [
377
- "none",
378
- "per_address"
503
+ "money",
504
+ "date",
505
+ "text",
506
+ "integer",
507
+ "ref"
379
508
  ]
380
509
  },
381
- "quota": {
510
+ "targetKind": {
382
511
  "type": "string",
383
512
  "enum": [
384
- "none",
385
- "provider_enforced"
513
+ "instrument",
514
+ "object"
386
515
  ]
516
+ },
517
+ "target": {
518
+ "type": "string",
519
+ "maxLength": 80,
520
+ "pattern": "^[a-z][a-zA-Z0-9_]*$"
521
+ },
522
+ "maxItems": {
523
+ "type": "integer",
524
+ "minimum": 1,
525
+ "maximum": 366
387
526
  }
388
- }
389
- },
390
- "windows": {
391
- "type": "object",
392
- "additionalProperties": false,
527
+ },
393
528
  "required": [
394
- "paymentCutoff",
395
- "statements",
396
- "valueDateMaxDaysAhead"
529
+ "name",
530
+ "type",
531
+ "item",
532
+ "maxItems"
397
533
  ],
534
+ "additionalProperties": false
535
+ }
536
+ ]
537
+ },
538
+ "BoundaryInstruction": {
539
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
540
+ "readOnly": true,
541
+ "type": "object",
542
+ "properties": {
543
+ "id": {
544
+ "type": "string",
545
+ "minLength": 1,
546
+ "maxLength": 240
547
+ },
548
+ "environment": {
549
+ "type": "string",
550
+ "enum": [
551
+ "sandbox",
552
+ "live"
553
+ ]
554
+ },
555
+ "tenantId": {
556
+ "type": "string",
557
+ "minLength": 1,
558
+ "maxLength": 240
559
+ },
560
+ "productId": {
561
+ "type": "string",
562
+ "minLength": 1,
563
+ "maxLength": 240
564
+ },
565
+ "productBuildId": {
566
+ "type": "string",
567
+ "minLength": 1,
568
+ "maxLength": 240
569
+ },
570
+ "buildDigest": {
571
+ "type": "string",
572
+ "minLength": 1,
573
+ "maxLength": 240
574
+ },
575
+ "target": {
576
+ "readOnly": true,
577
+ "type": "object",
398
578
  "properties": {
399
- "paymentCutoff": {
400
- "type": "object",
401
- "additionalProperties": false,
402
- "required": [
403
- "afterCutoffValueDate",
404
- "beforeCutoffValueDate",
405
- "time",
406
- "timeZone"
407
- ],
408
- "properties": {
409
- "afterCutoffValueDate": {
410
- "$ref": "#/$defs/valueDateOffset"
411
- },
412
- "beforeCutoffValueDate": {
413
- "$ref": "#/$defs/valueDateOffset"
414
- },
415
- "time": {
416
- "type": "string",
417
- "pattern": "^\\d{2}:\\d{2}$"
418
- },
419
- "timeZone": {
420
- "type": "string",
421
- "pattern": "\\S"
422
- }
423
- }
579
+ "kind": {
580
+ "type": "string",
581
+ "minLength": 1,
582
+ "maxLength": 240
424
583
  },
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
- }
524
- },
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
- }
548
- }
549
- }
584
+ "attachment": {
585
+ "type": "string",
586
+ "minLength": 1,
587
+ "maxLength": 240
550
588
  },
551
- "valueDateMaxDaysAhead": {
552
- "type": "integer",
553
- "minimum": 1
589
+ "instanceId": {
590
+ "type": "string",
591
+ "minLength": 1,
592
+ "maxLength": 240
554
593
  }
555
- }
594
+ },
595
+ "required": [
596
+ "kind",
597
+ "attachment",
598
+ "instanceId"
599
+ ],
600
+ "additionalProperties": false
601
+ },
602
+ "sourceAccountId": {
603
+ "type": "string",
604
+ "minLength": 1,
605
+ "maxLength": 240
606
+ },
607
+ "destinationAccountId": {
608
+ "type": "string",
609
+ "minLength": 1,
610
+ "maxLength": 240
611
+ },
612
+ "amount": {
613
+ "type": "string",
614
+ "pattern": "^[1-9][0-9]{0,17}$"
615
+ },
616
+ "currency": {
617
+ "type": "string",
618
+ "pattern": "^[A-Z]{3}$"
619
+ },
620
+ "adapter": {
621
+ "type": "string",
622
+ "pattern": "^[a-z][a-z0-9_.-]{0,79}$"
556
623
  }
557
- }
558
- }
559
- },
560
- "$defs": {
561
- "referenceLimit": {
562
- "type": "object",
563
- "additionalProperties": false,
624
+ },
564
625
  "required": [
565
- "maxLength"
626
+ "id",
627
+ "environment",
628
+ "tenantId",
629
+ "productId",
630
+ "productBuildId",
631
+ "buildDigest",
632
+ "target",
633
+ "sourceAccountId",
634
+ "destinationAccountId",
635
+ "amount",
636
+ "currency",
637
+ "adapter"
566
638
  ],
639
+ "additionalProperties": false
640
+ },
641
+ "BoundaryObservation": {
642
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
643
+ "readOnly": true,
644
+ "type": "object",
567
645
  "properties": {
568
- "maxLength": {
569
- "type": "integer",
570
- "minimum": 1
646
+ "adapter": {
647
+ "type": "string",
648
+ "pattern": "^[a-z][a-z0-9_.-]{0,79}$"
649
+ },
650
+ "externalReference": {
651
+ "type": "string",
652
+ "minLength": 1,
653
+ "maxLength": 240
654
+ },
655
+ "instructionId": {
656
+ "type": "string",
657
+ "minLength": 1,
658
+ "maxLength": 240
659
+ },
660
+ "outcome": {
661
+ "type": "string",
662
+ "enum": [
663
+ "acknowledged",
664
+ "unknown",
665
+ "confirmed",
666
+ "rejected"
667
+ ]
668
+ },
669
+ "observedAt": {
670
+ "type": "string",
671
+ "format": "date-time",
672
+ "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
673
  }
572
- }
573
- },
574
- "valueDateOffset": {
575
- "type": "string",
576
- "description": "Banking days after the instruction date.",
577
- "pattern": "^D\\+(0|[1-9]\\d*)$"
674
+ },
675
+ "required": [
676
+ "adapter",
677
+ "externalReference",
678
+ "instructionId",
679
+ "outcome",
680
+ "observedAt"
681
+ ],
682
+ "additionalProperties": false
578
683
  },
579
684
  "operationBinding": {
580
685
  "type": "object",
@@ -622,65 +727,25 @@
622
727
  "type": "string",
623
728
  "pattern": "\\S"
624
729
  },
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\\}"
730
+ "subjectRequirements": {
731
+ "type": "array",
732
+ "maxItems": 128,
733
+ "items": {
734
+ "allOf": [
735
+ {
736
+ "$ref": "#/$defs/objectField"
737
+ },
738
+ {
739
+ "not": {
740
+ "required": [
741
+ "optional"
742
+ ]
743
+ }
679
744
  }
680
- }
745
+ ]
681
746
  }
682
747
  }
683
- ]
748
+ }
684
749
  },
685
750
  "webhookTransitionPlan": {
686
751
  "type": "object",