summaryrefslogtreecommitdiffstats
path: root/tests/auto/daemon/json-validation/type-schema.json
blob: 4aad2acdf1bfb776cff0bfeea42797cee7ea9e49 (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
25
26
27
28
29
30
31
32
33
{
    "description": "check if a property type is correct",
    "type": "object",
    "properties": {
        "string": {
            "type": "string"
        },
        "number": {
            "type": "number"
        },
        "integer": {
            "type": "integer"
        },
        "boolean": {
            "type": "boolean"
        },
        "object": {
            "type": "object"
        },
        "array": {
            "type": "array"
        },
        "null": {
            "type": "null"
        },
        "any": {
            "type": "any"
        },
        "mixed": {
            "type": ["string", "integer"]
        }
    }
}