Typed content and rule encodings
Map different line kinds, templates, answers, trees and predicates.
Map goods and service source lines to different record shapes
Use an explicit source type to choose quantity or deliverables.
Render a small text template with one-pass substitutions
Retain used and unused keys without expanding tokens inside values.
Map questionnaire answers through declared field types
Preserve optional unanswered fields separately from zero and false.
Expand a Boolean decision tree into explicit outcome paths
Carry every branch condition to each outcome leaf.
Parse typed comparison text into predicate records
Keep integer and text operands distinct without executing the expression.