---
name: protect-generated-schemas
enabled: true
event: file
conditions:
  - field: file_path
    operator: regex_match
    pattern: schemas/.*\.schema\.json$
action: warn
---

**Auto-generated file detected!**

This schema file is generated by `build.rs` from VRL `@schema` annotations.

**Do not edit directly.** Changes will be overwritten on the next build.

**To modify the schema:**
1. Edit the VRL source file in `vrl/*.vrl`
2. Update the `# @schema` annotations
3. Run `cargo build` to regenerate schemas
