{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/artificialwit-com/json-schema/artificialwit-com-invite-member-schema.json",
  "title": "InviteMember",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/artificialwit-com-openapi.json#/components/schemas/InviteMember",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "title": "Email"
    },
    "full_name": {
      "type": "string",
      "minLength": 1,
      "title": "Full Name"
    },
    "role_ids": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "title": "Role Ids"
    },
    "is_admin": {
      "type": "boolean",
      "title": "Is Admin",
      "default": false
    },
    "mode": {
      "type": "string",
      "enum": [
        "email",
        "password"
      ],
      "title": "Mode",
      "default": "email"
    },
    "password": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 8
        },
        {
          "type": "null"
        }
      ],
      "title": "Password"
    },
    "redirect_to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Redirect To"
    }
  },
  "type": "object",
  "required": [
    "email",
    "full_name"
  ]
}