--
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/nullAndFormat.json
generated
vendored
Normal file
18
node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[
|
||||
{
|
||||
"description": "validation of null and format",
|
||||
"schema": {"type": ["null", "string"], "format": "date-time"},
|
||||
"tests": [
|
||||
{
|
||||
"description": "a valid date-time string",
|
||||
"data": "1963-06-19T08:30:06.283185Z",
|
||||
"valid": true
|
||||
},
|
||||
{
|
||||
"description": "allow null",
|
||||
"data": null,
|
||||
"valid": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Loading…
Reference in a new issue