{ "match": true, "comment": "XML top level array matches", "expected": { "headers": {"Content-Type": "application/xml"}, "body" : "", "matchingRules" : { "$.body.people.*['@id']" : { "match" : "type" }, "$.body.people.*['@name']" : { "match" : "type" }, "$.body.people.*['@dob']" : { "match": "regex", "regex" : "\\d{2}/\\d{2}/\\d{4}" }, "$.body.people.*['@timestamp']" : { "match": "regex", "regex" : "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}" } } }, "actual": { "headers": {"Content-Type": "application/xml"}, "body": "" } }