The main purpose of the JSON schema linter is to catch issues and critical errors in schema specifications early and automatically. This helps to increase the quality of the schema pool and to avoid breaking the work-flow. The linter reports issues, which are not covered by the standard schema validation. As an example, a broken $ref link, or missing definitions are detected and can be fixed immediately.
This JSON Schema linter page is a simple showcase of the live analyzer available in JSONBuddy. The linter, available using the web form, offers the complete functionality but is currently limited to schemas and input with less than 2 KB of text. You can find a list of currently detected issues by the schema linter here
The JSON Schema analyzer component is also available in the JSONBuddy Visual Studio Extension. The extension does also include JSON formatting, JSON Schema validation, schema generation, and JSON Schema documentation for Visual Studio.
POST https://www.json-schema-linter.com/api/jsonschemalinter/analyze
Content-Type: application/json
Request content: JSON Schema
Response body: Linter report as JSON data. Empty if no issues are found.
Copy your JSON schema into the text field below and use the "Analyze schema" button to get the JSON report from the linter.
At this page, the WebAPI is accessible without any authentication. Using the API for testing, any input data is limited to 2 KB of size.
A full version of the WebAPI, with no size limitations, is also available at the following RapidAPI page: JSON Toolbox The JSON WebAPI toolbox allows to run the JSON schema linter, pretty-print, minify and to apply JSONPatch operations to your JSON data.
The JSON Schema linter is available at the following usage scenarios:
Minify JSON input
POST https://www.json-schema-linter.com/api/jsonlinter/minify
Content-Type: application/json
Request content: JSON input (max. of 2 KB at this test page).
Response body: Minified JSON data.
Pretty-print JSON input
POST https://www.json-schema-linter.com/api/jsonlinter/prettyprint
Content-Type: application/json
Request content: JSON input (max. of 2 KB at this test page).
Response body: Pretty-printed JSON input.
Apply JSONPatch operations
POST https://www.json-schema-linter.com/api/jsonpatch/apply
Content-Type: application/json
Request content: A JSON array. First element is also an array of JSONPatch operations. Second elements is the input data as JSON value (max. of 2 KB at this test page).
Response body: Result of JSONPatch operations as JSON value.