Sha256: 19755d6ccc2baa2a5b20c03aba6d6ed94314143f8d5acf31e32e5b1dfd3927e1
Contents?: true
Size: 850 Bytes
Versions: 2
Compression:
Stored size: 850 Bytes
Contents
{ "id1-1": { "or": ["email", "positive_integer" ] }, "id1-2": { "or": ["email", "positive_integer" ] }, "id2-1": [{ "or": ["email", "positive_integer" ] }, "to_lc"], "id2-2": [{ "or": ["email", "positive_integer" ] }, "to_lc"], "id3-1": { "or": [{"min_length": 15}, ["email", "to_lc"] ] }, "id3-2": { "or": [{"min_length": 15}, ["email", "to_lc"] ] }, "products": {"list_of": { "or": [ {"nested_object": { "product_type": ["required", {"eq": "material"}], "material_id": ["required", "positive_integer"], "quantity": ["required", {"min_number": 1} ], "warehouse_id": "positive_integer" }}, {"nested_object": { "product_type": ["required", {"eq": "service"}], "name": ["required", {"max_length": 20} ] }} ]}} }
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
ruby-livr-2.0.0 | spec/test_suite/positive/29-or/rules.json |
livr2-2.0.0 | spec/test_suite/positive/29-or/rules.json |