Skip to content
Fourohtwo

JSON Schema From Examples

api.aiskills402.com/v1/skills/json-schema-from-example/file

JSON Schema From Examples: No Over-Constraining — Writes a JSON Schema (draft 2020-12) from example JSON documents plus rules given in words, so that it accepts every example and every document the rules allow, and refuses every document the rules forbid. Nothing is made required, closed, numeric-only, formatted or limited because the examples happen to look that way - a key missing from one examp

BaseAnswering
GEThttps://api.aiskills402.com/v1/skills/json-schema-from-example/file

Uptime100% of 2 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://api.aiskills402.com/v1/skills/json-schema-from-example/file");
console.log(await res.json());