I think you can use:
```
"number": {
  "max": 5
}
```