github.com/kaptinlin/jsonschema@v0.4.6/testdata/JSON-Schema-Test-Suite/tests/draft7/minimum.json (about)

     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": "boundary point is valid",
    13                  "data": 1.1,
    14                  "valid": true
    15              },
    16              {
    17                  "description": "below the minimum is invalid",
    18                  "data": 0.6,
    19                  "valid": false
    20              },
    21              {
    22                  "description": "ignores non-numbers",
    23                  "data": "x",
    24                  "valid": true
    25              }
    26          ]
    27      },
    28      {
    29          "description": "minimum validation with signed integer",
    30          "schema": {"minimum": -2},
    31          "tests": [
    32              {
    33                  "description": "negative above the minimum is valid",
    34                  "data": -1,
    35                  "valid": true
    36              },
    37              {
    38                  "description": "positive above the minimum is valid",
    39                  "data": 0,
    40                  "valid": true
    41              },
    42              {
    43                  "description": "boundary point is valid",
    44                  "data": -2,
    45                  "valid": true
    46              },
    47              {
    48                  "description": "boundary point with float is valid",
    49                  "data": -2.0,
    50                  "valid": true
    51              },
    52              {
    53                  "description": "float below the minimum is invalid",
    54                  "data": -2.0001,
    55                  "valid": false
    56              },
    57              {
    58                  "description": "int below the minimum is invalid",
    59                  "data": -3,
    60                  "valid": false
    61              },
    62              {
    63                  "description": "ignores non-numbers",
    64                  "data": "x",
    65                  "valid": true
    66              }
    67          ]
    68      }
    69  ]