Codewerk
avro jsonschema
Avro -> JSON Schema: the Avro schema is first validated with avsc 5.7.9, then mapped per the JSON encoding of the Avro 1.12 specification (avro.apache.org/docs/1.12.0/specification): records -> objects with all fields required, int with 32-bit bounds, long as integer, bytes/fixed as strings of code points U+0000–U+00FF, enums by symbol, maps -> objects, named types -> $defs. Unions are encoded as {"<branch type>": value} (null as null) as the spec requires; union_encoding "plain" gives the.
POST https://code.halowerk.com/v1/avro-jsonschemaInputs
| Field | Type | Required | Description |
|---|---|---|---|
| direction | string | Yes | |
| avro | See schema | No | Avro schema (JSON value or JSON string) for avro_to_jsonschema. |
| union_encoding | string | No | |
| schema | See schema | No | JSON Schema (object or JSON/YAML string) for jsonschema_to_avro. |
| name | string | No | Record name for the root (default: schema title or Root). |
| namespace | string | No |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"direction"
],
"properties": {
"direction": {
"type": "string",
"enum": [
"avro_to_jsonschema",
"jsonschema_to_avro"
]
},
"avro": {
"description": "Avro schema (JSON value or JSON string) for avro_to_jsonschema.",
"anyOf": [
{
"type": "object"
},
{
"type": "array"
},
{
"type": "string",
"maxLength": 1000000
}
]
},
"union_encoding": {
"type": "string",
"enum": [
"avro_json",
"plain"
],
"default": "avro_json"
},
"schema": {
"description": "JSON Schema (object or JSON/YAML string) for jsonschema_to_avro.",
"anyOf": [
{
"type": "object"
},
{
"type": "string",
"maxLength": 2000000
}
]
},
"name": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$",
"description": "Record name for the root (default: schema title or Root)."
},
"namespace": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$",
"maxLength": 200
}
}
}Published input example
{
"direction": "avro_to_jsonschema",
"avro": {
"type": "record",
"name": "User",
"namespace": "com.halowerk.inventory",
"fields": [
{
"name": "id",
"type": "long"
},
{
"name": "email",
"type": [
"null",
"string"
],
"default": null
}
]
}
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Codewerk0.003 USDC
action sha pin
POSThttps://code.halowerk.com/v1/action-sha-pinFinds every "uses: owner/repo[/path]@ref" in a GitHub Actions workflow, resolves tags (including annotated tags) and branches to the commit SHA with git ls-remote against github.com, and rewrites the line to "uses: owner/repo[/path]@<sha> #
- Codewerk0.003 USDC
actionlint
POSThttps://code.halowerk.com/v1/actionlintRuns the official statically linked actionlint 1.7.12 release binary (MIT, SHA-256 checked against the published checksums) in an isolated child process without network, with the bundled ShellCheck 0.11.0 for run: scripts (pyflakes is not a
- Codewerk0.004 USDC
api changelog
POSThttps://code.halowerk.com/v1/api-changelogCompares operations, parameters, request bodies, response codes and media types, component schemas (one property level), servers and security schemes of two documents (Swagger 2.0 is converted with swagger2openapi first; 3.0 and 3.1 are rea