Sha256: f2cf731dabcdacd9c2f3bb0af9e67aa47b75c63f03d22939e0d400f92405e488

Contents?: true

Size: 1.04 KB

Versions: 101

Compression:

Stored size: 1.04 KB

Contents

[
    {
        "description": "maximum validation",
        "schema": {"maximum": 3.0},
        "tests": [
            {
                "description": "below the maximum is valid",
                "data": 2.6,
                "valid": true
            },
            {
                "description": "above the maximum is invalid",
                "data": 3.5,
                "valid": false
            },
            {
                "description": "ignores non-numbers",
                "data": "x",
                "valid": true
            }
        ]
    },
    {
        "description": "exclusiveMaximum validation",
        "schema": {
            "maximum": 3.0,
            "exclusiveMaximum": true
        },
        "tests": [
            {
                "description": "below the maximum is still valid",
                "data": 2.2,
                "valid": true
            },
            {
                "description": "boundary point is invalid",
                "data": 3.0,
                "valid": false
            }
        ]
    }
]

Version data entries

101 entries across 77 versions & 15 rubygems

Version Path
rj_schema-1.0.5 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/maximum.json
rj_schema-1.0.5 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maximum.json
rj_schema-1.0.4 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/maximum.json
rj_schema-1.0.4 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maximum.json
rj_schema-1.0.3 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maximum.json
rj_schema-1.0.3 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/maximum.json
rj_schema-1.0.2 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/maximum.json
rj_schema-1.0.2 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maximum.json
rj_schema-1.0.1 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/maximum.json
rj_schema-1.0.1 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maximum.json
rj_schema-1.0.0 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maximum.json
rj_schema-1.0.0 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/maximum.json
couchbase-3.0.0.alpha.4-x86_64-linux ext/third_party/json/tests/draft4/maximum.json
couchbase-3.0.0.alpha.4-x86_64-darwin-19 ext/third_party/json/tests/draft4/maximum.json
couchbase-3.0.0.alpha.4-universal-darwin-19 ext/third_party/json/tests/draft4/maximum.json
couchbase-3.0.0.alpha.4 ext/third_party/json/tests/draft4/maximum.json
couchbase-3.0.0.alpha.3-x86_64-linux ext/third_party/json/tests/draft4/maximum.json
couchbase-3.0.0.alpha.3-x86_64-darwin-19 ext/third_party/json/tests/draft4/maximum.json
couchbase-3.0.0.alpha.3-universal-darwin-19 ext/third_party/json/tests/draft4/maximum.json
couchbase-3.0.0.alpha.3 ext/third_party/json/tests/draft4/maximum.json