{
  "marketplace": {
    "id": "fmkt_toronto_001",
    "name": "Harvest Lane Farmers' Market",
    "timezone": "America/Toronto",
    "currency": "CAD",
    "locale": "en-CA",
    "status": "open",
    "contact": {
      "email": "hello@harvestlane.example",
      "phone": "+1-416-555-0148"
    },
    "location": {
      "venue": "Riverside Community Square",
      "address": {
        "line1": "125 Broadview Avenue",
        "line2": null,
        "city": "Toronto",
        "province": "ON",
        "postalCode": "M4M 2E9",
        "country": "CA"
      },
      "coordinates": {
        "latitude": 43.6621,
        "longitude": -79.3502
      }
    },
    "schedule": {
      "seasonStart": "2026-05-02",
      "seasonEnd": "2026-10-31",
      "marketDays": [
        {
          "day": "Saturday",
          "opensAt": "08:00",
          "closesAt": "14:00"
        }
      ],
      "exceptions": [
        {
          "date": "2026-08-01",
          "status": "closed",
          "reason": "Civic holiday weekend"
        }
      ]
    }
  },
  "order": {
    "id": "ord_20260730_10482",
    "status": "confirmed",
    "createdAt": "2026-07-30T09:42:18-04:00",
    "pickup": {
      "date": "2026-08-08",
      "window": {
        "start": "10:00",
        "end": "11:00"
      },
      "instructions": "Collect from the prepaid orders tent beside the east entrance."
    },
    "customer": {
      "id": "cus_78341",
      "name": {
        "first": "Maya",
        "last": "Chen"
      },
      "email": "maya.chen@example.com",
      "phone": "+1-647-555-0183",
      "preferences": {
        "substitutionsAllowed": true,
        "paperReceipt": false,
        "dietaryTags": [
          "vegetarian"
        ]
      }
    },
    "vendors": [
      {
        "id": "vnd_green_acres",
        "name": "Green Acres Organics",
        "stall": {
          "section": "A",
          "number": 12
        },
        "certifications": [
          {
            "type": "Canada Organic",
            "certificateNumber": "CO-ON-28491",
            "validThrough": "2027-03-31"
          }
        ],
        "items": [
          {
            "productId": "prd_heirloom_tomatoes",
            "name": "Heirloom Tomatoes",
            "category": "produce",
            "quantity": 2,
            "unit": "basket",
            "unitPrice": 7.5,
            "subtotal": 15.0,
            "attributes": {
              "organic": true,
              "grownIn": "Prince Edward County, ON",
              "varieties": [
                "Brandywine",
                "Black Krim"
              ]
            }
          },
          {
            "productId": "prd_sweet_basil",
            "name": "Fresh Sweet Basil",
            "category": "herbs",
            "quantity": 1,
            "unit": "bunch",
            "unitPrice": 3.75,
            "subtotal": 3.75,
            "attributes": {
              "organic": true,
              "grownIn": "Uxbridge, ON"
            }
          }
        ]
      },
      {
        "id": "vnd_stone_mill",
        "name": "Stone Mill Bakery",
        "stall": {
          "section": "C",
          "number": 4
        },
        "certifications": [],
        "items": [
          {
            "productId": "prd_sourdough_country",
            "name": "Country Sourdough Loaf",
            "category": "bakery",
            "quantity": 1,
            "unit": "loaf",
            "unitPrice": 9.0,
            "subtotal": 9.0,
            "attributes": {
              "weightGrams": 850,
              "sliced": false,
              "allergens": [
                "wheat"
              ]
            }
          },
          {
            "productId": "prd_blueberry_scones",
            "name": "Wild Blueberry Scones",
            "category": "bakery",
            "quantity": 1,
            "unit": "pack_of_4",
            "unitPrice": 12.0,
            "subtotal": 12.0,
            "attributes": {
              "allergens": [
                "wheat",
                "milk",
                "eggs"
              ],
              "containsNuts": false
            }
          }
        ]
      }
    ],
    "pricing": {
      "itemsSubtotal": 39.75,
      "marketplaceFee": 2.0,
      "tax": {
        "amount": 1.56,
        "lines": [
          {
            "name": "HST",
            "rate": 0.13,
            "taxableAmount": 12.0,
            "amount": 1.56
          }
        ]
      },
      "discounts": [
        {
          "code": "LOCALFIRST",
          "description": "New customer promotion",
          "amount": 5.0
        }
      ],
      "total": 38.31
    },
    "payment": {
      "method": {
        "type": "card",
        "brand": "visa",
        "last4": "4821"
      },
      "status": "authorized",
      "transactionId": "txn_6f79d2b031",
      "authorizedAmount": 38.31
    },
    "events": [
      {
        "type": "order.created",
        "timestamp": "2026-07-30T09:42:18-04:00"
      },
      {
        "type": "payment.authorized",
        "timestamp": "2026-07-30T09:42:20-04:00"
      },
      {
        "type": "vendors.confirmed",
        "timestamp": "2026-07-30T09:48:03-04:00",
        "metadata": {
          "confirmedVendorIds": [
            "vnd_green_acres",
            "vnd_stone_mill"
          ]
        }
      }
    ]
  }
}