# Schemas

ORL files are yaml-like and validated using JSON schema. The `docker run --rm -v ./schema:/workspace gombocai/orl schema` command will render the schema for that version of ORL.

## Schema validation

Most editors that have YAML language server support will validate if you add the following comment to the top of the file:

```yaml
# yaml-language-server: $schema=path/to/orl/schema/ruleset.json
type: Ruleset
version: v1
...
```

Replace `ruleset.json` with the correct type.
