Type object
File match *.pactspec.json *.pactspec.yaml
Schema URL https://catalog.lintel.tools/schemas/schemastore/pactspec/latest.json
Source https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/pactspec.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Machine-readable capability declaration for AI agents. Defines what an agent does, how to call it, what it costs, and how to test it. See https://pactspec.dev/spec for documentation.

Properties

specVersion string required

PactSpec schema version. Always "1.0.0" for v1 specs.

Constant: "1.0.0"
id string required

Unique URN identifier, e.g. urn:pactspec:acme:invoice-processor

pattern=^urn:pactspec:[a-z0-9-]+:[a-z0-9-]+$
name string required

Human-readable agent name.

minLength=1maxLength=100
version string required

Semantic version of this agent, e.g. "1.2.0".

pattern=^\d+\.\d+\.\d+$
provider object required

Who operates this agent.

3 nested properties
name string required

Organization or individual name.

url string

Provider's website.

format=uri
contact string

Contact email.

format=email
endpoint object required

Where to call this agent.

2 nested properties
url string required

Agent endpoint URL.

format=uri
auth object

Authentication configuration.

2 nested properties
type string

Authentication method.

Values: "none" "bearer" "x-agent-id" "header"
header string

Custom header name when type is "header".

skills object[] required

Capabilities this agent provides. Each skill has typed input/output schemas.

minItems=1
description string

What this agent does.

maxLength=500
tags string[]

Searchable tags for the agent.

license string

SPDX license identifier.

delegation object

If this agent wraps another agent.

2 nested properties
delegatedFrom string

Spec ID of the upstream agent being wrapped.

terms string

URL to delegation agreement.

format=uri
interop object

Interoperability with other protocols.

3 nested properties
mcp object
2 nested properties
serverUrl string

MCP server endpoint.

format=uri
tools string[]

MCP tool names.

openapi object
1 nested properties
specUrl string

OpenAPI spec URL.

format=uri
acp object
2 nested properties
supported boolean

Whether ACP sessions are supported.

sessionTypes string[]

Supported session types.