{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare/main/json-schema/cloudflare-gateway-list-response-schema.json",
  "title": "GatewayListResponse",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudflare-gateways-api-openapi.yml#/components/schemas/GatewayListResponse",
  "type": "object",
  "properties": {
    "result": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Gateway"
      }
    },
    "success": {
      "type": "boolean"
    }
  },
  "$defs": {
    "Gateway": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier of the gateway."
        },
        "name": {
          "type": "string",
          "description": "The name of the gateway."
        },
        "slug": {
          "type": "string",
          "description": "URL-friendly slug for the gateway."
        },
        "cache_enabled": {
          "type": "boolean",
          "description": "Whether response caching is enabled."
        },
        "cache_ttl": {
          "type": "integer",
          "description": "Cache time-to-live in seconds."
        },
        "rate_limiting_enabled": {
          "type": "boolean",
          "description": "Whether rate limiting is enabled."
        },
        "rate_limiting_limit": {
          "type": "integer",
          "description": "Maximum requests per rate limiting interval."
        },
        "rate_limiting_interval": {
          "type": "integer",
          "description": "Rate limiting interval in seconds."
        },
        "log_enabled": {
          "type": "boolean",
          "description": "Whether logging is enabled."
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "When the gateway was created."
        },
        "modified_at": {
          "type": "string",
          "format": "date-time",
          "description": "When the gateway was last modified."
        }
      }
    }
  }
}