Warn or throw an error if an unknown field is defined inside a struct. Sth like this
otherParams.strangeField = 2
It should throw:
error: the struct otherParams does not contain the struct "strangeField", to see the fields pleas check: https://onsas.github.io/ONSAS.m/dev/howtouse/creatingModels/