JSON Schema Validator Blaze
A high-performance JSON Schema validator and linter for Visual Studio Code, powered by sourcemeta/jsonschema (a cli that uses sourcemeta/blaze).
Features
- Validation: Quickly validate JSON files against JSON Schemas.
- Linting: Identify and highlight errors or warnings in your JSON files.
Installation
- Open VS Code.
- Go to the Extensions view (
Ctrl+Shift+X).
- Search for "JSON Schema Validator Blaze."
- Click Install.
Usage
Commands
Validate JSON Schema
- Command:
JSON Schema: Validate
- Shortcut:
Ctrl+Alt+V (Windows/Linux) / Cmd+Alt+V (Mac)
Lint JSON Schema
- Command:
JSON Schema: Lint
- Shortcut:
Ctrl+Alt+L (Windows/Linux) / Cmd+Alt+L (Mac)
Auto Validation
JSON files are automatically validated on save. This can be toggled in the settings.
Development
Prerequisites
Build and Run
npm install
npm run compile
Press F5 to launch the extension in a new VS Code window.
Testing
npm test
Contributing
Contributions are welcome! Please fork the repository, create a feature branch, and submit a pull request.
Author: Karan Palan
Powered by sourcemeta/jsonschema and sourcemeta/blaze.
| |