enter image description here
I have created a TYPE as follows
-- Contact Type drop type if exists contact_type cascade; CREATE TYPE contact_type