Maybe use [ArrayValidator](https://github.com/Pajk/apipie-rails#arrayvalidator) here?