{"slug":"code-halowerk-com-v1-avro-jsonschema-1a3086","title":"Convert an Avro schema to JSON Schema for its JSON encoding (wrapped unions per ","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/avro-jsonschema","category":"code","description":"Convert an Avro schema to JSON Schema for its JSON encoding (wrapped unions per the Avro spec, or plain), or a JSON Schema to an Avro record schema validated by avsc.","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":890,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"avro":{"fields":[{"name":"id","type":"long"},{"default":null,"name":"email","type":["null","string"]}],"name":"User","namespace":"com.example","type":"record"},"direction":"avro_to_jsonschema"},"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":{"avro":{"anyOf":[{"type":"object"},{"type":"array"},{"maxLength":1000000,"type":"string"}]},"direction":{"enum":["avro_to_jsonschema","jsonschema_to_avro"],"type":"string"},"name":{"pattern":"^[A-Za-z_][A-Za-z0-9_]{0,63}$","type":"string"},"namespace":{"maxLength":200,"pattern":"^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$","type":"string"},"schema":{"anyOf":[{"type":"object"},{"maxLength":2000000,"type":"string"}]},"union_encoding":{"default":"avro_json","enum":["avro_json","plain"],"type":"string"}},"required":["direction"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":890,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":995,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":899,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":889,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":895,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":881,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":884,"error":null}],"description_full":"Convert an Avro schema to JSON Schema for its JSON encoding (wrapped unions per the Avro spec, or plain), or a JSON Schema to an Avro record schema validated by avsc.","last_updated":"2026-11-20T12:07:22.777Z","schemes":["exact"]}