Added schema definision.
Update type defenision with default id value and field casting method. Represent persist manager