Sha256: 26a73ed099dae37951aa2847fad470df7a7ddb655afe812e34ab3e64ec788d8d
Contents?: true
Size: 832 Bytes
Versions: 2
Compression:
Stored size: 832 Bytes
Contents
{ "order_id": ["required", "positive_integer"], "products": ["required", { "list_of_different_objects": [ "product_type", { "material": { "product_type": "required", "material_id": ["required", "positive_integer"], "quantity": ["required", {"min_number": 1} ], "warehouse_id": "positive_integer" }, "service": { "product_type": "required", "name": ["required", {"max_length": 10} ] } } ]}], "empty_list": ["required", { "list_of_different_objects": [ "item_type", { "string": { "value": "required" }, "number": { "value": ["required", "integer" ] } } ]}] }
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
ruby-livr-2.0.0 | spec/test_suite/positive/21-list_of_different_objects/rules.json |
livr2-2.0.0 | spec/test_suite/positive/21-list_of_different_objects/rules.json |