tv4 icon indicating copy to clipboard operation
tv4 copied to clipboard

Tiny Validator for JSON Schema v4

Results 102 tv4 issues
Sort by recently updated
recently updated
newest added

i use postman collection 2 to validation and get error "Data is valid against more than one schema from "oneOf": indices 0 and 1". schema ``` { "$schema": "http://json-schema.org/draft-04/schema#", "id":...

Hello, I'm writing tests for API validation, and TV4 is very useful for this, but I can't find out how to check this JSon structure : JSON SOURCE: ``` {...

Hello everyone, i'm utilizing validateMultiple(model, schema) method and it's returning the correct errors array. But I'm trying to retrive all valid array to, is there a method already implemented in...

A little over a year ago, I provided a fix to improve the way that the validator handles inherited properties (see 471b605366e278397840443c0efadd9006033e6c for the fix). The fix was merged to...

``` git clone... npm i npm test ``` Tests fail 1. After the first failed test mocha stops (regardless bail: false option) 2. Many tests fail (I was skipping the...

Hi, I use tv4 for my tests on Postman and I don't understand why an object property is tested against `patternProperties` while it is listed under `properties`... Here is the...

my schema contains: ``` json "dateTerminated": { "anyOf": [ { "type": "null" }, { "type": "string", "format": "date-time" } ] } ``` and when passing dateTerminated: null, I get the...

I ran into a problem when validating with a schema (example listed below) that has `$ref` to local schema element. I emailed with Geraint and he stated: > tv4 does...

We use tv4 in a large Application. The Chrome Profiler tells me that ValidationError need a lot of CPU power for generating the Stacktrace. The Chrome JS Engine cannot optimize...

Hi. I'm new to JSON schema validation and tv4, so please excuse me if this is a dumb question. I'm building a localized application and would like to have my...