I just noticed
sc= getParam( 'sc', 'TS2', 'TRACERS Spacecraft', ['TS1','TS2'] )
will result in the completion TS2 even though it's pretty easy to add completions for all the enums. I've done this, but this really needs to be done for types other than String and Number.
Also, constraints like
should be supported.