JAL-2588 overview tab docs, whats new and release notes
[jalview.git] / examples / biojson-doc / tests / minimum.json
1 [
2     {
3         "description": "minimum validation",
4         "schema": {"minimum": 1.1},
5         "tests": [
6             {
7                 "description": "above the minimum is valid",
8                 "data": 2.6,
9                 "valid": true
10             },
11             {
12                 "description": "below the minimum is invalid",
13                 "data": 0.6,
14                 "valid": false
15             },
16             {
17                 "description": "ignores non-numbers",
18                 "data": "x",
19                 "valid": true
20             }
21         ]
22     },
23     {
24         "description": "exclusiveMinimum validation",
25         "schema": {
26             "minimum": 1.1,
27             "exclusiveMinimum": true
28         },
29         "tests": [
30             {
31                 "description": "above the minimum is still valid",
32                 "data": 1.2,
33                 "valid": true
34             },
35             {
36                 "description": "boundary point is invalid",
37                 "data": 1.1,
38                 "valid": false
39             }
40         ]
41     }
42 ]