[Validator] added improve support for collection validation

| Q                     | A
| -----------------------| ---
| Bug fix?            | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #9888
| License       | MIT
| Doc PR        |