PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
is-my-json-valid
/
test
/
json-schema-draft4
[ { "description": "anyOf", "schema": { "anyOf": [ { "type": "integer" }, { "minimum": 2 } ] }, "tests": [ { "description": "first anyOf valid", "data": 1, "valid": true }, { "description": "second anyOf valid", "data": 2.5, "valid": true }, { "description": "both anyOf valid", "data": 3, "valid": true }, { "description": "neither anyOf valid", "data": 1.5, "valid": false } ] }, { "description": "anyOf with base schema", "schema": { "type": "string", "anyOf" : [ { "maxLength": 2 }, { "minLength": 4 } ] }, "tests": [ { "description": "mismatch base schema", "data": 3, "valid": false }, { "description": "one anyOf valid", "data": "foobar", "valid": true }, { "description": "both anyOf invalid", "data": "foo", "valid": false } ] } ]
[-] definitions.json
[edit]
[-] multipleOf.json
[edit]
[-] default.json
[edit]
[-] minProperties.json
[edit]
[+]
..
[-] maxLength.json
[edit]
[-] anyOf.json
[edit]
[-] minItems.json
[edit]
[-] required.json
[edit]
[-] oneOf.json
[edit]
[-] uniqueItems.json
[edit]
[-] nullAndObject.json
[edit]
[-] items.json
[edit]
[-] maximum.json
[edit]
[-] maxItems.json
[edit]
[-] dependencies.json
[edit]
[-] nullAndFormat.json
[edit]
[-] minLength.json
[edit]
[-] refRemote.json
[edit]
[-] ref.json
[edit]
[-] minimum.json
[edit]
[-] format.json
[edit]
[-] properties.json
[edit]
[-] allOf.json
[edit]
[-] enum.json
[edit]
[-] maxProperties.json
[edit]
[-] patternProperties.json
[edit]
[-] pattern.json
[edit]
[-] additionalProperties.json
[edit]
[-] bignum.json
[edit]
[-] not.json
[edit]
[-] additionalItems.json
[edit]
[-] type.json
[edit]