{"slug":"jsonschema-openverbs-com-v1-infer-9abe39","title":"Infer a JSON Schema (draft-07) from an example value, walking objects and arrays","host":"jsonschema.openverbs.com","method":"POST","resource":"https://jsonschema.openverbs.com/v1/infer","category":"code","description":"Infer a JSON Schema (draft-07) from an example value, walking objects and arrays recursively. Set detectFormat=true to tag strings that look like date-time/date/email/uri/uuid, requireAll=false to leave object properties optional, and additionalProperties=true to allow extra keys.","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":634,"reported_calls_30d":4,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"detectFormat":false,"requireAll":false,"sample":"example"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"additionalProperties":{"description":"Allow properties beyond those seen. Default false.","type":"boolean"},"detectFormat":{"description":"Tag recognizable string formats (date-time/date/email/uri/uuid). Default false.","type":"boolean"},"requireAll":{"description":"Mark all object properties as required. Default true.","type":"boolean"},"sample":{"description":"An example value to infer a schema from (any JSON type)."}},"required":["sample"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":634,"error":null}],"description_full":"Infer a JSON Schema (draft-07) from an example value, walking objects and arrays recursively. Set detectFormat=true to tag strings that look like date-time/date/email/uri/uuid, requireAll=false to leave object properties optional, and additionalProperties=true to allow extra keys.","last_updated":"2026-09-14T19:59:45.907Z","schemes":["exact"]}