nullAndFormat.json 385 B

123456789101112131415161718
  1. [
  2. {
  3. "description": "validation of null and format",
  4. "schema": {"type": ["null", "string"], "format": "date-time"},
  5. "tests": [
  6. {
  7. "description": "a valid date-time string",
  8. "data": "1963-06-19T08:30:06.283185Z",
  9. "valid": true
  10. },
  11. {
  12. "description": "allow null",
  13. "data": null,
  14. "valid": true
  15. }
  16. ]
  17. }
  18. ]