# 使用 Homebrew 安装 generate-json-schema

查看 generate-json-schema 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:generate-json-schema
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install generate-json-schema
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:generate-json-schema
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/generate-json-schema>
- **版本:** 2.6.0
- **来源摘要:** Generate a JSON Schema from Sample JSON
- **主页:** <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>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- generate-schema (cli)
- generate-schema (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.6.0
- 本地数据: OK
- 上游仓库: https://github.com/Nijikokun/generate-schema
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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.

### 时间线

- 2015: GitHub repository and npm package were created.
- 2023: npm registry metadata showed the package still distributed as generate-schema 2.6.0.
- 2024: the GitHub repository recorded later source activity after the original 2015 publication.

### Related projects

- Related schema targets include JSON Schema, Mongoose, MySQL, Google BigQuery, and ClickHouse.

### 来源

- <https://formulae.brew.sh/formula/generate-json-schema>
- <https://github.com/Nijikokun/generate-schema>
- <https://raw.githubusercontent.com/Nijikokun/generate-schema/master/readme.md>
- <https://registry.npmjs.org/generate-schema>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **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:** head, stable


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [node](https://www.automicvault.com/zh-hans/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [action-docs](https://www.automicvault.com/zh-hans/pkg/brew/action-docs/) - Shares av.db curated category or tags: cli, developer-tools, nodejs.
- [chalk-cli](https://www.automicvault.com/zh-hans/pkg/brew/chalk-cli/) - Shares av.db curated category or tags: cli, developer-tools, nodejs.
- [check-jsonschema](https://www.automicvault.com/zh-hans/pkg/brew/check-jsonschema/) - Shares av.db curated category or tags: cli, developer-tools, json-schema.
- [corepack](https://www.automicvault.com/zh-hans/pkg/brew/corepack/) - Shares av.db curated category or tags: cli, developer-tools, nodejs.
- [czg](https://www.automicvault.com/zh-hans/pkg/brew/czg/) - Shares av.db curated category or tags: cli, developer-tools, nodejs.
- [flamebearer](https://www.automicvault.com/zh-hans/pkg/brew/flamebearer/) - Shares av.db curated category or tags: cli, developer-tools, nodejs.
- [fnm](https://www.automicvault.com/zh-hans/pkg/brew/fnm/) - Shares av.db curated category or tags: cli, developer-tools, nodejs.
- [gatsby-cli](https://www.automicvault.com/zh-hans/pkg/brew/gatsby-cli/) - Shares av.db curated category or tags: cli, developer-tools, nodejs.
- [json2ts](https://www.automicvault.com/zh-hans/pkg/brew/json2ts/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, generation, json.
- [generate-schema](https://www.automicvault.com/zh-hans/pkg/npm/generate-schema/) - Executable or command metadata overlaps with this package. Shared terms: cli, generate, generate-schema, generation, json.
- [yaml-language-server](https://www.automicvault.com/zh-hans/pkg/brew/yaml-language-server/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, json, json-schema.

## Combined YAML source

View the package source record on GitHub. [combined/generate-json-schema.yml](https://github.com/automic-vault/db/blob/main/combined/generate-json-schema.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
