Data Model - Account Creation
The following is the list of data model that used on Account Creation API:
identity
The following table is data of identity data model:
| No | Name | Type | Length | Required | Condition | Remarks |
|---|---|---|---|---|---|---|
| 1 | type | String | Fixed, 1 max | Mandatory | - | Document type.
|
| 2 | id | String | Variable, 32 max | Mandatory | - | Document id by type |
| 3 | name | String | Variable, 128 max | Mandatory | - | User name by id |
| 4 | address | String | Variable, 256 max | Mandatory | - | User address by id |
| 5 | placeOfBirth | String | Variable, 256 max | Mandatory | - | User place of birth by id |
| 6 | dateOfBirth | String | Variable, 256 max | Mandatory | - | User date of birth by id |
| 7 | occupation | String | Variable, 2 max | Mandatory | - | User occupation |
| 8 | gender | String | Fixed, 1 max | Mandatory | - | User gender |
| 9 | citizenship | String | Variable, 2 max | Mandatory | - | User citizenship |
| 10 | selfie | String | Variable, 256 max | Mandatory | - | User selfie photo url for download |
| 11 | frontIdPhoto | String | Variable, 256 max | Mandatory | - | User front id photo url for download |
| 12 | backIdPhoto | String | Variable, 256 max | Mandatory | - | User back id photo url for download |



