@checkdigit/eslint-plugin 7.18.0-PR.143-b064 → 7.18.0-PR.143-b6d4
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.
- package/dist-mjs/athena/athena.mjs +82 -36
- package/dist-mjs/athena/visitor.mjs +27 -1
- package/dist-mjs/openapi/service-schema-generator.mjs +26 -64
- package/dist-types/athena/visitor.d.ts +4 -0
- package/package.json +1 -1
- package/src/athena/athena.ts +93 -43
- package/src/athena/visitor.ts +28 -0
- package/src/openapi/service-schema-generator.ts +26 -74
- package/src/services/interchange/v1/swagger.schema.deref.json +16 -15
- package/src/services/ledger/v1/swagger.schema.deref.json +81 -81
- package/src/services/ledger/v2/swagger.schema.deref.json +4119 -0
- package/src/services/link/v1/swagger.schema.deref.json +13 -12
- package/src/services/link/{v1/swagger.schema.json → v2/swagger.schema.deref.json} +98 -28
- package/src/services/message/v1/swagger.schema.deref.json +731 -731
- package/src/services/message/v2/swagger.schema.deref.json +1017 -1017
- package/src/services/paymentCard/v1/swagger.schema.deref.json +248 -238
- package/src/services/paymentCard/v2/swagger.schema.deref.json +257 -274
- package/src/services/paymentCard/v3/swagger.schema.deref.json +2843 -0
- package/src/services/person/v1/swagger.schema.deref.json +111 -96
- package/src/services/person/v2/swagger.schema.deref.json +4931 -0
- package/src/services/teampayApproval/v1/swagger.schema.deref.json +2 -165
- package/src/services/teampayCardManagement/v1/swagger.schema.deref.json +220 -1768
- package/src/services/teampayClientManagement/v1/swagger.schema.deref.json +217 -217
- package/src/services/interchange/v1/swagger.schema.json +0 -423
- package/src/services/interchange/v1/swagger.yml +0 -414
- package/src/services/ledger/v1/swagger.schema.json +0 -1048
- package/src/services/ledger/v1/swagger.yml +0 -1094
- package/src/services/link/v1/swagger.yml +0 -343
- package/src/services/message/v1/swagger.schema.json +0 -2944
- package/src/services/message/v1/swagger.yml +0 -2798
- package/src/services/message/v2/swagger.schema.json +0 -3040
- package/src/services/message/v2/swagger.yml +0 -3009
- package/src/services/paymentCard/v1/swagger.schema.json +0 -1687
- package/src/services/paymentCard/v1/swagger.yml +0 -1161
- package/src/services/paymentCard/v2/swagger.schema.json +0 -1649
- package/src/services/paymentCard/v2/swagger.yml +0 -1149
- package/src/services/person/v1/swagger.schema.json +0 -979
- package/src/services/person/v1/swagger.yml +0 -1157
- package/src/services/teampayClientManagement/v1/swagger.schema.json +0 -1598
- package/src/services/teampayClientManagement/v1/swagger.yml +0 -1376
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"put": {
|
|
6
6
|
"request": {
|
|
7
7
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
8
|
-
"$id": "https://
|
|
8
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutRequestContext",
|
|
9
9
|
"type": "object",
|
|
10
10
|
"properties": {
|
|
11
11
|
"params": {
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
},
|
|
35
35
|
"body": {
|
|
36
36
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
37
|
-
"$id": "https://
|
|
37
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/NewAccount",
|
|
38
38
|
"type": "object",
|
|
39
39
|
"additionalProperties": false,
|
|
40
40
|
"required": ["currency"],
|
|
41
41
|
"properties": {
|
|
42
42
|
"currency": {
|
|
43
43
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
44
|
-
"$id": "https://
|
|
44
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Currency",
|
|
45
45
|
"type": "string",
|
|
46
46
|
"enum": [
|
|
47
47
|
"AED",
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
"responses": {
|
|
244
244
|
"204": {
|
|
245
245
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
246
|
-
"$id": "https://
|
|
246
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutResponseNoContent",
|
|
247
247
|
"type": "object",
|
|
248
248
|
"properties": {
|
|
249
249
|
"headers": {
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
},
|
|
271
271
|
"409": {
|
|
272
272
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
273
|
-
"$id": "https://
|
|
273
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutResponseConflict",
|
|
274
274
|
"type": "object",
|
|
275
275
|
"properties": {
|
|
276
276
|
"headers": {
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
},
|
|
284
284
|
"default": {
|
|
285
285
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
286
|
-
"$id": "https://
|
|
286
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutResponseDefault",
|
|
287
287
|
"type": "object",
|
|
288
288
|
"properties": {
|
|
289
289
|
"headers": {
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
},
|
|
293
293
|
"body": {
|
|
294
294
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
295
|
-
"$id": "https://
|
|
295
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Error",
|
|
296
296
|
"type": "object",
|
|
297
297
|
"additionalProperties": false,
|
|
298
298
|
"description": "Error message.",
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
"put": {
|
|
341
341
|
"request": {
|
|
342
342
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
343
|
-
"$id": "https://
|
|
343
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutFragment1RequestContext",
|
|
344
344
|
"type": "object",
|
|
345
345
|
"properties": {
|
|
346
346
|
"params": {
|
|
@@ -372,14 +372,14 @@
|
|
|
372
372
|
},
|
|
373
373
|
"body": {
|
|
374
374
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
375
|
-
"$id": "https://
|
|
375
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/NewAccount",
|
|
376
376
|
"type": "object",
|
|
377
377
|
"additionalProperties": false,
|
|
378
378
|
"required": ["currency"],
|
|
379
379
|
"properties": {
|
|
380
380
|
"currency": {
|
|
381
381
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
382
|
-
"$id": "https://
|
|
382
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Currency",
|
|
383
383
|
"type": "string",
|
|
384
384
|
"enum": [
|
|
385
385
|
"AED",
|
|
@@ -581,7 +581,7 @@
|
|
|
581
581
|
"responses": {
|
|
582
582
|
"204": {
|
|
583
583
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
584
|
-
"$id": "https://
|
|
584
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutFragment1ResponseNoContent",
|
|
585
585
|
"type": "object",
|
|
586
586
|
"properties": {
|
|
587
587
|
"headers": {
|
|
@@ -608,7 +608,7 @@
|
|
|
608
608
|
},
|
|
609
609
|
"409": {
|
|
610
610
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
611
|
-
"$id": "https://
|
|
611
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutFragment1ResponseConflict",
|
|
612
612
|
"type": "object",
|
|
613
613
|
"properties": {
|
|
614
614
|
"headers": {
|
|
@@ -621,7 +621,7 @@
|
|
|
621
621
|
},
|
|
622
622
|
"default": {
|
|
623
623
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
624
|
-
"$id": "https://
|
|
624
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutFragment1ResponseDefault",
|
|
625
625
|
"type": "object",
|
|
626
626
|
"properties": {
|
|
627
627
|
"headers": {
|
|
@@ -630,7 +630,7 @@
|
|
|
630
630
|
},
|
|
631
631
|
"body": {
|
|
632
632
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
633
|
-
"$id": "https://
|
|
633
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Error",
|
|
634
634
|
"type": "object",
|
|
635
635
|
"additionalProperties": false,
|
|
636
636
|
"description": "Error message.",
|
|
@@ -678,7 +678,7 @@
|
|
|
678
678
|
"put": {
|
|
679
679
|
"request": {
|
|
680
680
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
681
|
-
"$id": "https://
|
|
681
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutFragment2RequestContext",
|
|
682
682
|
"type": "object",
|
|
683
683
|
"properties": {
|
|
684
684
|
"params": {
|
|
@@ -713,14 +713,14 @@
|
|
|
713
713
|
},
|
|
714
714
|
"body": {
|
|
715
715
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
716
|
-
"$id": "https://
|
|
716
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/NewAccount",
|
|
717
717
|
"type": "object",
|
|
718
718
|
"additionalProperties": false,
|
|
719
719
|
"required": ["currency"],
|
|
720
720
|
"properties": {
|
|
721
721
|
"currency": {
|
|
722
722
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
723
|
-
"$id": "https://
|
|
723
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Currency",
|
|
724
724
|
"type": "string",
|
|
725
725
|
"enum": [
|
|
726
726
|
"AED",
|
|
@@ -922,7 +922,7 @@
|
|
|
922
922
|
"responses": {
|
|
923
923
|
"204": {
|
|
924
924
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
925
|
-
"$id": "https://
|
|
925
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutFragment2ResponseNoContent",
|
|
926
926
|
"type": "object",
|
|
927
927
|
"properties": {
|
|
928
928
|
"headers": {
|
|
@@ -949,7 +949,7 @@
|
|
|
949
949
|
},
|
|
950
950
|
"409": {
|
|
951
951
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
952
|
-
"$id": "https://
|
|
952
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutFragment2ResponseConflict",
|
|
953
953
|
"type": "object",
|
|
954
954
|
"properties": {
|
|
955
955
|
"headers": {
|
|
@@ -962,7 +962,7 @@
|
|
|
962
962
|
},
|
|
963
963
|
"default": {
|
|
964
964
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
965
|
-
"$id": "https://
|
|
965
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutFragment2ResponseDefault",
|
|
966
966
|
"type": "object",
|
|
967
967
|
"properties": {
|
|
968
968
|
"headers": {
|
|
@@ -971,7 +971,7 @@
|
|
|
971
971
|
},
|
|
972
972
|
"body": {
|
|
973
973
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
974
|
-
"$id": "https://
|
|
974
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Error",
|
|
975
975
|
"type": "object",
|
|
976
976
|
"additionalProperties": false,
|
|
977
977
|
"description": "Error message.",
|
|
@@ -1019,7 +1019,7 @@
|
|
|
1019
1019
|
"put": {
|
|
1020
1020
|
"request": {
|
|
1021
1021
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1022
|
-
"$id": "https://
|
|
1022
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutFragment3RequestContext",
|
|
1023
1023
|
"type": "object",
|
|
1024
1024
|
"properties": {
|
|
1025
1025
|
"params": {
|
|
@@ -1057,14 +1057,14 @@
|
|
|
1057
1057
|
},
|
|
1058
1058
|
"body": {
|
|
1059
1059
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1060
|
-
"$id": "https://
|
|
1060
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/NewAccount",
|
|
1061
1061
|
"type": "object",
|
|
1062
1062
|
"additionalProperties": false,
|
|
1063
1063
|
"required": ["currency"],
|
|
1064
1064
|
"properties": {
|
|
1065
1065
|
"currency": {
|
|
1066
1066
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1067
|
-
"$id": "https://
|
|
1067
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Currency",
|
|
1068
1068
|
"type": "string",
|
|
1069
1069
|
"enum": [
|
|
1070
1070
|
"AED",
|
|
@@ -1266,7 +1266,7 @@
|
|
|
1266
1266
|
"responses": {
|
|
1267
1267
|
"204": {
|
|
1268
1268
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1269
|
-
"$id": "https://
|
|
1269
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutFragment3ResponseNoContent",
|
|
1270
1270
|
"type": "object",
|
|
1271
1271
|
"properties": {
|
|
1272
1272
|
"headers": {
|
|
@@ -1293,7 +1293,7 @@
|
|
|
1293
1293
|
},
|
|
1294
1294
|
"409": {
|
|
1295
1295
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1296
|
-
"$id": "https://
|
|
1296
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutFragment3ResponseConflict",
|
|
1297
1297
|
"type": "object",
|
|
1298
1298
|
"properties": {
|
|
1299
1299
|
"headers": {
|
|
@@ -1306,7 +1306,7 @@
|
|
|
1306
1306
|
},
|
|
1307
1307
|
"default": {
|
|
1308
1308
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1309
|
-
"$id": "https://
|
|
1309
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/AccountPutFragment3ResponseDefault",
|
|
1310
1310
|
"type": "object",
|
|
1311
1311
|
"properties": {
|
|
1312
1312
|
"headers": {
|
|
@@ -1315,7 +1315,7 @@
|
|
|
1315
1315
|
},
|
|
1316
1316
|
"body": {
|
|
1317
1317
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1318
|
-
"$id": "https://
|
|
1318
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Error",
|
|
1319
1319
|
"type": "object",
|
|
1320
1320
|
"additionalProperties": false,
|
|
1321
1321
|
"description": "Error message.",
|
|
@@ -1364,7 +1364,7 @@
|
|
|
1364
1364
|
"put": {
|
|
1365
1365
|
"request": {
|
|
1366
1366
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1367
|
-
"$id": "https://
|
|
1367
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/EntryPutRequestContext",
|
|
1368
1368
|
"type": "object",
|
|
1369
1369
|
"properties": {
|
|
1370
1370
|
"params": {
|
|
@@ -1396,7 +1396,7 @@
|
|
|
1396
1396
|
},
|
|
1397
1397
|
"body": {
|
|
1398
1398
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1399
|
-
"$id": "https://
|
|
1399
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/NewEntry",
|
|
1400
1400
|
"type": "object",
|
|
1401
1401
|
"additionalProperties": false,
|
|
1402
1402
|
"required": ["postings"],
|
|
@@ -1406,7 +1406,7 @@
|
|
|
1406
1406
|
"description": "List of posts contained within the journal entry.",
|
|
1407
1407
|
"items": {
|
|
1408
1408
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1409
|
-
"$id": "https://
|
|
1409
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Post",
|
|
1410
1410
|
"type": "object",
|
|
1411
1411
|
"additionalProperties": false,
|
|
1412
1412
|
"required": ["amount", "currency", "type", "accountId"],
|
|
@@ -1416,7 +1416,7 @@
|
|
|
1416
1416
|
},
|
|
1417
1417
|
"currency": {
|
|
1418
1418
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1419
|
-
"$id": "https://
|
|
1419
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Currency",
|
|
1420
1420
|
"type": "string",
|
|
1421
1421
|
"enum": [
|
|
1422
1422
|
"AED",
|
|
@@ -1602,7 +1602,7 @@
|
|
|
1602
1602
|
},
|
|
1603
1603
|
"type": {
|
|
1604
1604
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1605
|
-
"$id": "https://
|
|
1605
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Type",
|
|
1606
1606
|
"type": "string",
|
|
1607
1607
|
"description": "CREDIT or DEBIT",
|
|
1608
1608
|
"enum": ["CREDIT", "DEBIT"]
|
|
@@ -1627,7 +1627,7 @@
|
|
|
1627
1627
|
"responses": {
|
|
1628
1628
|
"204": {
|
|
1629
1629
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1630
|
-
"$id": "https://
|
|
1630
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/EntryPutResponseNoContent",
|
|
1631
1631
|
"type": "object",
|
|
1632
1632
|
"properties": {
|
|
1633
1633
|
"headers": {
|
|
@@ -1654,7 +1654,7 @@
|
|
|
1654
1654
|
},
|
|
1655
1655
|
"409": {
|
|
1656
1656
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1657
|
-
"$id": "https://
|
|
1657
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/EntryPutResponseConflict",
|
|
1658
1658
|
"type": "object",
|
|
1659
1659
|
"properties": {
|
|
1660
1660
|
"headers": {
|
|
@@ -1667,7 +1667,7 @@
|
|
|
1667
1667
|
},
|
|
1668
1668
|
"412": {
|
|
1669
1669
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1670
|
-
"$id": "https://
|
|
1670
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/EntryPutResponsePreconditionFailed",
|
|
1671
1671
|
"type": "object",
|
|
1672
1672
|
"properties": {
|
|
1673
1673
|
"headers": {
|
|
@@ -1680,7 +1680,7 @@
|
|
|
1680
1680
|
},
|
|
1681
1681
|
"default": {
|
|
1682
1682
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1683
|
-
"$id": "https://
|
|
1683
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/api/EntryPutResponseDefault",
|
|
1684
1684
|
"type": "object",
|
|
1685
1685
|
"properties": {
|
|
1686
1686
|
"headers": {
|
|
@@ -1689,7 +1689,7 @@
|
|
|
1689
1689
|
},
|
|
1690
1690
|
"body": {
|
|
1691
1691
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1692
|
-
"$id": "https://
|
|
1692
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Error",
|
|
1693
1693
|
"type": "object",
|
|
1694
1694
|
"additionalProperties": false,
|
|
1695
1695
|
"description": "Error message.",
|
|
@@ -1739,7 +1739,7 @@
|
|
|
1739
1739
|
"definitions": {
|
|
1740
1740
|
"Ping": {
|
|
1741
1741
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1742
|
-
"$id": "https://
|
|
1742
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Ping",
|
|
1743
1743
|
"type": "object",
|
|
1744
1744
|
"additionalProperties": false,
|
|
1745
1745
|
"required": ["serverTime"],
|
|
@@ -1753,7 +1753,7 @@
|
|
|
1753
1753
|
},
|
|
1754
1754
|
"Error": {
|
|
1755
1755
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1756
|
-
"$id": "https://
|
|
1756
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Error",
|
|
1757
1757
|
"type": "object",
|
|
1758
1758
|
"additionalProperties": false,
|
|
1759
1759
|
"description": "Error message.",
|
|
@@ -1792,7 +1792,7 @@
|
|
|
1792
1792
|
},
|
|
1793
1793
|
"Currency": {
|
|
1794
1794
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1795
|
-
"$id": "https://
|
|
1795
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Currency",
|
|
1796
1796
|
"type": "string",
|
|
1797
1797
|
"enum": [
|
|
1798
1798
|
"AED",
|
|
@@ -1978,7 +1978,7 @@
|
|
|
1978
1978
|
},
|
|
1979
1979
|
"Account": {
|
|
1980
1980
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1981
|
-
"$id": "https://
|
|
1981
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Account",
|
|
1982
1982
|
"type": "object",
|
|
1983
1983
|
"additionalProperties": false,
|
|
1984
1984
|
"required": ["accountId", "createdOn", "currency", "type"],
|
|
@@ -1994,7 +1994,7 @@
|
|
|
1994
1994
|
},
|
|
1995
1995
|
"currency": {
|
|
1996
1996
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1997
|
-
"$id": "https://
|
|
1997
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Currency",
|
|
1998
1998
|
"type": "string",
|
|
1999
1999
|
"enum": [
|
|
2000
2000
|
"AED",
|
|
@@ -2190,14 +2190,14 @@
|
|
|
2190
2190
|
},
|
|
2191
2191
|
"NewAccount": {
|
|
2192
2192
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2193
|
-
"$id": "https://
|
|
2193
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/NewAccount",
|
|
2194
2194
|
"type": "object",
|
|
2195
2195
|
"additionalProperties": false,
|
|
2196
2196
|
"required": ["currency"],
|
|
2197
2197
|
"properties": {
|
|
2198
2198
|
"currency": {
|
|
2199
2199
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2200
|
-
"$id": "https://
|
|
2200
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Currency",
|
|
2201
2201
|
"type": "string",
|
|
2202
2202
|
"enum": [
|
|
2203
2203
|
"AED",
|
|
@@ -2394,7 +2394,7 @@
|
|
|
2394
2394
|
},
|
|
2395
2395
|
"BalanceList": {
|
|
2396
2396
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2397
|
-
"$id": "https://
|
|
2397
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/BalanceList",
|
|
2398
2398
|
"type": "object",
|
|
2399
2399
|
"additionalProperties": false,
|
|
2400
2400
|
"description": "Balances for the accounts requested.",
|
|
@@ -2409,7 +2409,7 @@
|
|
|
2409
2409
|
"type": "array",
|
|
2410
2410
|
"items": {
|
|
2411
2411
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2412
|
-
"$id": "https://
|
|
2412
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Balance",
|
|
2413
2413
|
"type": "object",
|
|
2414
2414
|
"additionalProperties": false,
|
|
2415
2415
|
"description": "Ledger balance at a point in time.",
|
|
@@ -2429,7 +2429,7 @@
|
|
|
2429
2429
|
},
|
|
2430
2430
|
"Balance": {
|
|
2431
2431
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2432
|
-
"$id": "https://
|
|
2432
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Balance",
|
|
2433
2433
|
"type": "object",
|
|
2434
2434
|
"additionalProperties": false,
|
|
2435
2435
|
"description": "Ledger balance at a point in time.",
|
|
@@ -2446,7 +2446,7 @@
|
|
|
2446
2446
|
},
|
|
2447
2447
|
"EntriesList": {
|
|
2448
2448
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2449
|
-
"$id": "https://
|
|
2449
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/EntriesList",
|
|
2450
2450
|
"type": "object",
|
|
2451
2451
|
"additionalProperties": false,
|
|
2452
2452
|
"required": ["accountEntries"],
|
|
@@ -2455,7 +2455,7 @@
|
|
|
2455
2455
|
"type": "array",
|
|
2456
2456
|
"items": {
|
|
2457
2457
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2458
|
-
"$id": "https://
|
|
2458
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Entries",
|
|
2459
2459
|
"type": "object",
|
|
2460
2460
|
"additionalProperties": false,
|
|
2461
2461
|
"required": ["entries", "accountId"],
|
|
@@ -2469,7 +2469,7 @@
|
|
|
2469
2469
|
"minItems": 0,
|
|
2470
2470
|
"items": {
|
|
2471
2471
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2472
|
-
"$id": "https://
|
|
2472
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Entry",
|
|
2473
2473
|
"type": "object",
|
|
2474
2474
|
"additionalProperties": false,
|
|
2475
2475
|
"required": ["entryId", "createdOn", "postings"],
|
|
@@ -2487,7 +2487,7 @@
|
|
|
2487
2487
|
"type": "array",
|
|
2488
2488
|
"items": {
|
|
2489
2489
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2490
|
-
"$id": "https://
|
|
2490
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Post",
|
|
2491
2491
|
"type": "object",
|
|
2492
2492
|
"additionalProperties": false,
|
|
2493
2493
|
"required": ["amount", "currency", "type", "accountId"],
|
|
@@ -2497,7 +2497,7 @@
|
|
|
2497
2497
|
},
|
|
2498
2498
|
"currency": {
|
|
2499
2499
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2500
|
-
"$id": "https://
|
|
2500
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Currency",
|
|
2501
2501
|
"type": "string",
|
|
2502
2502
|
"enum": [
|
|
2503
2503
|
"AED",
|
|
@@ -2683,7 +2683,7 @@
|
|
|
2683
2683
|
},
|
|
2684
2684
|
"type": {
|
|
2685
2685
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2686
|
-
"$id": "https://
|
|
2686
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Type",
|
|
2687
2687
|
"type": "string",
|
|
2688
2688
|
"description": "CREDIT or DEBIT",
|
|
2689
2689
|
"enum": ["CREDIT", "DEBIT"]
|
|
@@ -2709,7 +2709,7 @@
|
|
|
2709
2709
|
},
|
|
2710
2710
|
"Entries": {
|
|
2711
2711
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2712
|
-
"$id": "https://
|
|
2712
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Entries",
|
|
2713
2713
|
"type": "object",
|
|
2714
2714
|
"additionalProperties": false,
|
|
2715
2715
|
"required": ["entries", "accountId"],
|
|
@@ -2723,7 +2723,7 @@
|
|
|
2723
2723
|
"minItems": 0,
|
|
2724
2724
|
"items": {
|
|
2725
2725
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2726
|
-
"$id": "https://
|
|
2726
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Entry",
|
|
2727
2727
|
"type": "object",
|
|
2728
2728
|
"additionalProperties": false,
|
|
2729
2729
|
"required": ["entryId", "createdOn", "postings"],
|
|
@@ -2741,7 +2741,7 @@
|
|
|
2741
2741
|
"type": "array",
|
|
2742
2742
|
"items": {
|
|
2743
2743
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2744
|
-
"$id": "https://
|
|
2744
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Post",
|
|
2745
2745
|
"type": "object",
|
|
2746
2746
|
"additionalProperties": false,
|
|
2747
2747
|
"required": ["amount", "currency", "type", "accountId"],
|
|
@@ -2751,7 +2751,7 @@
|
|
|
2751
2751
|
},
|
|
2752
2752
|
"currency": {
|
|
2753
2753
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2754
|
-
"$id": "https://
|
|
2754
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Currency",
|
|
2755
2755
|
"type": "string",
|
|
2756
2756
|
"enum": [
|
|
2757
2757
|
"AED",
|
|
@@ -2937,7 +2937,7 @@
|
|
|
2937
2937
|
},
|
|
2938
2938
|
"type": {
|
|
2939
2939
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2940
|
-
"$id": "https://
|
|
2940
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Type",
|
|
2941
2941
|
"type": "string",
|
|
2942
2942
|
"description": "CREDIT or DEBIT",
|
|
2943
2943
|
"enum": ["CREDIT", "DEBIT"]
|
|
@@ -2960,7 +2960,7 @@
|
|
|
2960
2960
|
},
|
|
2961
2961
|
"Entry": {
|
|
2962
2962
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2963
|
-
"$id": "https://
|
|
2963
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Entry",
|
|
2964
2964
|
"type": "object",
|
|
2965
2965
|
"additionalProperties": false,
|
|
2966
2966
|
"required": ["entryId", "createdOn", "postings"],
|
|
@@ -2978,7 +2978,7 @@
|
|
|
2978
2978
|
"type": "array",
|
|
2979
2979
|
"items": {
|
|
2980
2980
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2981
|
-
"$id": "https://
|
|
2981
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Post",
|
|
2982
2982
|
"type": "object",
|
|
2983
2983
|
"additionalProperties": false,
|
|
2984
2984
|
"required": ["amount", "currency", "type", "accountId"],
|
|
@@ -2988,7 +2988,7 @@
|
|
|
2988
2988
|
},
|
|
2989
2989
|
"currency": {
|
|
2990
2990
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2991
|
-
"$id": "https://
|
|
2991
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Currency",
|
|
2992
2992
|
"type": "string",
|
|
2993
2993
|
"enum": [
|
|
2994
2994
|
"AED",
|
|
@@ -3174,7 +3174,7 @@
|
|
|
3174
3174
|
},
|
|
3175
3175
|
"type": {
|
|
3176
3176
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3177
|
-
"$id": "https://
|
|
3177
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Type",
|
|
3178
3178
|
"type": "string",
|
|
3179
3179
|
"description": "CREDIT or DEBIT",
|
|
3180
3180
|
"enum": ["CREDIT", "DEBIT"]
|
|
@@ -3194,7 +3194,7 @@
|
|
|
3194
3194
|
},
|
|
3195
3195
|
"ResponseEntry": {
|
|
3196
3196
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3197
|
-
"$id": "https://
|
|
3197
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/ResponseEntry",
|
|
3198
3198
|
"type": "object",
|
|
3199
3199
|
"additionalProperties": false,
|
|
3200
3200
|
"required": ["entryId", "createdOn", "postings"],
|
|
@@ -3212,7 +3212,7 @@
|
|
|
3212
3212
|
"type": "array",
|
|
3213
3213
|
"items": {
|
|
3214
3214
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3215
|
-
"$id": "https://
|
|
3215
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/ResponsePost",
|
|
3216
3216
|
"type": "object",
|
|
3217
3217
|
"additionalProperties": false,
|
|
3218
3218
|
"required": ["amount", "currency", "type", "accountId", "createdOn"],
|
|
@@ -3222,7 +3222,7 @@
|
|
|
3222
3222
|
},
|
|
3223
3223
|
"currency": {
|
|
3224
3224
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3225
|
-
"$id": "https://
|
|
3225
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Currency",
|
|
3226
3226
|
"type": "string",
|
|
3227
3227
|
"enum": [
|
|
3228
3228
|
"AED",
|
|
@@ -3408,7 +3408,7 @@
|
|
|
3408
3408
|
},
|
|
3409
3409
|
"type": {
|
|
3410
3410
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3411
|
-
"$id": "https://
|
|
3411
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Type",
|
|
3412
3412
|
"type": "string",
|
|
3413
3413
|
"description": "CREDIT or DEBIT",
|
|
3414
3414
|
"enum": ["CREDIT", "DEBIT"]
|
|
@@ -3428,7 +3428,7 @@
|
|
|
3428
3428
|
},
|
|
3429
3429
|
"NewEntry": {
|
|
3430
3430
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3431
|
-
"$id": "https://
|
|
3431
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/NewEntry",
|
|
3432
3432
|
"type": "object",
|
|
3433
3433
|
"additionalProperties": false,
|
|
3434
3434
|
"required": ["postings"],
|
|
@@ -3438,7 +3438,7 @@
|
|
|
3438
3438
|
"description": "List of posts contained within the journal entry.",
|
|
3439
3439
|
"items": {
|
|
3440
3440
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3441
|
-
"$id": "https://
|
|
3441
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Post",
|
|
3442
3442
|
"type": "object",
|
|
3443
3443
|
"additionalProperties": false,
|
|
3444
3444
|
"required": ["amount", "currency", "type", "accountId"],
|
|
@@ -3448,7 +3448,7 @@
|
|
|
3448
3448
|
},
|
|
3449
3449
|
"currency": {
|
|
3450
3450
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3451
|
-
"$id": "https://
|
|
3451
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Currency",
|
|
3452
3452
|
"type": "string",
|
|
3453
3453
|
"enum": [
|
|
3454
3454
|
"AED",
|
|
@@ -3634,7 +3634,7 @@
|
|
|
3634
3634
|
},
|
|
3635
3635
|
"type": {
|
|
3636
3636
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3637
|
-
"$id": "https://
|
|
3637
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Type",
|
|
3638
3638
|
"type": "string",
|
|
3639
3639
|
"description": "CREDIT or DEBIT",
|
|
3640
3640
|
"enum": ["CREDIT", "DEBIT"]
|
|
@@ -3654,7 +3654,7 @@
|
|
|
3654
3654
|
},
|
|
3655
3655
|
"Post": {
|
|
3656
3656
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3657
|
-
"$id": "https://
|
|
3657
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Post",
|
|
3658
3658
|
"type": "object",
|
|
3659
3659
|
"additionalProperties": false,
|
|
3660
3660
|
"required": ["amount", "currency", "type", "accountId"],
|
|
@@ -3664,7 +3664,7 @@
|
|
|
3664
3664
|
},
|
|
3665
3665
|
"currency": {
|
|
3666
3666
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3667
|
-
"$id": "https://
|
|
3667
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Currency",
|
|
3668
3668
|
"type": "string",
|
|
3669
3669
|
"enum": [
|
|
3670
3670
|
"AED",
|
|
@@ -3850,7 +3850,7 @@
|
|
|
3850
3850
|
},
|
|
3851
3851
|
"type": {
|
|
3852
3852
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3853
|
-
"$id": "https://
|
|
3853
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Type",
|
|
3854
3854
|
"type": "string",
|
|
3855
3855
|
"description": "CREDIT or DEBIT",
|
|
3856
3856
|
"enum": ["CREDIT", "DEBIT"]
|
|
@@ -3867,7 +3867,7 @@
|
|
|
3867
3867
|
},
|
|
3868
3868
|
"ResponsePost": {
|
|
3869
3869
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3870
|
-
"$id": "https://
|
|
3870
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/ResponsePost",
|
|
3871
3871
|
"type": "object",
|
|
3872
3872
|
"additionalProperties": false,
|
|
3873
3873
|
"required": ["amount", "currency", "type", "accountId", "createdOn"],
|
|
@@ -3877,7 +3877,7 @@
|
|
|
3877
3877
|
},
|
|
3878
3878
|
"currency": {
|
|
3879
3879
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3880
|
-
"$id": "https://
|
|
3880
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Currency",
|
|
3881
3881
|
"type": "string",
|
|
3882
3882
|
"enum": [
|
|
3883
3883
|
"AED",
|
|
@@ -4063,7 +4063,7 @@
|
|
|
4063
4063
|
},
|
|
4064
4064
|
"type": {
|
|
4065
4065
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4066
|
-
"$id": "https://
|
|
4066
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Type",
|
|
4067
4067
|
"type": "string",
|
|
4068
4068
|
"description": "CREDIT or DEBIT",
|
|
4069
4069
|
"enum": ["CREDIT", "DEBIT"]
|
|
@@ -4080,20 +4080,20 @@
|
|
|
4080
4080
|
},
|
|
4081
4081
|
"Type": {
|
|
4082
4082
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4083
|
-
"$id": "https://
|
|
4083
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Type",
|
|
4084
4084
|
"type": "string",
|
|
4085
4085
|
"description": "CREDIT or DEBIT",
|
|
4086
4086
|
"enum": ["CREDIT", "DEBIT"]
|
|
4087
4087
|
},
|
|
4088
4088
|
"TotalsList": {
|
|
4089
4089
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4090
|
-
"$id": "https://
|
|
4090
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/TotalsList",
|
|
4091
4091
|
"type": "array",
|
|
4092
4092
|
"additionalProperties": false,
|
|
4093
4093
|
"description": "Totals of filtered entries for the accounts requested.",
|
|
4094
4094
|
"items": {
|
|
4095
4095
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4096
|
-
"$id": "https://
|
|
4096
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Total",
|
|
4097
4097
|
"type": "object",
|
|
4098
4098
|
"additionalProperties": false,
|
|
4099
4099
|
"description": "- The total debit or credit to an account.\n- If debits exceed credits the total value will be negative.\n- AccountIds may include idFragments formatted as: :accountId/:idFragment1/:idFragment2/:idFragment3.\n",
|
|
@@ -4113,7 +4113,7 @@
|
|
|
4113
4113
|
},
|
|
4114
4114
|
"Total": {
|
|
4115
4115
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4116
|
-
"$id": "https://
|
|
4116
|
+
"$id": "https://ledger.checkdigit/ledger/v1/schemas/definitions/Total",
|
|
4117
4117
|
"type": "object",
|
|
4118
4118
|
"additionalProperties": false,
|
|
4119
4119
|
"description": "- The total debit or credit to an account.\n- If debits exceed credits the total value will be negative.\n- AccountIds may include idFragments formatted as: :accountId/:idFragment1/:idFragment2/:idFragment3.\n",
|