{
  "description": "IPPool is the Schema for the ippools API",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore 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.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "description": "IPPoolSpec defines the desired state of IPPool",
      "properties": {
        "allocations": {
          "additionalProperties": {
            "description": "IPAllocation represents metadata about the pod/container owner of a specific IP",
            "properties": {
              "id": {
                "type": "string"
              },
              "ifname": {
                "type": "string"
              },
              "podref": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "podref"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "description": "Allocations is the set of allocated IPs for the given range. Its` indices are a direct mapping to the\nIP with the same index/offset for the pool's range.",
          "type": "object"
        },
        "range": {
          "description": "Range is a RFC 4632/4291-style string that represents an IP address and prefix length in CIDR notation",
          "type": "string"
        }
      },
      "required": [
        "allocations",
        "range"
      ],
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
