Best practices for IoT data validation