Edit and format JSON with ease

JSON schema linter

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

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 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.

Testing the JSON schema analyzer using the Web form:

POST https://www.json-schema-linter.com/api/jsonschemalinter/analyze
Content-Type: application/json

Request content: JSON schema
Response body: Linter report. Empty if no issues are found.

The JSON schema linter is available at the following usage scenarios:

  1. As live analyzer in the JSONBuddy json editor for Windows. All issues are reported immediately while you are editing your JSON schema documents.
  2. The command-line tool which is part of the JSONBuddy software package. Run the linter for any number of JSON schema files locally or on your PC or server hardware.
  3. Through the WebAPI. No need to setup your own environment.

Copy your JSON schema into the text field below and use the "Analyze schema" button to get the JSON report from the linter.

Report

Other available WebAPI commands:

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.