{ "match": true, "comment": "Types and regular expressions match", "expected" : { "method": "POST", "path": "/", "query": "", "headers": {"Content-Type": "application/json"}, "matchingRules": { "$.body.animals": {"min": 1, "match": "type"}, "$.body.animals[*].*": {"match": "type"} }, "body": { "animals": [ { "name" : "Fred" } ] } }, "actual": { "method": "POST", "path": "/", "query": "", "headers": {"Content-Type": "application/json"}, "body": { "animals": [ { "name" : "Mary" },{ "name" : "Susan" } ] } } }