Welcome to mirror list, hosted at ThFree Co, Russian Federation.

nullAndObject.json « json-schema-draft4 « test « is-my-json-valid « node_modules - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c65c02c36f97062a1700ce93a2a5e6cb36ef242a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[
  {
    "description": "multiple types of null and object containing properties",
    "schema": {
      "type": ["null", "object"],
      "properties": {
        "foo": {}
      }
    },
    "tests": [
      {
        "description": "null is valid",
        "data": null,
        "valid": true
      }
    ]
  }
]