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