Skip to content

Commit d883d80

Browse files
chore: update iso api spec - Feat.iso20022.imp (#178)
* feat: added fixes * feat: improved the FSPIOP ISO20022 API specifications * chore: dep audit * feat:reverted typescript change * chore: dep check --------- Co-authored-by: Kevin Leyow <kleyow@gmail.com>
1 parent 28f25b5 commit d883d80

File tree

118 files changed

+163775
-114598
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+163775
-114598
lines changed

docs/fspiop-rest-v2.0-ISO20022-openapi3-snippets.yaml

+2,176-1,545
Large diffs are not rendered by default.

fspiop/v2_0_ISO20022/openapi3/components/schemas/AccountIdentification4Choice.yaml

+23-20
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,30 @@ type: object
33
description: >
44
Specifies the unique identification of an account as assigned by the account
55
servicer.
6-
properties:
7-
IBAN:
8-
description: >
9-
IBAN
10-
11-
International Bank Account Number (IBAN) - identifier used internationally by financial
12-
institutions to uniquely identify the account of a customer. Further specifications of the format and
13-
content of the IBAN can be found in the standard ISO 13616 "Banking and related financial services -
14-
International Bank Account Number (IBAN)" version 1997-10-01, or later revisions.
15-
$ref: ./IBAN2007Identifier.yaml
16-
Othr:
17-
description: >
18-
Other
19-
20-
Unique identification of an account, as assigned by the account servicer, using an
21-
identification scheme.
22-
$ref: ./GenericAccountIdentification1.yaml
236
oneOf:
24-
- required:
7+
- properties:
8+
IBAN:
9+
allOf:
10+
- $ref: ./IBAN2007Identifier.yaml
11+
- description: >
12+
IBAN
13+
14+
International Bank Account Number (IBAN) - identifier used internationally by financial
15+
institutions to uniquely identify the account of a customer. Further specifications of the format and
16+
content of the IBAN can be found in the standard ISO 13616 "Banking and related financial services -
17+
International Bank Account Number (IBAN)" version 1997-10-01, or later revisions.
18+
required:
2519
- IBAN
26-
- required:
20+
- properties:
21+
Othr:
22+
allOf:
23+
- $ref: ./GenericAccountIdentification1.yaml
24+
- description: >
25+
Other
26+
27+
Unique identification of an account, as assigned by the account servicer, using an
28+
identification scheme.
29+
required:
2730
- Othr
2831
example:
29-
IBAN: BE71096123456769
32+
IBAN: BE71096123456769

fspiop/v2_0_ISO20022/openapi3/components/schemas/AccountSchemeName1Choice.yaml

+19-16
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,26 @@ title: AccountSchemeName1Choice
22
type: object
33
description: |
44
Sets of elements to identify a name of the identification scheme.
5-
properties:
6-
Cd:
7-
description: >
8-
Code
9-
10-
Name of the identification scheme, in a coded form as published in an external list.
11-
$ref: ./ExternalAccountIdentification1Code.yaml
12-
Prtry:
13-
description: >
14-
Proprietary
15-
16-
Name of the identification scheme, in a free text form.
17-
$ref: ./Max35Text.yaml
185
oneOf:
19-
- required:
6+
- properties:
7+
Cd:
8+
allOf:
9+
- $ref: ./ExternalAccountIdentification1Code.yaml
10+
- description: >
11+
Code
12+
13+
Name of the identification scheme, in a coded form as published in an external list.
14+
required:
2015
- Cd
21-
- required:
16+
- properties:
17+
Prtry:
18+
allOf:
19+
- $ref: ./Max35Text.yaml
20+
- description: >
21+
Proprietary
22+
23+
Name of the identification scheme, in a free text form.
24+
required:
2225
- Prtry
2326
example:
24-
Cd: 1111
27+
Cd: 1111

fspiop/v2_0_ISO20022/openapi3/components/schemas/ActiveCurrencyAndAmount.yaml

+8-6
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,18 @@ description: >
55
unit of currency is explicit and compliant with ISO 4217.
66
properties:
77
ActiveCurrencyAndAmount:
8-
$ref: ./ActiveCurrencyAndAmount_SimpleType.yaml
8+
allOf:
9+
- $ref: ./ActiveCurrencyAndAmount_SimpleType.yaml
910
Ccy:
10-
description: >
11-
Currency
11+
allOf:
12+
- $ref: ./ActiveCurrencyCode.yaml
13+
- description: >
14+
Currency
1215
13-
Identification of the currency in which the account is held.
14-
$ref: ./ActiveCurrencyCode.yaml
16+
Identification of the currency in which the account is held.
1517
required:
1618
- ActiveCurrencyAndAmount
1719
- Ccy
1820
example:
1921
ActiveCurrencyAndAmount: 123.45
20-
Ccy: USD
22+
Ccy: USD

fspiop/v2_0_ISO20022/openapi3/components/schemas/ActiveOrHistoricCurrencyAndAmount.yaml

+10-6
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,20 @@ description: >
55
the unit of currency is explicit and compliant with ISO 4217.
66
properties:
77
ActiveOrHistoricCurrencyAndAmount:
8-
$ref: ./ActiveOrHistoricCurrencyAndAmount_SimpleType.yaml
8+
allOf:
9+
- $ref: ./ActiveOrHistoricCurrencyAndAmount_SimpleType.yaml
10+
- description: >
11+
Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.
912
Ccy:
10-
description: >
11-
Currency
13+
allOf:
14+
- $ref: ./ActiveOrHistoricCurrencyCode.yaml
15+
- description: >
16+
Currency
1217
13-
Identification of the currency in which the account is held.
14-
$ref: ./ActiveOrHistoricCurrencyCode.yaml
18+
Identification of the currency in which the account is held.
1519
required:
1620
- ActiveOrHistoricCurrencyAndAmount
1721
- Ccy
1822
example:
1923
ActiveOrHistoricCurrencyAndAmount: 123.45
20-
Ccy: USD
24+
Ccy: USD

fspiop/v2_0_ISO20022/openapi3/components/schemas/AddressType2Code.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
description: |
22
AddressType2Code
3-
43
Specifies the type of address.
4+
ADDR Address
5+
PBOX PostBox
6+
HOME Home
7+
BIZZ Business
8+
MLTO MailingTo
9+
DLVY Delivery
510
enum:
611
- ADDR
712
- PBOX

fspiop/v2_0_ISO20022/openapi3/components/schemas/AddressType3Choice.yaml

+19-16
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,26 @@ title: AddressType3Choice
22
type: object
33
description: |
44
Choice of formats for the type of address.
5-
properties:
6-
Cd:
7-
description: >
8-
Code
9-
10-
Type of address expressed as a code.
11-
$ref: ./AddressType2Code.yaml
12-
Prtry:
13-
description: >
14-
Proprietary
15-
16-
Type of address expressed as a proprietary code.
17-
$ref: ./GenericIdentification30.yaml
185
oneOf:
19-
- required:
6+
- properties:
7+
Cd:
8+
allOf:
9+
- $ref: ./AddressType2Code.yaml
10+
- description: >
11+
Code
12+
13+
Type of address expressed as a code.
14+
required:
2015
- Cd
21-
- required:
16+
- properties:
17+
Prtry:
18+
allOf:
19+
- $ref: ./GenericIdentification30.yaml
20+
- description: >
21+
Proprietary
22+
23+
Type of address expressed as a proprietary code.
24+
required:
2225
- Prtry
2326
example:
24-
Cd: ADDR
27+
Cd: ADDR

fspiop/v2_0_ISO20022/openapi3/components/schemas/BranchAndFinancialInstitutionIdentification6.yaml

+14-12
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,23 @@ description: >
55
of a financial institution.
66
properties:
77
FinInstnId:
8-
description: >
9-
FinancialInstitutionIdentification
8+
allOf:
9+
- $ref: ./FinancialInstitutionIdentification18.yaml
10+
- description: >
11+
FinancialInstitutionIdentification
1012
11-
Unique and unambiguous identification of a financial institution, as assigned under an
12-
internationally recognised or proprietary identification scheme.
13-
$ref: ./FinancialInstitutionIdentification18.yaml
13+
Unique and unambiguous identification of a financial institution, as assigned under an
14+
internationally recognised or proprietary identification scheme.
1415
BrnchId:
15-
description: >
16-
BranchIdentification
16+
allOf:
17+
- $ref: ./BranchData3.yaml
18+
- description: >
19+
BranchIdentification
1720
18-
Definition: Identifies a specific branch of a financial institution.
21+
Definition: Identifies a specific branch of a financial institution.
1922
20-
Usage: This component should be used in case the identification information in the financial institution
21-
component does not provide identification up to branch level.
22-
$ref: ./BranchData3.yaml
23+
Usage: This component should be used in case the identification information in the financial institution
24+
component does not provide identification up to branch level.
2325
required:
2426
- FinInstnId
2527
example:
@@ -38,4 +40,4 @@ example:
3840
TwnNm: Town name
3941
CtrySubDvsn: Country subdivision
4042
Ctry: Country
41-
AdrLine: Address line
43+
AdrLine: Address line

fspiop/v2_0_ISO20022/openapi3/components/schemas/BranchAndFinancialInstitutionIdentification8.yaml

+12-10
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,20 @@ description: >
55
of a financial institution.
66
properties:
77
FinInstnId:
8-
description: >
9-
FinancialInstitutionIdentification
8+
allOf:
9+
- $ref: ./FinancialInstitutionIdentification23.yaml
10+
- description: >
11+
FinancialInstitutionIdentification
1012
11-
Unique and unambiguous identification of a financial institution or a branch of a financial
12-
institution.
13-
$ref: ./FinancialInstitutionIdentification23.yaml
13+
Unique and unambiguous identification of a financial institution or a branch of a financial
14+
institution.
1415
BrnchId:
15-
description: >
16-
BranchIdentification
16+
allOf:
17+
- $ref: ./BranchData5.yaml
18+
- description: >
19+
BranchIdentification
1720
18-
Identifies a specific branch of a financial institution.
19-
$ref: ./BranchData5.yaml
21+
Identifies a specific branch of a financial institution.
2022
required:
2123
- FinInstnId
2224
example:
@@ -35,4 +37,4 @@ example:
3537
TwnNm: Town name
3638
CtrySubDvsn: Country subdivision
3739
Ctry: Country
38-
AdrLine: Address line
40+
AdrLine: Address line

fspiop/v2_0_ISO20022/openapi3/components/schemas/BranchData3.yaml

+21-17
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,33 @@ description: >
55
institution.
66
properties:
77
Id:
8-
description: >
9-
Identification
8+
allOf:
9+
- $ref: ./Max35Text.yaml
10+
- description: >
11+
Identification
1012
11-
Unique and unambiguous identification of a branch of a financial institution.
12-
$ref: ./Max35Text.yaml
13+
Unique and unambiguous identification of a branch of a financial institution.
1314
LEI:
14-
description: >
15-
Legal Entity Identifier
15+
allOf:
16+
- $ref: ./LEIIdentifier.yaml
17+
- description: >
18+
Legal Entity Identifier
1619
17-
Legal entity identification for the branch of the financial institution.
18-
$ref: ./LEIIdentifier.yaml
20+
Legal entity identification for the branch of the financial institution.
1921
Nm:
20-
description: >
21-
Name
22+
allOf:
23+
- $ref: ./Max140Text.yaml
24+
- description: >
25+
Name
2226
23-
Name by which an agent is known and which is usually used to identify that agent.
24-
$ref: ./Max140Text.yaml
27+
Name by which an agent is known and which is usually used to identify that agent.
2528
PstlAdr:
26-
description: >
27-
Postal Address
29+
allOf:
30+
- $ref: ./PostalAddress24.yaml
31+
- description: >
32+
Postal Address
2833
29-
Information that locates and identifies a specific address, as defined by postal services.
30-
$ref: ./PostalAddress24.yaml
34+
Information that locates and identifies a specific address, as defined by postal services.
3135
example:
3236
Id: 123
3337
Nm: Name
@@ -41,4 +45,4 @@ example:
4145
TwnNm: Town name
4246
CtrySubDvsn: Country subdivision
4347
Ctry: Country
44-
AdrLine: Address line
48+
AdrLine: Address line

0 commit comments

Comments
 (0)