{ "match": true, "comment": "XML Types and regular expressions match", "expected" : { "method": "POST", "path": "/", "query": {}, "headers": {"Content-Type": "application/xml"}, "matchingRules": { "body": { "$.animals": { "matchers": [ { "min": 1, "match": "type" } ] }, "$.animals.alligator": { "matchers": [ { "match": "type" } ] }, "$.animals.alligator['@phoneNumber']": { "matchers": [ { "match": "regex", "regex": "\\d+" } ] } } }, "body": "" }, "actual": { "method": "POST", "path": "/", "query": {}, "headers": {"Content-Type": "application/xml"}, "body": "" } }