Test First · Example Payload

Test First Contract Example

Behavior-Driven DevelopmentBest PracticesMethodologySoftware DesignSoftware DevelopmentTesting

Test First Contract Example is an example object payload from Test First, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

idconsumerproviderversioninteractionsmetadata

Example Payload

Raw ↑
{
  "id": "sample-id",
  "consumer": "sample-consumer",
  "provider": "sample-provider",
  "version": "1.2.3",
  "interactions": [
    {}
  ],
  "metadata": {
    "pact_specification": "sample-pact-specification",
    "created": "2025-03-15T14:30:00Z"
  }
}