{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare/main/json-schema/cloudflare-gateway-input-schema.json",
  "title": "GatewayInput",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudflare-gateways-api-openapi.yml#/components/schemas/GatewayInput",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the gateway."
    },
    "cache_enabled": {
      "type": "boolean",
      "description": "Enable response caching."
    },
    "cache_ttl": {
      "type": "integer",
      "description": "Cache TTL in seconds."
    },
    "rate_limiting_enabled": {
      "type": "boolean",
      "description": "Enable rate limiting."
    },
    "rate_limiting_limit": {
      "type": "integer",
      "description": "Rate limit threshold."
    },
    "rate_limiting_interval": {
      "type": "integer",
      "description": "Rate limiting interval in seconds."
    },
    "log_enabled": {
      "type": "boolean",
      "description": "Enable request logging."
    }
  }
}