summaryrefslogtreecommitdiffstats
path: root/tests/auto/partition/json-validation/numbers-boundaries-schema.json
blob: 74c02d962ca39c1b247ed6571a1e9cb265903aa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
    "description": "Check numbers boundaries",
    "type": "object",
    "properties": {
        "oneOrLess": {
            "type": "number",
            "maximum": 1.1
        },
        "lessThenOne": {
            "type": "number",
            "exclusiveMaximum": 1.1
        },
        "oneOrMore": {
            "type": "number",
            "minimum": 1.1
        },
        "moreThenOne": {
            "type": "number",
            "exclusiveMinimum": 1.1
        }
    }
}