# Validate buf.lock

> Validate buf.lock is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Validates a JSON document against the buf.lock schema definition from SchemaStore, reporting rule violations and JSON pointer errors.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-schema-buf-lock-341f4844-validate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/validate-buf-lock-85db354d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A3bOebPt_eT9dNXU4XHz8

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability validate-buf-lock-85db354d -d '<json body>'
```

Example prompt: Can you validate this buf.lock JSON document for me and tell me if it has any schema violations or JSON pointer errors?

## When to prefer this

Choose this endpoint when you need to validate a buf.lock file specifically against the pinned SchemaStore definition, want precise JSON pointer-level error reporting, and your document is under 100 KB. It is not suitable for YAML or TOML variants of buf.lock, documents over 100 KB, or non-buf.lock schemas.

## Known failure modes

- Document exceeds 100 KB size limit — validation refused
- JSON nesting exceeds 32 levels — validation refused
- Input is not valid JSON (YAML or TOML not supported) — parse error returned
- Schema definition unavailable or pinned version mismatch — may produce unexpected results
- Malformed request body — error response with no validation output

## How this service works

Validate buf.lock: Validate a JSON document for buf.lock. Uses a pinned SchemaStore definition on this PC. Reports JSON pointers and rule violations. Up to 100 KB per document; no YAML/TOML parsing or deployment/security guarantee. 0.01 USDC includes one JSON document validation.

## Output

Returns a structured validation report indicating whether the JSON document conforms to the buf.lock schema, including specific JSON pointer paths and descriptions of any rule violations found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "document": {
   "default": {},
   "description": "JSON value to validate; maximum 100 KB, 32 levels."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/validate-buf-lock-85db354d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
