{
  "customers": [
    {
      "_id": 1,
      "name": "Alice Johnson",
      "email": "alice@email.com",
      "memberSince": "2019-03-12",
      "addresses": [
        { "type": "home",    "line1": "12 Maple St",    "city": "New York",  "state": "NY",  "zip": "10001", "country": "USA", "default": true },
        { "type": "work",    "line1": "450 Park Ave",   "city": "New York",  "state": "NY",  "zip": "10022", "country": "USA", "default": false }
      ],
      "phones": [
        { "type": "mobile",  "number": "+1-212-555-0101" },
        { "type": "work",    "number": "+1-212-555-0199" }
      ],
      "loyalty": {
        "tier": "Gold",
        "points": 4820,
        "joinedAt": "2020-01-01",
        "perks": ["free_shipping", "early_access", "birthday_discount"]
      },
      "socialProfiles": [
        { "platform": "instagram", "handle": "@aliceshops" },
        { "platform": "twitter",   "handle": "@alice_j"    }
      ],
      "preferences": {
        "contactMethod": "email",
        "newsletterFrequency": "weekly",
        "categories": ["Electronics", "Books"]
      }
    },
    {
      "_id": 2,
      "name": "Bob Smith",
      "email": "bob@email.com",
      "memberSince": "2017-07-04",
      "addresses": [
        { "type": "home", "line1": "8 Victoria Rd", "city": "London", "postcode": "SW1A 1AA", "country": "UK", "default": true }
      ],
      "phones": [{ "type": "mobile", "number": "+44-7700-900123" }]
    },
    {
      "_id": 3,
      "name": "Carol White",
      "email": "carol@email.com",
      "memberSince": "2021-11-30",
      "loyalty": {
        "tier": "Silver",
        "points": 1105,
        "joinedAt": "2022-01-15",
        "perks": ["free_shipping"]
      },
      "preferences": {
        "contactMethod": "sms",
        "categories": ["Furniture", "Home"]
      },
      "corporateAccount": {
        "companyName": "Blanc Interiors Ltd",
        "vatNumber": "FR83404833048",
        "billingContact": "accounts@blancinteriors.fr",
        "purchaseOrderRequired": true
      }
    },
    {
      "_id": 4,
      "name": "David Brown",
      "email": "david@email.com",
      "memberSince": "2015-02-19",
      "addresses": [
        { "type": "home",      "line1": "77 Broadway",      "city": "New York",  "state": "NY", "zip": "10006", "country": "USA", "default": true  },
        { "type": "vacation",  "line1": "3 Ocean Drive",    "city": "Miami",     "state": "FL", "zip": "33139", "country": "USA", "default": false },
        { "type": "parents",   "line1": "202 Oak Lane",     "city": "Charlotte", "state": "NC", "zip": "28201", "country": "USA", "default": false }
      ],
      "phones": [
        { "type": "mobile", "number": "+1-704-555-0177" },
        { "type": "home",   "number": "+1-704-555-0100" }
      ],
      "loyalty": {
        "tier": "Platinum",
        "points": 31440,
        "joinedAt": "2015-02-19",
        "perks": ["free_shipping", "early_access", "birthday_discount", "dedicated_support", "free_returns"],
        "anniversaryGift": { "year": 2024, "item": "premium_tote", "redeemed": false }
      }
    },
    {
      "_id": 5,
      "name": "Eve Davis",
      "email": "eve@email.com",
      "memberSince": "2020-06-01",
      "addresses": [
        { "type": "home", "line1": "1-2-3 Shibuya", "city": "Tokyo", "prefecture": "Tokyo", "postalCode": "150-0002", "country": "Japan", "default": true }
      ],
      "phones": [{ "type": "mobile", "number": "+81-90-1234-5678" }],
      "socialProfiles": [
        { "platform": "line",      "handle": "eve_davis_jp" },
        { "platform": "instagram", "handle": "@eve.in.tokyo"  },
        { "platform": "tiktok",    "handle": "@evedavis"      }
      ],
      "preferences": {
        "contactMethod": "line",
        "language": "ja",
        "newsletterFrequency": "daily",
        "categories": ["Electronics", "Fashion", "Beauty"]
      }
    }
  ],

  "orders": [
    {
      "_id": 1,
      "customerId": 1,
      "placedAt": "2024-01-15T09:32:11Z",
      "lineItems": [
        {
          "productId": 1,
          "productSnapshot": { "name": "Laptop Pro 15", "sku": "LAP-PRO-15-512", "brand": "TechCore" },
          "qty": 1,
          "unitPrice": 999.99,
          "discounts": [],
          "subtotal": 999.99
        },
        {
          "productId": 8,
          "productSnapshot": { "name": "Webcam HD", "sku": "WEB-HD-1080", "brand": "VisionTech" },
          "qty": 2,
          "unitPrice": 99.99,
          "discounts": [{ "code": "BUNDLE10", "type": "percent", "value": 10 }],
          "subtotal": 179.98
        }
      ],
      "shippingAddress": { "line1": "12 Maple St", "city": "New York", "state": "NY", "zip": "10001", "country": "USA" },
      "payment": {
        "method": "credit_card",
        "cardBrand": "Visa",
        "lastFour": "4242",
        "transactionId": "txn_abc123",
        "authorisedAt": "2024-01-15T09:32:45Z"
      },
      "statusHistory": [
        { "status": "placed",    "at": "2024-01-15T09:32:11Z" },
        { "status": "paid",      "at": "2024-01-15T09:32:45Z" },
        { "status": "picked",    "at": "2024-01-16T08:10:00Z" },
        { "status": "shipped",   "at": "2024-01-17T14:22:00Z", "carrier": "FedEx", "trackingNumber": "7489234723" }
      ],
      "gift": { "isGift": true, "message": "Happy birthday!", "wrapping": "premium" }
    },
    {
      "_id": 2,
      "customerId": 2,
      "placedAt": "2024-01-20T14:05:00Z",
      "lineItems": [
        {
          "productId": 2,
          "productSnapshot": { "name": "Phone X12", "sku": "PHN-X12-128-BLK", "brand": "Nexus" },
          "qty": 2,
          "unitPrice": 599.99,
          "discounts": [],
          "subtotal": 1199.98
        }
      ],
      "shippingAddress": { "line1": "8 Victoria Rd", "city": "London", "postcode": "SW1A 1AA", "country": "UK" },
      "payment": {
        "method": "paypal",
        "paypalEmail": "bob@email.com",
        "transactionId": "PAYID-MX98234",
        "authorisedAt": "2024-01-20T14:05:33Z"
      },
      "statusHistory": [
        { "status": "placed",    "at": "2024-01-20T14:05:00Z" },
        { "status": "paid",      "at": "2024-01-20T14:05:33Z" },
        { "status": "shipped",   "at": "2024-01-22T10:00:00Z", "carrier": "Royal Mail", "trackingNumber": "RM123456789GB" },
        { "status": "delivered", "at": "2024-01-24T09:30:00Z" }
      ]
    },
    {
      "_id": 3,
      "customerId": 3,
      "placedAt": "2024-02-01T11:45:22Z",
      "lineItems": [
        {
          "productId": 9,
          "productSnapshot": { "name": "Standing Desk", "sku": "DSK-STD-WHT-L", "brand": "ErgoSpace" },
          "qty": 1,
          "unitPrice": 349.00,
          "discounts": [{ "code": "CORP15", "type": "percent", "value": 15, "approvedBy": "sales@shop.com" }],
          "subtotal": 296.65
        },
        {
          "productId": 10,
          "productSnapshot": { "name": "Ergonomic Chair", "sku": "CHR-ERG-BLK", "brand": "ErgoSpace" },
          "qty": 4,
          "unitPrice": 199.00,
          "discounts": [{ "code": "CORP15", "type": "percent", "value": 15, "approvedBy": "sales@shop.com" }],
          "subtotal": 676.60
        }
      ],
      "shippingAddress": { "line1": "14 Rue de Rivoli", "city": "Paris", "postcode": "75001", "country": "France" },
      "payment": {
        "method": "bank_transfer",
        "bankName": "BNP Paribas",
        "iban": "FR76XXXXXXXXXXXXXXXXXXXX",
        "reference": "PO-2024-0042",
        "receivedAt": "2024-02-03T08:00:00Z"
      },
      "purchaseOrder": { "number": "PO-2024-0042", "issuedBy": "Carol White", "approvedAt": "2024-01-30T12:00:00Z" },
      "statusHistory": [
        { "status": "placed",           "at": "2024-02-01T11:45:22Z" },
        { "status": "awaiting_payment",  "at": "2024-02-01T11:45:22Z" },
        { "status": "paid",             "at": "2024-02-03T08:00:00Z" },
        { "status": "pending",          "at": "2024-02-03T08:05:00Z", "note": "Awaiting warehouse stock confirmation" }
      ]
    },
    {
      "_id": 7,
      "customerId": 6,
      "placedAt": "2024-03-01T16:20:00Z",
      "lineItems": [
        {
          "productId": 1,
          "productSnapshot": { "name": "Laptop Pro 15", "sku": "LAP-PRO-15-512", "brand": "TechCore" },
          "qty": 1,
          "unitPrice": 999.99,
          "discounts": [],
          "subtotal": 999.99
        }
      ],
      "shippingAddress": { "line1": "22 Camden High St", "city": "London", "postcode": "NW1 0JH", "country": "UK" },
      "payment": {
        "method": "credit_card",
        "cardBrand": "Mastercard",
        "lastFour": "5100",
        "transactionId": "txn_def456",
        "authorisedAt": "2024-03-01T16:20:44Z"
      },
      "statusHistory": [
        { "status": "placed",    "at": "2024-03-01T16:20:00Z" },
        { "status": "paid",      "at": "2024-03-01T16:20:44Z" },
        { "status": "cancelled", "at": "2024-03-02T09:15:00Z", "reason": "Customer request", "initiatedBy": "customer" }
      ],
      "refund": {
        "amount": 999.99,
        "method": "original_payment",
        "transactionId": "ref_ghi789",
        "processedAt": "2024-03-02T10:00:00Z",
        "note": "Full refund, order cancelled before dispatch"
      }
    }
  ],

  "products": [
    {
      "_id": 1,
      "name": "Laptop Pro 15",
      "brand": "TechCore",
      "category": "Electronics",
      "subcategory": "Laptops",
      "tags": ["computer", "portable", "work", "student"],
      "inStock": true,
      "rating": { "average": 4.5, "count": 312 },
      "specs": {
        "display": { "size": "15.6in", "resolution": "1920x1080", "type": "IPS", "refreshRate": "144Hz" },
        "cpu":     { "brand": "Intel", "model": "Core i7-1260P", "cores": 12, "baseGHz": 2.1, "boostGHz": 4.7 },
        "ram":     { "gb": 16, "type": "DDR5", "slots": 2, "maxGb": 64 },
        "storage": { "gb": 512, "type": "NVMe SSD", "interface": "PCIe 4.0" },
        "gpu":     { "brand": "Nvidia", "model": "RTX 3050", "vram": "4GB" },
        "battery": { "wh": 86, "cells": 4, "typicalLife": "10hrs" },
        "ports":   ["USB-A x3", "USB-C x2", "HDMI 2.0", "SD card", "3.5mm jack"],
        "dimensions": { "mm": { "w": 357, "d": 235, "h": 19.9 }, "weightKg": 1.85 }
      },
      "variants": [
        { "sku": "LAP-PRO-15-256", "label": "256GB SSD",  "price": 849.99, "inStock": false },
        { "sku": "LAP-PRO-15-512", "label": "512GB SSD",  "price": 999.99, "inStock": true  },
        { "sku": "LAP-PRO-15-1TB", "label": "1TB SSD",    "price": 1199.99,"inStock": true  }
      ],
      "boxContents": ["Laptop", "65W USB-C charger", "Quick-start guide", "Microfibre cloth"],
      "warranty": { "years": 2, "type": "manufacturer", "coversParts": true, "coversLabour": true, "onSiteService": false },
      "reviews": [
        { "userId": 1, "rating": 5, "title": "Best laptop I've owned", "body": "Fast, light, brilliant screen.", "date": "2024-02-01", "verified": true, "helpful": 47 },
        { "userId": 4, "rating": 4, "title": "Great but runs warm",    "body": "Under heavy load the fans kick in loudly.", "date": "2024-03-10", "verified": true, "helpful": 23 }
      ]
    },
    {
      "_id": 2,
      "name": "Phone X12",
      "brand": "Nexus",
      "category": "Electronics",
      "subcategory": "Smartphones",
      "tags": ["mobile", "5G", "camera"],
      "inStock": true,
      "rating": { "average": 4.7, "count": 891 },
      "specs": {
        "display": { "size": "6.7in", "type": "AMOLED", "resolution": "2400x1080", "refreshRate": "120Hz", "brightness": "1200nits" },
        "cpu":     { "brand": "Snapdragon", "model": "8 Gen 2" },
        "ram":     { "gb": 12 },
        "camera":  {
          "rear":  [
            { "mp": 200, "aperture": "f/1.7", "type": "main" },
            { "mp": 10,  "aperture": "f/2.4", "type": "telephoto", "zoom": "3x optical" },
            { "mp": 12,  "aperture": "f/2.2", "type": "ultrawide"  }
          ],
          "front": { "mp": 12, "features": ["autofocus", "4K video"] }
        },
        "battery": { "mah": 5000, "fastCharge": "45W", "wireless": true },
        "connectivity": ["5G", "WiFi 6E", "Bluetooth 5.3", "NFC", "USB-C 3.2"]
      },
      "variants": [
        { "sku": "PHN-X12-128-BLK", "storage": "128GB", "color": "Midnight Black",  "price": 599.99, "inStock": true  },
        { "sku": "PHN-X12-128-WHT", "storage": "128GB", "color": "Pearl White",     "price": 599.99, "inStock": true  },
        { "sku": "PHN-X12-256-BLK", "storage": "256GB", "color": "Midnight Black",  "price": 699.99, "inStock": false },
        { "sku": "PHN-X12-256-GLD", "storage": "256GB", "color": "Desert Gold",     "price": 699.99, "inStock": true  }
      ],
      "warranty": { "years": 1, "type": "manufacturer", "coversParts": true, "coversLabour": false },
      "reviews": [
        { "userId": 2, "rating": 5, "title": "Camera is insane", "body": "Takes stunning photos in low light.", "date": "2024-02-05", "verified": true, "helpful": 134 }
      ]
    },
    {
      "_id": 9,
      "name": "Standing Desk",
      "brand": "ErgoSpace",
      "category": "Furniture",
      "subcategory": "Desks",
      "tags": ["office", "ergonomic", "height-adjustable"],
      "inStock": false,
      "rating": { "average": 4.3, "count": 58 },
      "specs": {
        "dimensions": {
          "surface": { "cm": { "w": 160, "d": 80 } },
          "heightRange": { "cm": { "min": 62, "max": 128 } }
        },
        "material":    { "surface": "Bamboo", "frame": "Powder-coated steel" },
        "weightKg":    { "item": 42, "maxLoad": 100 },
        "motor":       { "stages": 3, "noiseDb": 45, "speedMmPerSec": 40 },
        "colors": ["White", "Black", "Walnut"],
        "assembly": { "required": true, "estimatedMins": 45, "tools": "Allen key (included)" }
      },
      "bulkPricing": [
        { "minQty": 5,  "discountPercent": 10 },
        { "minQty": 20, "discountPercent": 18 }
      ],
      "reviews": [
        { "userId": 3, "rating": 4, "title": "Sturdy and smooth", "body": "Assembly took an hour but worth it. Very stable.", "date": "2024-03-20", "verified": false, "helpful": 9 }
      ]
    },
    {
      "_id": 7,
      "name": "Studio Headphones",
      "brand": "SoundWave",
      "category": "Electronics",
      "subcategory": "Audio",
      "tags": ["audio", "wireless", "noise-cancelling", "studio"],
      "inStock": true,
      "rating": { "average": 4.6, "count": 204 },
      "specs": {
        "type":             "Over-ear",
        "connectivity":     ["Bluetooth 5.2", "3.5mm wired", "USB-C wired"],
        "noiseCancelling":  { "active": true, "modes": ["full ANC", "transparency", "off"] },
        "battery":          { "mah": 1000, "lifeListen": "30hrs", "lifeANC": "22hrs", "chargeTimeMins": 90 },
        "drivers":          { "mm": 40, "frequencyHz": { "min": 4, "max": 40000 } },
        "microphone":       { "type": "dual array", "voicePickup": "beamforming" },
        "foldable":         true
      },
      "variants": [
        { "sku": "SWV-HP-BLK", "color": "Matte Black",   "price": 249.99, "inStock": true  },
        { "sku": "SWV-HP-SLV", "color": "Silver",        "price": 249.99, "inStock": true  },
        { "sku": "SWV-HP-MID", "color": "Midnight Blue",  "price": 249.99, "inStock": false }
      ],
      "boxContents": ["Headphones", "USB-C cable", "3.5mm cable", "Carry case", "Airline adapter"],
      "warranty": { "years": 2, "type": "manufacturer", "coversParts": true, "coversLabour": true }
    },
    {
      "_id": 12,
      "name": "Desk Lamp",
      "brand": "LumiHome",
      "category": "Furniture",
      "subcategory": "Lighting",
      "tags": ["lighting", "LED", "dimmable"],
      "inStock": true,
      "rating": { "average": 4.0, "count": 31 },
      "specs": {
        "bulb":     { "type": "integrated LED", "watt": 12, "lumen": 800, "colourTemp": "2700–6500K" },
        "dimmer":   true,
        "usbPort":  { "included": true, "watt": 5 },
        "material": "Aluminium alloy"
      }
    }
  ]
}
