(schema, value, path)
| 208 | return errors |
| 209 | }, |
| 210 | not (schema, value, path) { |
| 211 | if (!this._validateSchema(schema.not, value, path).length) { |
| 212 | return [{ |
| 213 | path, |
| 214 | property: 'not', |
| 215 | message: this.translate('error_not', null, schema) |
| 216 | }] |
| 217 | } |
| 218 | return [] |
| 219 | }, |
| 220 | type (schema, value, path) { |
| 221 | /* Union type */ |
| 222 | if (Array.isArray(schema.type)) { |
nothing calls this directly
no test coverage detected