Specmatic · Example Payload

Specmatic Contract Example

API Contract TestingAPI GovernanceAPI MockingBackward CompatibilityContract-Driven DevelopmentService Virtualization

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

Top-level fields

idnamespecificationFormatspecificationVersionprotocolspecificationUrlbackwardCompatiblecoveragePercentcreatedAtupdatedAt

Example Payload

specmatic-contract-example.json Raw ↑
{
  "id": "contract-openapi-petstore-v1",
  "name": "Petstore REST API Contract",
  "specificationFormat": "OpenAPI",
  "specificationVersion": "3.0.3",
  "protocol": "HTTP",
  "specificationUrl": "https://raw.githubusercontent.com/specmatic/petstore-contracts/main/petstore.yaml",
  "backwardCompatible": true,
  "coveragePercent": 94.5,
  "createdAt": "2026-01-15T10:00:00Z",
  "updatedAt": "2026-05-01T14:30:00Z"
}