mirror of
https://github.com/valitydev/swag-questionary.git
synced 2024-11-06 00:25:17 +00:00
BJ-963: Add international legal entity (#16)
This commit is contained in:
parent
854f28d3ac
commit
6f07ab7172
16
spec/definitions/CorrespondentAccount.yaml
Normal file
16
spec/definitions/CorrespondentAccount.yaml
Normal 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'
|
19
spec/definitions/CorrespondentBankDetails.yaml
Normal file
19
spec/definitions/CorrespondentBankDetails.yaml
Normal 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
|
21
spec/definitions/InternationalBankAccount.yaml
Normal file
21
spec/definitions/InternationalBankAccount.yaml
Normal 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'
|
19
spec/definitions/InternationalBankDetails.yaml
Normal file
19
spec/definitions/InternationalBankDetails.yaml
Normal 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
|
27
spec/definitions/InternationalLegalEntity.yaml
Normal file
27
spec/definitions/InternationalLegalEntity.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user