Sha256: 37e0350cc4d4d6c5f0de3ca829cff1e4ae4d4e2716ddf3b8cb807a80f8e19876

Contents?: true

Size: 1.24 KB

Versions: 113

Compression:

Stored size: 1.24 KB

Contents

[
    {
        "description": "invalid type for default",
        "schema": {
            "properties": {
                "foo": {
                    "type": "integer",
                    "default": []
                }
            }
        },
        "tests": [
            {
                "description": "valid when property is specified",
                "data": {"foo": 13},
                "valid": true
            },
            {
                "description": "still valid when the invalid default is used",
                "data": {},
                "valid": true
            }
        ]
    },
    {
        "description": "invalid string value for default",
        "schema": {
            "properties": {
                "bar": {
                    "type": "string",
                    "minLength": 4,
                    "default": "bad"
                }
            }
        },
        "tests": [
            {
                "description": "valid when property is specified",
                "data": {"bar": "good"},
                "valid": true
            },
            {
                "description": "still valid when the invalid default is used",
                "data": {},
                "valid": true
            }
        ]
    }
]

Version data entries

113 entries across 77 versions & 15 rubygems

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