Sha256: 1aafdf6557d0b8c58e3930d2bd8ece3467c486b1b7a3fc595d81f8f90f392b3d

Contents?: true

Size: 563 Bytes

Versions: 4

Compression:

Stored size: 563 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} ]
            }
        }
    ]}]
}

Version data entries

4 entries across 3 versions & 3 rubygems

Version Path
ruby-livr-2.0.0 spec/test_suite/negative/21-list_of_different_objects/rules.json
livr2-2.0.0 spec/test_suite/negative/21-list_of_different_objects/rules.json
livr-0.0.2 test/test_suite/negative/21-list_of_different_objects/rules.json
livr-0.0.2 test/test_suite/positive/21-list_of_different_objects/rules.json