Convert an Avro schema to JSON Schema for its JSON encoding (wrapped unions per ...
https://code.halowerk.com/v1/avro-jsonschemaOverview
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.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
Base
Category
uncategorized
Provider
code
Source
bazaar
Indexed
2026-11-20 13:00:15
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": {
"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
{
"example": {
"result": {
"direction": "avro_to_jsonschema",
"json_schema": {
"$defs": {
"com.example.User": {
"additionalProperties": false,
"properties": {
"email": {
"oneOf": [
{
"type": "null"
},
{
"additionalProperties": false,
"properties": {
"string": {
"type": "string"
}
},
"required": [
"string"
],
"type": "object"
}
]
},
"id": {
"type": "integer",
"x-avro-type": "long"
}
},
"required": [
"id",
"email"
],
"type": "object"
}
},
"$ref": "#/$defs/com.example.User",
"$schema": "https://json-schema.org/draft/2020-12/schema"
},
"named_types": [
"com.example.User"
],
"union_encoding": "avro_json",
"validated_by": "avsc 5.7.9"
},
"service": "avro-jsonschema",
"status": "success"
},
"type": "json"
}