{"slug":"api-zfinia-com-x402-v1-avro-schema-audit-765dd8","title":"Audit one Avro schema for what it makes impossible later","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/avro-schema-audit","category":"code","description":"Audit one Avro schema for what it makes impossible later. Reports a field with no default, which cannot be removed without breaking readers; a nullable field with no default; a null default where null is not the first union branch, which is invalid; an enum with no default, which makes adding a symb","price_listed":0.12,"price_asked":0.12,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":3816,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"require_documentation":true,"schema":{"fields":[{"name":"invoice_id","type":"string"},{"name":"amount","type":"double"},{"name":"issued_at","type":{"logicalType":"timestamp-millis","type":"string"}},{"default":null,"name":"memo","type":["string","null"]},{"name":"state","type":{"name":"State","symbols":["DRAFT","SENT"],"type":"enum"}}],"name":"Invoice","type":"record"}},"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":{"require_documentation":{"type":"boolean"},"schema":{"type":["object","string"]}},"required":["schema"],"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"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.12,"price_match":true,"latency_ms":3816,"error":null}],"description_full":"Audit one Avro schema for what it makes impossible later. Reports a field with no default, which cannot be removed without breaking readers; a nullable field with no default; a null default where null is not the first union branch, which is invalid; an enum with no default, which makes adding a symbol permanently breaking; an absent namespace on a top-level record; a logical type on a base the specification disallows; and a binary float on a monetary field name.","last_updated":"2026-10-04T08:23:22.724Z","schemes":["exact"]}