{ "match": false, "comment": "Types and regular expressions don't match", "expected": { "metaData": { "contentType": "application/json" }, "contents": { "animals": [ { "phoneNumber": "0415674567" } ] }, "matchingRules": { "body": { "$.animals": { "matchers": [ { "min": 1, "match": "type" } ] }, "$.animals[*].*": { "matchers": [ { "match": "type" } ] }, "$.animals[*].phoneNumber": { "matchers": [ { "match": "regex", "regex": "\\d+" } ] } } } }, "actual": { "metaData": { "contentType": "application/json" }, "contents": { "animals": [ { "phoneNumber": "333" },{ "phoneNumber": "abc" } ] } } }