Skip to content

JSON schemas ​

Homer publishes JSON schemas for its two configuration files. Editors that speak the YAML language server (VS Code with the Red Hat YAML extension, JetBrains IDEs, Neovim) use them for completion and validation.

FileSchema
An agent's agent.yamlhomer-agent.schema.json
The server's config.yamlhomer-config.schema.json

Each documentation version serves the schemas of that release, so pin the version your server runs. Add a directive as the first line of the file:

yaml
# yaml-language-server: $schema=https://livesport.github.io/homer/schemas/latest/homer-agent.schema.json

latest follows the newest release; replace it with a version such as 1.34.0 to pin one. The agent reference describes every field.

Released under the Apache License 2.0. Documentation for 1.43.0.