{
  "properties": {
    "apiVersion": {
      "type": "string"
    },
    "kind": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "properties": {
        "cmfRestClassRef": {
          "properties": {
            "name": {
              "minLength": 1,
              "type": "string"
            },
            "namespace": {
              "type": "string"
            }
          },
          "required": [
            "name"
          ],
          "type": "object",
          "additionalProperties": false
        },
        "flinkApplicationDefaults": {
          "x-kubernetes-preserve-unknown-fields": true
        },
        "kubernetesNamespace": {
          "type": "string",
          "x-kubernetes-validations": [
            {
              "message": "kubernetesNamespace is immutable",
              "rule": "self == oldSelf"
            }
          ]
        }
      },
      "required": [
        "flinkApplicationDefaults",
        "kubernetesNamespace"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "properties": {
        "cfkInternalState": {
          "type": "string"
        },
        "cmfSync": {
          "properties": {
            "errorMessage": {
              "type": "string"
            },
            "lastSyncTime": {
              "type": "string"
            },
            "status": {
              "default": "Unknown",
              "enum": [
                "Unknown",
                "Created",
                "Failed",
                "Deleted"
              ],
              "type": "string"
            }
          },
          "required": [
            "errorMessage",
            "lastSyncTime"
          ],
          "type": "object",
          "additionalProperties": false
        },
        "conditions": {
          "items": {
            "properties": {
              "lastProbeTime": {
                "format": "date-time",
                "type": "string"
              },
              "lastTransitionTime": {
                "format": "date-time",
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            },
            "type": "object",
            "additionalProperties": false
          },
          "type": "array"
        },
        "observedGeneration": {
          "format": "int64",
          "type": "integer"
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
