macOS
brew install generate-json-schemalocal Homebrew formula metadata
安装
brew install generate-json-schemalocal Homebrew formula metadata
概览
Generate a JSON Schema from Sample JSON
历史
Generate Schemas is the command-line and Node.js package distributed upstream as generate-schema and packaged in Homebrew as generate-json-schema. It derives schema-like definitions from sample JSON objects, turning example payloads into JSON Schema, database table definitions, ODM schemas, and warehouse schemas.
The GitHub repository and npm package were created in February 2015. The README presents the project as a converter from JSON objects to MySQL table schemas, JSON Schema, Mongoose schemas, ClickHouse schemas, Google BigQuery schemas, and generic templates, showing an evolution from a narrow JSON Schema helper into a small multi-target schema generator.
Adoption is mostly in JavaScript and CLI workflows rather than as a platform standard. Its npm package is the upstream distribution, while Homebrew exposes the executable for users who want a system-level generate-schema command without managing a Node project.
Practitioners use it when they have representative JSON and need a quick starter schema for validation, documentation, database modeling, or exploratory ingestion. The README documents both a file-oriented CLI and a library API, plus an interactive REPL mode when no file is supplied.
For package-manager users, generate-json-schema is a convenience wrapper around a Node ecosystem utility: useful for bootstrapping schemas quickly, but not a substitute for hand-maintained contracts in production APIs.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
generate-schema | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/Nijikokun/generate-schema
安装元数据
| 软件包键 | brew:generate-json-schema |
|---|---|
| 版本 | 2.6.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/generate-json-schema |
| 主页 | https://github.com/Nijikokun/generate-schema |
| 仓库 | https://github.com/Nijikokun/generate-schema |
| 上游文档 | https://github.com/Nijikokun/generate-schema#readme |
| 许可证 | MIT |
| 源码归档 | https://registry.npmjs.org/generate-schema/-/generate-schema-2.6.0.tgz |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | generate-json-schema |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.