Did you look at the json schema specification? There is an `enum` key you can set to achieve the same validation.

And as an FYI, you can do this in Python:
```python
to_validate['command'] in ['start', 'pause', 'stop']
```