{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carboncuretechnologies/json-schema/carboncuretechnologies-account-creation-args-schema.json",
  "title": "AccountCreationArgs",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/carboncuretechnologies-mycc-accounts-api-openapi.yml#/components/schemas/AccountCreationArgs",
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "isPartner": {
      "type": "boolean"
    },
    "corporationId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "divisionId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "parentAccountId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "isMetric": {
      "type": "boolean"
    },
    "hasCreditsDashboard": {
      "type": "boolean"
    },
    "hasOnboardingPortal": {
      "type": "boolean"
    },
    "startDate": {
      "type": "string",
      "format": "date"
    },
    "language": {
      "$ref": "#/$defs/Language"
    },
    "technicalRepId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "salesRepId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "strategicAccountManagerId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "installEquipmentRepId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "iconLocation": {
      "type": [
        "string",
        "null"
      ]
    },
    "childAccountIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "integer",
        "format": "int32"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Language": {
      "enum": [
        "English",
        "Spanish",
        "NL",
        "FR",
        "DE",
        "IT",
        "ES",
        "ES_MX",
        "PT",
        "PT_BR",
        "JP",
        "ZH_TW",
        "ZH_CN",
        "KO",
        "ID",
        "EN_GB",
        "EN_US",
        "EN_CA",
        "TL",
        "TH"
      ],
      "type": "string"
    }
  }
}