Sha256: de33eb05f3960ff34bb85230df0c03dc901048f39dcfef2ed90235920875857e

Contents?: true

Size: 262 Bytes

Versions: 2

Compression:

Stored size: 262 Bytes

Contents

{
    "products": [ "required", { "list_of_objects": {
        "product_id": [ "required","positive_integer" ],
        "quantity": [ "required", "positive_integer" ]
    }}],

    "empty_list": [{"list_of_objects": {
        "some_field": ["required"]
    }}]
}

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
ruby-livr-2.0.0 spec/test_suite/positive/20-list_of_objects/rules.json
livr2-2.0.0 spec/test_suite/positive/20-list_of_objects/rules.json