xref: /aosp_15_r20/external/json-schema-validator/src/test/suite/tests/draft7/exclusiveMinimum.json (revision 78c4dd6aa35290980cdcd1623a7e337e8d021c7c)
1[
2    {
3        "description": "exclusiveMinimum validation",
4        "schema": {
5            "exclusiveMinimum": 1.1
6        },
7        "tests": [
8            {
9                "description": "above the exclusiveMinimum is valid",
10                "data": 1.2,
11                "valid": true
12            },
13            {
14                "description": "boundary point is invalid",
15                "data": 1.1,
16                "valid": false
17            },
18            {
19                "description": "below the exclusiveMinimum is invalid",
20                "data": 0.6,
21                "valid": false
22            },
23            {
24                "description": "ignores non-numbers",
25                "data": "x",
26                "valid": true
27            }
28        ]
29    }
30]
31