{
  "description": "FieldExport is the schema for the FieldExport 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": "FieldExportSpec defines the desired state of the FieldExport.",
      "properties": {
        "from": {
          "description": "ResourceFieldSelector provides the values necessary to identify an individual\nfield on an individual K8s resource.",
          "properties": {
            "path": {
              "type": "string"
            },
            "resource": {
              "description": "NamespacedResource provides all the values necessary to identify an ACK\nresource of a given type (within the same namespace as the custom resource\ncontaining this type).",
              "properties": {
                "group": {
                  "type": "string"
                },
                "kind": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "group",
                "kind",
                "name"
              ],
              "type": "object",
              "additionalProperties": false
            }
          },
          "required": [
            "path",
            "resource"
          ],
          "type": "object",
          "additionalProperties": false
        },
        "to": {
          "description": "FieldExportTarget provides the values necessary to identify the\noutput path for a field export.",
          "properties": {
            "key": {
              "description": "Key overrides the default value (`<namespace>.<FieldExport-resource-name>`) for the FieldExport target",
              "type": "string"
            },
            "kind": {
              "description": "FieldExportOutputType represents all types that can be produced by a field\nexport operation",
              "enum": [
                "configmap",
                "secret"
              ],
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "namespace": {
              "description": "Namespace is marked as optional, so we cannot compose `NamespacedName`",
              "type": "string"
            }
          },
          "required": [
            "kind",
            "name"
          ],
          "type": "object",
          "additionalProperties": false
        }
      },
      "required": [
        "from",
        "to"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "FieldExportStatus defines the observed status of the FieldExport.",
      "properties": {
        "conditions": {
          "description": "A collection of `ackv1alpha1.Condition` objects that describe the various\nrecoverable states of the field CR",
          "items": {
            "description": "Condition is the common struct used by all CRDs managed by ACK service\ncontrollers to indicate terminal states  of the CR and its backend AWS\nservice API resource",
            "properties": {
              "lastTransitionTime": {
                "description": "Last time the condition transitioned from one status to another.",
                "format": "date-time",
                "type": "string"
              },
              "message": {
                "description": "A human readable message indicating details about the transition.",
                "type": "string"
              },
              "reason": {
                "description": "The reason for the condition's last transition.",
                "type": "string"
              },
              "status": {
                "description": "Status of the condition, one of True, False, Unknown.",
                "type": "string"
              },
              "type": {
                "description": "Type is the type of the Condition",
                "type": "string"
              }
            },
            "required": [
              "status",
              "type"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "type": "array"
        }
      },
      "required": [
        "conditions"
      ],
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
