{
  "description": "CiliumEndpointSlice contains a group of CoreCiliumendpoints.",
  "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"
    },
    "endpoints": {
      "description": "Endpoints is a list of coreCEPs packed in a CiliumEndpointSlice",
      "items": {
        "description": "CoreCiliumEndpoint is slim version of status of CiliumEndpoint.",
        "properties": {
          "encryption": {
            "description": "EncryptionSpec defines the encryption relevant configuration of a node.",
            "properties": {
              "key": {
                "description": "Key is the index to the key to use for encryption or 0 if encryption is disabled.",
                "type": "integer"
              }
            },
            "type": "object",
            "additionalProperties": false
          },
          "id": {
            "description": "IdentityID is the numeric identity of the endpoint",
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "description": "Name indicate as CiliumEndpoint name.",
            "type": "string"
          },
          "named-ports": {
            "description": "NamedPorts List of named Layer 4 port and protocol pairs which will be used in Network Policy specs. \n swagger:model NamedPorts",
            "items": {
              "description": "Port Layer 4 port / protocol pair \n swagger:model Port",
              "properties": {
                "name": {
                  "description": "Optional layer 4 port name",
                  "type": "string"
                },
                "port": {
                  "description": "Layer 4 port number",
                  "type": "integer"
                },
                "protocol": {
                  "description": "Layer 4 protocol Enum: [TCP UDP SCTP ICMP ICMPV6 ANY]",
                  "type": "string"
                }
              },
              "type": "object",
              "additionalProperties": false
            },
            "type": "array"
          },
          "networking": {
            "description": "EndpointNetworking is the addressing information of an endpoint.",
            "properties": {
              "addressing": {
                "description": "IP4/6 addresses assigned to this Endpoint",
                "items": {
                  "description": "AddressPair is a pair of IPv4 and/or IPv6 address.",
                  "properties": {
                    "ipv4": {
                      "type": "string"
                    },
                    "ipv6": {
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "additionalProperties": false
                },
                "type": "array"
              },
              "node": {
                "description": "NodeIP is the IP of the node the endpoint is running on. The IP must be reachable between nodes.",
                "type": "string"
              }
            },
            "required": [
              "addressing"
            ],
            "type": "object",
            "additionalProperties": false
          }
        },
        "type": "object",
        "additionalProperties": false
      },
      "type": "array"
    },
    "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"
    },
    "namespace": {
      "description": "Namespace indicate as CiliumEndpointSlice namespace. All the CiliumEndpoints within the same namespace are put together in CiliumEndpointSlice.",
      "type": "string"
    }
  },
  "required": [
    "endpoints",
    "metadata"
  ],
  "type": "object"
}
