# Validate pgrls (JSON Schema Validator)

> Validate pgrls (JSON Schema Validator) 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-11).

Validates a JSON document against a pinned pgrls SchemaStore definition, returning JSON pointer paths and rule violations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-schema-pgrls-0df61e87-validate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/validate-pgrls-json-schema-validator-e2dcf934
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VhbKbg1ZNfDYY5ryu-xoO

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-pgrls-json-schema-validator-e2dcf934 -d '<json body>'
```

Example prompt: Can you validate this JSON document against the pgrls schema and tell me which fields or rules are violated? Here's the document: {"name": "my-pgrls-config", "version": "1.0"}.

## When to prefer this

Choose this endpoint when you need to validate a JSON document specifically against the pgrls schema definition (pinned from SchemaStore). It is purpose-built for pgrls config validation with precise JSON pointer error reporting, making it ideal for CI/CD pipelines, developer tooling, or any workflow that needs to confirm pgrls JSON correctness before use. Not suitable for YAML or TOML formats, and does not provide deployment or security guarantees.

## Known failure modes

- Document exceeds 100 KB size limit — request rejected
- Nesting depth exceeds 32 levels — validation not performed
- Input is not valid JSON — parsing error returned
- pgrls schema definition unavailable or pinned version mismatch — validation may fail
- Malformed request body — HTTP 400 returned

## How this service works

Validate pgrls: Validate a JSON document for pgrls. 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 result indicating whether the JSON document conforms to the pinned pgrls SchemaStore definition, including specific JSON pointer paths pointing to each violation and a description of the rule that was broken. Up to 100 KB documents are supported with up to 32 nesting levels.

## 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-pgrls-json-schema-validator-e2dcf934/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)
