Use set in determining whether asset type is valid
Rename function
Define type aliases for malformed parameters and parsed properties
Define type alias for parsed asset row
Replace empty lists with Nils
Replace regex with trim and maybeInt
Use more descriptive variable names
Split composite test to three smaller tests
Make function parameters non-optional
Turn match case construct into filter and map
Handle malformed parameters in data import API