{
  "members": [
    {
      "id": 1,
      "full_name": "Mary Kimani",
      "id_number": "11111111",
      "phone_number": "711111111",
      "email": "mary.kimani@chama.co.ke",
      "role": "treasurer",
      "status": "active",
      "joined_at": "2023-01-10T10:00:00Z",
      "initial_contribution": 10000,
      "avatar_url": "https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?q=80&w=250&auto=format&fit=crop"
    },
    {
      "id": 2,
      "full_name": "Mary Wambui",
      "id_number": "22222222",
      "phone_number": "722222222",
      "email": "mary.wambui@chama.co.ke",
      "role": "manager",
      "status": "active",
      "joined_at": "2023-02-15T11:00:00Z",
      "initial_contribution": 15000,
      "avatar_url": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?q=80&w=250&auto=format&fit=crop"
    },
    {
      "id": 3,
      "full_name": "John Mutua",
      "id_number": "33333333",
      "phone_number": "733333333",
      "email": "john.mutua@chama.co.ke",
      "role": "member",
      "status": "active",
      "joined_at": "2023-03-20T09:00:00Z",
      "initial_contribution": 5000,
      "avatar_url": "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?q=80&w=250&auto=format&fit=crop"
    },
    {
      "id": 4,
      "full_name": "Sarah Wanjiku",
      "id_number": "44444444",
      "phone_number": "744444444",
      "email": "sarah.wanjiku@chama.co.ke",
      "role": "member",
      "status": "active",
      "joined_at": "2023-04-12T10:42:00Z",
      "initial_contribution": 5000,
      "avatar_url": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?q=80&w=250&auto=format&fit=crop"
    },
    {
      "id": 5,
      "full_name": "Kwame Njoroge",
      "id_number": "55555555",
      "phone_number": "755555555",
      "email": "peullatech@gmail.com",
      "role": "member",
      "status": "active",
      "joined_at": "2023-05-18T10:00:00Z",
      "initial_contribution": 15000,
      "avatar_url": "https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?q=80&w=250&auto=format&fit=crop"
    },
    {
      "id": 6,
      "full_name": "John Omolo",
      "id_number": "66666666",
      "phone_number": "766666666",
      "email": "john.omolo@chama.co.ke",
      "role": "member",
      "status": "active",
      "joined_at": "2023-06-05T12:00:00Z",
      "initial_contribution": 25000,
      "avatar_url": "https://images.unsplash.com/photo-1492562080023-ab3db95bfbce?q=80&w=250&auto=format&fit=crop"
    },
    {
      "id": 7,
      "full_name": "Alice Musyoka",
      "id_number": "77777777",
      "phone_number": "777777777",
      "email": "alice.musyoka@chama.co.ke",
      "role": "member",
      "status": "active",
      "joined_at": "2023-07-10T14:00:00Z",
      "initial_contribution": 25000,
      "avatar_url": "https://images.unsplash.com/photo-1531123897727-8f129e1688ce?q=80&w=250&auto=format&fit=crop"
    },
    {
      "id": 8,
      "full_name": "Brian Otieno",
      "id_number": "88888888",
      "phone_number": "788888888",
      "email": "brian.otieno@chama.co.ke",
      "role": "member",
      "status": "active",
      "joined_at": "2023-08-11T09:12:00Z",
      "initial_contribution": 12450,
      "avatar_url": "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?q=80&w=250&auto=format&fit=crop"
    },
    {
      "id": 9,
      "full_name": "David Otieno",
      "id_number": "99999999",
      "phone_number": "799999999",
      "email": "david.otieno@chama.co.ke",
      "role": "member",
      "status": "active",
      "joined_at": "2023-09-01T10:00:00Z",
      "initial_contribution": 2500,
      "avatar_url": "https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?q=80&w=250&auto=format&fit=crop"
    },
    {
      "id": 10,
      "full_name": "Peter K.",
      "id_number": "10101010",
      "phone_number": "710101010",
      "email": "peter.k@chama.co.ke",
      "role": "member",
      "status": "suspended",
      "joined_at": "2023-09-15T09:00:00Z",
      "initial_contribution": 2500,
      "avatar_url": "https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?q=80&w=250&auto=format&fit=crop"
    },
    {
      "id": 11,
      "full_name": "Sarah Mwangi",
      "id_number": "12121212",
      "phone_number": "712121212",
      "role": "member",
      "status": "active",
      "email": "sarah.mwangi@chama.co.ke",
      "joined_at": "2023-10-01T08:00:00Z",
      "initial_contribution": 10000,
      "avatar_url": "https://images.unsplash.com/photo-1580489944761-15a19d654956?q=80&w=250&auto=format&fit=crop"
    }
  ],
  "contributions": [
    {
      "id": 1,
      "member_id": 5,
      "amount": 5000,
      "category": "Savings",
      "description": "Monthly Contribution",
      "status": "verified",
      "payment_method": "MPESA",
      "payment_date": "2023-08-15T14:20:00Z",
      "reference_code": "MPESA-7XJ29"
    },
    {
      "id": 2,
      "member_id": 8,
      "amount": 12450,
      "category": "Interest",
      "description": "Q2 Dividends",
      "status": "verified",
      "payment_method": "Transfer",
      "payment_date": "2023-07-30T16:45:00Z",
      "reference_code": "BANK-Q2DIV"
    },
    {
      "id": 3,
      "member_id": 3,
      "amount": 5000,
      "category": "Group",
      "description": "Merry-Go-Round #42",
      "status": "verified",
      "payment_method": "MPESA",
      "payment_date": "2023-07-15T11:30:00Z",
      "reference_code": "MPESA-8YF10"
    },
    {
      "id": 4,
      "member_id": 9,
      "amount": 2500,
      "category": "Savings",
      "description": "September Contribution",
      "status": "verified",
      "payment_method": "MPESA",
      "payment_date": "2023-09-30T10:24:00Z",
      "reference_code": "MPESA-9XJ30"
    },
    {
      "id": 5,
      "member_id": 10,
      "amount": 2500,
      "category": "Savings",
      "description": "September Contribution",
      "status": "verified",
      "payment_method": "MPESA",
      "payment_date": "2023-09-30T11:15:00Z",
      "reference_code": "MPESA-PEND1"
    },
    {
      "id": 6,
      "member_id": 7,
      "amount": 25000,
      "category": "Savings",
      "description": "Contribution",
      "status": "pending",
      "payment_method": "MPESA",
      "payment_date": "2023-01-12T10:20:00Z",
      "reference_code": "MPESA-TX999"
    }
  ],
  "loans": [
    {
      "id": 1,
      "member_id": 5,
      "amount": 120000,
      "remaining_balance": 42450,
      "interest_rate": 12,
      "status": "repaying",
      "repayment_period": 12,
      "purpose": "Emergency Personal Loan",
      "requested_at": "2023-04-15T10:00:00Z",
      "approved_at": "2023-04-16T12:00:00Z",
      "loan_type": "Emergency Personal Loan"
    },
    {
      "id": 2,
      "member_id": 3,
      "amount": 25000,
      "remaining_balance": 25000,
      "interest_rate": 12,
      "status": "pending",
      "repayment_period": 6,
      "purpose": "Emergency Stock Purchase",
      "requested_at": "2023-08-10T09:15:00Z",
      "loan_type": "Emergency Loan"
    },
    {
      "id": 3,
      "member_id": 11,
      "amount": 120000,
      "remaining_balance": 120000,
      "interest_rate": 12,
      "status": "pending",
      "repayment_period": 12,
      "purpose": "Emergency medical bill",
      "requested_at": "2023-11-20T10:00:00Z",
      "loan_type": "Medical Emergency Loan"
    }
  ],
  "repayments": [
    {
      "id": 1,
      "loan_id": 1,
      "amount": 8500,
      "payment_date": "2023-09-14T10:00:00Z",
      "status": "confirmed",
      "reference_code": "MPESA-SREP"
    },
    {
      "id": 2,
      "loan_id": 1,
      "amount": 8500,
      "payment_date": "2023-08-15T09:00:00Z",
      "status": "confirmed",
      "reference_code": "MPESA-AREP"
    },
    {
      "id": 3,
      "loan_id": 1,
      "amount": 8500,
      "payment_date": "2023-07-14T12:00:00Z",
      "status": "confirmed",
      "reference_code": "MPESA-JREP"
    }
  ],
  "polls": [
    {
      "id": 1,
      "question": "New Real Estate Investment in Nakuru?",
      "description": "Vote for the upcoming group asset purchase of land in Nakuru Phase 2.",
      "created_by": 2,
      "created_at": "2026-06-06T10:00:00Z",
      "ends_at": "2026-06-10T10:00:00Z",
      "status": "open",
      "total_votes": 43,
      "options": [
        {
          "id": 1,
          "poll_id": 1,
          "option_text": "Support Asset Purchase",
          "voted_count": 31
        },
        {
          "id": 2,
          "poll_id": 1,
          "option_text": "Wait for Q4 Assessment",
          "voted_count": 12
        }
      ],
      "user_voted_option_id": 1
    },
    {
      "id": 2,
      "question": "Increase monthly minimum contribution to KES 3,000?",
      "description": "To boost our group liquidity and allow larger emergency loans.",
      "created_by": 2,
      "created_at": "2026-06-06T12:00:00Z",
      "ends_at": "2026-06-12T12:00:00Z",
      "status": "open",
      "total_votes": 32,
      "options": [
        {
          "id": 3,
          "poll_id": 2,
          "option_text": "Yes, support KES 3000",
          "voted_count": 23
        },
        {
          "id": 4,
          "poll_id": 2,
          "option_text": "No, keep KES 2500",
          "voted_count": 9
        }
      ]
    }
  ],
  "messages": [
    {
      "id": 1,
      "member_id": 1,
      "full_name": "Mary Kimani",
      "avatar_url": "https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?q=80&w=250&auto=format&fit=crop",
      "role": "treasurer",
      "text": "The Monthly Contribution cycle is now open. Please ensure all payments are settled by the 5th for the Merry-Go-Round distribution.",
      "created_at": "2026-06-08T10:20:00Z",
      "reactions": [
        "🔔"
      ]
    },
    {
      "id": 2,
      "member_id": 4,
      "full_name": "Sarah Wanjiku",
      "avatar_url": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?q=80&w=250&auto=format&fit=crop",
      "role": "member",
      "text": "Has anyone reviewed the new interest rates for long-term loans? Thinking of expanding my boutique business next month.",
      "created_at": "2026-06-08T10:42:00Z",
      "reactions": []
    },
    {
      "id": 3,
      "member_id": 2,
      "full_name": "Mary Wambui",
      "avatar_url": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?q=80&w=250&auto=format&fit=crop",
      "role": "manager",
      "text": "Great point, Sarah! The board approved a 0.5% reduction for members with a 100% timely contribution record.",
      "created_at": "2026-06-08T10:45:00Z",
      "reactions": [
        "👍",
        "🔥"
      ]
    },
    {
      "id": 4,
      "member_id": 5,
      "full_name": "Kwame Njoroge",
      "avatar_url": "https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?q=80&w=250&auto=format&fit=crop",
      "role": "member",
      "text": "That's amazing news! I'll check my contribution history on the dashboard right away. 🚀",
      "created_at": "2026-06-08T10:48:00Z",
      "reactions": []
    },
    {
      "id": 5,
      "member_id": 3,
      "full_name": "John Mutua",
      "avatar_url": "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?q=80&w=250&auto=format&fit=crop",
      "role": "member",
      "text": "Is the dashboard updating in real-time? Mine still shows last month's balance.",
      "created_at": "2026-06-08T10:50:00Z",
      "reactions": []
    }
  ],
  "notifications": [
    {
      "id": 2,
      "title": "New Treasury Announcement",
      "message": "Monthly distribution cycle is now open for inputs.",
      "created_at": "2026-06-08T10:20:00Z",
      "category": "treasury"
    },
    {
      "id": 1,
      "title": "Loan Approved",
      "message": "Management has approved Kwame Njoroge's medical loan request.",
      "created_at": "2026-06-07T14:00:00Z",
      "category": "loan"
    }
  ],
  "groupStats": {
    "total_liquidity": 4280500,
    "cash_at_bank": 3100000,
    "mobile_wallet": 1180500,
    "total_members": 42,
    "collection_rate": 92,
    "default_count": 1,
    "share_value": 42.5
  }
}