{ "match": true, "comment": "Types and regular expressions match", "expected": { "metaData": { "contentType": "application/json" }, "contents": { "animals": [ { "name" : "Fred" } ] }, "matchingRules": { "body": { "$.animals": { "matchers": [ { "min": 1, "match": "type" } ] }, "$.animals[*].*": { "matchers": [ { "match": "type" } ] } } } }, "actual": { "metaData": { "contentType": "application/json" }, "contents": { "animals": [ { "name" : "Mary" },{ "name" : "Susan" } ] } } }