{
  "description": "TektonScheduler is the Schema for the TektonScheduler 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",
        "null"
      ]
    },
    "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",
        "null"
      ]
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ]
    },
    "spec": {
      "additionalProperties": false,
      "properties": {
        "config.yaml": {
          "description": "This hold the config data from tekton-kueue. ConfigMap in tekton kueue is loaded as config.yaml so we need to\nmatch the key here",
          "x-kubernetes-preserve-unknown-fields": true
        },
        "disabled": {
          "description": "enable or disable TektonScheduler Component",
          "type": "boolean"
        },
        "multi-cluster-disabled": {
          "type": "boolean"
        },
        "multi-cluster-role": {
          "description": "MultiClusterRole Define the role of current cluster in multi-cluster environment. The MultiClusterRole\ncan be one of Hub or Spoke",
          "type": "string"
        },
        "options": {
          "additionalProperties": false,
          "description": "options holds additions fields and these fields will be updated on the manifests",
          "properties": {
            "configMaps": {
              "x-kubernetes-preserve-unknown-fields": true
            },
            "deployments": {
              "x-kubernetes-preserve-unknown-fields": true
            },
            "disabled": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "horizontalPodAutoscalers": {
              "x-kubernetes-preserve-unknown-fields": true
            },
            "statefulSets": {
              "x-kubernetes-preserve-unknown-fields": true
            },
            "webhookConfigurationOptions": {
              "additionalProperties": {
                "additionalProperties": false,
                "description": "WebhookOptions defines options for webhooks",
                "properties": {
                  "failurePolicy": {
                    "description": "FailurePolicyType specifies a failure policy that defines how unrecognized errors from the admission endpoint are handled.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "sideEffects": {
                    "description": "SideEffectClass specifies the types of side effects a webhook may have.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "timeoutSeconds": {
                    "format": "int32",
                    "type": [
                      "integer",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": "object"
        },
        "targetNamespace": {
          "description": "TargetNamespace is where resources will be installed",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "config.yaml",
        "disabled",
        "multi-cluster-disabled",
        "multi-cluster-role",
        "options"
      ],
      "type": [
        "object",
        "null"
      ]
    },
    "status": {
      "additionalProperties": false,
      "description": "TektonSchedulerStatus defines the observed state of TektonScheduler",
      "properties": {
        "annotations": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Annotations is additional Status fields for the Resource to save some\nadditional State as well as convey more information to the user. This is\nroughly akin to Annotations on any k8s resource, just the reconciler conveying\nricher information outwards.",
          "type": [
            "object",
            "null"
          ]
        },
        "conditions": {
          "description": "Conditions the latest available observations of a resource's current state.",
          "items": {
            "additionalProperties": false,
            "description": "Condition defines a readiness condition for a Knative resource.\nSee: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties",
            "properties": {
              "lastTransitionTime": {
                "description": "LastTransitionTime is the last time the condition transitioned from one status to another.\nWe use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic\ndifferences (all other things held constant).",
                "type": [
                  "string",
                  "null"
                ]
              },
              "message": {
                "description": "A human readable message indicating details about the transition.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "reason": {
                "description": "The reason for the condition's last transition.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "severity": {
                "description": "Severity with which to treat failures of this type of condition.\nWhen this is not specified, it defaults to Error.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "description": "Status of the condition, one of True, False, Unknown.",
                "type": "string"
              },
              "type": {
                "description": "Type of condition.",
                "type": "string"
              }
            },
            "required": [
              "status",
              "type"
            ],
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "observedGeneration": {
          "description": "ObservedGeneration is the 'Generation' of the Service that\nwas last processed by the controller.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "tekton-scheduler": {
          "description": "The current installer set name for TektonScheduler",
          "type": [
            "string",
            "null"
          ]
        },
        "version": {
          "description": "The version of the installed release",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    }
  },
  "type": "object"
}