For YAML, redhat-developer/yaml-language-server is popular. For VSCode, this is used by the Red Hat YAML extension
For TOML, tamasfe/taplo is popular. For VSCode, this is used by the Even Better TOML extension. Some JSON Schemas have x-taplo fields to improve the editing experience.
Let's say you have the following schema:
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"first": {
"title": "first",
"type": "object"
}
},
"title": "schema title"
}If integer or another incorrect value is passed to first, then Incorrect type. Expected "first". error is shown. If title for this property is removed, then Incorrect type. Expected "schema title". is displayed. The most nested title is used for the error message.