{
  "marketplace": {
    "id": "fm_toronto_2026",
    "name": "Harbourfront Farmers' Market",
    "currency": "CAD",
    "timezone": "America/Toronto",
    "location": {
      "address": {
        "street": "235 Queens Quay West",
        "city": "Toronto",
        "province": "ON",
        "postalCode": "M5J 2G8",
        "country": "CA"
      },
      "coordinates": {
        "latitude": 43.6389,
        "longitude": -79.3817
      }
    },
    "schedule": {
      "seasonStart": "2026-05-02",
      "seasonEnd": "2026-10-31",
      "marketDays": [
        {
          "day": "Saturday",
          "opensAt": "08:00",
          "closesAt": "14:00"
        }
      ]
    },
    "features": {
      "onlineOrdering": true,
      "curbsidePickup": true,
      "localDelivery": true,
      "snapAccepted": false,
      "petFriendly": true
    }
  },
  "vendors": [
    {
      "id": "vendor_green_acres",
      "name": "Green Acres Family Farm",
      "status": "active",
      "certifications": [
        "Canada Organic",
        "Bee-Friendly Farming"
      ],
      "contact": {
        "email": "orders@greenacres.example",
        "phone": "+1-416-555-0142"
      },
      "fulfillment": {
        "pickupStall": "A12",
        "deliveryZones": [
          {
            "postalPrefix": "M5J",
            "fee": 4.5,
            "minimumOrder": 25
          },
          {
            "postalPrefix": "M5V",
            "fee": 6,
            "minimumOrder": 35
          }
        ]
      },
      "products": [
        {
          "id": "prod_heirloom_tomatoes",
          "name": "Heirloom Tomatoes",
          "category": "produce",
          "description": "Mixed field-grown heirloom varieties harvested within 24 hours of market day.",
          "pricing": {
            "unit": "basket",
            "quantity": 1,
            "price": 8.5,
            "currency": "CAD"
          },
          "inventory": {
            "available": 34,
            "reserved": 6,
            "lowStockThreshold": 8
          },
          "attributes": {
            "organic": true,
            "seasonal": true,
            "origin": "Caledon, Ontario"
          }
        },
        {
          "id": "prod_sweet_corn",
          "name": "Bi-Colour Sweet Corn",
          "category": "produce",
          "pricing": {
            "unit": "dozen",
            "quantity": 12,
            "price": 9,
            "currency": "CAD"
          },
          "inventory": {
            "available": 18,
            "reserved": 2,
            "lowStockThreshold": 5
          },
          "attributes": {
            "organic": false,
            "seasonal": true,
            "origin": "Caledon, Ontario"
          }
        }
      ]
    },
    {
      "id": "vendor_riverbend_apiary",
      "name": "Riverbend Apiary",
      "status": "active",
      "certifications": [
        "Ontario Bee Association Member"
      ],
      "contact": {
        "email": "hello@riverbendapiary.example",
        "phone": "+1-905-555-0188"
      },
      "fulfillment": {
        "pickupStall": "C04",
        "deliveryZones": []
      },
      "products": [
        {
          "id": "prod_wildflower_honey",
          "name": "Raw Wildflower Honey",
          "category": "pantry",
          "description": "Unpasteurized summer wildflower honey in a reusable glass jar.",
          "pricing": {
            "unit": "jar",
            "quantity": 500,
            "measurement": "g",
            "price": 14,
            "currency": "CAD"
          },
          "inventory": {
            "available": 52,
            "reserved": 9,
            "lowStockThreshold": 12
          },
          "attributes": {
            "organic": false,
            "seasonal": false,
            "origin": "Dundas, Ontario"
          }
        }
      ]
    }
  ],
  "order": {
    "id": "order_8f31c9a2",
    "status": "confirmed",
    "createdAt": "2026-07-15T10:42:18-04:00",
    "customer": {
      "id": "customer_10482",
      "name": "Maya Chen",
      "email": "maya.chen@example.com",
      "preferences": {
        "substitutionsAllowed": true,
        "plasticFreePackaging": true,
        "notifications": [
          "email",
          "sms"
        ]
      }
    },
    "items": [
      {
        "productId": "prod_heirloom_tomatoes",
        "vendorId": "vendor_green_acres",
        "quantity": 2,
        "unitPrice": 8.5,
        "subtotal": 17
      },
      {
        "productId": "prod_wildflower_honey",
        "vendorId": "vendor_riverbend_apiary",
        "quantity": 1,
        "unitPrice": 14,
        "subtotal": 14
      }
    ],
    "fulfillment": {
      "method": "market_pickup",
      "pickupWindow": {
        "date": "2026-07-18",
        "startsAt": "10:00",
        "endsAt": "11:00"
      },
      "instructions": "Bring reusable bags and show the order QR code at each vendor stall."
    },
    "totals": {
      "subtotal": 31,
      "serviceFee": 1.55,
      "deliveryFee": 0,
      "tax": 0,
      "total": 32.55,
      "currency": "CAD"
    },
    "payment": {
      "status": "authorized",
      "method": "card",
      "lastFour": "1847",
      "transactionId": "txn_7c41e0d8"
    }
  },
  "metadata": {
    "apiVersion": "2026-06-01",
    "requestId": "req_b274e6a519",
    "generatedAt": "2026-07-15T10:42:19-04:00"
  }
}