{
  "description": "Ingestion is the Schema for the Ingestion 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": {
      "properties": {
        "auth": {
          "properties": {
            "secretRef": {
              "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
              "properties": {
                "name": {
                  "description": "name is unique within a namespace to reference a secret resource.",
                  "type": "string"
                },
                "namespace": {
                  "description": "namespace defines the space within which the secret name must be unique.",
                  "type": "string"
                }
              },
              "type": "object",
              "x-kubernetes-map-type": "atomic"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "secretRef",
            "type"
          ],
          "type": "object"
        },
        "druidCluster": {
          "type": "string"
        },
        "ingestion": {
          "properties": {
            "spec": {
              "type": "string"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        },
        "suspend": {
          "type": "boolean"
        }
      },
      "required": [
        "druidCluster",
        "ingestion"
      ],
      "type": "object"
    },
    "status": {
      "properties": {
        "currentIngestionSpec.json": {
          "type": "string"
        },
        "lastUpdateTime": {
          "format": "date-time",
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "reason": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "taskId": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "currentIngestionSpec.json",
        "taskId"
      ],
      "type": "object"
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}