Sha256: 59d20612c28c570457f8f7248d6b2aa2aeba08f150483608e505634a48e9dec7

Contents?: true

Size: 923 Bytes

Versions: 63

Compression:

Stored size: 923 Bytes

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": "required default validation",
        "schema": {
            "properties": {
                "foo": {}
            }
        },
        "tests": [
            {
                "description": "not required by default",
                "data": {},
                "valid": true
            }
        ]
    }
]

Version data entries

63 entries across 58 versions & 13 rubygems

Version Path
rj_schema-1.0.5 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
rj_schema-1.0.4 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
rj_schema-1.0.3 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
rj_schema-1.0.2 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
rj_schema-1.0.1 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
rj_schema-1.0.0 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
rj_schema-0.2.6 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
rj_schema-0.2.5 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
rj_schema-0.2.3 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
rj_schema-0.2.2 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
rj_schema-0.2.1 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
optimacms-0.4.3 spec/dummy/node_modules/is-my-json-valid/test/json-schema-draft4/required.json
optimacms-0.4.2 spec/dummy/node_modules/is-my-json-valid/test/json-schema-draft4/required.json
locomotivecms-3.4.0 app/javascript/node_modules/is-my-json-valid/test/json-schema-draft4/required.json
rj_schema-0.2.0 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
rj_schema-0.1.4 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
rj_schema-0.1.3 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
rj_schema-0.1.2 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
rj_schema-0.1.1 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
rj_schema-0.1.0 ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json