{
  "description": "RateLimitService is the Schema for the ratelimitservices API",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": "string"
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "description": "RateLimitServiceSpec defines the desired state of RateLimitService",
      "properties": {
        "domain": {
          "type": "string"
        },
        "failure_mode_deny": {
          "description": "FailureModeDeny when set to true, envoy will deny traffic if it is unable to communicate with the rate limit service.",
          "type": "boolean"
        },
        "protocol_version": {
          "enum": [
            "v2",
            "v3"
          ],
          "type": "string"
        },
        "service": {
          "type": "string"
        },
        "timeout_ms": {
          "type": "integer"
        },
        "v3StatsName": {
          "type": "string"
        }
      },
      "required": [
        "service"
      ],
      "type": "object",
      "x-kubernetes-preserve-unknown-fields": true
    }
  },
  "type": "object"
}
