/**
 * ⚠️ WARNING: THIS FILE IS AUTO-GENERATED ⚠️
 * 
 * This file is generated by the type generation system.
 * Any manual changes will be overwritten on next server start and should always be committed.
 * 
 */

import { Type } from "@sinclair/typebox"

export const UserUpdateSchema = {
  $id: "#user/update",
  title: "core/user-update",
  type: "object",
  properties: {
    _id: {
      type: "string",
    },
    email: {
      format: "email",
      type: "string",
    },
    title: {
      type: "string",
    },
    firstname: {
      type: "string",
    },
    lastname: {
      type: "string",
    },
    email_verified: {
      type: "boolean",
    },
    active: {
      type: "boolean",
    },
    blocked: {
      type: "boolean",
    },
    tags: {
      type: "array",
      items: {
        type: "string",
      },
    },
    password: {
      type: "string",
    },
    settings: {},
    ux: {},
  },
  required: [],
}



export default UserUpdateSchema
