IMO "type" is not a very matching parameter name but I can't provide a better one off the top of my head.

Furthermore there's too much "type" in here (from a JSON schema POV). The following is enough.
```
{ "name": "type", "type": "string", "enum": [ "current", "supported" ], "required": true }
```