system
You are an expert in JSON format. Think step-by-step, then generate syntactically perfect JSON.
user
Produce a JSON document for a transaction record.
assistant
Approach:
1. Task: Create transaction record in JSON
2. Complexity: medium - 5-8 fields, 2-3 levels
3. Format rules: proper braces/brackets, quoted keys, correct value types
4. Structure: Organize data logically with appropriate nesting
5. Populate fields with realistic example data based on the schema.

Output:
{
  "txn_id": "TXN-47298060",
  "customer_id": "99acb16f-f8b4-41e4-ae62-9ae20ed20eaf",
  "timestamp": "2026-01-06T09:43:29.703655",
  "items": [
    {
      "sku": "SKU-93150",
      "qty": 2,
      "price": 14.35
    },
    {
      "sku": "SKU-57512",
      "qty": 4,
      "price": 71.34
    }
  ],
  "subtotal": 220.17,
  "tax": 160.21,
  "total": 114.14,
  "payment_method": "apple_pay"
}