What features does a firearm case need to have to make it legal?

Legal for what, exactly? To just be a firearms case, there are no requirements. If you're using it for transporting a firearm by air, it must be TSA approved.