Sha256: 61a14c8c8a5109630a2526f80f4bd6fc6e8041e0794517732812a19973c03982

Contents?: true

Size: 416 Bytes

Versions: 2

Compression:

Stored size: 416 Bytes

Contents

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

    "should_be_empty": [ "required", { "nested_object": {
        "country": [{ "one_of": [["Ukraine", "USA"]] } ],
        "zip": "positive_integer"
    } } ]
}

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
ruby-livr-2.0.0 spec/test_suite/positive/18-nested_object/rules.json
livr2-2.0.0 spec/test_suite/positive/18-nested_object/rules.json