Sha256: 044eede3d00096b29883742a6ef66e5a78cf2a0e4f33d1146a69a14c3fdf75e3

Contents?: true

Size: 1.57 KB

Versions: 9

Compression:

Stored size: 1.57 KB

Contents

[
    {
        "description": "minimum validation",
        "schema": {"minimum": 1.1},
        "tests": [
            {
                "description": "above the minimum is valid",
                "data": 2.6,
                "valid": true
            },
            {
                "description": "boundary point is valid",
                "data": 1.1,
                "valid": true
            },
            {
                "description": "below the minimum is invalid",
                "data": 0.6,
                "valid": false
            },
            {
                "description": "ignores non-numbers",
                "data": "x",
                "valid": true
            }
        ]
    },
    {
        "description": "minimum validation with signed integer",
        "schema": {"minimum": -2},
        "tests": [
            {
                "description": "negative above the minimum is valid",
                "data": -1,
                "valid": true
            },
            {
                "description": "positive above the minimum is valid",
                "data": 0,
                "valid": true
            },
            {
                "description": "boundary point is valid",
                "data": -2,
                "valid": true
            },
            {
                "description": "below the minimum is invalid",
                "data": -3,
                "valid": false
            },
            {
                "description": "ignores non-numbers",
                "data": "x",
                "valid": true
            }
        ]
    }
]

Version data entries

9 entries across 3 versions & 1 rubygems

Version Path
json_schemer-0.2.9 JSON-Schema-Test-Suite/tests/draft7/minimum.json
json_schemer-0.2.9 JSON-Schema-Test-Suite/tests/draft2019-09/minimum.json
json_schemer-0.2.9 JSON-Schema-Test-Suite/tests/draft6/minimum.json
json_schemer-0.2.8 JSON-Schema-Test-Suite/tests/draft6/minimum.json
json_schemer-0.2.8 JSON-Schema-Test-Suite/tests/draft2019-09/minimum.json
json_schemer-0.2.8 JSON-Schema-Test-Suite/tests/draft7/minimum.json
json_schemer-0.2.7 JSON-Schema-Test-Suite/tests/draft2019-08/minimum.json
json_schemer-0.2.7 JSON-Schema-Test-Suite/tests/draft7/minimum.json
json_schemer-0.2.7 JSON-Schema-Test-Suite/tests/draft6/minimum.json