{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/robosystems-ai/json-schema/robosystems-ai-register-request-schema.json",
  "title": "RegisterRequest",
  "description": "Registration request model.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/robosystems-ai-auth-api-openapi.yml#/components/schemas/RegisterRequest",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "title": "Name",
      "description": "User's display name"
    },
    "email": {
      "type": "string",
      "format": "email",
      "title": "Email",
      "description": "User's email address"
    },
    "password": {
      "type": "string",
      "maxLength": 128,
      "minLength": 12,
      "title": "Password",
      "description": "User's password (must meet security requirements)"
    },
    "captcha_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Captcha Token",
      "description": "CAPTCHA verification token (required in production)"
    },
    "invite_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Invite Token",
      "description": "Org invitation token from an invitation email. When present, the new user joins the inviting organization at the invited role instead of receiving a personal organization."
    }
  },
  "type": "object",
  "required": [
    "name",
    "email",
    "password"
  ]
}