{ "consumer": { "name": "MyConsumer" }, "provider": { "name": "pactWith" }, "interactions": [ { "description": "A get request to get a pet 1845563262948980200", "providerState": "A pet 1845563262948980200 exists", "request": { "method": "GET", "path": "/v2/pet/1845563262948980200", "headers": { "api_key": "[]" } }, "response": { "status": 200, "headers": { }, "body": { "someField": "some string" }, "matchingRules": { "$.body.someField": { "match": "type" } } } } ], "metadata": { "pactSpecification": { "version": "2.0.0" } } }