The association of JSON schemas to files is done in the settings (File, Preferences, User Settings or Workspace Settings), under the property 'json.schemas'.

This is an example how the JSON schema for bower is associated to the bower schema.

"json.schemas": [
    {
        "fileMatch": [
            "/bower.json",
            "/.bower.json"
        ],
        "url": "http://json.schemastore.org/bower"
    },
    ...

You can also use schemas located in your workspace or define a schema right in the settings itself. Check https://code.visualstudio.com/docs/languages/json for examples.

Answer from Martin Aeschlimann on Stack Overflow
๐ŸŒ
Visual Studio Code
code.visualstudio.com โ€บ docs โ€บ languages โ€บ json
Editing JSON with Visual Studio Code
November 3, 2021 - JSON schemas describe the shape of the JSON file, as well as value sets, default values, and descriptions. The JSON support shipped with VS Code supports all draft versions from draft 4 to draft 7, with limited support for drafts 2019-09 and 2020-12.
๐ŸŒ
Stack Overflow
stackoverflow.com โ€บ questions โ€บ 73238749 โ€บ vs-code-ui-editor-for-json-schemas
vs code ui editor for json schemas - Stack Overflow
20 JSON editor (highlight, collapse, validate) in Visual Studio 2012 IDE ยท 3 How can I get Visual Studio 2013 to use a custom JSON schema?
๐ŸŒ
Visual Studio Marketplace
marketplace.visualstudio.com โ€บ items
JSON Schema Studio - Visual Studio Marketplace
Extension for Visual Studio Code - Convert JSON to TypeScript interfaces and generate JSON schemas with ease. Features smart format detection, right-click context menu, and multiple output options.
๐ŸŒ
Visual Studio Marketplace
marketplace.visualstudio.com โ€บ items
Smart JSON Schema - Visual Studio Marketplace
Extension for Visual Studio Code - Smart JSON Schema is a Visual Studio Code extension designed to simplify the generation of JSON schemas from existing JSON files. This tool is perfect for developers working with APIs, configurations, and ...
๐ŸŒ
GitHub
github.com โ€บ eclipsesource โ€บ jsonforms-tooling โ€บ blob โ€บ master โ€บ vscode-extension โ€บ README.md
jsonforms-tooling/vscode-extension/README.md at master ยท eclipsesource/jsonforms-tooling
Right click on a schema.json or a uischema.json file. The editor will now ask you to select the other file (if you selected a schema file in the first step, now select the uischema file).
Author ย  eclipsesource
๐ŸŒ
Visual Studio Marketplace
marketplace.visualstudio.com โ€บ items
JSON Schema Tools - Visual Studio Marketplace
Extension for Visual Studio - Allows you to easily generate a schema file from a JSON file and generate a JSON file with dummy data based on a schema file.
Find elsewhere
๐ŸŒ
Frontaid
frontaid.io โ€บ blog โ€บ json-schema-vscode
How to set up JSON Schema with VSCode
The popular IDE Visual Studio Code has built-in support for JSON Schema definitions. It only requires a quick one-time setup. Unfortunately, VSCode does not seem to be able to load arbitrary schemas from any URL. Instead, you have to download the schema to your computer first.
๐ŸŒ
GitHub
github.com โ€บ remcohaszing โ€บ vscode-schemastore
GitHub - remcohaszing/vscode-schemastore: Use the JSON Schema Store catalog for JSON schema validation. ยท GitHub
This extension provides all JSON schemas from the JSON Schema Store catalog.
Starred by 33 users
Forked by 3 users
Languages ย  JavaScript
๐ŸŒ
Joshuatz
docs.joshuatz.com โ€บ cheatsheets โ€บ js โ€บ json-schema
JSON Schema - Resources, Notes, and VSCode Tips | Joshua's Docs
This is how bundled language extensions that come with VSCode, like configuration-editing, internally contribute schema resolvers (example) Note: For the $schema or url value, the path to the schema file does not have to be local; many extensions and plugins use a public URL, such as http://json.schemastore.org/eslintrc.
๐ŸŒ
Read the Docs
vscode-docs.readthedocs.io โ€บ en โ€บ stable โ€บ languages โ€บ json
Json - vscode-docs
JSON schemas are identified by an http or https location URL, servers like http://schemastore.org provide schemas for most of the common JSON based configuration files.
๐ŸŒ
GitHub
github.com โ€บ madskristensen โ€บ JsonSchemaGenerator
JSON Schema Generator - A Visual Studio extension
Download this extension from the Visual Studio Marketplace or get the CI build. Allows you to easily generate a schema file from a JSON file and generate a JSON file with dummy data based on a schema file.
Author ย  madskristensen
๐ŸŒ
DEV Community
dev.to โ€บ brpaz โ€บ how-to-create-your-own-auto-completion-for-json-and-yaml-files-on-vs-code-with-the-help-of-json-schema-k1i
How to create your own auto-completion for JSON and YAML files on VS Code with the help of JSON Schema - DEV Community
April 27, 2020 - JSON Schema provides a simple way to implement auto-completion for JSON and YAML files and is supported out of the box, by many popular editors like Visual Studio, Visual Studio Code, and the Jetbrains family IDEs.
๐ŸŒ
Hex-rays
community.hex-rays.com โ€บ ida general
Using JSON Schema in Visual Studio Code for `ida-plugin.json` - IDA General - Hex-Rays Community forum
July 20, 2025 - Visual Studio Code provides out of the box support for JSON files, including features like validation and auto-completion. To enhance your experience with the ida-plugin.json file, you can use a JSON schema that defines โ€ฆ
๐ŸŒ
Schemastore
schemastore.org
JSON Schema Store
In supported JSON editors like Visual Studio and Visual Studio Code, schema files can offer auto-completion and validation to make sure your JSON document is correct.
๐ŸŒ
Netlify
nickymeuleman.netlify.app โ€บ blog โ€บ json-schema
JSON-schemas are awesome | Nicky Meuleman
To get started with the least amount of effort, you can use VSCode, which has builtin support for JSON-schema. Create a file that is listed at schemastore.org and trigger the autocomplete in the editor (ctrl/cmd + space)