add validations to entry model spec