Sha256: 31b1716cce0ae84e5ac85fe08e0d7260c8d1e81a5fc6e93bc92a2a65321a1127

Contents?: true

Size: 759 Bytes

Versions: 79

Compression:

Stored size: 759 Bytes

Contents

[
    {
        "description": "maxProperties validation",
        "schema": {"maxProperties": 2},
        "tests": [
            {
                "description": "shorter is valid",
                "data": {"foo": 1},
                "valid": true
            },
            {
                "description": "exact length is valid",
                "data": {"foo": 1, "bar": 2},
                "valid": true
            },
            {
                "description": "too long is invalid",
                "data": {"foo": 1, "bar": 2, "baz": 3},
                "valid": false
            },
            {
                "description": "ignores non-objects",
                "data": "foobar",
                "valid": true
            }
        ]
    }
]

Version data entries

79 entries across 74 versions & 14 rubygems

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