swag-analytics/spec/definitions/InternationalBankAccount.yaml
ndiezel0 558c63b116
CAPI-381: Return missing definitions (#3)
* CAPI-381: Return missing definitions

* CAPI-381: Remove readOnly fields and remove fill info from descriptions
2019-09-11 19:29:46 +03:00

20 lines
639 B
YAML

description: Данные международного банковского счёта
type: object
properties:
number:
description: |
Номер счёта
type: string
pattern: '^[0-9A-Z]{8,40}$'
example: "123006951"
iban:
description: |
International Bank Account Number [ISO 13616](https://en.wikipedia.org/wiki/International_Bank_Account_Number)
type: string
pattern: '^[A-Z0-9]{3,35}$'
example: "GR1601101250000000012300695"
bankDetails:
$ref: '#/definitions/InternationalBankDetails'
correspondentBankAccount:
$ref: '#/definitions/InternationalCorrespondentBankAccount'