Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Table of Contents

ERD


View file
nameerd_example_v5.pdf
height250

...


NameTypeM/ODescription and constraints
iduuidM
file_namevarcharM
statusenum[new, processing, processed ]

M


typeDICTIONARY='REGISTER_TYPE'M
qty

jsonb:

{not_found: number,

processing: number,

errors: number,

total: number}

M
errorsarray (e.g. ["Row has length 4 - expected length 5 on line 5"])M
inserted_atuuidM
inserted_bytimestampM
updated_atuuidM
updated_bytimestampM


REGISTER_ENTRIES


Name SourceM/ODescription and constraints
iduuidM
register_iduuidM
tax_idvarcharO

national_id

varcharO

passport

varcharO

birth_certificate

varcharO

temporary_certificate

varcharO
status

enum (processing, matched, not_found)

M
inserted_atuuidM
inserted_bytimestampM
updated_atuuidM
updated_bytimestampM


JSONB structures 

Address

...


NameTypeM/ODescription and constraints
typeDictionary: ADDRESS_TYPEM
countryDictionary: COUNTRYM
areastringM
regionstringO
settlementstringM
settlement_idstringMsettlement_id must be a valid UAddresses entity
settlement_typeDictionary: SETTLEMENT_TYPEM
street_typeDictionary: STREET_TYPEM
streetstringO
buildingstringM
apartmentstringO
zipstringO

Phone

...