summaryrefslogtreecommitdiff
path: root/json/tests/draft2019-08/defs.json
blob: e3c298d37aab10208c545e2c7eb0e2c9ec15965b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[
    {
        "description": "valid definition",
        "schema": {"$ref": "http://json-schema.org/draft/2019-06/schema#"},
        "tests": [
            {
                "description": "valid definition schema",
                "data": {"$defs": {"foo": {"type": "integer"}}},
                "valid": true
            }
        ]
    },
    {
        "description": "invalid definition",
        "schema": {"$ref": "http://json-schema.org/draft/2019-06/schema#"},
        "tests": [
            {
                "description": "invalid definition schema",
                "data": {"$defs": {"foo": {"type": 1}}},
                "valid": false
            }
        ]
    }
]