A high-performance JSON Schema validator and linter for Visual Studio Code, powered by sourcemeta/jsonschema (a cli that uses sourcemeta/blaze).
- Validation: Quickly validate JSON files against JSON Schemas.
- Linting: Identify and highlight errors or warnings in your JSON files.
- Open VS Code.
- Go to the Extensions view (
Ctrl+Shift+X
). - Search for "JSON Schema Validator Blaze."
- Click Install.
-
Validate JSON Schema
- Command:
JSON Schema: Validate
- Shortcut:
Ctrl+Alt+V
(Windows/Linux) /Cmd+Alt+V
(Mac)
- Command:
-
Lint JSON Schema
- Command:
JSON Schema: Lint
- Shortcut:
Ctrl+Alt+L
(Windows/Linux) /Cmd+Alt+L
(Mac)
- Command:
JSON files are automatically validated on save. This can be toggled in the settings.
npm install
npm run compile
Press F5
to launch the extension in a new VS Code window.
npm test
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.