{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AuthUserChangePasswordRequest",
  "title": "AuthUserChangePasswordRequest",
  "type": "object",
  "description": "Request to change a user's password",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Username whose password to change"
    },
    "password": {
      "type": "string",
      "description": "New plaintext password",
      "format": "password"
    },
    "hashedPassword": {
      "type": "string",
      "description": "New pre-hashed bcrypt password"
    }
  }
}