{
  "marketplace": {
    "id": "fmkt_toronto_001",
    "name": "Harvest Square Farmers' Market",
    "timezone": "America/Toronto",
    "currency": "CAD",
    "locale": "en-CA",
    "status": "open",
    "location": {
      "venue": "Harvest Square Pavilion",
      "address": {
        "street": "125 Market Lane",
        "city": "Toronto",
        "province": "ON",
        "postalCode": "M5A 1A1",
        "country": "CA"
      },
      "coordinates": {
        "latitude": 43.6532,
        "longitude": -79.3832
      }
    },
    "schedule": {
      "seasonStart": "2026-05-02",
      "seasonEnd": "2026-10-31",
      "marketDays": [
        {
          "day": "Saturday",
          "opensAt": "08:00",
          "closesAt": "14:00"
        }
      ],
      "closures": [
        {
          "date": "2026-07-01",
          "reason": "Canada Day site closure"
        }
      ]
    },
    "ordering": {
      "enabled": true,
      "cutoffHoursBeforePickup": 18,
      "minimumOrder": 10.0,
      "pickupWindows": [
        {
          "id": "pickup_sat_morning",
          "label": "Saturday morning",
          "startsAt": "09:00",
          "endsAt": "11:00",
          "capacity": 80
        },
        {
          "id": "pickup_sat_midday",
          "label": "Saturday midday",
          "startsAt": "11:00",
          "endsAt": "13:30",
          "capacity": 100
        }
      ],
      "paymentMethods": [
        "credit_card",
        "debit_card",
        "market_token"
      ]
    }
  },
  "vendors": [
    {
      "id": "vendor_green_valley",
      "name": "Green Valley Organics",
      "verified": true,
      "certifications": [
        "Canada Organic"
      ],
      "farm": {
        "location": "Guelph, ON",
        "distanceKm": 92,
        "farmingPractices": [
          "crop_rotation",
          "compost_fertilization",
          "pollinator_habitat"
        ]
      },
      "products": [
        {
          "id": "prod_heirloom_tomatoes",
          "name": "Heirloom Tomatoes",
          "category": "produce",
          "description": "Mixed field-grown heirloom tomatoes harvested within 24 hours of market delivery.",
          "unit": "1 kg basket",
          "price": 8.5,
          "taxable": false,
          "inventory": {
            "available": 34,
            "reserved": 6,
            "lowStockThreshold": 8
          },
          "attributes": {
            "organic": true,
            "seasonal": true,
            "varieties": [
              "Brandywine",
              "Black Krim",
              "Green Zebra"
            ]
          }
        },
        {
          "id": "prod_baby_spinach",
          "name": "Baby Spinach",
          "category": "produce",
          "description": "Tender organic spinach, washed and packed in a compostable bag.",
          "unit": "200 g bag",
          "price": 5.0,
          "taxable": false,
          "inventory": {
            "available": 21,
            "reserved": 4,
            "lowStockThreshold": 5
          },
          "attributes": {
            "organic": true,
            "seasonal": true,
            "allergens": []
          }
        }
      ]
    },
    {
      "id": "vendor_maple_ridge_bakery",
      "name": "Maple Ridge Bakery",
      "verified": true,
      "certifications": [
        "Food Handler Certified"
      ],
      "bakery": {
        "location": "Milton, ON",
        "distanceKm": 55,
        "kitchenType": "commercial",
        "productionDays": [
          "Thursday",
          "Friday"
        ]
      },
      "products": [
        {
          "id": "prod_sourdough_loaf",
          "name": "Country Sourdough Loaf",
          "category": "bakery",
          "description": "Naturally leavened bread made with Ontario-grown wheat and a 24-hour fermentation.",
          "unit": "750 g loaf",
          "price": 9.0,
          "taxable": false,
          "inventory": {
            "available": 18,
            "reserved": 12,
            "lowStockThreshold": 6
          },
          "attributes": {
            "vegan": true,
            "glutenFree": false,
            "allergens": [
              "wheat"
            ],
            "ingredients": [
              "wheat flour",
              "water",
              "sourdough starter",
              "sea salt"
            ]
          }
        }
      ]
    },
    {
      "id": "vendor_sunnybrook_apiary",
      "name": "Sunnybrook Apiary",
      "verified": true,
      "certifications": [],
      "farm": {
        "location": "Caledon, ON",
        "distanceKm": 64,
        "hiveCount": 48
      },
      "products": [
        {
          "id": "prod_wildflower_honey",
          "name": "Raw Wildflower Honey",
          "category": "pantry",
          "description": "Unpasteurized seasonal honey bottled in reusable glass jars.",
          "unit": "500 g jar",
          "price": 14.0,
          "taxable": false,
          "inventory": {
            "available": 42,
            "reserved": 8,
            "lowStockThreshold": 10
          },
          "attributes": {
            "raw": true,
            "pasteurized": false,
            "containerDeposit": 1.0
          }
        }
      ]
    }
  ],
  "cart": {
    "id": "cart_8f4c2a91",
    "customer": {
      "id": "customer_10482",
      "name": "Jordan Lee",
      "email": "jordan.lee@example.com",
      "preferences": {
        "substitutionsAllowed": false,
        "paperReceipt": false,
        "marketingOptIn": true
      }
    },
    "items": [
      {
        "productId": "prod_heirloom_tomatoes",
        "vendorId": "vendor_green_valley",
        "quantity": 2,
        "unitPrice": 8.5,
        "lineTotal": 17.0
      },
      {
        "productId": "prod_sourdough_loaf",
        "vendorId": "vendor_maple_ridge_bakery",
        "quantity": 1,
        "unitPrice": 9.0,
        "lineTotal": 9.0
      },
      {
        "productId": "prod_wildflower_honey",
        "vendorId": "vendor_sunnybrook_apiary",
        "quantity": 1,
        "unitPrice": 14.0,
        "lineTotal": 14.0
      }
    ],
    "pickup": {
      "date": "2026-08-01",
      "windowId": "pickup_sat_morning",
      "instructions": "Bring reusable bags and provide the order number at the pickup tent."
    },
    "totals": {
      "subtotal": 40.0,
      "tax": 0.0,
      "containerDeposits": 1.0,
      "serviceFee": 1.75,
      "grandTotal": 42.75
    },
    "status": "awaiting_payment",
    "expiresAt": "2026-07-31T19:30:00-04:00"
  },
  "metadata": {
    "requestId": "req_01K1G7P4MY6Q5B9N2X8D3R0TVC",
    "generatedAt": "2026-07-31T16:42:18-04:00",
    "apiVersion": "2026-06-01"
  }
}