← Back to directory

Simplify a JSON Schema for language-model tool use: inline local $refs, merge al...

https://denk.halowerk.com/v1/schema-simplify

Overview

Simplify a JSON Schema for language-model tool use: inline local $refs, merge allOf objects, collapse single-branch unions and strip meta keywords. Inlines local $ref targets from $defs/definitions (recursion is reported, not expanded), merges allOf lists of object schemas, collapses anyOf/oneOf with a single branch, removes $schema/$id/$comment/readOnly/writeOnly/deprecated and lists properties that still lack a description.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/defi
Provider denk
Source bazaar
Indexed 2026-11-24 12:33:17

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "schema": { "$defs": { "Addr": { "properties": { "city": { "type": "string" } }, "type": "object" } }, "properties": { "home": { "$ref": "#/$defs/Addr" } }, "type": "object" } }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "result": { "after": { "bytes": 97, "depth": 2, "properties": 2, "without_description": [ "#/properties/home", "#/properties/home/properties/city" ] }, "before": { "bytes": 138, "depth": 1, "properties": 2 }, "changes": [ { "change": "removed $defs", "path": "#" }, { "change": "inlined #/$defs/Addr", "path": "#/properties/home" } ], "schema": { "properties": { "home": { "properties": { "city": { "type": "string" } }, "type": "object" } }, "type": "object" } }, "service": "schema-simplify", "status": "success" }, "type": "json" }