--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
18
node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json
generated
vendored
Normal file
18
node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[
|
||||
{
|
||||
"description": "multiple types of null and object containing properties",
|
||||
"schema": {
|
||||
"type": ["null", "object"],
|
||||
"properties": {
|
||||
"foo": {}
|
||||
}
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
"description": "null is valid",
|
||||
"data": null,
|
||||
"valid": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Loading…
Reference in a new issue