Sha256: 50f542db6f37532bc586113ea9a4c1b08a29cd648987e92cb412de864dd5896b

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

{
    "address": [ "required", { "nested_object": {
        "country": ["required", { "one_of": [["Ukraine", "USA"]] } ],
        "zip": "positive_integer",
        "street": "required",
        "building": ["required",  "positive_integer" ]
    } } ],
    "address2": { "nested_object": { "country": "required" } }
}

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
ruby-livr-2.0.0 spec/test_suite/negative/18-nested_object/rules.json
livr2-2.0.0 spec/test_suite/negative/18-nested_object/rules.json
livr-0.0.2 test/test_suite/negative/18-nested_object/rules.json