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: medium - 5-8 fields, 2-3 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-11812117
customer_id: 4e79c070-6935-456a-b07c-e1f0e18641ae
timestamp: '2026-01-06T09:43:30.130542'
items:
- sku: SKU-52645
  qty: 3
  price: 146.99
- sku: SKU-49070
  qty: 4
  price: 201.41
- sku: SKU-26435
  qty: 5
  price: 345.23
subtotal: 721.98
tax: 169.32
total: 333.86
payment_method: credit_card
