{
  "service": {
    "name": "emberleaf-roastery-api",
    "version": "1.8.3",
    "environment": "production",
    "region": "us-east-1",
    "timezone": "America/New_York"
  },
  "roastery": {
    "id": "roastery_042",
    "name": "Emberleaf Tea Roasters",
    "batchSizeKg": 18,
    "certifications": [
      "organic",
      "fair_trade",
      "rainforest_alliance"
    ],
    "operatingHours": {
      "monday": {
        "open": "07:00",
        "close": "15:30"
      },
      "tuesday": {
        "open": "07:00",
        "close": "15:30"
      },
      "wednesday": {
        "open": "07:00",
        "close": "15:30"
      },
      "thursday": {
        "open": "07:00",
        "close": "15:30"
      },
      "friday": {
        "open": "07:00",
        "close": "13:00"
      }
    }
  },
  "inventory": {
    "lowStockThresholdKg": 12,
    "lots": [
      {
        "lotId": "ASSAM-2026-014",
        "origin": "Assam, India",
        "cultivar": "Camellia sinensis var. assamica",
        "teaType": "black",
        "receivedDate": "2026-06-18",
        "remainingKg": 42.5,
        "supplier": {
          "name": "Harmutty Estate Cooperative",
          "contact": "exports@harmutty.example"
        }
      },
      {
        "lotId": "ALI-2026-007",
        "origin": "Alishan, Taiwan",
        "cultivar": "Qing Xin",
        "teaType": "oolong",
        "receivedDate": "2026-05-29",
        "remainingKg": 16.2,
        "supplier": {
          "name": "High Ridge Tea Works",
          "contact": "orders@highridge.example"
        }
      }
    ]
  },
  "roastProfiles": [
    {
      "profileId": "profile_light_oolong_v4",
      "name": "Light Oolong Floral Lift",
      "stages": [
        {
          "stage": "drying",
          "targetTemperatureC": 92,
          "durationMinutes": 9,
          "drumSpeedRpm": 38
        },
        {
          "stage": "aroma_development",
          "targetTemperatureC": 118,
          "durationMinutes": 7,
          "drumSpeedRpm": 34
        },
        {
          "stage": "cooling",
          "targetTemperatureC": 32,
          "durationMinutes": 5,
          "drumSpeedRpm": 42
        }
      ]
    },
    {
      "profileId": "profile_black_malt_v2",
      "name": "Black Tea Malt Finish",
      "stages": [
        {
          "stage": "drying",
          "targetTemperatureC": 98,
          "durationMinutes": 8,
          "drumSpeedRpm": 36
        },
        {
          "stage": "roast",
          "targetTemperatureC": 132,
          "durationMinutes": 11,
          "drumSpeedRpm": 31
        },
        {
          "stage": "cooling",
          "targetTemperatureC": 34,
          "durationMinutes": 6,
          "drumSpeedRpm": 44
        }
      ]
    }
  ],
  "orders": [
    {
      "orderId": "ord_100284",
      "customer": {
        "name": "North Pier Cafe",
        "accountTier": "wholesale",
        "shippingAddress": {
          "line1": "118 Harbor Street",
          "city": "Portland",
          "state": "ME",
          "postalCode": "04101",
          "country": "US"
        }
      },
      "items": [
        {
          "sku": "EL-ASSAM-MALT-250",
          "name": "Malt-Finished Assam",
          "quantity": 24,
          "unit": "250g pouch"
        },
        {
          "sku": "EL-ALI-FLORAL-100",
          "name": "Alishan Floral Roast",
          "quantity": 12,
          "unit": "100g tin"
        }
      ],
      "status": "queued",
      "requestedShipDate": "2026-07-14"
    }
  ],
  "alerts": [
    {
      "type": "inventory_low",
      "severity": "warning",
      "message": "Alishan oolong lot is approaching reorder threshold.",
      "lotId": "ALI-2026-007"
    }
  ],
  "api": {
    "rateLimit": {
      "requestsPerMinute": 120,
      "burst": 30
    },
    "webhooks": {
      "enabled": true,
      "events": [
        "batch.completed",
        "inventory.low_stock",
        "order.shipped"
      ],
      "retryPolicy": {
        "maxAttempts": 5,
        "backoffSeconds": [
          30,
          120,
          300,
          900
        ]
      }
    }
  }
}