{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cubenexus-inc/main/json-schema/cubenexus-inc-onboard-customer-request-schema.json",
  "title": "OnboardCustomerRequest",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cubenexus-inc-openapi.json#/components/schemas/OnboardCustomerRequest",
  "properties": {
    "customer_slug": {
      "type": "string",
      "title": "Customer Slug",
      "description": "Tenant slug used for subdomain/catalog/prefix"
    },
    "dry_run": {
      "type": "boolean",
      "title": "Dry Run",
      "description": "Plan only, do not create resources",
      "default": false
    },
    "company_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Company Name",
      "description": "Customer company legal/display name"
    },
    "headquarters": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Headquarters",
      "description": "Customer HQ location"
    },
    "company_industry": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Company Industry",
      "description": "Customer industry"
    },
    "employee_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Employee Count",
      "description": "Approximate employee count"
    },
    "billing_email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Billing Email",
      "description": "Billing contact email"
    },
    "admin_user_email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Admin User Email",
      "description": "Initial end-user admin email"
    },
    "admin_user_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Admin User Name",
      "description": "Initial end-user admin name"
    }
  },
  "type": "object",
  "required": [
    "customer_slug"
  ]
}