Sha256: e2458578b8d1198a788281a83700d4fad0ec22e04b259a7b8ddbe1bbaac978d7

Contents?: true

Size: 1.04 KB

Versions: 16

Compression:

Stored size: 1.04 KB

Contents

[
    {
        "description": "required validation",
        "schema": {
            "properties": {
                "foo": {},
                "bar": {}
            },
            "required": ["foo"]
        },
        "tests": [
            {
                "description": "present required property is valid",
                "data": {"foo": 1},
                "valid": true
            },
            {
                "description": "non-present required property is invalid",
                "data": {"bar": 1},
                "valid": false
            },
            {
                "description": "ignores non-objects",
                "data": 12,
                "valid": true
            }
        ]
    },
    {
        "description": "required default validation",
        "schema": {
            "properties": {
                "foo": {}
            }
        },
        "tests": [
            {
                "description": "not required by default",
                "data": {},
                "valid": true
            }
        ]
    }
]

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
couchbase-3.0.0.alpha.4-x86_64-linux ext/third_party/json/tests/draft4/required.json
couchbase-3.0.0.alpha.4-x86_64-darwin-19 ext/third_party/json/tests/draft4/required.json
couchbase-3.0.0.alpha.4-universal-darwin-19 ext/third_party/json/tests/draft4/required.json
couchbase-3.0.0.alpha.4 ext/third_party/json/tests/draft4/required.json
couchbase-3.0.0.alpha.3-x86_64-linux ext/third_party/json/tests/draft4/required.json
couchbase-3.0.0.alpha.3-x86_64-darwin-19 ext/third_party/json/tests/draft4/required.json
couchbase-3.0.0.alpha.3-universal-darwin-19 ext/third_party/json/tests/draft4/required.json
couchbase-3.0.0.alpha.3 ext/third_party/json/tests/draft4/required.json
couchbase-3.0.0.alpha.2-x86_64-linux ext/third_party/json/tests/draft4/required.json
couchbase-3.0.0.alpha.2-x86_64-darwin-19 ext/third_party/json/tests/draft4/required.json
couchbase-3.0.0.alpha.2-universal-darwin-19 ext/third_party/json/tests/draft4/required.json
couchbase-3.0.0.alpha.2 ext/third_party/json/tests/draft4/required.json
couchbase-3.0.0.alpha.1-x86_64-linux ext/third_party/json/tests/draft4/required.json
couchbase-3.0.0.alpha.1-x86_64-darwin-19 ext/third_party/json/tests/draft4/required.json
couchbase-3.0.0.alpha.1-universal-darwin-19 ext/third_party/json/tests/draft4/required.json
couchbase-3.0.0.alpha.1 ext/third_party/json/tests/draft4/required.json