https://github.com/abgox/schema
Some json schemas with better json prompts and validation.
https://github.com/abgox/schema
linter schema validation
Last synced: about 1 month ago
JSON representation
Some json schemas with better json prompts and validation.
- Host: GitHub
- URL: https://github.com/abgox/schema
- Owner: abgox
- License: mit
- Created: 2024-05-15T10:35:53.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-15T04:47:29.000Z (about 2 months ago)
- Last Synced: 2026-01-15T11:43:43.824Z (about 2 months ago)
- Topics: linter, schema, validation
- Language: PowerShell
- Homepage: https://schema.abgox.com
- Size: 438 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
✨schema ✨
简体中文 |
English |
Github |
Gitee
---
Star ⭐️ or Donate 💰 if you like it!
## Introduce
Some JSON Schema with better json prompts, validation, and multilingual support.
## How to use
> [!Tip]
>
> Take [scoop-manifest.en-US.json](./schemas/scoop-manifest.en-US.json) as an example.
- Define in the json file.
```json
"$schema": "https://schema.abgox.com/scoop-manifest.en-US.json",
```
- Define in the [settings.json](https://code.visualstudio.com/docs/configure/settings) of vscode.
- Install the [json-schema-plus](https://json-schema-plus.abgox.com) extension, it provides multilingual dynamic schema matching for JSON Schema.
- Configure `json-schema-plus.schemas`.
```json
"json-schema-plus.schemas": [
{
"fileMatch": [
"bucket/**/*.json"
],
"url": "https://schema.abgox.com/scoop-manifest.en-US.json",
"urls": [
{
"language": "zh",
"url": "https://schema.abgox.com/scoop-manifest.zh-CN.json"
},
]
}
]
```
Use the built-in 'json.schemas' configuration
> The `json.schemas` defined in [settings.json](https://code.visualstudio.com/docs/configure/settings) has lower priority than the schema provided by the extension, please refer to [the issue](https://github.com/microsoft/vscode/issues/219855).
```json
"json.schemas": [
{
"fileMatch": [
"bucket/**/*.json"
],
"url": "https://schema.abgox.com/scoop-manifest.en-US.json"
}
]
```
- JetBrains IDE: `Settings` => `Languages & Frameworks` => `Schemas and DTDS`=>`JSON Schema Mappings`
## Schema List
> [!Tip]
>
> Check on the official website: https://schema.abgox.com/schema-list
- [English](./schema-list.md)
- [简体中文](./schema-list.zh-CN.md)