🌐
JetBrains
jetbrains.com › help › idea › yaml.html
YAML | IntelliJ IDEA Documentation
August 4, 2026 - IntelliJ IDEA supports code completion and inspections for YAML files using the JSON schema. IntelliJ IDEA can infer a schema automatically (based on the file location or structure), or you can select it manually.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360008134479-Any-support-for-YAML-JSON-Schema
Any support for YAML/JSON Schema? – IDEs Support (IntelliJ Platform) | JetBrains
April 27, 2020 - I'm using a product that has a complex YAML schema and it would be a huge benefit to have schema validation and code completion. ... Yes, it it possible. Please check corresponding documentation topics for JSON and YAML. ... Andrey, the second link directs to rubyMine. Is the yaml validation available in other Jetbrains products, like IntelliJ?
🌐
JetBrains
jetbrains.com › help › idea › json.html
JSON | IntelliJ IDEA Documentation
IntelliJ IDEA associates the current ... Schema Mappings page and configure a new schema association. Schemas from the JSON Schema Store can be applied to YAML ......
🌐
Medium
medium.com › @alexmolev › boost-your-yaml-with-autocompletion-and-validation-b74735268ad7
Boost your YAML with autocompletion and validation | by Alex Molev | Medium
September 1, 2020 - In the example above the JSON schema is stored in cloudify.json file and it will be applied on all the files that ends with .cfy.yaml . I’m using PyCharm by Intellij but you can do the same with other Intellij IDEs
🌐
GitHub
github.com › redhat-developer › vscode-yaml › issues › 958
Add `$schema: ` syntax to load JSON schema for YAML files · Issue #958 · redhat-developer/vscode-yaml
July 29, 2023 - Is your enhancement related to a problem? Please describe. Recently, Intellij added a syntax to load a JSON schema for YAML files in the format of $schema: https://schemaURL. It would be great if the YAML extension could also leverage th...
Author: redhat-developer
🌐
JetBrains
youtrack.jetbrains.com › issue › IDEA-264507 › How-do-I-tell-which-JSON-schema-is-applied-to-my-YAML-file
How do I tell which JSON schema is applied to my YAML file? : IJPL-64972
E.g. here we could have a top quick fix Change JSON Schema for a key mismatch when schema is detected automatically by name: 12 · Project · IntelliJ Platform · Priority · Normal · N · State · Backlog · Type · Usability Problem · Subsystem · Lang. YAML ·
🌐
Quentin's blog
blog.qligier.ch › posts › 2026-intellij-jsonschema-for-yaml
How to enable JSON or YAML validation with JSON Schemas in IntelliJ | Quentin's blog
January 3, 2026 - In this example, I am loading it from the plugin resources (meaning the file is at my-plugin/src/main/resources/schema.json). There's a nice utility method to load a resource as a VirtualFile in JsonSchemaProviderFactory. The next step is to create a factory for our provider. This is really straightforward: ... The last step is to register our factory in the plugin configuration file, and declare a runtime dependency on the JSON plugin. Since it's a plugin, it could be unavailable at runtime, and IntelliJ offers us two choices to deal with that:
🌐
JetBrains
jetbrains.com › help › inspectopedia › YAMLSchemaValidation.html
Validation by JSON Schema | Inspectopedia Documentation
June 30, 2026 - Reports inconsistencies between a YAML file and a JSON Schema if the schema is specified. ... Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings. ... Path to the inspection settings via IntelliJ Platform IDE ...
Top answer
1 of 1
2

There is nothing in the schema itself that indicates possible values from data. There's actually no requirement that items in the required array also be defined in properties.

This sort of functionality is defined by the IDE only. IntelliJ IDEA documents the ability to add custom schemas:

Besides schemas from JSON Schema Store, IntelliJ IDEA lets you configure and use custom schemas from other storages. You can download the required schema and store it under the project root or specify the URL of the resource so IntelliJ IDEA can download the schema automatically.

To configure a custom JSON Schema:

In the Settings/Preferences dialog ⌘,, go to Languages and Frameworks | Schemas and DTDs | JSON Schema Mappings.

https://www.jetbrains.com/help/idea/json.html#ws_json_schema_add_custom

It also details later how to make the intelesense provide a rich preview:

Using HTML descriptions in JSON schema #

By default, IntelliJ IDEA escapes HTML characters when displaying documentation for JSON schema definitions in documentation popups. To get nice looking documentation with rich HTML markup, store the HTML description in the x-intellij-html-description extension property instead of description.

https://www.jetbrains.com/help/idea/json.html#ws_json_show_doc_in_html

However,

autocompletes based on another properties' keys

sounds like custom functionality specifically designed for writing JSON Schema. JSON Schema itself cannot reference data dynamically like that (which I assume is what you were thinking).

🌐
JetBrains
youtrack.jetbrains.com › issue › IDEA-212936 › Apply-JSON-Schema-to-YAML
Apply JSON Schema to YAML : IJPL-65064 - YouTrack
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions.
Find elsewhere
🌐
JetBrains
youtrack.jetbrains.com › issue › IJPL-65064 › Apply-JSON-Schema-to-YAML
Apply JSON Schema to YAML : IJPL-65064
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions.
🌐
JetBrains
youtrack.jetbrains.com › issue › IDEA-210945 › YAML-json-schema-validation-for-multiple-documents-in-yaml-file
YAML json schema validation for multiple documents in . ...
August 1, 2022 - Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions.
🌐
JetBrains
youtrack.jetbrains.com › issue › IDEA-279862
Can't specify some JSON schema to yaml file : IDEA-279862
October 7, 2021 - Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions.
🌐
JetBrains
jetbrains.com › help › phpstorm › yaml.html
YAML | PhpStorm Documentation
October 11, 2024 - You can manage loading JSON schemas using the Languages & Frameworks | Schemas and DTDs | Remote JSON Schemas page of the Settings dialog (Ctrl+Alt+S) .
🌐
JetBrains
youtrack.jetbrains.com › issue › IJPL-64341 › JSON-Schema-with-YAML-custom-tags
JSON Schema with YAML custom tags : IJPL-64341
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions.
🌐
Adorsys
adorsys.github.io › keycloak-config-cli › config › apply-jsonschema-in-intellij
JSON Schema in IntelliJ - keycloak-config-cli
Built-in Schema: Select from IntelliJ's built-in options. Under Mapped Patterns, click the + icon. Add the file pattern or directory for which the schema should apply. For example, to apply the schema to all config.json files, add config.json as a pattern. You can also use wildcard patterns like .*\.(json|yaml|yml|JSON)$ or specify a folder like src/config/*.json.
🌐
GitHub
github.com › dbt-labs › dbt-jsonschema
GitHub - dbt-labs/dbt-jsonschema · GitHub
IDEs by JetBrains like PyCharm and IntelliJ enable us to use the JSON Schema, using the JSON schema mapping feature. Open the preferences of JSON schema mapping in JetBrains ... There is no way to add the preferences with a configuration file like VS Code. As we have to manually configure them one by one, we just describe values of the configurations below. If you want to know the details, the dbt YAML validator in JetBrains article describes how to configure the JSON schema mapping in details.
Author: dbt-labs
🌐
JetBrains
youtrack.jetbrains.com › issue › IDEA-262391
Support link to json-schema files in yaml documents
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions.
🌐
GitHub
github.com › json-schema-everywhere › json-schema-everywhere.github.io › issues › 4
PyCharm can validate YAML based on Schema · Issue #4 · json-schema-everywhere/json-schema-everywhere.github.io
November 16, 2018 - IntelliJ (and IntelliJ based IDEs) can validate YAML https://www.jetbrains.com/help/idea/json.html https://www.jetbrains.com/help/pycharm/json.html This feature works to validate JSON or YAML.
Author: json-schema-everywhere
🌐
Medium
erpsolutionsoodles.medium.com › why-do-we-use-json-format-with-intellij-1f177eca840f
Why Do We Use JSON Format With IntelliJ | by ERP Solutions oodles | Medium
August 24, 2023 - The same filename with different file ext, the priority order is yaml > json > json5 > js. For different file paths, the priority order is . > / ... In the Settings dialog (Ctrl+Alt+S), go to Editor | File Types. Select JSON5 from the diagnosed file sorts list. Click + in the File Name Patterns section, and in the Add Wildcard dialogue that appears, type *.json. ... For several well-known configuration files, IntelliJ Idea may automatically download and use schemas from the JSON Schema and save those host’s schema documents.