Generated from
examples/language_tutorial/multi_file/.
This example demonstrates splitting model content by concern:
model.cfdlfor header + importsstructure.cfdlfor entitiescontracts.cfdlfor streams/contracts/events
This example uses a standalone stream for rent (same pattern as minimal_model).
Compile:
./target/debug/cfdl compile examples/language_tutorial/multi_file --out /tmp/tutorial_multi_file.ir.jsonmodel.cfdl
version 0.1
model "tutorial-multi-file"
time calendar monthly from 2026-01 for 24
import "structure.cfdl"
import "contracts.cfdl"