{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lassare-com/json-schema/lassare-com-gateway-stats-schema.json",
  "title": "GatewayStats",
  "description": "Response model for Gateway operational statistics.",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lassare-com-openapi.json#/components/schemas/GatewayStats",
  "properties": {
    "failed_webhooks": {
      "type": "integer",
      "title": "Failed Webhooks",
      "description": "Number of messages in webhook DLQ"
    },
    "circuit_breaker_open_count": {
      "type": "integer",
      "title": "Circuit Breaker Open Count",
      "description": "Number of webhooks with OPEN circuit breaker"
    },
    "recent_delivery_failures": {
      "type": "integer",
      "title": "Recent Delivery Failures",
      "description": "Count of failed deliveries in last 24 hours"
    },
    "timestamp": {
      "type": "string",
      "title": "Timestamp",
      "description": "ISO 8601 timestamp when stats were collected"
    }
  },
  "type": "object",
  "required": [
    "failed_webhooks",
    "circuit_breaker_open_count",
    "recent_delivery_failures",
    "timestamp"
  ]
}