{ "match": true, "comment": "Types and regular expressions match", "expected": { "contents": { "contentType": "application/json", "encoded": false, "content": { "animals": [ { "phoneNumber": "0415674567" } ] } }, "matchingRules": { "content": { "$.animals": { "matchers": [ { "min": 1, "match": "type" } ] }, "$.animals[*].*": { "matchers": [ { "match": "type" } ] }, "$.animals[*].phoneNumber": { "matchers": [ { "match": "regex", "regex": "\\d+" } ] } } } }, "actual": { "contents": { "contentType": "application/json", "encoded": false, "content": { "animals": [ { "phoneNumber": "333" }, { "phoneNumber": "983479823479283478923" } ] } } } }