validating type and resolution