Person
Title: Person
Description: Физическое лицо
| Property |
Pattern |
Type |
Deprecated |
Definition |
Title/Description |
| + id |
No |
string |
No |
- |
Уникальный идентификатор |
| + fio |
No |
object |
No |
In common/_common.schema.json#/fio |
ФИО |
| + inn |
No |
string |
No |
- |
ИНН |
| - addressRegistration |
No |
object |
No |
In common/_common.schema.json#/address |
Адрес регистрации |
| - citizenship |
No |
string |
No |
In common/_common.schema.json#/country |
Страна гражданства |
| + taxResidence |
No |
string |
No |
Same as citizenship |
Страна налогового резидентства |
| - passport |
No |
object |
No |
- |
Паспорт |
| - bankAccount |
No |
array of object |
No |
In common/_common.schema.json#/bankAccount |
Реквизиты банковского счета |
| - ogrnip |
No |
string |
No |
- |
ОГРН индивидуального предпринимателя. Заполняется, если Тип заказчика = ИП |
1. If (citizenship = "RUS")
| Property |
Pattern |
Type |
Deprecated |
Definition |
Title/Description |
| - passport |
No |
object |
No |
- |
- |
1.1. Property Person > then > passport
1.1.1. The following properties are required
2. Property Person > id
|
|
| Type |
string |
| Required |
Yes |
| Format |
uuid |
Description: Уникальный идентификатор
3. Property Person > fio
|
|
| Type |
object |
| Required |
Yes |
| Additional properties |
[Not allowed] |
| Defined in |
common/_common.schema.json#/fio |
Description: ФИО
| Property |
Pattern |
Type |
Deprecated |
Definition |
Title/Description |
| + lastName |
No |
string |
No |
- |
Фамилия |
| + firstName |
No |
string |
No |
- |
Имя |
| - patronymic |
No |
string |
No |
- |
Отчество |
3.1. Property Person > fio > lastName
Description: Фамилия
3.2. Property Person > fio > firstName
Description: Имя
3.3. Property Person > fio > patronymic
Description: Отчество
4. Property Person > inn
Description: ИНН
| Restrictions |
|
| Min length |
12 |
| Max length |
12 |
| Must match regular expression |
^[0-9]{12}$ Test |
5. Property Person > addressRegistration
|
|
| Type |
object |
| Required |
No |
| Additional properties |
[Any type: allowed] |
| Defined in |
common/_common.schema.json#/address |
Description: Адрес регистрации
5.1. Property Person > addressRegistration > address
Description: Адрес
5.2. Property Person > addressRegistration > zipCode
Description: Почтовый индекс
5.3. Property Person > addressRegistration > additionalProperties
5.4. Property Person > addressRegistration > required
6. Property Person > citizenship
|
|
| Type |
string |
| Required |
No |
| Defined in |
common/_common.schema.json#/country |
Description: Страна гражданства
| Restrictions |
|
| Min length |
3 |
| Max length |
3 |
| Must match regular expression |
^[A-Z]{3}$ Test |
7. Property Person > taxResidence
|
|
| Type |
string |
| Required |
Yes |
| Same definition as |
citizenship |
Description: Страна налогового резидентства
8. Property Person > passport
Description: Паспорт
| Property |
Pattern |
Type |
Deprecated |
Definition |
Title/Description |
| - series |
No |
string |
No |
- |
Серия |
| + number |
No |
string |
No |
- |
Номер |
| + issueDate |
No |
string |
No |
- |
Дата выдачи |
| + issuedBy |
No |
string |
No |
- |
Кем выдан |
| - issueOrganizationCode |
No |
string |
No |
- |
Код подразделения выдавшего паспорт |
8.1. Property Person > passport > series
Description: Серия
8.2. Property Person > passport > number
Description: Номер
8.3. Property Person > passport > issueDate
|
|
| Type |
string |
| Required |
Yes |
| Format |
date |
Description: Дата выдачи
8.4. Property Person > passport > issuedBy
Description: Кем выдан
8.5. Property Person > passport > issueOrganizationCode
Description: Код подразделения выдавшего паспорт
9. Property Person > bankAccount
|
|
| Type |
array of object |
| Required |
No |
| Defined in |
common/_common.schema.json#/bankAccount |
Description: Реквизиты банковского счета
|
Array restrictions |
| Min items |
0 |
| Max items |
N/A |
| Items unicity |
False |
| Additional items |
False |
| Tuple validation |
See below |
9.1. Person > bankAccount > bankAccount items
| Property |
Pattern |
Type |
Deprecated |
Definition |
Title/Description |
| + number |
No |
string |
No |
- |
Номер счета |
| - bank |
No |
object |
No |
- |
Банк РФ |
| - foreignBank |
No |
object |
No |
- |
Банк из списка SWIFT |
| - bankAccountType |
No |
enum (of string) |
No |
- |
- |
9.1.1. Property Person > bankAccount > bankAccount items > number
Description: Номер счета
| Restrictions |
|
| Max length |
50 |
| Must match regular expression |
^[0-9a-zA-Z]+$ Test |
9.1.2. Property Person > bankAccount > bankAccount items > bank
Description: Банк РФ
9.1.3. Property Person > bankAccount > bankAccount items > foreignBank
Description: Банк из списка SWIFT
9.1.4. Property Person > bankAccount > bankAccount items > bankAccountType
|
|
| Type |
enum (of string) |
| Required |
No |
Must be one of:
* "RUS"
* "FOREIGN"
10. Property Person > ogrnip
Description: ОГРН индивидуального предпринимателя. Заполняется, если Тип заказчика = ИП
| Restrictions |
|
| Min length |
15 |
| Max length |
15 |
| Must match regular expression |
^[0-9]{15}$ Test |
Generated using json-schema-for-humans on 2024-08-23 at 07:19:59 +0000