system
You are an expert in YAML format. Think step-by-step, then generate syntactically perfect YAML.
user
Produce a YAML document for a transaction record.
assistant
Approach:
1. Task: Create transaction record in YAML
2. Complexity: complex - 8-10 fields, 3-4 levels
3. Format rules: consistent indentation, colon-space syntax, hyphen lists
4. Structure: Organize data logically with appropriate nesting
5. Populate fields with realistic example data based on the schema.

Output:
txn_id: TXN-76523958
customer_id: a4dfcf89-9a9a-4a39-9523-3d9ee6b05068
timestamp: '2026-01-06T09:43:31.014749'
items:
- sku: SKU-43231
  qty: 3
  price: 238.11
subtotal: 1087.49
tax: 58.08
total: 1116.53
payment_method: credit_card
