{
  "description": "ServiceExport declares that the Service with the same name and namespace\nas this export should be consumable from other clusters.",
  "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": "spec defines the desired state of ServiceExport",
      "properties": {
        "exportedPorts": {
          "description": "exportedPorts defines which ports of the service should be exported and what route types they should be used with.\nIf not specified, the controller will use the port from the annotation \"application-networking.k8s.aws/port\"\nand create HTTP target groups for backward compatibility.",
          "items": {
            "description": "ExportedPort defines a port to be exported and the route type it should be used with",
            "properties": {
              "port": {
                "description": "port is the port number to export",
                "format": "int32",
                "type": "integer"
              },
              "routeType": {
                "description": "routeType is the type of route this port should be used with\nValid values are \"HTTP\", \"GRPC\", \"TLS\"",
                "enum": [
                  "HTTP",
                  "GRPC",
                  "TLS"
                ],
                "type": "string"
              }
            },
            "required": [
              "port",
              "routeType"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "status describes the current state of an exported service.\nService configuration comes from the Service that had the same\nname and namespace as this ServiceExport.\nPopulated by the multi-cluster service implementation's controller.",
      "properties": {
        "conditions": {
          "items": {
            "description": "ServiceExportCondition contains details for the current condition of this\nservice export.\n\nOnce [KEP-1623](https://github.com/kubernetes/enhancements/tree/master/keps/sig-api-machinery/1623-standardize-conditions) is\nimplemented, this will be replaced by metav1.Condition.",
            "properties": {
              "lastTransitionTime": {
                "format": "date-time",
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              },
              "status": {
                "description": "Status is one of {\"True\", \"False\", \"Unknown\"}",
                "enum": [
                  "True",
                  "False",
                  "Unknown"
                ],
                "type": "string"
              },
              "type": {
                "description": "ServiceExportConditionType identifies a specific condition.",
                "type": "string"
              }
            },
            "required": [
              "status",
              "type"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "type": "array",
          "x-kubernetes-list-map-keys": [
            "type"
          ],
          "x-kubernetes-list-type": "map"
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
