Validation based off spec defined in entity module