(schemaRef, data)
| 48 | } |
| 49 | |
| 50 | validate (schemaRef, data) { |
| 51 | return this.ajv.validate(schemaRef, data) |
| 52 | } |
| 53 | |
| 54 | // Ajv does not natively support JavaScript objects like Date or other types |
| 55 | // that rely on a custom .toJSON() representation. To properly validate schemas |