jsonavro

Convert JSON Schema definitions to Apache Avro schema format in Python using jsonschema and fastavro. Handles nested objects, arrays, optional fields and $ref resolution, and registers the generated Avro schemas to Confluent Schema Registry via the Schema Registry REST API.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "jsonavro" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-430a8ac68c452c1d505af67cd2186cd4162b2b47f5709ba1cb617f6a4354fd20. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/json-to-avro-schema-transformer before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Convert JSON Schema definitions to Apache Avro schema format in Python using jsonschema and fastavro. Handles nested objects, arrays, optional fields and $ref resolution, and registers the generated Avro schemas to Confluent Schema Registry via the Schema Registry REST API.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "JSON到Avro模式转换器"
slug: "json-to-avro-schema-transformer"
version: "1.0.0"
displayName: "JSON到Avro模式转换器"
summary: "将JSON Schema定义转换为Apache Avro模式格式,使用jsonschema和fastavro Python库。处理嵌套对象、数组、可选字段和$ref解析。通过Schema Registry REST API将生成的Avro模式注册到Confluent Schema Registry。"
license: "MIT"
description: "使用jsonschema和fastavro Python库将JSON Schema定义转换为Apache Avro模式格式。处理嵌套对象、数组、可选字段和$ref解析。通过Schema Registry REST API将生成的Avro模式注册到Confluent Schema Registry中。"
github_stars: 3265
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Data Extraction & Transformation"
framework: "OpenClaw"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 3265

JSON到Avro模式转换器

Transforms JSON Schema definitions into Apache Avro schema format using the jsonschema and fastavro Python libraries. Handles nested objects, arrays, optional fields, and $ref resolution. Registers the resulting Avro schema to Confluent Schema Registry via the Schema Registry REST API.

Installation

Requirements and caveats from upstream:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 实现 JSON Schema 到 Avro 模式的自动化转换,解决数据工程中的实际痛点
  • 集成 Confluent Schema Registry 注册功能,提升数据治理效率
Trigger Precision92/100

Highlights

  • 触发描述完整覆盖核心功能:转换、嵌套处理、$ref 解析、Schema Registry 注册
Structure and Standards65/100

Areas to improve

  • 缺少 When to Use 场景说明 Reported severity: Minor

    未提供典型使用场景示例,用户难以快速判断适用性

    Recommendation: 补充 2-3 个典型使用场景(如 Kafka 数据序列化、数据仓库 Schema 管理等)

  • 缺少端到端使用示例 Reported severity: Minor

    未提供输入 JSON Schema 和输出 Avro 模式的具体示例

    Recommendation: 添加完整示例,展示转换前后的 Schema 对比及注册流程

  • 缺少步骤划分与出口条件 Reported severity: Minor

    Installation 和 Documentation 章节未细化执行步骤

    Recommendation: 按 Phase 划分步骤(如准备环境、执行转换、注册 Schema),明确每步出口条件

Highlights

  • frontmatter 完整,包含版本、作者、许可证等关键元数据
Execution Reliability58/100

Areas to improve

  • 工具来源与版本未明确 Reported severity: Minor

    仅提及 jsonschema 和 fastavro 库,未说明版本要求或安装方式

    Recommendation: 明确 Python 库版本范围,提供 pip install 命令示例

  • 异常处理机制缺失 Reported severity: Minor

    未说明网络异常、Schema 冲突、认证失败等场景的处理方式

    Recommendation: 补充错误处理建议,如重试机制、冲突解决策略

Highlights

  • 明确依赖 Apache Avro 官方生态,技术栈可靠
Evidence Verifiability (mean of the first four)73/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • avro.apache.org
  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.