-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add stricter validation for GP testing (#183)
* chore: add stricter validation for GP testing * chore: add ilp pattern and fx quote enum * chore: naming * chore: dep
- Loading branch information
Showing
18 changed files
with
34,258 additions
and
1,940 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
170 changes: 169 additions & 1 deletion
170
fspiop/v2_0_ISO20022/openapi3/components/schemas/ActiveCurrencyCode.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,176 @@ | ||
title: ActiveCurrencyCode | ||
type: string | ||
pattern: ^[A-Z]{3,3}$ | ||
description: >- | ||
A code allocated to a currency by a Maintenance Agency under an international | ||
identification scheme as described in the latest edition of the international standard ISO | ||
4217 "Codes for the representation of currencies and funds". | ||
NOTE: This has been modified away from the original ISO20022 pattern to enums. | ||
example: USD | ||
minLength: 3 | ||
maxLength: 3 | ||
enum: | ||
- AED | ||
- AFN | ||
- ALL | ||
- AMD | ||
- ANG | ||
- AOA | ||
- ARS | ||
- AUD | ||
- AWG | ||
- AZN | ||
- BAM | ||
- BBD | ||
- BDT | ||
- BGN | ||
- BHD | ||
- BIF | ||
- BMD | ||
- BND | ||
- BOB | ||
- BRL | ||
- BSD | ||
- BTN | ||
- BWP | ||
- BYN | ||
- BZD | ||
- CAD | ||
- CDF | ||
- CHF | ||
- CLP | ||
- CNY | ||
- COP | ||
- CRC | ||
- CUC | ||
- CUP | ||
- CVE | ||
- CZK | ||
- DJF | ||
- DKK | ||
- DOP | ||
- DZD | ||
- EGP | ||
- ERN | ||
- ETB | ||
- EUR | ||
- FJD | ||
- FKP | ||
- GBP | ||
- GEL | ||
- GGP | ||
- GHS | ||
- GIP | ||
- GMD | ||
- GNF | ||
- GTQ | ||
- GYD | ||
- HKD | ||
- HNL | ||
- HRK | ||
- HTG | ||
- HUF | ||
- IDR | ||
- ILS | ||
- IMP | ||
- INR | ||
- IQD | ||
- IRR | ||
- ISK | ||
- JEP | ||
- JMD | ||
- JOD | ||
- JPY | ||
- KES | ||
- KGS | ||
- KHR | ||
- KMF | ||
- KPW | ||
- KRW | ||
- KWD | ||
- KYD | ||
- KZT | ||
- LAK | ||
- LBP | ||
- LKR | ||
- LRD | ||
- LSL | ||
- LYD | ||
- MAD | ||
- MDL | ||
- MGA | ||
- MKD | ||
- MMK | ||
- MNT | ||
- MOP | ||
- MRO | ||
- MUR | ||
- MVR | ||
- MWK | ||
- MXN | ||
- MYR | ||
- MZN | ||
- NAD | ||
- NGN | ||
- NIO | ||
- NOK | ||
- NPR | ||
- NZD | ||
- OMR | ||
- PAB | ||
- PEN | ||
- PGK | ||
- PHP | ||
- PKR | ||
- PLN | ||
- PYG | ||
- QAR | ||
- RON | ||
- RSD | ||
- RUB | ||
- RWF | ||
- SAR | ||
- SBD | ||
- SCR | ||
- SDG | ||
- SEK | ||
- SGD | ||
- SHP | ||
- SLL | ||
- SOS | ||
- SPL | ||
- SRD | ||
- STD | ||
- SVC | ||
- SYP | ||
- SZL | ||
- THB | ||
- TJS | ||
- TMT | ||
- TND | ||
- TOP | ||
- TRY | ||
- TTD | ||
- TVD | ||
- TWD | ||
- TZS | ||
- UAH | ||
- UGX | ||
- USD | ||
- UYU | ||
- UZS | ||
- VEF | ||
- VND | ||
- VUV | ||
- WST | ||
- XAF | ||
- XCD | ||
- XDR | ||
- XOF | ||
- XPF | ||
- XTS | ||
- XXX | ||
- YER | ||
- ZAR | ||
- ZMW | ||
- ZWD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
fspiop/v2_0_ISO20022/openapi3/components/schemas/AmountTypeEnum.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
title: AmountTypeEnum | ||
description: | | ||
NOTE: This pattern is not the original ISO20022 specification. | ||
This represents the enum values when mapping to and from FSPIOP specification. | ||
type: string | ||
enum: | ||
- SEND | ||
- RECEIVE | ||
example: SEND |
Oops, something went wrong.