Bones/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json
SOUTHERNCO\x2mjbyrn 7efe7605b8 Template Upload
2017-05-17 13:45:25 -04:00

18 lines
385 B
JSON

[
{
"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
}
]
}
]