PyCharm (or any Jetbrains IDE)
There are two ways: selecting the highlighting in the IDE or linking the schema directly from the config file
Select it for a file
Open the yml file. In the bottom right click on this box

Start typing “openhab” and select from list
Automatically link the file to the schema
At the top of the file enter
# $schema: https://www.schemastore.org/openhab-5.1.json
That way the file will always and automatically validated against the schema

