Bones/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json

18 lines
385 B
JSON
Raw Normal View History

2017-05-17 13:45:25 -04:00
[
{
"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
}
]
}
]