{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/skyprep-com/json-schema/skyprep-com-post-admin-api-create-user-request-schema.json",
  "title": "PostAdminApiCreateUserRequest",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/skyprep-com-openapi-generated.yml#/components/schemas/PostAdminApiCreateUserRequest",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "description": "The email of the user"
    },
    "password": {
      "type": "string",
      "description": "The password of the user. This must be 8 characters."
    },
    "first_name": {
      "type": "string",
      "description": "The first name of the user"
    },
    "last_name": {
      "type": "string",
      "description": "The last name of the user"
    },
    "email_notifications": {
      "type": "boolean",
      "description": "Whether the user receives email notifications"
    },
    "sms_notifications": {
      "type": "boolean",
      "description": "Whether the user receives SMS notifications (requires Twilio integration)"
    },
    "card_no": {
      "type": "string",
      "description": "The unique user identifier of the user (e.g. student #, badge #)"
    },
    "cell": {
      "type": "string",
      "description": "The users cell phone number"
    },
    "title": {
      "type": "string",
      "description": "The users title"
    },
    "work_phone": {
      "type": "string",
      "description": "The users work phone number"
    },
    "address": {
      "type": "string",
      "description": "The users address"
    },
    "admin": {
      "type": "boolean",
      "description": "Whether the user is an admin"
    },
    "manager": {
      "type": "boolean",
      "description": "Whether the user is a manager"
    },
    "role": {
      "type": "string",
      "description": "Available roles: \"admin\", \"manager\", \"content_manager\", \"learner\""
    },
    "ca_{x}": {
      "type": "string",
      "description": "Custom Attribute {x} where x is 0‑10"
    },
    "send_login_information": {
      "type": "boolean",
      "description": "Whether to email the user their log‑in information (username/password)."
    }
  },
  "required": [
    "email"
  ]
}