{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clusterhack-dev/json-schema/clusterhack-dev-auth-register-request-schema.json",
  "title": "AuthRegisterRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clusterhack-dev-auth-api-openapi.yml#/components/schemas/AuthRegisterRequest",
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "minLength": 1,
      "pattern": "^[\\w.@+-]+$",
      "maxLength": 150
    },
    "first_name": {
      "type": "string",
      "maxLength": 150
    },
    "last_name": {
      "type": "string",
      "maxLength": 150
    },
    "email": {
      "type": "string",
      "format": "email",
      "minLength": 1
    },
    "password": {
      "type": "string",
      "writeOnly": true,
      "minLength": 1
    },
    "password2": {
      "type": "string",
      "writeOnly": true,
      "minLength": 1
    },
    "date_of_birth": {
      "type": "string",
      "format": "date"
    },
    "mini_description": {
      "type": "string"
    },
    "full_description": {
      "type": "string"
    },
    "phone_number": {
      "type": "string"
    },
    "website": {
      "oneOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "linkedin_link": {
      "type": "string"
    },
    "github_link": {
      "type": "string"
    },
    "telegram_name": {
      "type": "string"
    },
    "user_privacy": {
      "type": "boolean"
    }
  },
  "required": [
    "email",
    "password",
    "password2",
    "user_privacy",
    "username"
  ]
}