Skip to main content

Overview

The drevon.config.json file is validated at runtime using Zod schemas and at edit-time using JSON Schema. You can enable editor autocompletion by adding the $schema field.

Using the Schema

Add this to the top of your drevon.config.json:
This enables autocompletion and validation in VS Code, WebStorm, and other JSON Schema-aware editors.

Full Schema

Zod Schema (Runtime)

At runtime, Drevon validates configs using Zod for precise error messages:

Validation Errors

If your config is invalid, Drevon provides clear error messages: