Add some simple model validation to save the API from processing incomplete data.