sets.yml reference
Set names mapped to their definitions.
Where: sets.yml, or any YAML file of Sets.
For editor autocomplete and validation, add this as the first line of the file (editor setup):
# yaml-language-server: $schema=https://getdre.com/schemas/v0.1/sets.schema.jsonThe file maps names to entries; each entry has these keys.
| Key | Type | Default | Description |
|---|---|---|---|
profile |
string | The source profile a Binding with this Set runs against. | |
vars |
map | Variables, read in SQL and YAML with var('name'). Values can be strings, numbers, booleans, lists or maps. |