17403 implement collection specification

[``* `#17403` Implement collection specification``](https://community.openproject.org/work_packages/17403)
At least one individual element should be tested for it's type.