zaggino/z-schema — pull request #5 by oleksiyk (2013-09-11 15:46:53+00:00)
Title: Stack up errors for oneOf and anyOf validations as subErrors property

```
[ { code: 'ONE_OF_MISSING',
message: 'Data does not match any schemas from "oneOf"',
path: '#/',
params: {},
subErrors:
[ { code: 'INVALID_TYPE',
message: 'invalid type: string (expected number)',
path: '#/',
params: { expected: 'number', type: 'string' } },
{ code: 'INVALID_TYPE',
message: 'invalid type: string (expected object)',
path: '#/',
params: { expected: 'object', type: 'string' } } ] } ]
```