BJ-963: Add international legal entity (#16)

This commit is contained in:
Baikov Dmitrii 2020-07-27 11:23:22 +03:00 committed by GitHub
parent 854f28d3ac
commit 6f07ab7172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 102 additions and 0 deletions

View File

@ -0,0 +1,16 @@
description: Корреспондентский банковский счёт
type: object
required:
- accountHolder
- iban
- number
- bank
properties:
accountHolder:
type: string
iban:
type: string
number:
type: string
bank:
$ref: '#/definitions/CorrespondentBankDetails'

View File

@ -0,0 +1,19 @@
description: Детальная информация по корр. банковскому счёту
type: object
required:
- abaRtn
- address
- bic
- name
- country
properties:
abaRtn:
type: string
address:
type: string
bic:
type: string
name:
type: string
country:
type: integer

View File

@ -0,0 +1,21 @@
description: Междyнародный банковский счёт
type: object
required:
- accountHolder
- iban
- number
- bank
allOf:
- $ref: '#/definitions/BankAccount'
- type: object
properties:
accountHolder:
type: string
iban:
type: string
number:
type: string
bank:
$ref: '#/definitions/InternationalBankDetails'
correspondentAccount:
$ref: '#/definitions/CorrespondentAccount'

View File

@ -0,0 +1,19 @@
description: Детальная информация по международному банковскому счёту
type: object
required:
- abaRtn
- address
- bic
- name
- country
properties:
abaRtn:
type: string
address:
type: string
bic:
type: string
name:
type: string
country:
type: integer

View File

@ -0,0 +1,27 @@
description: Юридическое лицо-резидент РФ
type: object
allOf:
- $ref: '#/definitions/LegalEntity'
- type: object
required:
- legalName
- actualAddress
- registeredAddress
- registeredNumber
- tradingName
properties:
legalName:
description: Наименование
type: string
actualAddress:
description: Адрес места нахождения
type: string
registeredAddress:
description: Адрес места регистрации
type: string
registeredNumber:
description: Регистрационный номер
type: string
tradingName:
description: Торговое наименование
type: string