split up validation and schema features
Store schema details in Schema model when validating