Sha256: 3d98c7bf61e6c5a7458324d7b37a7a11d86a52665ef6f8f919e3f2dcc91284c4

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 Bytes

Contents

{
    "city1": { "one_of": [["Moscow", "Kiev" ]] },
    "city2": [{ "one_of": [["Moscow", "Kiev" ]] }],
    "city3": { "one_of": ["Moscow", "Kiev"] },
    "number1": { "one_of": [1, "1.00", "1"] },

    "value_is_hash":        { "one_of": [["Moscow", "Kiev" ]] },
    "value_is_empty_hash":  { "one_of": [["Moscow", "Kiev" ]] },
    "value_is_array":       { "one_of": [["Moscow", "Kiev" ]] },
    "value_is_empty_array": { "one_of": [["Moscow", "Kiev" ]] }
}

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
ruby-livr-2.0.0 spec/test_suite/negative/03-one_of/rules.json
livr2-2.0.0 spec/test_suite/negative/03-one_of/rules.json