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