{"slug":"agent-data-tools-revmesh2074-workers-dev-json-schema-93d564","title":"JSON schema from example","host":"agent-data-tools.revmesh2074.workers.dev","method":"GET","resource":"https://agent-data-tools.revmesh2074.workers.dev/json/schema","category":"code","description":"JSON schema from example. Infer a JSON Schema (draft 2020-12) from an example JSON value: types, nested object properties, required keys, array item shapes merged across all items, and string formats (date-time, date, email, uri, uuid). Use to document an API response or to validate later data again","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":33,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"json":"{\"id\":1,\"email\":\"ada@example.com\",\"tags\":[\"a\",\"b\"],\"created\":\"2026-10-23T08:00:00Z\"}"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"json":{"description":"The example JSON","examples":["{\"id\":1,\"email\":\"ada@example.com\",\"tags\":[\"a\",\"b\"],\"created\":\"2026-10-23T08:00:00Z\"}"],"type":"string"}},"required":["json"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"schema":{"properties":{"$schema":{"type":"string"},"properties":{"properties":{"created":{"properties":{"format":{"type":"string"},"type":{"type":"string"}},"type":"object"},"email":{"properties":{"format":{"type":"string"},"type":{"type":"string"}},"type":"object"},"id":{"properties":{"type":{"type":"string"}},"type":"object"},"tags":{"properties":{"items":{"properties":{"type":{"type":"string"}},"type":"object"},"type":{"type":"string"}},"type":"object"}},"type":"object"},"required":{"items":{"type":"string"},"type":"array"},"type":{"type":"string"}},"type":"object"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":33,"error":null}],"description_full":"JSON schema from example. Infer a JSON Schema (draft 2020-12) from an example JSON value: types, nested object properties, required keys, array item shapes merged across all items, and string formats (date-time, date, email, uri, uuid). Use to document an API response or to validate later data against the same shape.","last_updated":"2026-10-23T19:29:53.665Z","schemes":["exact"]}