The inference rules (may contain template fields).
Human-readable description of what this rule does.
Optionalmap?: JsonMapMapJsonMap transformation (inline or reference to named map).
JSON Schema object to match against document metadata.
Unique name for this inference rule.
Optionalrender?: {Declarative structured renderer configuration (mutually exclusive with template).
Ordered markdown body sections.
Keys to extract from context and include as YAML frontmatter.
Optionalschema?: (Array of schema references to merge (named refs and/or inline objects).
Optionaltemplate?: stringHandlebars template (inline string, named ref, or .hbs/.handlebars file path).
OptionalnamedTemplates: Record<string, string | { description?: string; template: string }>Named template definitions from config.
OptionaltemplateHelpers: Record<string, { description?: string; path: string }>Custom helper registrations with paths and descriptions.
OptionalconfigDir: stringDirectory to resolve relative paths against.
The configured TemplateEngine, or undefined if no templates are used.
Build a TemplateEngine from configuration, pre-compiling all rule templates.