{
  "description": "ResourceFieldExport is the Schema for the resourcefieldexports 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": "ResourceFieldExportSpec defines the desired state of ResourceFieldExport",
      "properties": {
        "from": {
          "properties": {
            "apiVersion": {
              "description": "APIVersion is the group version of the resource",
              "pattern": "^([a-zA-Z0-9.-]+[a-zA-Z0-9-]\\/[a-zA-Z0-9]+|[a-zA-Z0-9]+)$",
              "type": "string"
            },
            "kind": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          },
          "required": [
            "apiVersion",
            "kind",
            "name"
          ],
          "type": "object",
          "additionalProperties": false
        },
        "outputs": {
          "items": {
            "properties": {
              "key": {
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "key",
              "path"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "type": "array"
        },
        "requiredFields": {
          "properties": {
            "statusConditions": {
              "items": {
                "properties": {
                  "status": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string"
                  }
                },
                "required": [
                  "status",
                  "type"
                ],
                "type": "object",
                "additionalProperties": false
              },
              "type": "array"
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "to": {
          "description": "DestinationRef is where the fields should be written.",
          "properties": {
            "name": {
              "type": "string"
            },
            "type": {
              "description": "DestinationType is a ConfigMap or a Secret",
              "enum": [
                "ConfigMap",
                "Secret"
              ],
              "type": "string"
            }
          },
          "required": [
            "name",
            "type"
          ],
          "type": "object",
          "additionalProperties": false
        }
      },
      "required": [
        "from",
        "outputs",
        "to"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "ResourceFieldExportStatus defines the observed state of ResourceFieldExport",
      "properties": {
        "conditions": {
          "items": {
            "properties": {
              "lastTransitionTime": {
                "description": "The 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"
              },
              "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"
}
