Sha256: 6422ffed57aea1625c1fb9d44a2a8b1c6c8117b1b138e6b3b88e665488918bad

Contents?: true

Size: 511 Bytes

Versions: 6

Compression:

Stored size: 511 Bytes

Contents

[
    {
        "name": "address",
        "rules": { "nested_object":{
            "street": "required",
            "zip": ["required", "positive_integer"],
            "city": {"one_of": ["Kiev", "Kharkiv"] }
        }}
    },

    {
        "name": "address_with_custom_error",
        "rules": { "nested_object":{
            "street": "required",
            "zip": ["required", "positive_integer"],
            "city": {"one_of": ["Kiev", "Kharkiv"] }
        }},
        "error": "WRONG_ADDRESS"
    }
]

Version data entries

6 entries across 3 versions & 3 rubygems

Version Path
ruby-livr-2.0.0 spec/test_suite/aliases_negative/02-address/aliases.json
ruby-livr-2.0.0 spec/test_suite/aliases_positive/02-address/aliases.json
livr2-2.0.0 spec/test_suite/aliases_negative/02-address/aliases.json
livr2-2.0.0 spec/test_suite/aliases_positive/02-address/aliases.json
livr-0.0.2 test/test_suite/aliases_negative/02-address/aliases.json
livr-0.0.2 test/test_suite/aliases_positive/02-address/aliases.json