Specmatic Contract Structure
Hierarchical structure of a Specmatic API contract resource.
Type: object
Properties: 0
API Contract TestingAPI GovernanceAPI MockingBackward CompatibilityContract-Driven DevelopmentService Virtualization
Specmatic Contract Structure is a JSON Structure definition published by Specmatic.
{
"title": "Specmatic Contract Structure",
"description": "Hierarchical structure of a Specmatic API contract resource.",
"type": "object",
"fields": [
{
"name": "id",
"type": "string",
"required": true,
"description": "Unique identifier for the contract."
},
{
"name": "name",
"type": "string",
"required": true,
"description": "Human-readable contract name."
},
{
"name": "specificationFormat",
"type": "enum",
"required": true,
"values": ["OpenAPI", "AsyncAPI", "gRPC", "GraphQL", "WSDL", "Arazzo", "Avro"],
"description": "API specification format."
},
{
"name": "specificationVersion",
"type": "string",
"required": false,
"description": "Version of the specification format."
},
{
"name": "protocol",
"type": "enum",
"required": true,
"values": [
"HTTP", "Kafka", "JMS", "AMQP", "SOAP", "Redis", "gRPC",
"GraphQL", "GooglePubSub", "RabbitMQ", "ActiveMQ", "AWSSNS",
"AWSSQS", "AWSEventBridge", "IBMMQ", "MQTT", "WebSocket", "MCP"
],
"description": "Communication protocol."
},
{
"name": "specificationUrl",
"type": "string",
"format": "uri",
"required": false,
"description": "URL or path to the specification file."
},
{
"name": "backwardCompatible",
"type": "boolean",
"required": false,
"description": "Whether the contract is backward compatible."
},
{
"name": "coveragePercent",
"type": "number",
"required": false,
"description": "Specification coverage percentage (0-100)."
},
{
"name": "createdAt",
"type": "string",
"format": "date-time",
"required": false,
"description": "Contract creation timestamp."
},
{
"name": "updatedAt",
"type": "string",
"format": "date-time",
"required": false,
"description": "Contract last updated timestamp."
}
]
}
Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools
Call it yourself
curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/specmatic-contract-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no email required.
A second provider on the same verified email joins the account you already have.