# OpenVerbs Format Validate

> OpenVerbs Format Validate is a paid API for AI agents from format.openverbs.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Parses a document in any of 14 supported formats and validates it against a JSON Schema, returning validity status and path-tagged errors

## Facts

- Endpoint: POST https://format.openverbs.com/v1/validate
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openverbs-format-validate-7ab29a75
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YiPNUmge50CgDCg--xNfy

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 openverbs-format-validate-7ab29a75 -d '<json body>'
```

Example prompt: Can you validate this YAML config against my JSON Schema and tell me exactly which fields are invalid or missing? Here's the YAML document and the schema I want it checked against.

## When to prefer this

Choose this endpoint when you need to validate a document in a non-JSON format (YAML, TOML, CSV, XML, INI, etc.) against a JSON Schema, or when you need precise path-tagged error locations rather than a simple pass/fail. It is especially useful when the input format is uncertain or when you need programmatic error reporting for CI pipelines, API gateways, or config management systems.

## Known failure modes

- Malformed document (unparseable in the stated format) — rejected before payment with a parse error
- Invalid JSON Schema supplied — rejected before payment
- Document exceeds 1,000,000 character limit — request rejected
- Unsupported format value — schema enum violation
- Missing required fields (data or schema) — validation error before processing

## How this service works

Parse a document (json, json5, jsonc, yaml, xml, csv, tsv, toml, ndjson, ini, env, properties, plist or querystring) and validate it against a JSON Schema. Returns whether it is valid and a list of precise, path-tagged errors. Malformed input or an invalid schema is rejected before payment.

## Output

Returns a boolean indicating whether the document is valid against the provided JSON Schema, plus a list of validation errors each tagged with the precise JSON path where the error occurred. Malformed input or an invalid schema is rejected before any charge is applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "data",
      "schema"
     ],
     "properties": {
      "data": {
       "type": "string",
       "maxLength": 1000000,
       "minLength": 1,
       "description": "The document to validate, as a string in the `from` format."
      },
      "from": {
       "enum": [
        "json",
        "json5",
        "jsonc",
        "yaml",
        "xml",
        "csv",
        "tsv",
        "toml",
        "ndjson",
        "ini",
        "env",
        "properties",
        "plist",
        "querystring"
       ],
       "type": "string",
       "description": "Source format of `data`. Default json."
      },
      "schema": {
       "type": "object",
       "description": "A JSON Schema to validate the parsed document against."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openverbs-format-validate-7ab29a75/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from format.openverbs.com](https://www.zero.xyz/host/format.openverbs.com/llms.txt)
