Typdefs for Metadata Model

Signed-off-by: Reinaldo Penno <rapenno@gmail.com>