Перейти к содержанию

Person#

Title: Person

Type object
Required No
Additional properties [Not allowed]

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")#

Type object
Required No
Additional properties [Any type: allowed]
Property Pattern Type Deprecated Definition Title/Description
- passport No object No - -

1.1. Property Person > then > passport#

Type object
Required No
Additional properties [Any type: allowed]

1.1.1. The following properties are required#

  • issueOrganizationCode

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#

Type string
Required Yes

Description: Фамилия

3.2. Property Person > fio > firstName#

Type string
Required Yes

Description: Имя

3.3. Property Person > fio > patronymic#

Type string
Required No

Description: Отчество

4. Property Person > inn#

Type string
Required Yes

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: Адрес регистрации

Property Pattern Type Deprecated Definition Title/Description
- address No string No - Адрес
- zipCode No string No - Почтовый индекс
- additionalProperties No object No - -
- required No object No - -

5.1. Property Person > addressRegistration > address#

Type string
Required No

Description: Адрес

5.2. Property Person > addressRegistration > zipCode#

Type string
Required No

Description: Почтовый индекс

5.3. Property Person > addressRegistration > additionalProperties#

Type object
Required No
Additional properties [Any type: allowed]

5.4. Property Person > addressRegistration > required#

Type object
Required No
Additional properties [Any type: allowed]

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#

Type object
Required No
Additional properties [Not allowed]

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#

Type string
Required No

Description: Серия

8.2. Property Person > passport > number#

Type string
Required Yes

Description: Номер

8.3. Property Person > passport > issueDate#

Type string
Required Yes
Format date

Description: Дата выдачи

8.4. Property Person > passport > issuedBy#

Type string
Required Yes

Description: Кем выдан

8.5. Property Person > passport > issueOrganizationCode#

Type string
Required No

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
Each item of this array must be Description
bankAccount items -

9.1. Person > bankAccount > bankAccount items#

Type object
Required No
Additional properties [Not allowed]
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#

Type string
Required Yes

Description: Номер счета

Restrictions
Max length 50
Must match regular expression ^[0-9a-zA-Z]+$ Test

9.1.2. Property Person > bankAccount > bankAccount items > bank#

Type object
Required No
Additional properties [Any type: allowed]

Description: Банк РФ

9.1.3. Property Person > bankAccount > bankAccount items > foreignBank#

Type object
Required No
Additional properties [Any type: allowed]

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#

Type string
Required No

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