nullAndObject.json 316 B

12345678910111213141516171819
  1. [
  2. {
  3. "description": "multiple types of null and object containing properties",
  4. "schema": {
  5. "type": ["null", "object"],
  6. "properties": {
  7. "foo": {}
  8. }
  9. },
  10. "tests": [
  11. {
  12. "description": "null is valid",
  13. "data": null,
  14. "valid": true
  15. }
  16. ]
  17. }
  18. ]