Back to Intellij Community

YAMLSchemaDeprecation

plugins/yaml/backend/resources/inspectionDescriptions/YAMLSchemaDeprecation.html

2025.3-rc-2599 B
Original Source

Reports deprecated keys in YAML files.

Deprecation is checked only if there exists a JSON schema associated with the corresponding YAML file.

Note that the deprecation mechanism is not defined in the JSON Schema specification yet, and this inspection uses a non-standard deprecationMessage extension.

Scheme deprecation example:

{
    "properties": {
      "SomeDeprecatedProperty": {
        "deprecationMessage": "Baz",
        "description": "Foo bar"
      }
    }
  }

The following is an example with the corresponding warning:

SomeDeprecatedProperty: some value