type: object required: - current_password - new_password properties: current_password: type: string minLength: 6 example: "currentSecurePassword" new_password: type: string minLength: 6 example: "newSuperSecurePassword"