agents.writerslogic.com/api/v1/schema-compat
Compares an old and a new JSON Schema 2020-12 (or two OpenAPI 3.0/3.1 documents) and lists each change with its path, keyword, old and new value, whether it narrows or widens what is accepted, and whether it breaks clients: newly required properties, removed or retyped properties, removed enum values, tightened limits, additionalProperties flips, removed operations, removed or newly required param
POST
https://agents.writerslogic.com/api/v1/schema-compatUptimeNot checked yet
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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agents.writerslogic.com/api/v1/schema-compat", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"kind":"json-schema","after":{"type":"object","required":["id","region"],"properties":{"id":{"type":"integer"},"mode":{"enum":["fast"]},"note":{"type":"string","maxLength":10},"region":{"type":"string"}}},"calls":[{"name":"cached","arguments":{"id":1,"mode":"slow"}}],"before":{"type":"object","required":["id"],"properties":{"id":{"type":"integer"},"mode":{"enum":["fast","slow"]},"note":{"type":"s),
});
console.log(await res.json());Example input
{"kind":"json-schema","after":{"type":"object","required":["id","region"],"properties":{"id":{"type":"integer"},"mode":{"enum":["fast"]},"note":{"type":"string","maxLength":10},"region":{"type":"string"}}},"calls":[{"name":"cached","arguments":{"id":1,"mode":"slow"}}],"before":{"type":"object","required":["id"],"properties":{"id":{"type":"integer"},"mode":{"enum":["fast","slow"]},"note":{"type":"s