Sha256: 6b59c08a3c6bec799cd4917915d046407f4aaa2c8debc0b14eae7fa20511736d

Contents?: true

Size: 896 Bytes

Versions: 47

Compression:

Stored size: 896 Bytes

Contents

[
    {
        "description": "maxLength validation",
        "schema": {"maxLength": 2},
        "tests": [
            {
                "description": "shorter is valid",
                "data": "f",
                "valid": true
            },
            {
                "description": "exact length is valid",
                "data": "fo",
                "valid": true
            },
            {
                "description": "too long is invalid",
                "data": "foo",
                "valid": false
            },
            {
                "description": "ignores non-strings",
                "data": 100,
                "valid": true
            },
            {
                "description": "two supplementary Unicode code points is long enough",
                "data": "\uD83D\uDCA9\uD83D\uDCA9",
                "valid": true
            }
        ]
    }
]

Version data entries

47 entries across 38 versions & 3 rubygems

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