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