{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-onboard-to-cluster-orchestrator-request-schema.json",
  "title": "OnboardToClusterOrchestratorRequest",
  "description": "Configuration for cluster setup",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harness-cluster-orchestrator-api-openapi.yml#/components/schemas/OnboardToClusterOrchestratorRequest",
  "type": "object",
  "required": [
    "name",
    "user_config",
    "k8s_connector_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name identifier for the cluster configuration"
    },
    "user_config": {
      "type": "object",
      "description": "User-specific configuration settings for the cluster",
      "required": [
        "cluster_endpoint"
      ],
      "properties": {
        "cluster_endpoint": {
          "type": "string",
          "description": "API end point of the Kubernetes cluster as per the cloud provider"
        }
      }
    },
    "k8s_connector_id": {
      "type": "string",
      "description": "ID for the CACM Cloud Cost Kubernetes connector"
    }
  }
}