Parameter x for orb y must be a enum when using job parameters (vscode language server)

P.S. You don’t have a tag here for the vscode extension / language server.

I figure out the problem, I forgot to add type: enum to the parameter, but the error message is misleading.