Skip to content
Fourohtwo

JSON Schema validator

shop.lordevo.com/api/quick/json-validate

JSON Schema validator: check a JSON document or LLM structured output against a JSON Schema (draft-07, 2019-09, 2020-12). Returns valid true/false and every error with its JSON Pointer, keyword and message. Send json and schema; POST for large documents. Offline.

BaseAnswering
GEThttps://shop.lordevo.com/api/quick/json-validate

Uptime75.0% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://shop.lordevo.com/api/quick/json-validate?json=%7B%22name%22%3A%22Ada%22%2C%22age%22%3A36%7D&schema=%7B%22type%22%3A%22object%22%2C%22required%22%3A%5B%22name%22%2C%22age%22%5D%2C%22properties%22%3A%7B%22name%22%3A%7B%22type%22%3A%22string%22%7D%2C%22age%22%3A%7B%22type%22%3A%22integer%22%2C%22minimum%22%3A0%7D%7D%7D");
console.log(await res.json());

Example input

{
  "json": "{\"name\":\"Ada\",\"age\":36}",
  "schema": "{\"type\":\"object\",\"required\":[\"name\",\"age\"],\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"integer\",\"minimum\":0}}}"
}