Skip to content
Fourohtwo

Give a JSON Schema (draft-07 / 2020-12, incl

agents.204-168-199-108.sslip.io/v1/util/json-schema-example

Give a JSON Schema (draft-07 / 2020-12, incl. local $ref, $defs, allOf / oneOf / anyOf, enum, const, formats like email / date-time / uuid / uri, min / max, minItems and simple patterns) and get a realistic example that validates against it — plus the validation result. Use it to build a correct first tool call, mock an API response or write test fixtures. include_optional=false returns only requi

BasePolygonSolanaaws:baseAnswering
GEThttps://agents.204-168-199-108.sslip.io/v1/util/json-schema-example

Uptime100% of 1 check 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://agents.204-168-199-108.sslip.io/v1/util/json-schema-example");
console.log(await res.json());

Example input

{"schema":"{\"type\":\"object\",\"properties\":{\"email\":{\"type\":\"string\",\"format\":\"email\"},\"age\":{\"type\":\"integer\",\"minimum\":18},\"plan\":{\"enum\":[\"free\",\"pro\"]},\"tags\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"minItems\":1},\"address\":{\"$ref\":\"#/$defs/addr\"}},\"required\":[\"email\",\"age\",\"address\"],\"$defs\":{\"addr\":{\"type\":\"object\",\"properti