# json-schema-plus **Repository Path**: abgox/json-schema-plus ## Basic Information - **Project Name**: json-schema-plus - **Description**: 一个 vscode 扩展插件,它为 JSON Schema 提供了多语言的动态架构匹配 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: https://json-schema-plus.abgox.com - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-01 - **Last Updated**: 2025-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: vscode-extension, schema, validation ## README

json-schema-plus

license version code size repo size created download

---

喜欢这个项目?请给它 Star ⭐️ 或 赞赏 💰

[English](./readme.md) | [简体中文](./readme.zh-CN.md) | [Github](https://github.com/abgox/json-schema-plus) | [Gitee](https://gitee.com/abgox/json-schema-plus) logo 一个适用于 [Visual Studio Code](https://code.visualstudio.com/) 的扩展,它为 JSON Schema 提供了多语言的动态架构匹配 ## 如何使用它 > [!Tip] > > 以 [abgox/schema](https://schema.abgox.com) 中的 `scoop-manifest.*.json` 为例 1. [安装 json-schema-plus](https://marketplace.visualstudio.com/items?itemName=abgox.json-schema-plus) 2. 添加以下配置到 [settings.json](https://code.visualstudio.com/docs/configure/settings) 中 > [!Note] > > 如果使用本地 schema 文件,参考 [abgox/abyss](https://github.com/abgox/abyss/blob/main/.vscode/settings.json) 或 [abgox/PSCompletions](https://github.com/abgox/PSCompletions/blob/main/.vscode/settings.json) ```json "json-schema-plus.schemas": [ { "fileMatch": ["bucket/**/*.json"], "urls": [ { "language": "zh", "url": "https://schema.abgox.com/scoop-manifest.zh-CN.json" }, ], "url": "https://schema.abgox.com/scoop-manifest.en-US.json" } ] ``` 3. 它会根据当前的语言环境自动加载对应的 Schema 架构 - 如果为 `zh-CN` - 它会匹配到 `urls` 中的 `zh` - 加载 `https://schema.abgox.com/scoop-manifest.zh-CN.json` - 如果为 `en-US` - 在 `urls` 中没有相关定义 - 加载 `https://schema.abgox.com/scoop-manifest.en-US.json`