Reference

Alphabetical TOML directive reference for create_resource, link_resources, copy_property, control, and output.

Directive Reference

Alphabetical list of TOML directives used in models/, compliance/, and output/.

[[create_resource]]

Creates a new resource based on the origin_resource or header lists.

Directive Description
resource_type The type of the new resource.
relation_type The type of the relationship from the origin resource.
name String template for the primary key.
properties Key-value table of properties.
relation_properties Key-value table for edge properties.
match_on Array of operators to conditionally apply rule.
create_from Creates via { property = "..." } or { list = "..." }.
copy_from Pulls properties from a relation dynamically.

Links existing resources (the “pull” join).

Directive Description
with The type of the remote resource.
join { local = "...", remote = "..." } join condition.
match_with Array of operators to filter the remote resources.
copy_properties Array of properties to copy from the target.
create_relation { type = "..." } relation to create.

[[copy_property]]

Pushes data to a connected resource.

Directive Description
to The destination resource type.
properties Array of strings or tables { from, as, template }.

[[retype_relation]]

Overrides asset implicit relation creation.

Directive Description
property_key Column header name.
new_type The overridden relationship type.
target_resource_type The overridden target resource type.

[[control]]

Defines a compliance rule in compliance/.

Directive Description
id Standard identifier.
name Human-readable name.
[[control.target]] Array of mutation targets (origin_resource_types).
[control.config] Table of values applied as compliance payload.

[[output]]

Generates an artifact in output/.

Directive Description
resource_type Output resource type classification.
name Primary key of the generated artifact node.
filename Downloadable filename.
mimetype Content MIME type.
template Tera template string rendering JSON.
jsonnet Jsonnet evaluation string rendering JSON.