{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scaledthought-com/json-schema/scaledthought-com-create-account-input-schema.json",
  "title": "CreateAccountInput",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scaledthought-com-openapi.json#/components/schemas/CreateAccountInput",
  "type": "object",
  "properties": {
    "region": {
      "description": "Must match the regional API host you are calling",
      "type": "string",
      "enum": [
        "ca",
        "us"
      ]
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "email": {
      "description": "Optional: your human's email. We email it one confirmation link; once they click it they own the account (dashboard sign-in, receipts, notices). Account email, and product emails they can unsubscribe from.",
      "type": "string",
      "maxLength": 320
    },
    "source": {
      "description": "Optional campaign code from the link that brought you here (scaledthought.com/go/<code>), e.g. a-rd. Stored on the account when it is a valid code; anything else is ignored.",
      "type": "string",
      "maxLength": 256
    },
    "ad_click": {
      "description": "Optional signed ad-click token from an opt-in landing page (US region only; ignored elsewhere). Never required.",
      "type": "string",
      "maxLength": 4096
    }
  }
}